Seann Clark
2010-Apr-28 00:15 UTC
[asterisk-users] Broadvoice inbound fails on Asterisk 1.6.1
All, I have been fighting with my dialplan for hours now, and google searches talk lots but offer nothing in terms of explication for this. I have my SIP peer set up and working with Broadvoice: [sip.broadvoice.com] type=peer user=phone host=sip.broadvoice.com fromdomain=sip.broadvoice.com fromuser=5555551234 secret=password defaultuser=5555551234 insecure=port,invite context=broadvoice authname=5555551234 dtmfmode=inband dtmf=inband ;Disable canreinvite if you are behind a NAT canreinvite=no monitor=yes qualify=yes disallow=all allow=ulaw nat=yes register => 5555551234 at sip.broadvoice.com:password:5555551234 at sip.broadvoice.com in extensions.conf: [broadvoice] exten => 5555551234,1,Set(CDR(accountcode)="44") exten => 5555551234,n,AppendCDRUserField("BroadVoice") exten => 5555551234,n,7090093,1,Goto(112,1) and Asterisk is still giving me this error in the logs (while playing a number does not exist sound clip): [Apr 27 18:11:19] NOTICE[12179] chan_sip.c: Call from '5555551234' to extension '5555551234' rejected because extension not found. I have played with the register settings, I have played with the sip context settings, I have tried an 's' extension in the broadvoice context, and I am out of ideas. Does anyone have an idea of what is going on with this? Thanks, Seann -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5544 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100427/3c04d484/attachment.bin
Richard Kenner
2010-Apr-28 01:07 UTC
[asterisk-users] Broadvoice inbound fails on Asterisk 1.6.1
> [sip.broadvoice.com]...> [broadvoice] > exten => 5555551234,1,Set(CDR(accountcode)="44") > > and Asterisk is still giving me this error in the logs (while playing a > number does not exist sound clip): > [Apr 27 18:11:19] NOTICE[12179] chan_sip.c: Call from '5555551234' to > extension '5555551234' rejected because extension not found. > > I have played with the register settings, I have played with the sip > context settings, I have tried an 's' extension in the broadvoice > context, and I am out of ideas. Does anyone have an idea of what is > going on with this?The register is irrelevant for incoming calls and an 's' extension won't get reached in this situation. MOST LIKELY what's happening is that the SIP call isn't maching the security parameters in [sip.broadvoice.com] and thus being put into the default context. To test this theory, add exten => _X.,1,NoOp(${EXTEN}) in both the default and broadvoice contexts and see which one gets hit and what the extension is when you make the incoming call. If it's going to default, then turn SIP debugging on and then make another call and see if the parameters in the INVITE match what you expect in the [sip.broadvoice.com] clause.
Is this an inbound call to that number? Or are you calling out from that number? I understand the need to obfuscate the numbers, but it says " Call from '5555551234' to extension '5555551234'", so are you calling yourself? Or did you just change both numbers to the same number. Maybe just change the first 6 digits, so we can read it easier. And more debug info would help. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Seann Clark Sent: Tuesday, April 27, 2010 7:15 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Broadvoice inbound fails on Asterisk 1.6.1 All, I have been fighting with my dialplan for hours now, and google searches talk lots but offer nothing in terms of explication for this. I have my SIP peer set up and working with Broadvoice: [sip.broadvoice.com] type=peer user=phone host=sip.broadvoice.com fromdomain=sip.broadvoice.com fromuser=5555551234 secret=password defaultuser=5555551234 insecure=port,invite context=broadvoice authname=5555551234 dtmfmode=inband dtmf=inband ;Disable canreinvite if you are behind a NAT canreinvite=no monitor=yes qualify=yes disallow=all allow=ulaw nat=yes register => 5555551234 at sip.broadvoice.com:password:5555551234 at sip.broadvoice.com in extensions.conf: [broadvoice] exten => 5555551234,1,Set(CDR(accountcode)="44") exten => 5555551234,n,AppendCDRUserField("BroadVoice") exten => 5555551234,n,7090093,1,Goto(112,1) and Asterisk is still giving me this error in the logs (while playing a number does not exist sound clip): [Apr 27 18:11:19] NOTICE[12179] chan_sip.c: Call from '5555551234' to extension '5555551234' rejected because extension not found. I have played with the register settings, I have played with the sip context settings, I have tried an 's' extension in the broadvoice context, and I am out of ideas. Does anyone have an idea of what is going on with this? Thanks, Seann