pbx: update SIP config to help deal with NAT issues

SIP is pretty much terrible at dealing with NAT.  Asterisk has some
knobs that can be enabled to help deal with common issues.  Turn them
on.

In passing, remove the videosupport=yes line.  We don't have video
enabled for the conference application and we don't have any video
codecs allowed, so this option didn't do anything.

Change-Id: Ibc17ad3da9bbc110a8cb19daaea1655d0a208670
This commit is contained in:
Russell Bryant 2013-07-31 21:23:13 -04:00
parent ec24ad27da
commit d67dfea213

View File

@ -11,7 +11,7 @@ allow=g722
allow=ulaw allow=ulaw
allow=alaw allow=alaw
allow=gsm allow=gsm
videosupport=yes nat=force_rport,comedia
<% sip_providers.each do |provider| -%> <% sip_providers.each do |provider| -%>
register => <%= provider['username'] %>:<%= provider['password'] %>@<%= provider['hostname'] %>:5060 register => <%= provider['username'] %>:<%= provider['password'] %>@<%= provider['hostname'] %>:5060
<% end -%> <% end -%>