SIP Over 3G Mobile Network Using NAT

Home » Asterisk Tips » SIP Over 3G Mobile Network Using NAT
Asterisk Tips 2 Comments

It might be the case that you are are trying to use SIP client over 3G and It registers and call can be initiated from the client but it can’t receive call; cause asterisk sever marks it as unreachable immediately after registration. Even more, the above works well when you turn off 3g and switch over to wifi.

I recommend you to set “qualify=no”, also check if your asterisk sip server Is available with ports on the public ip that your phone is trying to register from 3G network.
Other issue might be SIP retransmision (no reply to our critical packet). You might notice that this issue occurs when dialing a call out from a remote wifi network (office wifi, for example), its auto disconnected within 10s with SIP Retransmissions notice / warning message. However if a call is initiated from home local network ( ipad ) to the phone (registered with asterisk over office wifi)… all works well !

Take a look at your externhost/externip and localnet settings Set it properly, so asterisk can make SIP responses according to your WAN or LAN connection.

2 thoughts on - SIP Over 3G Mobile Network Using NAT

  • 2014-10-09 8:42 GMT-05:00 Chirag Ajmera :

    You must be aware of your security using PBX over internet!!!

    Take a look at your externhost/externip and localnet settings Set it properly, so asterisk can make SIP responses according to your WAN or LAN connection.

    Regards. José Flores Galicia

  • In your devices sip configuration set;

    qualify=no nat=yes

    in Bria;

    Settings -> Advanced -> Default Network Traversal Network Traversal Strategy Custom Configuration STUN Wi-Fi On STUN Mobile On STUN Server stun.counterpath.com (or another if appropriate)

    Accounts -> SIP Account -> Account Advanced Media Network Traversal
    Suppress STUN Wi-Fi Off
    Suppress STUN Mobile On

    SIP NETWORK TRAVERSAL
    Global IP Wi-Fi On
    Global IP Mobile On

    KEEP ALIVE
    Wi-Fi Interval 0
    Mobile Interval 0

    Depending on your 3G provider, you may need to adjust “Suppress STUN
    Mobile”.