получил второй номер от провайдера. теперь 2 номера в одном транке.
маршруты по DID
4990000001 на IVR
4990000002 на вн. номер 100
По факту срабатывают два назначения сразу.... в логах тоже дублирование....
вот параметры транка:
type=friend
insecure=invite,port
secret=PASSWORD
qualify=3000
nat=yes
host=cgp.cittel.ru
fromuser=4990000001
fromdomain=cgp.cittel.ru
dtmfmode=rfc2833
disallow=all
directmedia=no
defaultip=cgp.cittel.ru
allow=alaw,ulaw,g729
и две строчки регистрации
4990000001:PASSWORD@cgp.cittel.ru/4990000001
4990000002:PASSWORD@cgp.cittel.ru/4990000002
в логах при входящем звонке:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
asterisk*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [4990000001@from-trunk-sip-cittel:1] Set("SIP/cittel-0000003e", "GROUP()=OUT_1") in new stack
-- Executing [4990000001@from-trunk-sip-cittel:2] Goto("SIP/cittel-0000003e", "from-trunk,4990000001,1") in new stack
-- Goto (from-trunk,4990000001,1)
-- Executing [4990000002@from-trunk-sip-cittel:1] Set("SIP/cittel-0000003f", "GROUP()=OUT_1") in new stack
-- Executing [4990000001@from-trunk:1] Set("SIP/cittel-0000003e", "__FROM_DID=4990000001") in new stack
-- Executing [4990000001@from-trunk:2] Gosub("SIP/cittel-0000003e", "app-blacklist-check,s,1()") in new stack
-- Executing [4990000002@from-trunk-sip-cittel:2] Goto("SIP/cittel-0000003f", "from-trunk,4990000002,1") in new stack
-- Goto (from-trunk,4990000002,1)
-- Executing [4990000002@from-trunk:1] Set("SIP/cittel-0000003f", "__FROM_DID=4990000002") in new stack
-- Executing [4990000002@from-trunk:2] Gosub("SIP/cittel-0000003f", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/cittel-0000003e", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/cittel-0000003e", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/cittel-0000003f", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/cittel-0000003e", "") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/cittel-0000003f", "CALLED_BLACKLIST=1") in new stack
-- Executing [4990000001@from-trunk:3] Set("SIP/cittel-0000003e", "CDR(did)=4990000001") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [4990000001@from-trunk:4] ExecIf("SIP/cittel-0000003e", "1 ?Set(CALLERID(name)=84952222222)") in new stack
-- Executing [4990000002@from-trunk:3] Set("SIP/cittel-0000003f", "CDR(did)=4990000002") in new stack
-- Executing [4990000001@from-trunk:5] Set("SIP/cittel-0000003e", "CHANNEL(musicclass)=default") in new stack
-- Executing [4990000002@from-trunk:4] ExecIf("SIP/cittel-0000003f", "1 ?Set(CALLERID(name)=84952222222)") in new stack
-- Executing [4990000001@from-trunk:6] Set("SIP/cittel-0000003e", "__MOHCLASS=default") in new stack
-- Executing [4990000002@from-trunk:5] Set("SIP/cittel-0000003f", "CHANNEL(musicclass)=default") in new stack
-- Executing [4990000001@from-trunk:7] Set("SIP/cittel-0000003e", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [4990000002@from-trunk:6] Set("SIP/cittel-0000003f", "__MOHCLASS=default") in new stack
-- Executing [4990000001@from-trunk:8] Set("SIP/cittel-0000003e", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [4990000002@from-trunk:7] Set("SIP/cittel-0000003f", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [4990000001@from-trunk:9] Goto("SIP/cittel-0000003e", "ivr-4,s,1") in new stack
-- Goto (ivr-4,s,1)
-- Executing [4990000002@from-trunk:8] Set("SIP/cittel-0000003f", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ivr-4:1] Set("SIP/cittel-0000003e", "_IVR_CONTEXT_ivr-4=") in new stack
-- Executing [4990000002@from-trunk:9] Goto("SIP/cittel-0000003f", "from-did-direct,100,1") in new stack
-- Executing [s@ivr-4:2] Set("SIP/cittel-0000003e", "_IVR_CONTEXT=ivr-4") in new stack
-- Executing [s@ivr-4:3] Set("SIP/cittel-0000003e", "__IVR_RETVM=") in new stack
-- Goto (from-did-direct,100,1)
-- Executing [s@ivr-4:4] GotoIf("SIP/cittel-0000003e", "0?skip") in new stack
-- Executing [s@ivr-4:5] Answer("SIP/cittel-0000003e", "") in new stack
-- Executing [100@from-did-direct:1] Set("SIP/cittel-0000003f", "__RINGTIMER=15") in new stack
-- Executing [100@from-did-direct:2] Macro("SIP/cittel-0000003f", "exten-vm,novm,100,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/cittel-0000003f", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/cittel-0000003f", "TOUCH_MONITOR=1482915362.65") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/cittel-0000003f", "AMPUSER=84952222222") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/cittel-0000003f", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/cittel-0000003f", "1?Set(REALCALLERIDNUM=84952222222)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/cittel-0000003f", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/cittel-0000003f", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/cittel-0000003f", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/cittel-0000003f", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/cittel-0000003f", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/cittel-0000003f", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/cittel-0000003f", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/cittel-0000003f", "CALLERID(number)=84952222222") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/cittel-0000003f", "CALLERID(name)=84952222222") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/cittel-0000003f", "CDR(cnum)=84952222222") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/cittel-0000003f", "CDR(cnam)=84952222222") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/cittel-0000003f", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/cittel-0000003f", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/cittel-0000003f", "__EXTTOCALL=100") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/cittel-0000003f", "__PICKUPMARK=100") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/cittel-0000003f", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/cittel-0000003f", "sub-record-check,s,1(exten,100,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/cittel-0000003f", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/cittel-0000003f", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/cittel-0000003f", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/cittel-0000003f", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/cittel-0000003f", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/cittel-0000003f", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/cittel-0000003f", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/cittel-0000003f", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/cittel-0000003f", "NOW=1482915362") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/cittel-0000003f", "__DAY=28") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/cittel-0000003f", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/cittel-0000003f", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/cittel-0000003f", "__TIMESTR=20161228-115602") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/cittel-0000003f", "__FROMEXTEN=84952222222") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/cittel-0000003f", "__CALLFILENAME=exten-100-84952222222-20161228-115602-1482915362.65") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/cittel-0000003f", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/cittel-0000003f", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/cittel-0000003f", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/cittel-0000003f", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/cittel-0000003f", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/cittel-0000003f", "0?record,1(exten,100,84952222222)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/cittel-0000003f", "dial-one,,tr,100") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/cittel-0000003f", "DEXTEN=100") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/cittel-0000003f", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/cittel-0000003f", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/cittel-0000003f", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/cittel-0000003f", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/cittel-0000003f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/cittel-0000003f", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/cittel-0000003f", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/cittel-0000003f", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/cittel-0000003f", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/cittel-0000003f", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/cittel-0000003f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/cittel-0000003f", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/cittel-0000003f", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/cittel-0000003f", "DEVICES=100") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/cittel-0000003f", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/cittel-0000003f", "0?Set(DEVICES=00)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/cittel-0000003f", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/cittel-0000003f", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/cittel-0000003f", "THISDIAL=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/cittel-0000003f", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/cittel-0000003f", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/cittel-0000003f", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/cittel-0000003f", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/cittel-0000003f", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/cittel-0000003f", "THISPART2=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/cittel-0000003f", "0?Set(THISPART2=DAHDI/100)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/cittel-0000003f", "NEWDIAL=SIP/100&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/cittel-0000003f", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/cittel-0000003f", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/cittel-0000003f", "THISDIAL=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/cittel-0000003f", "DSTRING=SIP/100&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/cittel-0000003f", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/cittel-0000003f", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/cittel-0000003f", "DSTRING=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/cittel-0000003f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/cittel-0000003f", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/cittel-0000003f", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/cittel-0000003f", "DB(CALLTRACE/100)=84952222222") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/cittel-0000003f", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/cittel-0000003f", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/cittel-0000003f", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/cittel-0000003f", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/cittel-0000003f", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/cittel-0000003f", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/cittel-0000003f", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/cittel-0000003f", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/cittel-0000003f", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/cittel-0000003f", "SIP/100,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/100
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/cittel-0000003f' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/cittel-0000003f' in macro 'exten-vm'
== Spawn extension (from-did-direct, 100, 2) exited non-zero on 'SIP/cittel-0000003f'
-- Executing [h@from-did-direct:1] Macro("SIP/cittel-0000003f", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/cittel-0000003f", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,20)
-- Executing [s@macro-hangupcall:20] NoOp("SIP/cittel-0000003f", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:21] GotoIf("SIP/cittel-0000003f", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,39)
-- Executing [s@macro-hangupcall:39] NoOp("SIP/cittel-0000003f", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:40] GotoIf("SIP/cittel-0000003f", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] NoOp("SIP/cittel-0000003f", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:46] GotoIf("SIP/cittel-0000003f", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,52)
-- Executing [s@macro-hangupcall:52] NoOp("SIP/cittel-0000003f", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:53] GotoIf("SIP/cittel-0000003f", "1?noautomon3") in new stack
-- Goto (macro-hangupcall,s,59)
-- Executing [s@macro-hangupcall:59] NoOp("SIP/cittel-0000003f", "MIXMONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:60] GotoIf("SIP/cittel-0000003f", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,62)
-- Executing [s@macro-hangupcall:62] NoOp("SIP/cittel-0000003f", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:63] NoOp("SIP/cittel-0000003f", "CDR recordingfile set to: ") in new stack
-- Executing [s@macro-hangupcall:64] GotoIf("SIP/cittel-0000003f", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,67)
-- Executing [s@macro-hangupcall:67] GotoIf("SIP/cittel-0000003f", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,70)
-- Executing [s@macro-hangupcall:70] GotoIf("SIP/cittel-0000003f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,72)
-- Executing [s@macro-hangupcall:72] AGI("SIP/cittel-0000003f", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/cittel-0000003f>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:73] Hangup("SIP/cittel-0000003f", "") in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/cittel-0000003f' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/cittel-0000003f'
-- Executing [s@ivr-4:6] Wait("SIP/cittel-0000003e", "1") in new stack
> 0x2b35c807ad50 -- Probation passed - setting RTP source address to XXX.XXX.XXX.XXX:60024
-- Executing [s@ivr-4:7] Set("SIP/cittel-0000003e", "IVR_MSG=custom/welcome_female") in new stack
-- Executing [s@ivr-4:8] Set("SIP/cittel-0000003e", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-4:9] ExecIf("SIP/cittel-0000003e", "1?Background(custom/welcome_female)") in new stack
[2016-12-28 11:56:04] WARNING[8397][C-0000002e]: mp3/interface.c:217 decodeMP3: Junk at the beginning of frame 49443303
-- <SIP/cittel-0000003e> Playing 'custom/welcome_female.slin' (language 'ru')
== Spawn extension (ivr-4, s, 9) exited non-zero on 'SIP/cittel-0000003e'
-- Executing [h@ivr-4:1] Hangup("SIP/cittel-0000003e", "") in new stack
== Spawn extension (ivr-4, h, 1) exited non-zero on 'SIP/cittel-0000003e'
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [4990000001@from-trunk-sip-cittel:1] Set("SIP/cittel-0000003e", "GROUP()=OUT_1") in new stack
-- Executing [4990000001@from-trunk-sip-cittel:2] Goto("SIP/cittel-0000003e", "from-trunk,4990000001,1") in new stack
-- Goto (from-trunk,4990000001,1)
-- Executing [4990000002@from-trunk-sip-cittel:1] Set("SIP/cittel-0000003f", "GROUP()=OUT_1") in new stack
-- Executing [4990000001@from-trunk:1] Set("SIP/cittel-0000003e", "__FROM_DID=4990000001") in new stack
-- Executing [4990000001@from-trunk:2] Gosub("SIP/cittel-0000003e", "app-blacklist-check,s,1()") in new stack
-- Executing [4990000002@from-trunk-sip-cittel:2] Goto("SIP/cittel-0000003f", "from-trunk,4990000002,1") in new stack
-- Goto (from-trunk,4990000002,1)
-- Executing [4990000002@from-trunk:1] Set("SIP/cittel-0000003f", "__FROM_DID=4990000002") in new stack
-- Executing [4990000002@from-trunk:2] Gosub("SIP/cittel-0000003f", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/cittel-0000003e", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/cittel-0000003e", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/cittel-0000003f", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/cittel-0000003e", "") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/cittel-0000003f", "CALLED_BLACKLIST=1") in new stack
-- Executing [4990000001@from-trunk:3] Set("SIP/cittel-0000003e", "CDR(did)=4990000001") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [4990000001@from-trunk:4] ExecIf("SIP/cittel-0000003e", "1 ?Set(CALLERID(name)=84952222222)") in new stack
-- Executing [4990000002@from-trunk:3] Set("SIP/cittel-0000003f", "CDR(did)=4990000002") in new stack
-- Executing [4990000001@from-trunk:5] Set("SIP/cittel-0000003e", "CHANNEL(musicclass)=default") in new stack
-- Executing [4990000002@from-trunk:4] ExecIf("SIP/cittel-0000003f", "1 ?Set(CALLERID(name)=84952222222)") in new stack
-- Executing [4990000001@from-trunk:6] Set("SIP/cittel-0000003e", "__MOHCLASS=default") in new stack
-- Executing [4990000002@from-trunk:5] Set("SIP/cittel-0000003f", "CHANNEL(musicclass)=default") in new stack
-- Executing [4990000001@from-trunk:7] Set("SIP/cittel-0000003e", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [4990000002@from-trunk:6] Set("SIP/cittel-0000003f", "__MOHCLASS=default") in new stack
-- Executing [4990000001@from-trunk:8] Set("SIP/cittel-0000003e", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [4990000002@from-trunk:7] Set("SIP/cittel-0000003f", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [4990000001@from-trunk:9] Goto("SIP/cittel-0000003e", "ivr-4,s,1") in new stack
-- Goto (ivr-4,s,1)
-- Executing [4990000002@from-trunk:8] Set("SIP/cittel-0000003f", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ivr-4:1] Set("SIP/cittel-0000003e", "_IVR_CONTEXT_ivr-4=") in new stack
-- Executing [4990000002@from-trunk:9] Goto("SIP/cittel-0000003f", "from-did-direct,100,1") in new stack
-- Executing [s@ivr-4:2] Set("SIP/cittel-0000003e", "_IVR_CONTEXT=ivr-4") in new stack
-- Executing [s@ivr-4:3] Set("SIP/cittel-0000003e", "__IVR_RETVM=") in new stack
-- Goto (from-did-direct,100,1)
-- Executing [s@ivr-4:4] GotoIf("SIP/cittel-0000003e", "0?skip") in new stack
-- Executing [s@ivr-4:5] Answer("SIP/cittel-0000003e", "") in new stack
-- Executing [100@from-did-direct:1] Set("SIP/cittel-0000003f", "__RINGTIMER=15") in new stack
-- Executing [100@from-did-direct:2] Macro("SIP/cittel-0000003f", "exten-vm,novm,100,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/cittel-0000003f", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/cittel-0000003f", "TOUCH_MONITOR=1482915362.65") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/cittel-0000003f", "AMPUSER=84952222222") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/cittel-0000003f", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/cittel-0000003f", "1?Set(REALCALLERIDNUM=84952222222)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/cittel-0000003f", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/cittel-0000003f", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/cittel-0000003f", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/cittel-0000003f", "1?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/cittel-0000003f", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] Set("SIP/cittel-0000003f", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("SIP/cittel-0000003f", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/cittel-0000003f", "CALLERID(number)=84952222222") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/cittel-0000003f", "CALLERID(name)=84952222222") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/cittel-0000003f", "CDR(cnum)=84952222222") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/cittel-0000003f", "CDR(cnam)=84952222222") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/cittel-0000003f", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/cittel-0000003f", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/cittel-0000003f", "__EXTTOCALL=100") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/cittel-0000003f", "__PICKUPMARK=100") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/cittel-0000003f", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/cittel-0000003f", "sub-record-check,s,1(exten,100,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/cittel-0000003f", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/cittel-0000003f", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/cittel-0000003f", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/cittel-0000003f", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/cittel-0000003f", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/cittel-0000003f", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/cittel-0000003f", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/cittel-0000003f", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/cittel-0000003f", "NOW=1482915362") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/cittel-0000003f", "__DAY=28") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/cittel-0000003f", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/cittel-0000003f", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/cittel-0000003f", "__TIMESTR=20161228-115602") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/cittel-0000003f", "__FROMEXTEN=84952222222") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/cittel-0000003f", "__CALLFILENAME=exten-100-84952222222-20161228-115602-1482915362.65") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/cittel-0000003f", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/cittel-0000003f", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/cittel-0000003f", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/cittel-0000003f", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/cittel-0000003f", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/cittel-0000003f", "0?record,1(exten,100,84952222222)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/cittel-0000003f", "dial-one,,tr,100") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/cittel-0000003f", "DEXTEN=100") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/cittel-0000003f", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/cittel-0000003f", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/cittel-0000003f", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/cittel-0000003f", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/cittel-0000003f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/cittel-0000003f", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/cittel-0000003f", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/cittel-0000003f", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/cittel-0000003f", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/cittel-0000003f", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/cittel-0000003f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/cittel-0000003f", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/cittel-0000003f", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/cittel-0000003f", "DEVICES=100") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/cittel-0000003f", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/cittel-0000003f", "0?Set(DEVICES=00)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/cittel-0000003f", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/cittel-0000003f", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/cittel-0000003f", "THISDIAL=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/cittel-0000003f", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/cittel-0000003f", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/cittel-0000003f", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/cittel-0000003f", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/cittel-0000003f", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/cittel-0000003f", "THISPART2=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/cittel-0000003f", "0?Set(THISPART2=DAHDI/100)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/cittel-0000003f", "NEWDIAL=SIP/100&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/cittel-0000003f", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/cittel-0000003f", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/cittel-0000003f", "THISDIAL=SIP/100") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/cittel-0000003f", "DSTRING=SIP/100&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/cittel-0000003f", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/cittel-0000003f", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/cittel-0000003f", "DSTRING=SIP/100") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/cittel-0000003f", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/cittel-0000003f", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/cittel-0000003f", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/cittel-0000003f", "DB(CALLTRACE/100)=84952222222") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/cittel-0000003f", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/cittel-0000003f", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/cittel-0000003f", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/cittel-0000003f", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/cittel-0000003f", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/cittel-0000003f", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/cittel-0000003f", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/cittel-0000003f", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/cittel-0000003f", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/cittel-0000003f", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Dial("SIP/cittel-0000003f", "SIP/100,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/100
== Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/cittel-0000003f' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/cittel-0000003f' in macro 'exten-vm'
== Spawn extension (from-did-direct, 100, 2) exited non-zero on 'SIP/cittel-0000003f'
-- Executing [h@from-did-direct:1] Macro("SIP/cittel-0000003f", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/cittel-0000003f", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,20)
-- Executing [s@macro-hangupcall:20] NoOp("SIP/cittel-0000003f", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:21] GotoIf("SIP/cittel-0000003f", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,39)
-- Executing [s@macro-hangupcall:39] NoOp("SIP/cittel-0000003f", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:40] GotoIf("SIP/cittel-0000003f", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] NoOp("SIP/cittel-0000003f", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:46] GotoIf("SIP/cittel-0000003f", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,52)
-- Executing [s@macro-hangupcall:52] NoOp("SIP/cittel-0000003f", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:53] GotoIf("SIP/cittel-0000003f", "1?noautomon3") in new stack
-- Goto (macro-hangupcall,s,59)
-- Executing [s@macro-hangupcall:59] NoOp("SIP/cittel-0000003f", "MIXMONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:60] GotoIf("SIP/cittel-0000003f", "1?noautomon4") in new stack
-- Goto (macro-hangupcall,s,62)
-- Executing [s@macro-hangupcall:62] NoOp("SIP/cittel-0000003f", "ONETOUCH_RECFILE=") in new stack
-- Executing [s@macro-hangupcall:63] NoOp("SIP/cittel-0000003f", "CDR recordingfile set to: ") in new stack
-- Executing [s@macro-hangupcall:64] GotoIf("SIP/cittel-0000003f", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,67)
-- Executing [s@macro-hangupcall:67] GotoIf("SIP/cittel-0000003f", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,70)
-- Executing [s@macro-hangupcall:70] GotoIf("SIP/cittel-0000003f", "1?theend") in new stack
-- Goto (macro-hangupcall,s,72)
-- Executing [s@macro-hangupcall:72] AGI("SIP/cittel-0000003f", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/cittel-0000003f>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:73] Hangup("SIP/cittel-0000003f", "") in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/cittel-0000003f' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/cittel-0000003f'
-- Executing [s@ivr-4:6] Wait("SIP/cittel-0000003e", "1") in new stack
> 0x2b35c807ad50 -- Probation passed - setting RTP source address to XXX.XXX.XXX.XXX:60024
-- Executing [s@ivr-4:7] Set("SIP/cittel-0000003e", "IVR_MSG=custom/welcome_female") in new stack
-- Executing [s@ivr-4:8] Set("SIP/cittel-0000003e", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-4:9] ExecIf("SIP/cittel-0000003e", "1?Background(custom/welcome_female)") in new stack
[2016-12-28 11:56:04] WARNING[8397][C-0000002e]: mp3/interface.c:217 decodeMP3: Junk at the beginning of frame 49443303
-- <SIP/cittel-0000003e> Playing 'custom/welcome_female.slin' (language 'ru')
== Spawn extension (ivr-4, s, 9) exited non-zero on 'SIP/cittel-0000003e'
-- Executing [h@ivr-4:1] Hangup("SIP/cittel-0000003e", "") in new stack
== Spawn extension (ivr-4, h, 1) exited non-zero on 'SIP/cittel-0000003e'