<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=windows-1255"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Baskerville Old Face";
        panose-1:2 2 6 2 8 5 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Baskerville Old Face","serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>Hi All,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;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:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'> [Internal]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>exten =&gt; _22,1,Dial(Local/${EXTEN}@CW/n) ; 22 is test number<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>exten =&gt; _22,2,Noop(After Hangup)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>[CW]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>exten =&gt; _x.,1,Dial(SIP/307)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>exten =&gt; _x.,2,Noop(After Hangup)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>The call never reaches neither of the Noop applications. Consol:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>  == Using SIP RTP CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>  == Using UDPTL CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- Executing [22@Internal:1] Dial(&quot;SIP/309-000000a5&quot;, &quot;Local/22@CW/n&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- Called 22@CW/n<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- Executing [22@CW:1] Dial(&quot;Local/22@CW-af6f;2&quot;, &quot;SIP/307&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>  == Using SIP RTP CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>  == Using UDPTL CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- Called 307<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- SIP/307-000000a6 is ringing<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- Local/22@CW-af6f;1 is ringing<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- SIP/307-000000a6 is ringing<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- SIP/307-000000a6 is ringing<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- SIP/307-000000a6 is ringing<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- SIP/307-000000a6 answered Local/22@CW-af6f;2<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>    -- Local/22@CW-af6f;1 answered SIP/309-000000a5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>  == Spawn extension (CW, 22, 1) exited non-zero on 'Local/22@CW-af6f;2'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>  == Spawn extension (Internal, 22, 1) exited non-zero on 'SIP/309-000000a5'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>Thanks in advance<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'>Harel <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Baskerville Old Face","serif"'><o:p>&nbsp;</o:p></span></p></div></body></html>