[asterisk-users] Call Deflection with DAHDISendCallreroutingFacility

Mehdi Shirazi mahdi_shirazi at yahoo.com
Mon Apr 9 07:08:13 CDT 2012

I want to use Call Deflection with DAHDISendCallreroutingFacility Application.
I use Asterisk:1.8.11 libpri:1.4.12 facilityenable=yes transfer=yes
 my dialplan is like this:

exten => 66,n,Proceeding()
exten => 66,1,wait(5)
exten => 66,n,DAHDISendCallreroutingFacility(88050048,8262000,cfb)
exten => 66,n,wait(5)
exten => 66,n,Hangup()

after Executing DAHDISendCallreroutingFacility("DAHDI/i1/2188602827-3", "88050048,8262000,cfb") 
in new stack  == Spawn extension (Call-Deflection, 66, 3) exited non-zero on 'DAHDI/i1/2188602827-3'

Asterisk exit immediately and last wait(5) won't Excute.

I used another PRI Analyzer and this is message sequence:

Asterisk    <--setup--    Local exchange
Asterisk  --proceeding--> 
 Local exchange
Asterisk   --facility-->  Local exchange
Asterisk   --Disconnect(Subscriber Absent)--> Local exchange
Asterisk    <--Release-- Local exchange
Asterisk    --Release complete--> Local exchange

from the Analyzer report Asterisk send Disconnect immediately after Facility message
(don't wait for response from Local exchange).
please help me solve this problem

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120409/5788d59e/attachment.htm>

More information about the asterisk-users mailing list