PINE64
PinePhone as DIY SIP Gateway - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: PinePhone as DIY SIP Gateway (/showthread.php?tid=14717)



PinePhone as DIY SIP Gateway - Thoams131 - 08-21-2021

Hi!
Today I thought of using my PinePhone as a SIP-Gateway. It might be an interesting usage of a PP.

I assume the AT-Commands are only used for commands and the high-bandwidth-stuff goes through another communication channel? What protocol is used for voice? Do you know existing OpenSource Software which could connect a EG25-G (or other modules) to SIP?

To be totally honest, I think the project will fail due to my time management, but still I am interested in gathering first information, maybe also for someone else who wants to continue it ...

Thanks!
Thomas


RE: PinePhone as DIY SIP Gateway - rocket2nfinity - 08-21-2021

(08-21-2021, 05:57 AM)Thoams131 Wrote: Hi!
Today I thought of using my PinePhone as a SIP-Gateway. It might be an interesting usage of a PP.

I assume the AT-Commands are only used for commands and the high-bandwidth-stuff goes through another communication channel? What protocol is used for voice? Do you know existing OpenSource Software which could connect a EG25-G (or other modules) to SIP?

To be totally honest, I think the project will fail due to my time management, but still I am interested in gathering first information, maybe also for someone else who wants to continue it ...

Thanks!
Thomas

There are SIP clients available, but none that work well yet - Twinkle, Linphone, etc. None have been optimized for mobile.


RE: PinePhone as DIY SIP Gateway - Thoams131 - 08-22-2021

Hi!

I thought of a SIP Gateway, not a SIP-Client. Same Question here - sadly no good answer yet and some valuable comments are deleted



Seems like Asterisk is a commonly used Server-Software and there are some drivers for eg. Huawei Surfsticks available. So the only task would probably be to write a Module for the Baseband.

I think I currently won't have the time to make it, still some valuable input for someone else who considers doing it. (maybe my future self)

Best Regards!
Thomas


RE: PinePhone as DIY SIP Gateway - wibble - 08-23-2021

It used to be possible on the OpenMoko with asterisk. Have a look at chan-quectel which is targeting similar quectel modem modules, and seems a fair starting point:
https://github.com/t4rd15/asterisk-chan-quectel
The trick will probably be sorting out the audio routing/configuration - Megous has the best description I've seen of how the routing works, or at least can work - I'm not sure if the distros are all doing it the same way.
https://xnux.eu/devices/feature/audio-pp.html