<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 8, 2013 at 4:26 PM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Monday 08 April 2013, Thomas Perron wrote:<br>
> I am trying to make sure my DID and SIP account details are working<br>
> properly and engaging the extensions.conf and dial plan.<br>
><br>
> I have a successful SIP session registered:<br>
><br>
> Connected to Asterisk 11.3.0 currently running on Asterisk (pid = 922)<br>
> Asterisk*CLI> sip show registry<br>
> Host dnsmgr Username Refresh<br>
> State Reg.Time<br>
> <a href="http://sip3.voipvoip.com:5060" target="_blank">sip3.voipvoip.com:5060</a> N 1112530146 105<br>
> Registered Mon, 08 Apr 2013 06:02:09<br>
> 1 SIP registrations.<br>
> Asterisk*CLI><br>
><br>
> Here is the dial plan:<br>
> [incoming]<br>
> exten => 17036361355,1,Playback(beep)<br>
> exten => 17036361355,2,SayDigits(${EXTEN})<br>
> exten => 17036361355,3,Goto(testdtmf|s|1<br>
> ;Ring on Elle mobile phone.<br>
> ;exten => s,1,Answer()<br>
> ;exten => s,n,Dial(SIP/17037171234,150,r,t,)<br>
><br>
><br>
> [general]<br>
> register =>1112530146:albany!@#<a href="http://123@sip3.voipvoip.com/1112530146" target="_blank">123@sip3.voipvoip.com/1112530146</a><br>
> registertimeout=20<br>
> context=incoming<br>
> allowoverlap=no<br>
> bindport=5060<br>
> bindaddr=192.168.1.10<br>
> srvlookup=no<br>
> ;context=incoming<br>
><br>
> ; The SIP provider<br>
> [<a href="http://voipvoip.com" target="_blank">voipvoip.com</a>]<br>
> canreinvite=no<br>
> username=1112530146<br>
> fromuser=1112530146<br>
> secret=albany!@#123<br>
> context=incoming<br>
> type=friend<br>
> fromdomain=<a href="mailto:sip3@voipvoip.com">sip3@voipvoip.com</a><br>
> host=69.90.209.57<br>
> dtmfmode=rfc2833<br>
> disallow=all<br>
> allow=alaw<br>
> allow=ulaw<br>
> nat=force_rport<br>
> insecure=port,invite<br>
><br>
> Thoughts please? I think something to do w/ "incoming" is incorrect.<br>
<br>
</div></div>You only have one extension, "17036361355" in the [incoming] context in your<br>
dialplan. Are you sure that "17036361355" is exactly what the SIP provider<br>
are actually sending to your end ?<br>
<br>
I'd put an "s" extension with a NoOp(${EXTEN}) in there, just to catch the<br>
actual extension number they were sending.<br>
<br>
--<br>
AJS<br>
<br>
Answers come *after* questions.<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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></blockquote><div><br></div><div style>I don't think s extension will work on SIP channel. s extension is a catch-all extension for Analog calls and Macros (reference: <a href="https://wiki.asterisk.org/wiki/display/AST/Handling+Special+Extensions">https://wiki.asterisk.org/wiki/display/AST/Handling+Special+Extensions</a>)</div>
<div style><br></div><div style>Just for the sake of testing I would have something like,</div><div style> <span style="color:rgb(80,0,80)">[incoming]</span></div><span style="color:rgb(80,0,80)"> exten => _X.,1,NoOp(EXTENSION=${EXTEN})</span></div>
<div class="gmail_quote"><span style="color:rgb(80,0,80)"> exten => </span><span style="color:rgb(80,0,80)">_X.</span><span style="color:rgb(80,0,80)">,2,</span><span style="color:rgb(80,0,80)">Playback(beep)</span></div>
<div class="gmail_quote"><span style="color:rgb(80,0,80)"> exten => </span><span style="color:rgb(80,0,80)">_X.</span><span style="color:rgb(80,0,80)">,3,SayDigits(${</span><span style="color:rgb(80,0,80)">EXTEN})</span></div>
<div class="gmail_quote"><span style="color:rgb(80,0,80)"> exten => </span><span style="color:rgb(80,0,80)">_X.</span><span style="color:rgb(80,0,80)">,3,Goto(testdtmf|s|</span><span style="color:rgb(80,0,80)">1)</span><br style="color:rgb(80,0,80)">
<span style="color:rgb(80,0,80)">;Ring on Elle mobile phone.</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">;exten => s,1,Answer()</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)"> ;exten => s,n,Dial(SIP/17037171234,150,</span><span style="color:rgb(80,0,80)">r,t,)</span></div>
<br></div></div>