[Asterisk-Users] Asterisk & Broadvoice Incoming Calls Problems
Luis Jimenez
ingluisjimenez at yahoo.com
Mon Feb 20 14:23:57 MST 2006
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.
Im behind a NAT Firewall, so i need a setup that can work in this condition. Here is part of my setup:
sip.conf
externip=200.42.xxx.xxx
nat=yes
register => 305xxxxx22 at sip.broadvoice.com:MyPassword1:305xxxxx22 at sip.broadvoice.com
register => 305xxxxx66 at sip.broadvoice.com:MyPassword2:305xxxxx66 at sip.broadvoice.com
[301]
type=friend
regexten=301
username=301
secret=xxxxx
callerid="Agent #1" <301>
host=dynamic
nat=yes
canreinvite=no
disallow=all
allow=gsm
allow=ulaw
allow=alaw
[sip.broadvoice.com]
type=peer
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=305xxxxx22
secret=MyPassword1
username=305xxxxx22
insecure=very
context=from-broadvoice
authname=305xxxxx22
dtmfmode=inband
dtmf=inband
;Disable canreinvite if you are behind a NAT
canreinvite=no
disallow=all
allow=gsm
allow=ulaw
allow=alaw
[sip.broadvoice.com1]
type=peer
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=305xxxxx66
secret=MyPassword2
username=305xxxxx66
insecure=very
context=from-broadvoice
authname=305xxxxx66
dtmfmode=inband
dtmf=inband
;Disable canreinvite if you are behind a NAT
canreinvite=no
disallow=all
allow=gsm
allow=ulaw
allow=alaw
[broadvoice-incoming]
context=from-broadvoice
dtmf=inband
dtmfmode=inband
fromdomain=sip.broadvoice.com
host=sip.broadvoice.com
insecure=very
nat=yes
secret=MyPassword1
type=user
user=305xxxxx22
username=305xxxxx22
[broadvoice-incoming2]
context=from-broadvoice
dtmf=inband
dtmfmode=inband
fromdomain=sip.broadvoice.com
host=sip.broadvoice.com
insecure=very
nat=yes
secret=MyPassword1
type=user
user=305xxxxx66
username=305xxxxx66
extensions.conf
[from-broadvoice]
exten => s,1,Answer
exten => s,2,Wait(2) ; Waits 2 Seconds Before Playing the Welcome Msg
exten => s,3,Playback(welcome-message)
exten => s,4,Dial(SIP/301,25,Tt)
exten => s,5,Hangup
/etc/hosts
147.135.0.128 sip.broadvoice.com
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060220/0b8774a8/attachment.htm
More information about the asterisk-users
mailing list