Hi, i'm having problems with broadvoice incoming calls. I can perfectly place calls but my Asterisk Box is having problems when registering with the SIP Proxy. Sometimes it register and the call gets into asterisk, but without sound (seems to be NAT problems) and sometimes its not possible for asterisk to receive the calls. Everything was working great exactly for a month, but a week ago it crashed and stop working. I dont know if someting happened with the broadvoice service or the problem is mine, cause i tried with the same setup it was working.<br>Im behind a NAT Firewall, so i need a setup that can work in this condition. Here is part of my setup:<br><br><span style="font-weight: bold;">sip.conf<br></span>externip=200.42.xxx.xxx<br>nat=yes<br><br><br><span style="font-weight: bold;">register => 305xxxxx22@sip.broadvoice.com:MyPassword1:305xxxxx22@sip.broadvoice.com</span><br style="font-weight: bold;"><span style="font-weight: bold;">register =>
305xxxxx66@sip.broadvoice.com:MyPassword2:305xxxxx66@sip.broadvoice.com</span><br><br>[301]<br>type=friend<br>regexten=301<br>username=301<br>secret=xxxxx<br>callerid="Agent #1" <301><br>host=dynamic<br>nat=yes<br>canreinvite=no<br>disallow=all<br>allow=gsm<br>allow=ulaw<br>allow=alaw<br><br>[sip.broadvoice.com]<br>type=peer<br>user=phone<br>host=sip.broadvoice.com<br>fromdomain=sip.broadvoice.com<br>fromuser=305xxxxx22<br>secret=MyPassword1<br>username=305xxxxx22<br>insecure=very<br>context=from-broadvoice<br>authname=305xxxxx22<br>dtmfmode=inband<br>dtmf=inband<br>;Disable canreinvite if you are behind a NAT<br>canreinvite=no<br>disallow=all<br>allow=gsm<br>allow=ulaw<br>allow=alaw<br><br>[sip.broadvoice.com1]<br> type=peer<br> user=phone<br> host=sip.broadvoice.com<br> fromdomain=sip.broadvoice.com<br> fromuser=305xxxxx66<br> secret=MyPassword2<br> username=305xxxxx66<br> insecure=very<br> context=from-broadvoice<br> authname=305xxxxx66<br> dtmfmode=inband<br>
dtmf=inband<br> ;Disable canreinvite if you are behind a NAT<br> canreinvite=no<br> disallow=all<br> allow=gsm<br> allow=ulaw<br> allow=alaw<br><span style="font-weight: bold;"><br></span>[broadvoice-incoming]<br>context=from-broadvoice<br>dtmf=inband<br>dtmfmode=inband<br>fromdomain=sip.broadvoice.com<br>host=sip.broadvoice.com<br>insecure=very<br>nat=yes<br>secret=MyPassword1<br>type=user<br>user=305xxxxx22<br>username=305xxxxx22<br><br><br>[broadvoice-incoming2]<br>context=from-broadvoice<br>dtmf=inband<br>dtmfmode=inband<br>fromdomain=sip.broadvoice.com<br>host=sip.broadvoice.com<br>insecure=very<br>nat=yes<br>secret=MyPassword1<br>type=user<br>user=305xxxxx66<br>username=305xxxxx66<br><br><br><span style="font-weight: bold;">extensions.conf<br>[from-broadvoice]<br></span>exten => s,1,Answer<br>exten => s,2,Wait(2) ; Waits 2 Seconds Before Playing the Welcome Msg<br>exten => s,3,Playback(welcome-message)<br>exten =>
s,4,Dial(SIP/301,25,Tt) <br>exten => s,5,Hangup<span style="font-weight: bold;"><br><br><br><span style="font-weight: bold;">/etc/hosts<br></span></span>147.135.0.128 sip.broadvoice.com<p>__________________________________________________<br>Correo Yahoo!<br>Espacio para todos tus mensajes, antivirus y antispam ¡gratis! <br>Regístrate ya - http://correo.espanol.yahoo.com/