Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] NAT traversal for mobile app softphones - best strategy?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
mailinglist at linuxis...
Guest





PostPosted: Mon Feb 08, 2016 6:30 am    Post subject: [asterisk-users] NAT traversal for mobile app softphones - b Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services