We have moved to a new Sailfish OS Forum. Please start new discussions there.
757

SIP (voip) native integration

asked 2013-12-24 19:52:28 +0300

updated 2019-08-11 23:28:22 +0300

olf gravatar image

[INFO] 2019-08-11 - In case anyone in the community is willing to work on implementing SIP integration please contact jolla is said in the IRC community meeting 2019-08-08 (see 08:33:16 abranson), "there was an invitation for anyone in the community who wanted to work on that to get access to the sources they need.".

[INFO] 2015-05-16 - Feature Announced on SailfishOS Roadmap

SIP and other VoIP protocols are a desired feature in Sailfish. Most of the bits and pieces are already there and can be made to work somewhat. See @Aard 's response and also various comments in this item. It's been made clear by Jolla, that this is not a high priority feature for them, but community help would be appreciated and could accelerate its integration. As the community has pretty much exhausted their possibilities and done things in the open source parts of Sailfish, it's now up to Jolla to eventually hold their part of the bargain. To remind them this has been placed on the agenda for the next community meeting.

Current status (1.):

  • Telepathy framework is in place
  • Telepathy Rakia and Sofia-SIP are available from official repositories and can be installed

    pkcon install sofia-sip
    pkcon install telepathy-rakia
    
  • A simple pulse-audio config tweak exists to make call audio work for testing (speaker/top-mic only). put the following in /etc/pulse/xpolicy.conf . then systemctl restart pulseaudio.service .

    [stream]
    exe = voicecall-manager
    group = call
    
  • It is possible to set up an SIP account using mc-tool (you'll need to reboot after installing the programs above)

    mc-tool add sofiasip/sip name string:account=user@host
    mc-tool update sofiasip/sip/name string:password=passw0rd
    mc-tool enable sofiasip/sip/name
    mc-tool request sofiasip/sip/name online
    mc-tool reconnect sofiasip/sip/name
    
  • Receiving calls works (note audio limitations)

  • Audio routing is currently not supported (this especially means, that headsets, neither wired nor bluetooth will work)
  • There is no accounts UI for SIP
  • No easy way to place outbound calls (Using Nemo and it's dialer UI on a Jolla device allows to place a call)

    need the reproducer for this... is this mc-tool as well?
    

We as the community should step in and help figure out some missing bits, especially considering the last two items. Also SIP calls need more testing, so apply the workaround and use it. Note that call quality for VoIP from mobile devices is generally expected to be lower than mobile phone calls due to factors like WiFi congestion and low quality audio codecs.

Please refrain from:

  • posting how much of a vital, ground breaking, magical, awesome, silver bullet feature it is. It's not, it's just a nice to have, also such messages just cause massive spam in people's inboxes, they add zero value, so please don't.
  • posting that "Jolla still didn't deliver this, ZOMG!", well DUH, no sh*t Sherlock, they've made it clear they won't, if it's going to be delivered someone will add a note and close this. Also this causes annoying spam for many people, so please don't.

Original question

One of the features that I'm missing most from Nokia N9 is the native (and really well done) SIP integration. As far as I know there should be an opensource library that is used also by other clients like CSipSimple for Android or a couple of them on BB10. The missing part is the client and the integration with Jolla dialer.

Request: please integrate a native SIP client in Jolla.

p.s: do you think this could be a completly opensource application (made entirely by the community) or, since we want to integrate it in the dialer, it must be done by you?

edit retag flag offensive close delete

Comments

4

...sending an sms through betamax kind of service would be great if added together!

petros ( 2013-12-24 22:59:36 +0300 )edit
31
  • +1 for this request and the relative integration into the contact field as " sip number" or similar. Like n900 has..
pizzulicchio ( 2013-12-26 01:17:03 +0300 )edit
13

And for business use SIPS support is needed.

PJW_2273 ( 2013-12-27 14:19:28 +0300 )edit
1

request NetVoip.ch SIP profile settings with push notification and ring available

redge73 ( 2014-01-03 21:50:07 +0300 )edit
7

"Will definitely be done at some point" is really not an answer that would justify closing this one.

Julf ( 2014-01-11 12:04:00 +0300 )edit

30 Answers

Sort by » oldest newest most voted
7

answered 2015-01-05 02:16:01 +0300

zappAtom gravatar image

Any updates on this topic? What was the outcome of the community meeting?

edit flag offensive delete publish link more
7

answered 2018-10-05 22:40:07 +0300

Picanha gravatar image

I just want to remind about this topic before Sailfish 3 is released... :-)

edit flag offensive delete publish link more

Comments

3

If they have not done it already, they wont hear your voice now...

SaimenSays ( 2018-10-05 23:17:50 +0300 )edit
7

answered 2019-06-21 21:58:43 +0300

Vincent gravatar image

I did the install of the sip settings application with:

pkcon install jolla-settings-accounts-extensions-sip

The other earlier mentioned programs come automatically as dependencies.

Now i have got: Settings/Accounts/Sip. I filled it out and my voip provider (voip.ms) tells me that i am registered nicely.

But i see no option to choose between a sim and a voip call. Not in the People app and not in the Phone app. They automatically dial via the sim. Is there a separate dialer i need to install?

edit flag offensive delete publish link more

Comments

2

afaik there is no possibility to do this via GUI. And as well as I might remember some one said it is possible via command line I never dialed. What should be possible after some more tweaking is to receive SIP calls...

I miss N95, E7, N9xx and all that old stuff where SIP was integrated nicely and fully!

peterleinchen ( 2019-06-21 23:21:04 +0300 )edit
1

Question: You mention that the packages referenced above were included -- that's my experience, too -- but did you or did you have to include the pulseaudio tweaks? And in that the settings are now included in the settings app, is mc-tool still needed? One gets the sense that we're really close with this, which is a big deal to some of us who have wifi but live outside of cellular service.

depscribe ( 2019-06-22 01:48:36 +0300 )edit

@Vincent: there's an experimental patch for SIP. the author states it doesn't work yet but forces SIP for all calls. anyway this might get you to being able to dial?

https://coderus.openrepos.net/pm2/project/sailfishos-dialer-enable-sip

rozgwi ( 2019-06-24 23:20:22 +0300 )edit

Is there an official repo to download what is needed for the Nemo dialer? How is it implemented?

kakow ( 2019-07-07 02:20:42 +0300 )edit
5

answered 2015-11-01 12:45:07 +0300

vlad gravatar image

updated 2015-11-07 22:36:22 +0300

Hi, I setup my phone like this https://together.jolla.com/question/415/sip-voip-native-integration/
and it seems to work. The Phone is ringing (display stay black) but I can answer if i activate the screen with the button. The microphone from jolla phone works and caller hears me but I can't hear the caller. :( So it's not usable.... For me is the stable sip feature (even without gui) decisive.

I'm not sure about this in the howto:

[stream]
exe = voicecall-manager
group = call

is it still correct?

I tried csipsimple and it works but there are other problem: simple must be open and in fullscreen mode otherwise it don't resive calls.

edit flag offensive delete publish link more

Comments

Jolla has not worked on this at all. Dialer is probably still broken significantly, etc. There is nothing you can do. I personally would not hold my breath for them to fix this.

tbr ( 2015-11-08 10:50:08 +0300 )edit
5

answered 2018-08-14 20:01:00 +0300

omeena gravatar image

Indeed we need a SIP client. Since my whole work depends on.SIP. based calling, I M afraid I may shift to iOS or Android. any developer who is willing to.integrate the available pieces to make a functional client, I M haply to donate.

edit flag offensive delete publish link more
4

answered 2014-05-03 18:23:06 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-05-03 18:23:06 +0300

rzr gravatar image

Meanwhile , maybe we can start evaluating android fallback apps I remember some used to work fine on real nexus1 using my ISP

https://code.google.com/p/csipsimple/#

http://www.appbrain.com/app/iaxagent-beta/com.bw.iax.ui#

http://rzr.online.fr/q/sip# TBC

edit flag offensive delete publish link more

Comments

csipsimple work only after first install (with a crash after each call) after a jolla reboot it wasn't able to connect anymore with the sip server.

muchasuerte ( 2014-05-21 18:14:20 +0300 )edit
3

LinPhone does work. I tried all (free) SIP Apps I found: LinPhone and Zoiper are the only ones which did work reliably. The only issue i noticed is the app screen turning black while telefoning. I assume this is because a proximity sensor problem between Sailfishs' Kernel and Alien Dalvik. You might use "Real APK Leecher" to obtain the package....

mgbler ( 2014-05-22 09:10:30 +0300 )edit

Thanks mgbler!! I try Zoiper and it work fine as fallback

muchasuerte ( 2014-05-26 17:32:47 +0300 )edit

I hope linphone guys release a native client for Jolla .

pavi ( 2015-01-07 21:08:28 +0300 )edit
1

i can confirm that Linphone for Android does the job as a 'workaround'. I use it since May, and since latest sfos update, i can also answer incoming calls (by configuring it as background-service). But as mentioned by mgbler, you have to side-load it (installing via f-droid-app seems not to be possible)

DLQ ( 2015-08-23 03:15:23 +0300 )edit
4

answered 2019-11-05 13:18:19 +0300

maier gravatar image

I give it a 2nd try after 2 year... may someone has a solution? Result: I'm able to receive calls. Problem: I'm able to listen what the caller say but the called didn't hear what I say Environment: VoiP-Server in the local network (Fritz!Box 7490) Comment: 2 years ago it was also able to hear what I say

I installed: pkcon install sofia-sip pkcon install telepathy-rakia pkcon install jolla-settings-accounts-extensions

then I edited /etc/pulse/xpolicy.conf and added [stream] exe = voicecall-manager group = call

[stream]
property = application.process.arg0@equals:"/usr/bin/voicecall-manager" group = call

then I installed pulseaudio-modules-nemo-record pulseaudio-modules-nemo-sidetone pulseaudio-modules-nemo-voice

then I restarted the service pulsaudio systemctl-user restart pulseaudio.service

to be on the secure side I restarted the phone then I configured a sip account.

My phone: JP1 SOS: 3.2.0.12

edit flag offensive delete publish link more

Comments

Hi.

I just tried the same in my XperiaX to no avail. I noticed that incoming audio starts to work after 27-30 seconds after the incoming call is answered. Maybe a bit more detail about how pulseaudio routes the audios would help but I find it extremely complicated to understand/configure..

Regards.

Pasko ( 2019-11-13 21:59:48 +0300 )edit

I got the same results on JollaC, i.e. enable/disable SIP account from system accounts UI, verify my online presence, I can receive calls, but no sound on either end, and I cannot dial either.

pmelas ( 2019-11-27 22:37:23 +0300 )edit
4

answered 2020-08-05 10:11:43 +0300

inte gravatar image

I noticed that the SailfishOS release for the Gemini PDA seems to already have the VoLTE backend in place - there is a file /vendor/lib/volte_imsm.so and several volte related binaries such as volte_stack, volte_ua and volte_imcb are in /system/vendor/bin. It would really be amazing if it was possible to receive the VoLTE credentials utilizing these tools and eventually implement full VoLTE functionality in the native SIP integration.

edit flag offensive delete publish link more
2

answered 2014-10-25 19:00:02 +0300

TheGrave gravatar image

Can you use G729 with this Sofia/Rakia combo:)? I can't find any info about the supported codecs.

edit flag offensive delete publish link more

Comments

2

According to my SIP server Jolla speaks the following codecs:

Found audio description format G722 for ID 9 Found audio description format PCMU for ID 0 Found audio description format PCMA for ID 8 Found audio description format G726-32 for ID 96 Found audio description format AAL2-G726-32 for ID 97 Found audio description format G726-32 for ID 2 Found audio description format G729 for ID 18

alex25 ( 2014-10-26 08:43:59 +0300 )edit

Thanks!

Stupid questions but important to me - as everything is CLI can you at least copy/paste numbers from your phone book in Telepathy?

Also, can Telepathy stay registered in the background so that you can receive incoming calls?

TheGrave ( 2014-10-26 12:36:18 +0300 )edit
1

Nah, Wireshark says G.711 a-law and u-law, that's all it supports. You haven't installed the packages from some other repo, right?

TheGrave ( 2016-02-12 14:06:30 +0300 )edit
2

answered 2016-09-08 22:23:20 +0300

SaimenSays gravatar image

Tried to install the SIP account manager on 2.0.2.51 with already known command:

pkcon install jolla-settings-accounts-extensions

But unlikely got following error:

Fatal error: jolla-settings-accounts-extensions-sip-0.3.5-10.83.1.jolla.armv7hl requires jolla-settings-accounts-extensions = 0.3.5, but this requirement cannot be provided

Anyone an idea how to get this fixed?

edit flag offensive delete publish link more

Comments

pkcon refresh

nthn ( 2016-09-08 22:36:23 +0300 )edit

Same situation even with 2.1.0.11

Julf ( 2017-04-12 22:19:27 +0300 )edit

Still a pkcon refresh at the command line will fix this.

olf ( 2017-10-03 00:52:28 +0300 )edit
Login/Signup to Answer

Question tools

Follow
173 followers

Stats

Asked: 2013-12-24 19:52:28 +0300

Seen: 34,513 times

Last updated: Aug 05 '20