Система FreePBX-Distro
ситуация в следующем , есть идея сделать переадресацию на номер в другую систему при не регистрированном абоненте .
вроде все нормально , и все принялось ... но вотпереадресация не уходит . если набрать 2806 то получаю
Код: Выделить всё
-- <Local/FMGL-1555@from-internal-d365;2>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:4] NoOp("Local/FMGL-1555@from-internal-d365;2", "Returned from dialparties with no extensions to call and DIALSTATUS: NOANSWER") in new stack
-- Executing [FMGL-1555@from-internal:8] Hangup("Local/FMGL-1555@from-internal-d365;2", "") in new stack
== Spawn extension (from-internal, FMGL-1555, 8) exited non-zero on 'Local/FMGL-1555@from-internal-d365;2'
-- Executing [h@from-internal:1] Hangup("Local/FMGL-1555@from-internal-d365;2", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMGL-1555@from-internal-d365;2'
-- No one is available to answer at this time (2:0/0/1)
-- Executing [s@macro-dial:8] Set("SIP/MXONE1-00000246", "DIALSTATUS=NOANSWER") in new stack
-- Executing [s@macro-dial:9] GosubIf("SIP/MXONE1-00000246", "0?NOANSWER,1") in new stack
-- Executing [2806@from-did-direct:22] Goto("SIP/MXONE1-00000246", "nextstep") in new stack
-- Goto (from-did-direct,2806,24)
-- Executing [2806@from-did-direct:24] Set("SIP/MXONE1-00000246", "RingGroupMethod=") in new stack
-- Executing [2806@from-did-direct:25] GotoIf("SIP/MXONE1-00000246", "0?nodest") in new stack
-- Executing [2806@from-did-direct:26] Set("SIP/MXONE1-00000246", "__NODEST=") in new stack
-- Executing [2806@from-did-direct:27] Set("SIP/MXONE1-00000246", "__PICKUPMARK=") in new stack
-- Executing [2806@from-did-direct:28] Macro("SIP/MXONE1-00000246", "blkvm-clr,") in new stack
-- Executing [s@macro-blkvm-clr:1] Set("SIP/MXONE1-00000246", "SHARED(BLKVM,SIP/MXONE1-00000246)=") in new stack
-- Executing [s@macro-blkvm-clr:2] Set("SIP/MXONE1-00000246", "GOSUB_RETVAL=") in new stack
-- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/MXONE1-00000246", "") in new stack
-- Executing [2806@from-did-direct:29] Set("SIP/MXONE1-00000246", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [2806@from-did-direct:30] Goto("SIP/MXONE1-00000246", "ext-local,2806,dest") in new stack
-- Goto (ext-local,2806,3)
-- Executing [2806@ext-local:3] Set("SIP/MXONE1-00000246", "__PICKUPMARK=") in new stack
-- Executing [2806@ext-local:4] Goto("SIP/MXONE1-00000246", ",return,1") in new stack
-- Goto (ext-local,return,1)
[2012-10-02 12:17:05] WARNING[31924]: pbx.c:5119 __ast_pbx_run: Channel 'SIP/MXONE1-00000246' sent into invalid extension 'return' in context 'ext-local', but no invalid handler
-- Executing [h@ext-local:1] Macro("SIP/MXONE1-00000246", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/MXONE1-00000246", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/MXONE1-00000246", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/MXONE1-00000246", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/MXONE1-00000246' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'SIP/MXONE1-00000246'
подскажите ....