Заранее спасибо!
extensions_additional.conf
Код: Выделить всё
[app-announcement-1]
include => app-announcement-1-custom
exten => s,1,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Noop(Playing announcement welcome)
exten => s,n,Playback(custom/qiwi-invalid-rom,noanswer)
exten => s,n,Goto(from-did-direct,246,1)
Код: Выделить всё
-- Executing [246@from-trunk-sip-orange_69521193:1] Set("SIP/orange_69521193-0000001a", "GROUP()=OUT_1") in new stack
-- Executing [246@from-trunk-sip-orange_69521193:2] Goto("SIP/orange_69521193-0000001a", "from-trunk,246,1") in new stack
-- Goto (from-trunk,246,1)
-- Executing [246@from-trunk:1] Set("SIP/orange_69521193-0000001a", "__RINGTIMER=15") in new stack
-- Executing [246@from-trunk:2] Macro("SIP/orange_69521193-0000001a", "exten-vm,novm,246,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/orange_69521193-0000001a", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/orange_69521193-0000001a", "TOUCH_MONITOR=1477653769.26") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/orange_69521193-0000001a", "AMPUSER=068900280") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/orange_69521193-0000001a", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/orange_69521193-0000001a", "1?Set(REALCALLERIDNUM=068900280)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/orange_69521193-0000001a", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/orange_69521193-0000001a", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/orange_69521193-0000001a", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/orange_69521193-0000001a", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/orange_69521193-0000001a", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/orange_69521193-0000001a", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/orange_69521193-0000001a", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/orange_69521193-0000001a", "CALLERID(number)=068900280") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/orange_69521193-0000001a", "CALLERID(name)=068900280") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/orange_69521193-0000001a", "CDR(cnum)=068900280") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/orange_69521193-0000001a", "CDR(cnam)=068900280") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/orange_69521193-0000001a", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/orange_69521193-0000001a", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/orange_69521193-0000001a", "__EXTTOCALL=246") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/orange_69521193-0000001a", "__PICKUPMARK=246") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/orange_69521193-0000001a", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/orange_69521193-0000001a", "sub-record-check,s,1(exten,246,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/orange_69521193-0000001a", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/orange_69521193-0000001a", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/orange_69521193-0000001a", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/orange_69521193-0000001a", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/orange_69521193-0000001a", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/orange_69521193-0000001a", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/orange_69521193-0000001a", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/orange_69521193-0000001a", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/orange_69521193-0000001a", "NOW=1477653769") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/orange_69521193-0000001a", "__DAY=28") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/orange_69521193-0000001a", "__MONTH=10") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/orange_69521193-0000001a", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/orange_69521193-0000001a", "__TIMESTR=20161028-142249") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/orange_69521193-0000001a", "__FROMEXTEN=068900280") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/orange_69521193-0000001a", "__CALLFILENAME=exten-246-068900280-20161028-142249-1477653769.26") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/orange_69521193-0000001a", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/orange_69521193-0000001a", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/orange_69521193-0000001a", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/orange_69521193-0000001a", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/orange_69521193-0000001a", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/orange_69521193-0000001a", "0?record,1(exten,246,068900280)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/orange_69521193-0000001a", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/orange_69521193-0000001a", "dial-one,,tr,246") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/orange_69521193-0000001a", "DEXTEN=246") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/orange_69521193-0000001a", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/orange_69521193-0000001a", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/orange_69521193-0000001a", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/orange_69521193-0000001a", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/orange_69521193-0000001a", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/orange_69521193-0000001a", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/orange_69521193-0000001a", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/orange_69521193-0000001a", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/orange_69521193-0000001a", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/orange_69521193-0000001a", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/orange_69521193-0000001a", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/orange_69521193-0000001a", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/orange_69521193-0000001a", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/orange_69521193-0000001a", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/orange_69521193-0000001a", "DEVICES=246") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/orange_69521193-0000001a", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/orange_69521193-0000001a", "0?Set(DEVICES=46)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/orange_69521193-0000001a", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/orange_69521193-0000001a", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/orange_69521193-0000001a", "THISDIAL=SIP/246") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/orange_69521193-0000001a", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/orange_69521193-0000001a", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/orange_69521193-0000001a", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/orange_69521193-0000001a", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/orange_69521193-0000001a", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/orange_69521193-0000001a", "THISPART2=SIP/246") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/orange_69521193-0000001a", "0?Set(THISPART2=DAHDI/246)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/orange_69521193-0000001a", "NEWDIAL=SIP/246&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/orange_69521193-0000001a", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/orange_69521193-0000001a", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/orange_69521193-0000001a", "THISDIAL=SIP/246") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/orange_69521193-0000001a", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/orange_69521193-0000001a", "DSTRING=SIP/246&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/orange_69521193-0000001a", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/orange_69521193-0000001a", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/orange_69521193-0000001a", "DSTRING=SIP/246") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/orange_69521193-0000001a", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/orange_69521193-0000001a", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/orange_69521193-0000001a", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/orange_69521193-0000001a", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/orange_69521193-0000001a", "DB(CALLTRACE/246)=068900280") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/orange_69521193-0000001a", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/orange_69521193-0000001a", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/orange_69521193-0000001a", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/orange_69521193-0000001a", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/orange_69521193-0000001a", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/orange_69521193-0000001a", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/orange_69521193-0000001a", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/orange_69521193-0000001a", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/orange_69521193-0000001a", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/orange_69521193-0000001a", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/orange_69521193-0000001a", "SIP/246,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/246
-- SIP/246-0000001b is ringing
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/orange_69521193-0000001a' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/orange_69521193-0000001a' in macro 'exten-vm'
== Spawn extension (from-trunk, 246, 2) exited non-zero on 'SIP/orange_69521193-0000001a'
-- Executing [h@from-trunk:1] Macro("SIP/orange_69521193-0000001a", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/orange_69521193-0000001a", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,20)
-- Executing [s@macro-hangupcall:20] NoOp("SIP/orange_69521193-0000001a", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:21] GotoIf("SIP/orange_69521193-0000001a", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,39)
-- Executing [s@macro-hangupcall:39] NoOp("SIP/orange_69521193-0000001a", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:40] GotoIf("SIP/orange_69521193-0000001a", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] NoOp("SIP/orange_69521193-0000001a", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:46] GotoIf("SIP/orange_69521193-0000001a", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,52)
-- Executing [s@macro-hangupcall:52] NoOp("SIP/orange_69521193-0000001a", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:53] GotoIf("SIP/orange_69521193-0000001a", "1?noautomon3") in new stack
-- Goto (macro-hangupcall,s,59)
-- Executing [s@macro-hangupcall:59] NoOp("SIP/orange_69521193-0000001a", "MIXMONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:60] GotoIf("SIP/orange_69521193-0000001a", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,62)
-- Executing [s@macro-hangupcall:62] NoOp("SIP/orange_69521193-0000001a", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:63] NoOp("SIP/orange_69521193-0000001a", "CDR recordingfile set to: ") in new stack
-- Executing [s@macro-hangupcall:64] GotoIf("SIP/orange_69521193-0000001a", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,67)
-- Executing [s@macro-hangupcall:67] GotoIf("SIP/orange_69521193-0000001a", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,70)
-- Executing [s@macro-hangupcall:70] GotoIf("SIP/orange_69521193-0000001a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,72)
-- Executing [s@macro-hangupcall:72] AGI("SIP/orange_69521193-0000001a", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/orange_69521193-0000001a>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:73] Hangup("SIP/orange_69521193-0000001a", "") in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/orange_69521193-0000001a' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'SIP/orange_69521193-0000001a'