<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">
>> I want to use Call Deflection with DAHDISendCallreroutingFacility<br>>> Application.<br>>> I use Asterisk:1.8.11 libpri:1.4.12 facilityenable=yes transfer=yes<br>>> my dialplan is like this:<br><br>>You should always specify the switchtype and signaling parameters for<br>>ISDN issues as well. In this case it is not critical to determine<br>>what is happening.<br> <br>I used one E1 with switchtype=euroisdn signalling=pri_cpe
connected to C&C08 Huawei Local eXchange.All supplementary services are enabled in LX.<br><pre><br></pre><br>>> <br>>> [Call-Deflection]<br>>> exten => 66,n,Proceeding()<br>>> exten => 66,1,wait(5)<br>>> exten => 66,n,DAHDISendCallreroutingFacility(88050048,8262000,cfb)<br>>> exten => 66,n,wait(5)<br>>> exten => 66,n,Hangup()<br>>> <br>>> after Executing<br>>> DAHDISendCallreroutingFacility("DAHDI/i1/2188602827-3",<br>>> "88050048,8262000,cfb")<br>>> in new stack == Spawn extension (Call-Deflection, 66, 3) exited<br>>> non-zero on 'DAHDI/i1/2188602827-3'<br>>> <br>>> Asterisk exit immediately and last wait(5) won't Execute.<br>>> <br>>> I used another PRI Analyzer and this is message sequence:<br>>> <br>>> Asterisk <--setup-- Local exchange<br>>> Asterisk --proceeding--> Local exchange<br>>> Asterisk
--facility--> Local exchange<br>>> Asterisk --Disconnect(Subscriber Absent)--> Local exchange<br>>> Asterisk <--Release-- Local exchange<br>>> Asterisk --Release complete--> Local exchange<br>>> <br>>> from the Analyzer report Asterisk send Disconnect immediately after<br>>> Facility message<br>>> (don't wait for response from Local exchange).<br>>> please help me solve this problem<br><br>>Asterisk does not care about the response from the switch in this case<br>>so it does not wait for the defined response before hanging up the call.<br>>DAHDISendCallreroutingFacility always returns nonzero to hangup the call.<br>>I think it needs to have a built in wait(5) after sending the request<br>>before returning to accommodate switches like yours that need time to<br>>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>>Please file a bug report on this so it does not get lost.<br><a href="https://issues.asterisk.org/jira" target="_blank">>https://issues.asterisk.org/jira</a><br>>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>>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> <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> <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>