<font color="#000066"><font face="courier new,monospace">Hi,<br><br>After a Dial, the call is hung up. It doesn't carry on with dialplan unless you specify the appropriate dial option.<br><br>Check wiki voip-info for cmd Dial, I think the option is "g"<br>
</font></font><br><div class="gmail_quote">2010/6/22 Harel Cohen <span dir="ltr"><<a href="mailto:harel@easycall.gi">harel@easycall.gi</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">Hi All,</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">I’m trying to do “things” after my Dial application terminates (e.g. play IVR to called party, calling party, etc.). I’m trying to use the local channel for this purpose but so far with no success. I’m using 1.6.1.18 and this is my extensions.conf:</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> </span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> [Internal]</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">exten => _22,1,Dial(Local/${EXTEN}@CW/n) ; 22 is test number</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">exten => _22,2,Noop(After Hangup)</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> </span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">[CW]</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">exten => _x.,1,Dial(SIP/307)</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">exten => _x.,2,Noop(After Hangup)</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> </span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">The call never reaches neither of the Noop applications. Consol:</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> == Using SIP RTP CoS mark 5</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> == Using UDPTL CoS mark 5</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- Executing [22@Internal:1] Dial("SIP/309-000000a5", "Local/22@CW/n") in new stack</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- Called 22@CW/n</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- Executing [22@CW:1] Dial("Local/22@CW-af6f;2", "SIP/307") in new stack</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> == Using SIP RTP CoS mark 5</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> == Using UDPTL CoS mark 5</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- Called 307</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- SIP/307-000000a6 is ringing</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- Local/22@CW-af6f;1 is ringing</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- SIP/307-000000a6 is ringing</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- SIP/307-000000a6 is ringing</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- SIP/307-000000a6 is ringing</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- SIP/307-000000a6 answered Local/22@CW-af6f;2</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> -- Local/22@CW-af6f;1 answered SIP/309-000000a5</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> == Spawn extension (CW, 22, 1) exited non-zero on 'Local/22@CW-af6f;2'</span></p><p class="MsoNormal">
<span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> == Spawn extension (Internal, 22, 1) exited non-zero on 'SIP/309-000000a5'</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">If I use the ‘g’ option in my Dial() both Noop will be run only if the called party hang-up first. I need a simple continuation in the dial plan regardless of who disconnected the call.</span></p>
<p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">Thanks in advance</span></p><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";">Harel </span></p>
<font color="#888888"><p class="MsoNormal"><span style="font-size: 12pt; font-family: "Baskerville Old Face","serif";"> </span></p></font></div></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>
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><br></blockquote></div><br>