UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    VoIP app with PJSIP

    Scheduled Pinned Locked Moved App Development
    voip
    16 Posts 9 Posters 3.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • ? Offline
        A Former User @GMNX
        last edited by

        @gmnx Marius' fork of the uMatriks app has VoIP capabilities, if that's any help: https://open-store.io/app/umatriks.mariogrip.test

        G 1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @GMNX
          last edited by

          @gmnx I've pinged some developers who maybe can help you πŸ™‚

          1 Reply Last reply Reply Quote 0
          • H Offline
            hummlbach
            last edited by

            @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...

            1 Reply Last reply Reply Quote 1
            • G Offline
              GMNX @Guest
              last edited by GMNX

              @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?
              0_1531805924938_photo_2018-07-17_11-59-25.resized.jpg

              @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
              0_1531805090068_Untitled 1.png

              @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

              advocatuxA ? 2 Replies Last reply Reply Quote 0
              • advocatuxA Offline
                advocatux @GMNX
                last edited by

                @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

                1 Reply Last reply Reply Quote 1
                • H Offline
                  hummlbach
                  last edited by hummlbach

                  @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 πŸ˜‰

                  1 Reply Last reply Reply Quote -1
                  • ? Offline
                    A Former User @GMNX
                    last edited by

                    @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...

                    1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack
                      last edited by

                      Matrix is NOT a SIP-compatible system, so dont try to log in there with a phone number...

                      BR

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      1 Reply Last reply Reply Quote 0
                      • te-onlineT Offline
                        te-online
                        last edited by

                        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? πŸ˜‰

                        advocatuxA 1 Reply Last reply Reply Quote 0
                        • advocatuxA Offline
                          advocatux @te-online
                          last edited by

                          @te-online there's a current effort underway developing a Linphone app for UT.

                          I've PMed you the link (to avoid spambots here).

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            Marathon2422 @advocatux
                            last edited by

                            @advocatux
                            Skype needs a Microsoft ID to login now
                            more need for an alternative..!!

                            advocatuxA 1 Reply Last reply Reply Quote 0
                            • advocatuxA Offline
                              advocatux @Marathon2422
                              last edited by

                              @marathon2422 yes, we need as much native apps as possible πŸ™‚

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                gnu-mobile
                                last edited by gnu-mobile

                                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.)

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  gnu-mobile
                                  last edited by

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    wayneoutthere
                                    last edited by

                                    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....

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post