VoIP app with PJSIP
-
@GMNX is that a nexus 4? the nexus 4 gave me something like that recently...
So I'm on unknown ground too, so i can't give you an ready made answer, but I'm very interested in you project since we started to integrate mycroft (also python with audio in/out) some weeks ago and experienced very similar perhaps the same issues. First it made some difference whether the application was started over ssh or directly in the ubuntu-touch terminal. We had less problems via ssh (but try if its the same for you), but there are some environment variables set (in ut touch terminal, find them here also) regarding pulseaudio that you may want to set in the terminal you're using over ssh. That leads us to the second point: (if its not already the case) i think you should try to use pulseaudio and not alsa directly. Starting mycroft is crashing some devices, while on turbo you have to playback some audio to start mycroft properly, and on some devices it simply starts up without causing problems (see the table here). So perhaps I have some time next to reproduce what you've done so far and maybe we get a bit further together... -
@3arn0wl I don't know, seems uMatriks can't use my Asterisk Server. Is uMatriks must use their own server to log in into the App?
@advocatux Thanks, I hope VoIP using SIP URI can be added into phone account. So people naturally can using VoIP service in ubuntu phone without using third party App. Like in Xiaomi MIUI
@hummlbach I'm using One Plus One(Bacon), you have the same result when I see in your MyCroft Status.
About Pulseaudio, I need more time to research PJSIP using PulseAudio. Is that more stable than ALSA? or Ubuntu Touch in default using PulseAudio rather than ALSA?Did anyone know where I can get Sound in/out mechanism in Ubuntu Touch ? It seems different from another Ubuntu flavor
-
@gmnx these two projects could be interesting for you, Fluffychat [0] (more complete client than uMatriks now) and UBports-Linphone [1].
[0] https://github.com/ChristianPauly/fluffychat/
[1] https://gitlab.com/ubports-linphone -
@GMNX yes ut uses pulseaudio. For example the volume buttons do not influence the volume of mycroft, if you don't set the pulseaudio environment variables (refered to above) in the shell before starting it... And its not about stability, as far as I understood its just another level of abstraction. I think alsa does not handle the volume per application as pulseaudio does...(??) Disclaimer: dangerous half knowledge
-
@gmnx As I understand it, Matrix is all about using one's own server, but that's as much as I know.
Nextcloud also has a VoIP app... And I know there have been calls for closer integration of Nextcloud's services into UBports' code...
-
Matrix is NOT a SIP-compatible system, so dont try to log in there with a phone number...
BR
-
Did you pursue this any further? I'm looking for a decent voip app for ubuntu phone and would not fear to develop a UI or packaged app myself, but I guess the backend library to talk to the sip/voip server would be the most important piece. And nobody wants to reinvent the wheel, right?
-
@te-online there's a current effort underway developing a Linphone app for UT.
I've PMed you the link (to avoid spambots here).
-
@advocatux
Skype needs a Microsoft ID to login now
more need for an alternative..!! -
@marathon2422 yes, we need as much native apps as possible
-
As GNU Ring (https://ring.cx) is based on PJSIP, maybe they can be of help for you. (The clients can work p2p and with classic SIP accounts.)
-
Some ring daemon specific hints:
https://stackoverflow.com/a/30608598
https://stackoverflow.com/questions/29714733/installing-the-ring-cx-sip-client-on-a-raspberry-pi -
quick update to this thread (sept 2018). Linphone app is getting really, really good and is already working for SIP I've tested with my business SIP phone and it's now 'working' . There is a telegram group and also a kind of active community around this app if anyone is interested you can PM me or if @CiberSheep wants to open the group up in this thread he can....