hola compañero,
me paso cuando tengo varias wan con fijas de distintos proveedores
tiene que poner la externip en el sip.conf
te paso un ejemplo del sip.conf, en el sip_nat.conf lo dejo en blanco y me funciona igual porque sabe que el audio tiene que salir por donde diga el sip.conf
igual el proveedor te dijo que le pongas rango10.X.X..X y no 20.X.X.X??
cualquier cosa me mandas un mail o por skype
lucas@tizio.com.ar
skype: tiziolucas
sip.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at:
http://freepbx.org/configuration_files
;
;--------------------------------------------------------------------------------;
;
[general]
language=es
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
;allow=h264
;videosupport=yes
context=from-zaptel
callerid=Privado
sendrpid=pai
directmedia=update
notifyringing=yes
notifyhold=yes
limitonpeers=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
alwaysauthreject=yes
externip=TU IP EXTERNA
; These files will all be included in the [general] context
;
;#include sip_general_additional.conf
;sip_general_custom.conf is the proper file location for placing any sip general
;options that you might need set. For example: enable and force the sip jitterbuffer.
;If these settings are desired they should be set the sip_general_custom.conf file.
;
; jbenable=yes
; jbforce=yes
;
;It is also the proper place to add the lines needed for sip nat'ing when going
;through a firewall. For nat'ing you'd need to add the following lines:
; nat=yes , externip= , localhost= , and optionally fromdomain= .
;
#include sip_general_custom.conf
;sip_nat.conf is here for legacy support reasons and for those that upgrade
;from previous versions. If you have this file with lines in it please make
;sure they are not duplicated in sip_general_custom.conf, if so remove them
;from sip_nat.conf as sip_general_custom.conf will have precedence.
#include sip_nat.conf
;sip_registrations_custom.conf is for any customizations you might need to do to
;the automatically generated registrations that FreePBX makes.
;
#include sip_registrations_custom.conf
#include sip_registrations.conf
; These files should all be expected to come after the [general] context
;
#include sip_custom.conf
#include sip_additional.conf
;sip_custom_post.conf If you have extra parameters that are needed for a
;extension to work to for example, those go here. So you have extension
;1000 defined in your system you start by creating a line [1000](+) in this
;file. Then on the next line add the extra parameter that is needed.
;When the sip.conf is loaded it will append your additions to the end of
;that extension.
;
#include sip_custom_post.conf
Statistics: Posted by tiziolucas — Sat Dec 26, 2015 5:38 pm