mailinglist at linuxis... Guest
|
Posted: Mon Feb 08, 2016 6:30 am Post subject: [asterisk-users] NAT traversal for mobile app softphones - b |
|
|
Hi
On Fri, 2016-02-05 at 00:44 +0000, Kevin Long wrote:
Quote: | My asterisk systems sit behind a Meraki mx80 firewall at a data
center. I use static public IPs on the firewall and port forward
5060,5061, and 10,000-20,000 so the clients can connect.
|
Quote: | Given this scenario, I’m hoping for advice on the best strategy
|
I have the same situation and with the following sip.conf settings,
everything works fine.
[general]
externip= 12.34.56.78
localnet = 192.168.10.0/255.255.255.0
nat=force_rport,comedia
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=alaw
allow=ulaw
tcpenable=yes
Here the configuration for a mobile device with a softphone (Android and
Zoiper)
;Mobile phone
[mobile1]
type=peer
callerid="Frank " <+987654321>
nat=force_rport,comedia
qualify=6000
host=dynamic
secret=mysupersecretpassword
canreinvite=no
context=privatephone
call-limit=2
transport=tcp
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|