You are correct.. I had the correct context on my current production configuration I just copied from an older saved file.. So the [enterbroadvoice] has a context of incoming and incoming is defined in the extensions.con. But still have the same problem with incoming jumping directly into Broadvoice VM. I even changed it to IAX2 extension.<br>
<br>Any help would be appreciated....<br><br><br><div class="gmail_quote">On Fri, Dec 25, 2009 at 10:43 AM, Qurba Joog <span dir="ltr"><<a href="mailto:qurbajoog@gmail.com">qurbajoog@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks very much for your reply Nguyen. I read and re-read the url you sent.. Sorry I'm new to this but are you saying the [incoming] context is wrong? Please indicate what is wrong.<br>
<br>If you look at the SIP.conf [enter_broadvoice] I have [incoming] context defined and that is the one I have called out in the extensions.conf<br>
<br>Thanks.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Dec 25, 2009 at 5:20 AM, Nguyen Quang Tri <span dir="ltr"><<a href="http://kihote.am" target="_blank">kihote.am</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Wrong context for incoming, <br>you can read <br><a href="http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+config+sip.conf</a><br>and<br><a href="http://www.voip-info.org/wiki/view/IPKall" target="_blank">http://www.voip-info.org/wiki/view/IPKall</a><br>
<br><div class="gmail_quote">2009/12/25 --[ UxBoD ]-- <span dir="ltr"><<a href="mailto:uxbod@splatnix.net" target="_blank">uxbod@splatnix.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
<div><div style="font-family: Verdana; font-size: 10pt; color: rgb(0, 0, 0);"><div>----- "Qurba Joog" <<a href="mailto:qurbajoog@gmail.com" target="_blank">qurbajoog@gmail.com</a>> wrote:
<br>| Hello, <br>| <br>| Please forgive me if I'm repeating this post. I have searched and looked for similar problem with a solution but have not see a similar one.<br>| <br>| My outgoing SIP and other channels work fine but the incoming/inbound SIP call goes straight to Broadvoice voicemail. I see that Broadvoice is registered when I look at the SIP registry. I have turned on SIP Debug and it is below.<br>
|
<br>| Anyone know why even when SIP has registered I do not see incoming calls?<br>| <br>| Thanks,<br>| <br>| <br>| ------extensions.conf----------------<br>| [global]<br>| <br>| [general]<br>| bindport=5060<br>| bindaddr = 0.0.0.0<br>
</div>| deny=<a href="http://0.0.0.0/0.0.0.0" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "0.0.0.0" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 0.0.0.0/0.0.0.0</a><br>
|
externhost=<a href="http://xyz.dyndns.org" target="_blank">xyz.dyndns.org</a><br>| localnet = <a href="http://192.168.1.0/255.255.255.0" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "192.168.1.0" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 192.168.1.0/255.255.255.0</a><div>
<div></div><div><br>| disallow=all<br>| allow=ulaw<br>| allow=gsm<br>| delayreject=yes<br>| nochecksums=no<br>|
allowguest=no<br>| delayreject=yes<br>| pedantic=no<br>| <br>| register => 703XXXYYYY@sip.broadvoice.com:s<a href="http://ecurepassword:703XXXYYYY@sip.broadvoice.com/5000" target="_blank">ecurepassword:703XXXYYYY@sip.broadvoice.com/5000</a><br>
|
<br>| [5000]<br>| type=friend<br>| context=internal-phones<br>| secret=xxx<br>| qualify=yes<br>| host=dynamic ; behind nat <br>| dtmfmode=rfc2833<br>| <br>| [5002]<br>| type=friend<br>| context=internal-phones<br>| secret=test<br>
| qualify=yes<br>|
host=dynamic ; behind nat <br>| nat=yes<br>| dtmfmode=rfc2833<br>| <br>| [enter_broadvoice]<br>| type=peer<br>| user=phone<br>| host=<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a><br>| fromdomain=<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a><br>
|
fromuser=703XXXYYYY<br>| secret=securepassword<br>| username=703XXXYYYY<br>| insecure=very<br>| ;insecure=port,invite<br>| context=incoming<br>| authname=703XXXYYYY<br>| dtmfmode=inband<br>| dtmf=inband<br>| ;Disable canreinvite if you are behind a NAT<br>
|
<br>| canreinvite=no<br>| <br>| --------extensions.conf--------<br>| <br>| [globals]<br>| <br>| [general]<br>| <br>| autofallthrough=yes<br>| <br>| <br>| [incoming_calls]<br>| <br>| exten => 1703XXXYYYY,1,Dial(SIP/5000)<br>
| <br>| [internal-phones]<br>|
<br>| include => outgoing<br>| exten => 5000,1,Dial(SIP/5000,20)<br>| exten => 5002,1,Dial(SIP/5002,20)<br>| <br>| <br>| [outgoing]<br>| <br>| exten => _X.,1,NoOp()<br>| exten => _X.,n,Dial(SIP/enter_broadvoice/${EXTEN})<br>
|
<br>| --------SIP Registry------------------<br>| -*CLI> sip show registry<br>| Host dnsmgr Username Refresh State Reg.Time<br>| <a href="http://sip.broadvoice.com:5060" target="_blank">sip.broadvoice.com:5060</a> N 703XXXYYYY@s 23 Registered Fri, 25 Dec 2009 01:14:03<br>
|
<br>| --------SIP Debug------------------<br>| -*CLI><br>| REGISTER 11 headers, 0 lines<br></div></div>| Reliably Transmitting (no NAT) to <a href="http://147.135.32.226:5060" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "147.135.32.226:5060" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 147.135.32.226:5060</a>:<div>
<br>| REGISTER sip:<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a> SIP/2.0<br>|
Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8;rport<br>| Max-Forwards: 70<br>| From: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>>;tag=as376e46ae<br>
| To: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>><br>|
Call-ID: <a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a><br>| CSeq: 147 REGISTER<br>| User-Agent: Asterisk PBX 1.6.1.6<br>| Expires: 120<br>
| Contact: <<a href="mailto:sip%3A5000@68.100.65.3" target="_blank">sip:5000@68.100.65.3</a>><br>|
Content-Length: 0<br>| <br>| <br>| ---<br>| Really destroying SIP dialog '<a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a>' Method: REGISTER<br>
| Suuban*CLI><br></div>|
<--- SIP read from UDP://<a href="http://147.135.32.225:5060" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "147.135.32.225:5060" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 147.135.32.225:5060</a> ---><div>
<br>| SIP/2.0 200 OK<br>| Call-ID: <a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a><br>|
CSeq: 147 REGISTER<br>| From: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>>;tag=as376e46ae<br>| To: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>><br>
|
Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK4948ded8<br>| Contact: <<a href="mailto:sip%3A5000@68.100.66.3" target="_blank">sip:5000@68.100.66.3</a>><br>| Expires: 30<br>| Content-Length: 0<br>| <br>| <br>| <-------------><br>
| --- (9 headers 0 lines) ---<br>|
Scheduling destruction of SIP dialog '<a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a>' in 32000 ms (Method: REGISTER)<br>| [Dec 25 00:42:31] NOTICE[2898]: chan_sip.c:16740 handle_response_register: Outbound Registration: Expiry for <a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a> is 30 sec (Scheduling reregistration in 23 s)<br>
|
<br>| <br>| REGISTER 11 headers, 0 lines<br></div>| Reliably Transmitting (no NAT) to <a href="http://147.135.32.226:5060" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "147.135.32.226:5060" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 147.135.32.226:5060</a>:<div>
<br>| REGISTER sip:<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a> SIP/2.0<br>|
Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK35a02655;rport<br>| Max-Forwards: 70<br>| From: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>>;tag=as54c6327a<br>
| To: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>><br>|
Call-ID: <a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a><br>| CSeq: 148 REGISTER<br>| User-Agent: Asterisk PBX 1.6.1.6<br>| Expires: 120<br>
| Contact: <<a href="mailto:sip%3A5000@68.100.66.3" target="_blank">sip:5000@68.100.66.3</a>><br>|
Content-Length: 0<br>| ---<br>| Really destroying SIP dialog '<a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a>' Method: REGISTER<br>
| Suuban*CLI><br></div>| <--- SIP read from UDP://<a href="http://147.135.32.226:5060" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "147.135.32.226:5060" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> 147.135.32.226:5060</a> ---><div>
<br>|
SIP/2.0 200 OK<br>| Call-ID: <a href="mailto:65a8d48738a00d121fc9050e4771d0b7@192.168.1.51" target="_blank">65a8d48738a00d121fc9050e4771d0b7@192.168.1.51</a><br>| CSeq: 148 REGISTER<br>| From: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>>;tag=as54c6327a<br>
|
To: <<a href="mailto:sip%3A703XXXYYYY@sip.broadvoice.com" target="_blank">sip:703XXXYYYY@sip.broadvoice.com</a>><br>| Via: SIP/2.0/UDP 68.100.66.3:5060;branch=z9hG4bK35a02655<br>| Contact: <<a href="mailto:sip%3A5000@68.100.66.3" target="_blank">sip:5000@68.100.66.3</a>><br>
|
Expires: 30<br>| Content-Length: 0<br>| ----------------------------------------------<br><br></div>Within sip.conf you are using the context inbound; yet in extensions.conf you have incoming_calls. so change extensions.conf to be:<br>
<br>[incoming]<div><br><br>exten => 1703XXXYYYY,1,Dial(SIP/5000)<br></div></div></div><br></div></div><div>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></blockquote></div><br>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
</div></div></blockquote></div><br>