<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div class="plainMail"><div id="mailContent"><div style="visibility: visible; overflow: visible; width: 570px;" id="message1187571540" class="undoreset clearfix" role="main"><div class="plainMail">
&gt;&gt; I want to use Call Deflection with DAHDISendCallreroutingFacility<br>&gt;&gt; Application.<br>&gt;&gt; I use Asterisk:1.8.11 libpri:1.4.12 facilityenable=yes transfer=yes<br>&gt;&gt; my dialplan is like this:<br><br>&gt;You should always specify the switchtype and signaling parameters for<br>&gt;ISDN issues as well.&nbsp; In this case it is not critical to determine<br>&gt;what is happening.<br>&nbsp;<br>I used one E1 with switchtype=euroisdn signalling=pri_cpe&nbsp;
connected to C&amp;C08 Huawei Local eXchange.All supplementary services are enabled in LX.<br><pre><br></pre><br>&gt;&gt; <br>&gt;&gt; [Call-Deflection]<br>&gt;&gt; exten =&gt; 66,n,Proceeding()<br>&gt;&gt; exten =&gt; 66,1,wait(5)<br>&gt;&gt; exten =&gt; 66,n,DAHDISendCallreroutingFacility(88050048,8262000,cfb)<br>&gt;&gt; exten =&gt; 66,n,wait(5)<br>&gt;&gt; exten =&gt; 66,n,Hangup()<br>&gt;&gt; <br>&gt;&gt; after Executing<br>&gt;&gt; DAHDISendCallreroutingFacility("DAHDI/i1/2188602827-3",<br>&gt;&gt; "88050048,8262000,cfb")<br>&gt;&gt; in new stack == Spawn extension (Call-Deflection, 66, 3) exited<br>&gt;&gt; non-zero on 'DAHDI/i1/2188602827-3'<br>&gt;&gt; <br>&gt;&gt; Asterisk exit immediately and last wait(5) won't Execute.<br>&gt;&gt; <br>&gt;&gt; I used another PRI Analyzer and this is message sequence:<br>&gt;&gt; <br>&gt;&gt; Asterisk &lt;--setup-- Local exchange<br>&gt;&gt; Asterisk --proceeding--&gt; Local exchange<br>&gt;&gt; Asterisk
 --facility--&gt; Local exchange<br>&gt;&gt; Asterisk --Disconnect(Subscriber Absent)--&gt; Local exchange<br>&gt;&gt; Asterisk &lt;--Release-- Local exchange<br>&gt;&gt; Asterisk --Release complete--&gt; Local exchange<br>&gt;&gt; <br>&gt;&gt; from the Analyzer report Asterisk send Disconnect immediately after<br>&gt;&gt; Facility message<br>&gt;&gt; (don't wait for response from Local exchange).<br>&gt;&gt; please help me solve this problem<br><br>&gt;Asterisk does not care about the response from the switch in this case<br>&gt;so it does not wait for the defined response before hanging up the call.<br>&gt;DAHDISendCallreroutingFacility always returns nonzero to hangup the call.<br>&gt;I think it needs to have a built in wait(5) after sending the request<br>&gt;before returning to accommodate switches like yours that need time to<br>&gt;process the request.<br><br>How about Disconnect message after facility message ? I changed parameter:
 <br>|cfb|cfnr|unknown but always Asterisk send Disconnect message with <br>"Subscriber Absent" cause. DAHDISendCallreroutingFacility sends Disconnect message?<br>maybe this cause is why LX don't do anything. <br><br>&gt;Please file a bug report on this so it does not get lost.<br><a href="https://issues.asterisk.org/jira" target="_blank">&gt;https://issues.asterisk.org/jira</a><br>&gt;Thanks.<br>ok I will do but I am not sure about add always "Cause value=Subscriber Absent" to bug report or not.<br><br>&gt;Richard<br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank"><span class="yshortcuts" id="lw_1334115742_0">http://www.api-digital.com</span></a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a href="http://www.asterisk.org/hello"
 target="_blank"><span class="yshortcuts" id="lw_1334115742_1">http://www.asterisk.org/hello</span></a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"><span class="yshortcuts" id="lw_1334115742_2">http://lists.digium.com/mailman/listinfo/asterisk-users</span></a><br></div></div></div></div></td></tr></table>