Primeiramente obrigado pela atenção... Meu sip_general_additional.conf está:
vmexten=*97 faxdetect=no context=from-sip-external callerid=Unknown notifyringing=yes notifyhold=yes tos_sip=cs3 tos_audio=ef tos_video=af41 alwaysauthreject=yes useragent=FPBX-2.11.0(11.17.1) disallow=all allow=ulaw allow=gsm allow=alaw allow=lpc10 allow=speex allow=g722 allow=siren7 allow=adpcm allow=siren14 allow=g723 allow=slin allow=g726 allow=g729 allow=ilbc allow=g726aal2 allow=h264 allow=h263p allow=h263 allow=h261 callevents=no jbenable=no defaultexpiry=120 allowguest=yes srvlookup=no minexpiry=60 maxexpiry=3600 registerattempts=0 registertimeout=20 notifyhold=yes rtpkeepalive=0 g726nonstandard=no videosupport=yes maxcallbitrate=384 canreinvite=no rtptimeout=30 rtpholdtimeout=300 notifyringing=yes checkmwi=10 *nat=yes* *externhost=xxx.no-ip.info <http://xxx.no-ip.info>* *externrefresh=120* *localnet=ip_do_elastix/255.255.255.0 <http://255.255.255.0>* O arquivo sip.conf deixei em anexo com o que tem dentro Em 10 de abril de 2017 15:33, Richard Amaral de Jesus < richard.aje...@gmail.com> escreveu: > Problema de configuração no sip.conf nos parâmetros exterip e localnet > https://www.voip-info.org/wiki/view/Asterisk+SIP+externip > > Ou seu redirecionamento não está trafegando os pacotes RTP devidamente. > > Em 10/04/2017 15:28, "Lucas Lauris" <lauris.lu...@gmail.com> escreveu: > >> Pessoal boa tarde tudo bem? >> >> Gostaria de saber se vocês podem me ajudar, tenho um Elastix 4.0 com >> Asterisk... >> >> Criei ramais, fiz trunk com DDR que possuo na Locaweb, configurei ramais >> com DDNS e tudo se conecta. >> >> Porém quando efetuo ligação para um ramal que não está na mesma rede do >> Asterisk ele toca normal porém quando atendo fica mudo a ligação, agora, >> quando efetuo ligação para o ramal na mesma rede do Asterisk funciona normal >> >> O meu sip.conf está com nat=yes >> >> Trunks e ramais SIP >> >> _______________________________________________ >> KHOMP: completa linha de placas externas FXO, FXS, GSM e E1 >> Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7 >> Intercomunicador e acesso remoto via rede IP e telefones IP >> Conheça todo o portfólio em www.Khomp.com >> _______________________________________________ >> Para remover seu email desta lista, basta enviar um email em branco para >> asteriskbrasil-unsubscr...@listas.asteriskbrasil.org >> > > _______________________________________________ > KHOMP: completa linha de placas externas FXO, FXS, GSM e E1 > Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7 > Intercomunicador e acesso remoto via rede IP e telefones IP > Conheça todo o portfólio em www.Khomp.com > _______________________________________________ > Para remover seu email desta lista, basta enviar um email em branco para > asteriskbrasil-unsubscr...@listas.asteriskbrasil.org >
;--------------------------------------------------------------------------------; ; 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] ; 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 #include additional_a2billing_sip.conf
_______________________________________________ KHOMP: completa linha de placas externas FXO, FXS, GSM e E1 Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7 Intercomunicador e acesso remoto via rede IP e telefones IP Conheça todo o portfólio em www.Khomp.com _______________________________________________ Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscr...@listas.asteriskbrasil.org