ВидеоКонф(ВКС)  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Elastix 2.5 и Optional Destinations

Обо всем касательно TrixBox, Elastix, AstPBX и всех других дистрибутивов

Модераторы: april22, Zavr2008

Elastix 2.5 и Optional Destinations

Сообщение Asdert » 17 янв 2017, 09:22

Добрый день.
На предприятии использую телефонию на базе Elastix 2.5. На экстеншенах настроены опции Optional Destinations при занятости, не ответе и недоступности. В том или ином случае звонок по событию перенаправляется на очередь, группу, ivr, анонс или просто завершается.
Если звонок совершается с внутреннего экстеншена на внутренний, то Optional Destinations отрабатывают точно так, как настроено.
Но если звонок пришел из вне (в логе: маршрут fxo3-rtk-in отправляет звонок сразу на внутренний 199), то Optional Destinations как будто игнорируются, вызов идет 40 секунд, завершается (на аппарате вызов прекращается и помечается как неответ) и через секунду снова возобновляется, при чем номер уже определяется как Unknown.
Прошу помочь решить проблему. Нужно чтобы при внешнем входящем вызове отрабатывались настройки Optional Destinations.

P.S. уточняю. проблема наблюдается только при неответе. Если событие недоступность или занято, то работает как надо.

[Показать] Спойлер: cli log
-- Executing [2340951@from-trunk-sip-fxo3:1] Set("SIP/fxo3-000000d1", "GROUP()=OUT_5") in new stack
-- Executing [2340951@from-trunk-sip-fxo3:2] Goto("SIP/fxo3-000000d1", "from-trunk,2340951,1") in new stack
-- Goto (from-trunk,2340951,1)
-- Executing [2340951@from-trunk:1] Set("SIP/fxo3-000000d1", "__FROM_DID=2340951") in new stack
-- Executing [2340951@from-trunk:2] Set("SIP/fxo3-000000d1", "__REC_POLICY_MODE=always") in new stack
-- Executing [2340951@from-trunk:3] Gosub("SIP/fxo3-000000d1", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/fxo3-000000d1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/fxo3-000000d1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/fxo3-000000d1", "") in new stack
-- Executing [2340951@from-trunk:4] Set("SIP/fxo3-000000d1", "CHANNEL(language)=ru") in new stack
-- Executing [2340951@from-trunk:5] Set("SIP/fxo3-000000d1", "CDR(did)=2340951") in new stack
-- Executing [2340951@from-trunk:6] ExecIf("SIP/fxo3-000000d1", "0 ?Set(CALLERID(name)=9131202152)") in new stack
-- Executing [2340951@from-trunk:7] Set("SIP/fxo3-000000d1", "CHANNEL(musicclass)=default") in new stack
-- Executing [2340951@from-trunk:8] Set("SIP/fxo3-000000d1", "__MOHCLASS=default") in new stack
-- Executing [2340951@from-trunk:9] Set("SIP/fxo3-000000d1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [2340951@from-trunk:10] Set("SIP/fxo3-000000d1", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [2340951@from-trunk:11] Set("SIP/fxo3-000000d1", "__ALERT_INFO=external") in new stack
-- Executing [2340951@from-trunk:12] Macro("SIP/fxo3-000000d1", "prepend-cid,2340951: ") in new stack
-- Executing [s@macro-prepend-cid:1] GotoIf("SIP/fxo3-000000d1", "1?REPCID") in new stack
-- Goto (macro-prepend-cid,s,5)
-- Executing [s@macro-prepend-cid:5] Set("SIP/fxo3-000000d1", "_RGPREFIX=2340951: ") in new stack
-- Executing [s@macro-prepend-cid:6] Set("SIP/fxo3-000000d1", "CALLERID(name)=2340951: 9131202152") in new stack
-- Executing [2340951@from-trunk:13] Goto("SIP/fxo3-000000d1", "from-did-direct,199,1") in new stack
-- Goto (from-did-direct,199,1)
-- Executing [199@from-did-direct:1] Set("SIP/fxo3-000000d1", "__RINGTIMER=40") in new stack
-- Executing [199@from-did-direct:2] Macro("SIP/fxo3-000000d1", "exten-vm,novm,199,1,1,1") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/fxo3-000000d1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/fxo3-000000d1", "TOUCH_MONITOR=1484627737.220") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/fxo3-000000d1", "AMPUSER=9131202152") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/fxo3-000000d1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/fxo3-000000d1", "1?Set(REALCALLERIDNUM=9131202152)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/fxo3-000000d1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/fxo3-000000d1", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/fxo3-000000d1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/fxo3-000000d1", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/fxo3-000000d1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/fxo3-000000d1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/fxo3-000000d1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/fxo3-000000d1", "CALLERID(number)=9131202152") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/fxo3-000000d1", "CALLERID(name)=2340951: 9131202152") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/fxo3-000000d1", "CDR(cnum)=9131202152") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/fxo3-000000d1", "CDR(cnam)=2340951: 9131202152") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/fxo3-000000d1", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/fxo3-000000d1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/fxo3-000000d1", "__EXTTOCALL=199") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/fxo3-000000d1", "__PICKUPMARK=199") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/fxo3-000000d1", "RT=40") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/fxo3-000000d1", "sub-record-check,s,1(exten,199,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/fxo3-000000d1", "REC_POLICY_MODE_SAVE=always") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/fxo3-000000d1", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/fxo3-000000d1", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/fxo3-000000d1", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/fxo3-000000d1", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/fxo3-000000d1", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/fxo3-000000d1", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/fxo3-000000d1", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/fxo3-000000d1", "NOW=1484627737") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/fxo3-000000d1", "__DAY=17") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/fxo3-000000d1", "__MONTH=01") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/fxo3-000000d1", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/fxo3-000000d1", "__TIMESTR=20170117-113537") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/fxo3-000000d1", "__FROMEXTEN=9131202152") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/fxo3-000000d1", "__CALLFILENAME=exten-199-9131202152-20170117-113537-1484627737.220") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/fxo3-000000d1", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/fxo3-000000d1", "1?callee") in new stack
-- Goto (sub-record-check,exten,8)
-- Executing [exten@sub-record-check:8] GosubIf("SIP/fxo3-000000d1", "1?record,1(exten,199,9131202152)") in new stack
-- Executing [record@sub-record-check:1] Set("SIP/fxo3-000000d1", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [record@sub-record-check:2] MixMonitor("SIP/fxo3-000000d1", "2017/01/17/exten-199-9131202152-20170117-113537-1484627737.220.wav,,") in new stack
-- Executing [record@sub-record-check:3] Set("SIP/fxo3-000000d1", "__REC_STATUS=RECORDING") in new stack
-- Executing [record@sub-record-check:4] Set("SIP/fxo3-000000d1", "CDR(recordingfile)=exten-199-9131202152-20170117-113537-1484627737.220.wav") in new stack
-- Executing [record@sub-record-check:5] Return("SIP/fxo3-000000d1", "") in new stack
-- Executing [exten@sub-record-check:9] Return("SIP/fxo3-000000d1", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/fxo3-000000d1", "dial-one,40,tr,199") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/fxo3-000000d1", "DEXTEN=199") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/fxo3-000000d1", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/fxo3-000000d1", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/fxo3-000000d1", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/fxo3-000000d1", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/fxo3-000000d1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/fxo3-000000d1", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/fxo3-000000d1", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/fxo3-000000d1", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/fxo3-000000d1", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/fxo3-000000d1", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/fxo3-000000d1", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/fxo3-000000d1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/fxo3-000000d1", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/fxo3-000000d1", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/fxo3-000000d1", "DEVICES=199") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/fxo3-000000d1", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/fxo3-000000d1", "0?Set(DEVICES=99)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/fxo3-000000d1", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/fxo3-000000d1", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/fxo3-000000d1", "THISDIAL=SIP/199") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/fxo3-000000d1", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/fxo3-000000d1", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/fxo3-000000d1", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/fxo3-000000d1", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/fxo3-000000d1", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/fxo3-000000d1", "THISPART2=SIP/199") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/fxo3-000000d1", "0?Set(THISPART2=DAHDI/199)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/fxo3-000000d1", "NEWDIAL=SIP/199&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/fxo3-000000d1", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/fxo3-000000d1", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/fxo3-000000d1", "THISDIAL=SIP/199") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/fxo3-000000d1", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/fxo3-000000d1", "DSTRING=SIP/199&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/fxo3-000000d1", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/fxo3-000000d1", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/fxo3-000000d1", "DSTRING=SIP/199") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/fxo3-000000d1", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/fxo3-000000d1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/fxo3-000000d1", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/fxo3-000000d1", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/fxo3-000000d1", "DB(CALLTRACE/199)=9131202152") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/fxo3-000000d1", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/fxo3-000000d1", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/fxo3-000000d1", "1?SIPAddHeader(Alert-Info: external)") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/fxo3-000000d1", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/fxo3-000000d1", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/fxo3-000000d1", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/fxo3-000000d1", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/fxo3-000000d1", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/fxo3-000000d1", "0?usegoto,1") in new stack
== Begin MixMonitor Recording SIP/fxo3-000000d1
-- Executing [s@macro-dial-one:38] GotoIf("SIP/fxo3-000000d1", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/fxo3-000000d1", "SIP/199,40,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/199
-- SIP/199-000000d2 is ringing
-- Remote UNIX connection
-- Remote UNIX connection disconnected
-- Remote UNIX connection
-- Remote UNIX connection disconnected
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/fxo3-000000d1' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/fxo3-000000d1' in macro 'exten-vm'
== Spawn extension (from-did-direct, 199, 2) exited non-zero on 'SIP/fxo3-000000d1'
-- Executing [h@from-did-direct:1] Macro("SIP/fxo3-000000d1", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/fxo3-000000d1", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/fxo3-000000d1", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/fxo3-000000d1", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/fxo3-000000d1", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/fxo3-000000d1", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/fxo3-000000d1", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/fxo3-000000d1", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/fxo3-000000d1", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/fxo3-000000d1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/fxo3-000000d1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/fxo3-000000d1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/fxo3-000000d1", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/fxo3-000000d1>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/fxo3-000000d1", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/fxo3-000000d1' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/fxo3-000000d1'
== MixMonitor close filestream (mixed)
== End MixMonitor Recording SIP/fxo3-000000d1
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [2340951@from-trunk-sip-fxo3:1] Set("SIP/fxo3-000000d3", "GROUP()=OUT_5") in new stack
-- Executing [2340951@from-trunk-sip-fxo3:2] Goto("SIP/fxo3-000000d3", "from-trunk,2340951,1") in new stack
-- Goto (from-trunk,2340951,1)
-- Executing [2340951@from-trunk:1] Set("SIP/fxo3-000000d3", "__FROM_DID=2340951") in new stack
-- Executing [2340951@from-trunk:2] Set("SIP/fxo3-000000d3", "__REC_POLICY_MODE=always") in new stack
-- Executing [2340951@from-trunk:3] Gosub("SIP/fxo3-000000d3", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/fxo3-000000d3", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/fxo3-000000d3", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/fxo3-000000d3", "") in new stack
-- Executing [2340951@from-trunk:4] Set("SIP/fxo3-000000d3", "CHANNEL(language)=ru") in new stack
-- Executing [2340951@from-trunk:5] Set("SIP/fxo3-000000d3", "CDR(did)=2340951") in new stack
-- Executing [2340951@from-trunk:6] ExecIf("SIP/fxo3-000000d3", "0 ?Set(CALLERID(name)=Unknown)") in new stack
-- Executing [2340951@from-trunk:7] Set("SIP/fxo3-000000d3", "CHANNEL(musicclass)=default") in new stack
-- Executing [2340951@from-trunk:8] Set("SIP/fxo3-000000d3", "__MOHCLASS=default") in new stack
-- Executing [2340951@from-trunk:9] Set("SIP/fxo3-000000d3", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [2340951@from-trunk:10] Set("SIP/fxo3-000000d3", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [2340951@from-trunk:11] Set("SIP/fxo3-000000d3", "__ALERT_INFO=external") in new stack
-- Executing [2340951@from-trunk:12] Macro("SIP/fxo3-000000d3", "prepend-cid,2340951: ") in new stack
-- Executing [s@macro-prepend-cid:1] GotoIf("SIP/fxo3-000000d3", "1?REPCID") in new stack
-- Goto (macro-prepend-cid,s,5)
-- Executing [s@macro-prepend-cid:5] Set("SIP/fxo3-000000d3", "_RGPREFIX=2340951: ") in new stack
-- Executing [s@macro-prepend-cid:6] Set("SIP/fxo3-000000d3", "CALLERID(name)=2340951: Unknown") in new stack
-- Executing [2340951@from-trunk:13] Goto("SIP/fxo3-000000d3", "from-did-direct,199,1") in new stack
-- Goto (from-did-direct,199,1)
-- Executing [199@from-did-direct:1] Set("SIP/fxo3-000000d3", "__RINGTIMER=40") in new stack
-- Executing [199@from-did-direct:2] Macro("SIP/fxo3-000000d3", "exten-vm,novm,199,1,1,1") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/fxo3-000000d3", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/fxo3-000000d3", "TOUCH_MONITOR=1484627775.222") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/fxo3-000000d3", "AMPUSER=Unknown") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/fxo3-000000d3", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/fxo3-000000d3", "1?Set(REALCALLERIDNUM=Unknown)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/fxo3-000000d3", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/fxo3-000000d3", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/fxo3-000000d3", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/fxo3-000000d3", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/fxo3-000000d3", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/fxo3-000000d3", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/fxo3-000000d3", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/fxo3-000000d3", "CALLERID(number)=Unknown") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/fxo3-000000d3", "CALLERID(name)=2340951: Unknown") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/fxo3-000000d3", "CDR(cnum)=Unknown") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/fxo3-000000d3", "CDR(cnam)=2340951: Unknown") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/fxo3-000000d3", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/fxo3-000000d3", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/fxo3-000000d3", "__EXTTOCALL=199") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/fxo3-000000d3", "__PICKUPMARK=199") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/fxo3-000000d3", "RT=40") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/fxo3-000000d3", "sub-record-check,s,1(exten,199,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/fxo3-000000d3", "REC_POLICY_MODE_SAVE=always") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/fxo3-000000d3", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/fxo3-000000d3", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/fxo3-000000d3", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/fxo3-000000d3", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/fxo3-000000d3", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/fxo3-000000d3", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/fxo3-000000d3", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/fxo3-000000d3", "NOW=1484627775") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/fxo3-000000d3", "__DAY=17") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/fxo3-000000d3", "__MONTH=01") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/fxo3-000000d3", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/fxo3-000000d3", "__TIMESTR=20170117-113615") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/fxo3-000000d3", "__FROMEXTEN=Unknown") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/fxo3-000000d3", "__CALLFILENAME=exten-199-Unknown-20170117-113615-1484627775.222") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/fxo3-000000d3", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/fxo3-000000d3", "1?callee") in new stack
-- Goto (sub-record-check,exten,8)
-- Executing [exten@sub-record-check:8] GosubIf("SIP/fxo3-000000d3", "1?record,1(exten,199,Unknown)") in new stack
-- Executing [record@sub-record-check:1] Set("SIP/fxo3-000000d3", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [record@sub-record-check:2] MixMonitor("SIP/fxo3-000000d3", "2017/01/17/exten-199-Unknown-20170117-113615-1484627775.222.wav,,") in new stack
-- Executing [record@sub-record-check:3] Set("SIP/fxo3-000000d3", "__REC_STATUS=RECORDING") in new stack
-- Executing [record@sub-record-check:4] Set("SIP/fxo3-000000d3", "CDR(recordingfile)=exten-199-Unknown-20170117-113615-1484627775.222.wav") in new stack
-- Executing [record@sub-record-check:5] Return("SIP/fxo3-000000d3", "") in new stack
-- Executing [exten@sub-record-check:9] Return("SIP/fxo3-000000d3", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/fxo3-000000d3", "dial-one,40,tr,199") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/fxo3-000000d3", "DEXTEN=199") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/fxo3-000000d3", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/fxo3-000000d3", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/fxo3-000000d3", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/fxo3-000000d3", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/fxo3-000000d3", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/fxo3-000000d3", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/fxo3-000000d3", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/fxo3-000000d3", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/fxo3-000000d3", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/fxo3-000000d3", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/fxo3-000000d3", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/fxo3-000000d3", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/fxo3-000000d3", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/fxo3-000000d3", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/fxo3-000000d3", "DEVICES=199") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/fxo3-000000d3", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/fxo3-000000d3", "0?Set(DEVICES=99)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/fxo3-000000d3", "LOOPCNT=1") in new stack
== Begin MixMonitor Recording SIP/fxo3-000000d3
-- Executing [dstring@macro-dial-one:6] Set("SIP/fxo3-000000d3", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/fxo3-000000d3", "THISDIAL=SIP/199") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/fxo3-000000d3", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/fxo3-000000d3", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/fxo3-000000d3", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/fxo3-000000d3", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/fxo3-000000d3", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/fxo3-000000d3", "THISPART2=SIP/199") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/fxo3-000000d3", "0?Set(THISPART2=DAHDI/199)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/fxo3-000000d3", "NEWDIAL=SIP/199&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/fxo3-000000d3", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/fxo3-000000d3", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/fxo3-000000d3", "THISDIAL=SIP/199") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/fxo3-000000d3", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/fxo3-000000d3", "DSTRING=SIP/199&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/fxo3-000000d3", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/fxo3-000000d3", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/fxo3-000000d3", "DSTRING=SIP/199") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/fxo3-000000d3", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/fxo3-000000d3", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/fxo3-000000d3", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/fxo3-000000d3", "0?ctset,1():ctclear,1()") in new stack
-- Executing [ctclear@macro-dial-one:1] NoOp("SIP/fxo3-000000d3", "Deleting: CALLTRACE/199 9131202152") in new stack
-- Executing [ctclear@macro-dial-one:2] Return("SIP/fxo3-000000d3", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/fxo3-000000d3", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/fxo3-000000d3", "1?SIPAddHeader(Alert-Info: external)") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/fxo3-000000d3", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/fxo3-000000d3", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/fxo3-000000d3", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/fxo3-000000d3", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/fxo3-000000d3", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/fxo3-000000d3", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/fxo3-000000d3", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/fxo3-000000d3", "SIP/199,40,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/199
-- SIP/199-000000d4 is ringing
sip*CLI> exit
Asdert
 
Сообщений: 1
Зарегистрирован: 17 янв 2017, 07:52

Вернуться в Готовые VoIP дистрибутивы

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6

© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH