I installed Asterisk on a Raspberry PI 4 with a 3G dongle to connect a sip client with cellular line.
I use MIZUDROID as the client software.
When I connect from the same LAN it works excellent - I can get calls and it works as I wanted.
When I am outside the LAN - I use a private VPN to connect to my line (base on wireguard).
When I use the VPN my cellular phone can access other computers on the LAN and as an internal IP.
When I run MIZUDROID it says it is registered - and If I call the SIM number of the dongle I get the call in MIZUDROID including caller id. I can also answer - But the issue is that there is no voice.
I can’t hear the other side and he can’t hear me.
About the second question - I guess you mean in the General SIP settings ?
I just saw that they are no set
Because I am using VPN - I guessed that my phone is inside the LAN - and it works when connected with wifi - shouldn’t it work also from outside with VPN ?
I don’t want to open ports in my router except the wireguard vpn port.
Is there any reason I should set the external address and local networks in the NAT settings in General SIP settings ?
There is no such thing in Asterisk. Are you using some GUI? If so, please use the forum for the GUI, e.g. https://community.freepbx.org for FreePBX.
Channel driver refers to anything in the channels directory in the source code, e.g. chan_dahdi, chan_skinny, chan_iax, chan_sip, chan_pjsip, etc., etc. There are two channel drivers for SIP, of which only one is currently supported, chan_pjsip.
If there is a public address for signalling, and the destination isn’t on a local network, it sets the addresses in the Via and Contact headers to the public address, rather than the address of the interface used. With a public media address, it does the same except for the media address.
If you have a public address but fail to list the VPN as local, the public address will be, incorrectly, used for traffic over the VPN.