Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Executing [5790@khomp-00-00:1] NoOp("Khomp/B0C3-0.0", ""Bilhete<->Tipo:Entrada,Origem:4730339268,Destino:5790,Canal:Khomp/B0C3-0.0,ID:1432749491.16263"") in new stack
- -- Executing [5790@khomp-00-00:2] Set("Khomp/B0C3-0.0", "CALLERID(num)=4730339268") in new stack
- -- Executing [5790@khomp-00-00:3] Set("Khomp/B0C3-0.0", "CDR(userfield)=ENTRADA-PSTN") in new stack
- -- Executing [5790@khomp-00-00:4] Set("Khomp/B0C3-0.0", "__TRANSFER_CONTEXT=discagem-ramais") in new stack
- -- Executing [5790@khomp-00-00:5] Set("Khomp/B0C3-0.0", "FROM_EXTERNAL=yes") in new stack
- -- Executing [5790@khomp-00-00:6] Set("Khomp/B0C3-0.0", "CHANNEL=pt_BR") in new stack
- -- Executing [5790@khomp-00-00:7] Set("Khomp/B0C3-0.0", "DDR_ORIGINAL=5790") in new stack
- -- Executing [5790@khomp-00-00:8] Gosub("Khomp/B0C3-0.0", "setcidname,~~s~~,1(4730339268)") in new stack
- -- Executing [~~s~~@setcidname:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=4730339268") in new stack
- -- Executing [~~s~~@setcidname:2] MSet("Khomp/B0C3-0.0", "LOCAL(NOME)=""") in new stack
- -- Executing [~~s~~@setcidname:3] Set("Khomp/B0C3-0.0", "QUERY="SELECT cidname FROM pbxphonebookacl WHERE number LIKE \"%4730339268\""") in new stack
- -- Executing [~~s~~@setcidname:4] Set("Khomp/B0C3-0.0", "NOME=") in new stack
- -- Executing [~~s~~@setcidname:5] GotoIf("Khomp/B0C3-0.0", "1?6:8") in new stack
- -- Goto (setcidname,~~s~~,6)
- -- Executing [~~s~~@setcidname:6] Set("Khomp/B0C3-0.0", "QUERY="SELECT cidname FROM pbxphonebookacl WHERE number LIKE \"%30339268\""") in new stack
- -- Executing [~~s~~@setcidname:7] Set("Khomp/B0C3-0.0", "NOME=") in new stack
- -- Executing [~~s~~@setcidname:8] NoOp("Khomp/B0C3-0.0", "Finish if_setcidname_40") in new stack
- -- Executing [~~s~~@setcidname:9] MSet("Khomp/B0C3-0.0", "CALLERID(name)=""") in new stack
- -- Executing [~~s~~@setcidname:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@khomp-00-00:9] Goto("Khomp/B0C3-0.0", "discagem-ddr-e1,5790,1") in new stack
- -- Goto (discagem-ddr-e1,5790,1)
- -- Executing [5790@discagem-ddr-e1:1] Set("Khomp/B0C3-0.0", "KDropCollectCall=yes") in new stack
- -- Executing [5790@discagem-ddr-e1:2] Gosub("Khomp/B0C3-0.0", "get-pbxusercfg,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@get-pbxusercfg:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
- -- Executing [~~s~~@get-pbxusercfg:2] MSet("Khomp/B0C3-0.0", "CFALL=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:3] MSet("Khomp/B0C3-0.0", "CFBUSY=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:4] MSet("Khomp/B0C3-0.0", "CFNOANSWER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:5] MSet("Khomp/B0C3-0.0", "VOICEMAIL=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:6] MSet("Khomp/B0C3-0.0", "INTERNAL_VM=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:7] MSet("Khomp/B0C3-0.0", "CFALLNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:8] MSet("Khomp/B0C3-0.0", "CFBUSYNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:9] MSet("Khomp/B0C3-0.0", "CFNOANSWERNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:10] MSet("Khomp/B0C3-0.0", "NOCFNUMBERS=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:11] MSet("Khomp/B0C3-0.0", "DIALTIME=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:12] MSet("Khomp/B0C3-0.0", "DIALLOCK=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:13] MSet("Khomp/B0C3-0.0", "LOCKED=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:14] MSet("Khomp/B0C3-0.0", "PHONETYPE=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:15] MSet("Khomp/B0C3-0.0", "FROMPSTN=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:16] MSet("Khomp/B0C3-0.0", "FWDPSTN=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:17] MSet("Khomp/B0C3-0.0", "CALLLIMIT=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:18] MSet("Khomp/B0C3-0.0", "ORIG=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:19] MSet("Khomp/B0C3-0.0", "ALERTLOSTCALLS=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:20] Set("Khomp/B0C3-0.0", "QUERY="SELECT cfall\,cfbusy\,cfnoanswer\,voicemail\,internalvoicemail\,cfallnumber\,cfbusynumber\,cfnoanswernumber\,nocfnumbers\,dialtime\,diallock\,locked\,phonetype\,frompstn\,fwdpstn\,calllimit\,orig\,alertlostcalls FROM pbxusercfg WHERE name=\"5790\""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:21] Set("Khomp/B0C3-0.0", "ARRAY(CFALL,CFBUSY,CFNOANSWER,VOICEMAIL,INTERNAL_VM,CFALLNUMBER,CFBUSYNUMBER,CFNOANSWERNUMBER,NOCFNUMBERS,DIALTIME,DIALLOCK,LOCKED,PHONETYPE,FROMPSTN,FWDPSTN,CALLLIMIT,ORIG,ALERTLOSTCALLS)=no,no,no,yes,yes,,,,,30,,no,dp715,yes,5700,4,,no") in new stack
- -- Executing [~~s~~@get-pbxusercfg:22] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@discagem-ddr-e1:3] GotoIf("Khomp/B0C3-0.0", "0?discagem-ramais,,1:discagem-ramais,5790,1") in new stack
- -- Goto (discagem-ramais,5790,1)
- -- Executing [5790@discagem-ramais:1] NoOp("Khomp/B0C3-0.0", ""Bilhete<->Tipo:Interna,Origem:4730339268,Destino:5790,Canal:Khomp/B0C3-0.0,ID:1432749491.16263"") in new stack
- -- Executing [5790@discagem-ramais:2] Gosub("Khomp/B0C3-0.0", "check-monitor,~~s~~,1(4730339268,5790)") in new stack
- -- Executing [~~s~~@check-monitor:1] MSet("Khomp/B0C3-0.0", "LOCAL(MFROM)=4730339268") in new stack
- -- Executing [~~s~~@check-monitor:2] MSet("Khomp/B0C3-0.0", "LOCAL(MTO)=5790") in new stack
- -- Executing [~~s~~@check-monitor:3] GotoIf("Khomp/B0C3-0.0", "0?4:5") in new stack
- -- Goto (check-monitor,~~s~~,5)
- -- Executing [~~s~~@check-monitor:5] NoOp("Khomp/B0C3-0.0", "Finish if_check-monitor_105") in new stack
- -- Executing [~~s~~@check-monitor:6] GotoIf("Khomp/B0C3-0.0", "0?7:10") in new stack
- -- Goto (check-monitor,~~s~~,10)
- -- Executing [~~s~~@check-monitor:10] NoOp("Khomp/B0C3-0.0", "Finish if_check-monitor_106") in new stack
- -- Executing [~~s~~@check-monitor:11] MSet("Khomp/B0C3-0.0", "LOCAL(DO_RECORD1)="no"") in new stack
- -- Executing [~~s~~@check-monitor:12] MSet("Khomp/B0C3-0.0", "LOCAL(DO_RECORD2)="no"") in new stack
- -- Executing [~~s~~@check-monitor:13] Set("Khomp/B0C3-0.0", "QUERY="SELECT record FROM pbxusercfg WHERE name IN (\"4730339268\"\,\"5790\") AND record = \"yes\""") in new stack
- -- Executing [~~s~~@check-monitor:14] Set("Khomp/B0C3-0.0", "DO_RECORD1=yes") in new stack
- -- Executing [~~s~~@check-monitor:15] Set("Khomp/B0C3-0.0", "QUERY="SELECT value FROM pbxcfg WHERE `key` IN (\"4730339268\"\,\"5790\") AND value = \"yes\" AND family = \"monitor\""") in new stack
- -- Executing [~~s~~@check-monitor:16] Set("Khomp/B0C3-0.0", "DO_RECORD2=") in new stack
- -- Executing [~~s~~@check-monitor:17] Set("Khomp/B0C3-0.0", "QUERY="SELECT value FROM pbxcfg WHERE `key` = \"RECORDALL\" AND family = \"monitor\""") in new stack
- -- Executing [~~s~~@check-monitor:18] Set("Khomp/B0C3-0.0", "DO_RECORD3=") in new stack
- -- Executing [~~s~~@check-monitor:19] GotoIf("Khomp/B0C3-0.0", "1?20:28") in new stack
- -- Goto (check-monitor,~~s~~,20)
- -- Executing [~~s~~@check-monitor:20] MSet("Khomp/B0C3-0.0", "MTYPE="internal"") in new stack
- -- Executing [~~s~~@check-monitor:21] GotoIf("Khomp/B0C3-0.0", "1?22:23") in new stack
- -- Goto (check-monitor,~~s~~,22)
- -- Executing [~~s~~@check-monitor:22] MSet("Khomp/B0C3-0.0", "MTYPE="incoming"") in new stack
- -- Executing [~~s~~@check-monitor:23] NoOp("Khomp/B0C3-0.0", "Finish if_if_check-monitor_107_108") in new stack
- -- Executing [~~s~~@check-monitor:24] GotoIf("Khomp/B0C3-0.0", "0?25:26") in new stack
- -- Goto (check-monitor,~~s~~,26)
- -- Executing [~~s~~@check-monitor:26] NoOp("Khomp/B0C3-0.0", "Finish if_if_check-monitor_107_109") in new stack
- -- Executing [~~s~~@check-monitor:27] Gosub("Khomp/B0C3-0.0", "monitor,~~s~~,1(4730339268,5790,incoming)") in new stack
- -- Executing [~~s~~@monitor:1] MSet("Khomp/B0C3-0.0", "LOCAL(MFROM)=4730339268") in new stack
- -- Executing [~~s~~@monitor:2] MSet("Khomp/B0C3-0.0", "LOCAL(MTO)=5790") in new stack
- -- Executing [~~s~~@monitor:3] MSet("Khomp/B0C3-0.0", "LOCAL(MTYPE)=incoming") in new stack
- -- Executing [~~s~~@monitor:4] GotoIf("Khomp/B0C3-0.0", "0?5:8") in new stack
- -- Goto (monitor,~~s~~,8)
- -- Executing [~~s~~@monitor:8] NoOp("Khomp/B0C3-0.0", "Finish if_monitor_110") in new stack
- -- Executing [~~s~~@monitor:9] MSet("Khomp/B0C3-0.0", "__GRAVAFLEX_REC="1"") in new stack
- -- Executing [~~s~~@monitor:10] MSet("Khomp/B0C3-0.0", "__GRAVAFLEX_ID="1432749491.16263"") in new stack
- -- Executing [~~s~~@monitor:11] Set("Khomp/B0C3-0.0", "LOCAL(MBASE)=/var/spool/asterisk/monitor") in new stack
- -- Executing [~~s~~@monitor:12] Set("Khomp/B0C3-0.0", "LOCAL(MGROUP)=default") in new stack
- -- Executing [~~s~~@monitor:13] Set("Khomp/B0C3-0.0", "LOCAL(MDAY)=2015-05-27") in new stack
- -- Executing [~~s~~@monitor:14] Set("Khomp/B0C3-0.0", "LOCAL(MTIME)=14:58:11") in new stack
- -- Executing [~~s~~@monitor:15] Set("Khomp/B0C3-0.0", "LOCAL(MFILE)=/var/spool/asterisk/monitor/default/2015/05/27/incoming/1432749491.16263-145811-4730339268-5790.WAV") in new stack
- -- Executing [~~s~~@monitor:16] Set("Khomp/B0C3-0.0", "QUERY="INSERT INTO gravador (orig\,dest1\,dest2\,time_start\,direction\,accountcode\,uniqueid) VALUES (\"4730339268\"\,\"5790\"\,\"5790\"\,\"2015-05-27 14:58:11\"\,\"incoming\"\,\"\"\,\"1432749491.16263\")"") in new stack
- -- Executing [~~s~~@monitor:17] Set("Khomp/B0C3-0.0", "ODBC_SQL()=""INSERT INTO gravador (orig\,dest1\,dest2\,time_start\,direction\,accountcode\,uniqueid) VALUES (\"4730339268\"\,\"5790\"\,\"5790\"\,\"2015-05-27 14:58:11\"\,\"incoming\"\,\"\"\,\"1432749491.16263\")""") in new stack
- -- Executing [~~s~~@monitor:18] System("Khomp/B0C3-0.0", "/bin/mkdir -p /var/spool/asterisk/monitor/default/2015/05/27/incoming") in new stack
- -- Executing [~~s~~@monitor:19] MixMonitor("Khomp/B0C3-0.0", "/var/spool/asterisk/monitor/default/2015/05/27/incoming/1432749491.16263-145811-4730339268-5790.WAV") in new stack
- -- Executing [~~s~~@monitor:20] MSet("Khomp/B0C3-0.0", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
- == Begin MixMonitor Recording Khomp/B0C3-0.0
- -- Executing [~~s~~@monitor:21] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@check-monitor:28] NoOp("Khomp/B0C3-0.0", "Finish if_check-monitor_107") in new stack
- -- Executing [~~s~~@check-monitor:29] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@discagem-ramais:3] Gosub("Khomp/B0C3-0.0", "dial-exten,5790,1") in new stack
- -- Executing [5790@dial-exten:1] GotoIf("Khomp/B0C3-0.0", "0?2:3") in new stack
- -- Goto (dial-exten,5790,3)
- -- Executing [5790@dial-exten:3] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_46") in new stack
- -- Executing [5790@dial-exten:4] MSet("Khomp/B0C3-0.0", "NAME=5790") in new stack
- -- Executing [5790@dial-exten:5] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5790") in new stack
- -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5790)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
- -- Goto (check-pbxuser,sw_34_SIP,10)
- -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
- -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5790\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=1") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "1?4:6") in new stack
- -- Goto (get-usertech,~~s~~,4)
- -- Executing [~~s~~@get-usertech:4] MSet("Khomp/B0C3-0.0", "CHAN="SIP"") in new stack
- -- Executing [~~s~~@get-usertech:5] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@dial-exten:6] GotoIf("Khomp/B0C3-0.0", "0?7:8") in new stack
- -- Goto (dial-exten,5790,8)
- -- Executing [5790@dial-exten:8] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_47") in new stack
- -- Executing [5790@dial-exten:9] Gosub("Khomp/B0C3-0.0", "get-user-context,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@get-user-context:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
- -- Executing [~~s~~@get-user-context:2] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5790") in new stack
- -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5790)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
- -- Goto (check-pbxuser,sw_34_SIP,10)
- -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
- -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5790\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=1") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "1?4:6") in new stack
- -- Goto (get-usertech,~~s~~,4)
- -- Executing [~~s~~@get-usertech:4] MSet("Khomp/B0C3-0.0", "CHAN="SIP"") in new stack
- -- Executing [~~s~~@get-usertech:5] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-user-context:3] GotoIf("Khomp/B0C3-0.0", "1?4:7") in new stack
- -- Goto (get-user-context,~~s~~,4)
- -- Executing [~~s~~@get-user-context:4] Gosub("Khomp/B0C3-0.0", "get-pbxsipusers,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@get-pbxsipusers:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
- -- Executing [~~s~~@get-pbxsipusers:2] Set("Khomp/B0C3-0.0", "QUERY="SELECT name\,type\,context\,callgroup\,pickupgroup\,accountcode\,mailbox\,videosupport FROM pbxsipusers WHERE name=\"5790\""") in new stack
- -- Executing [~~s~~@get-pbxsipusers:3] Set("Khomp/B0C3-0.0", "ARRAY(NAME,SIP_TYPE,SIP_CONTEXT,CALLGROUP,PICKUPGROUP,ACCOUNTCODE,MAILBOX,VIDEOSUPPORT)=5790,friend,ramais-internos,7,7,7,5790,") in new stack
- -- Executing [~~s~~@get-pbxsipusers:4] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-user-context:5] MSet("Khomp/B0C3-0.0", "USER_CONTEXT="ramais-internos"") in new stack
- -- Executing [~~s~~@get-user-context:6] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@dial-exten:10] Set("Khomp/B0C3-0.0", "CONTEXT=ramais-internos") in new stack
- -- Executing [5790@dial-exten:11] Gosub("Khomp/B0C3-0.0", "setaccountcode,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@setaccountcode:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5790") in new stack
- -- Executing [~~s~~@setaccountcode:2] GotoIf("Khomp/B0C3-0.0", "1?3:9") in new stack
- -- Goto (setaccountcode,~~s~~,3)
- -- Executing [~~s~~@setaccountcode:3] GotoIf("Khomp/B0C3-0.0", "0?4:7") in new stack
- -- Goto (setaccountcode,~~s~~,7)
- -- Executing [~~s~~@setaccountcode:7] MSet("Khomp/B0C3-0.0", "CDR(accountcode)=7") in new stack
- -- Executing [~~s~~@setaccountcode:8] NoOp("Khomp/B0C3-0.0", "Finish if_if_setaccountcode_41_42") in new stack
- -- Executing [~~s~~@setaccountcode:9] NoOp("Khomp/B0C3-0.0", "Finish if_setaccountcode_41") in new stack
- -- Executing [~~s~~@setaccountcode:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@dial-exten:12] GotoIf("Khomp/B0C3-0.0", "0?13:14") in new stack
- -- Goto (dial-exten,5790,14)
- -- Executing [5790@dial-exten:14] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_48") in new stack
- -- Executing [5790@dial-exten:15] MSet("Khomp/B0C3-0.0", "LOCAL(CFALL)="no"") in new stack
- -- Executing [5790@dial-exten:16] MSet("Khomp/B0C3-0.0", "LOCAL(CFBUSY)="no"") in new stack
- -- Executing [5790@dial-exten:17] MSet("Khomp/B0C3-0.0", "LOCAL(CFNOANSWER)="no"") in new stack
- -- Executing [5790@dial-exten:18] MSet("Khomp/B0C3-0.0", "LOCAL(NOCF)=0") in new stack
- -- Executing [5790@dial-exten:19] Gosub("Khomp/B0C3-0.0", "get-pbxusercfg,~~s~~,1(5790)") in new stack
- -- Executing [~~s~~@get-pbxusercfg:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
- -- Executing [~~s~~@get-pbxusercfg:2] MSet("Khomp/B0C3-0.0", "CFALL=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:3] MSet("Khomp/B0C3-0.0", "CFBUSY=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:4] MSet("Khomp/B0C3-0.0", "CFNOANSWER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:5] MSet("Khomp/B0C3-0.0", "VOICEMAIL=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:6] MSet("Khomp/B0C3-0.0", "INTERNAL_VM=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:7] MSet("Khomp/B0C3-0.0", "CFALLNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:8] MSet("Khomp/B0C3-0.0", "CFBUSYNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:9] MSet("Khomp/B0C3-0.0", "CFNOANSWERNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:10] MSet("Khomp/B0C3-0.0", "NOCFNUMBERS=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:11] MSet("Khomp/B0C3-0.0", "DIALTIME=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:12] MSet("Khomp/B0C3-0.0", "DIALLOCK=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:13] MSet("Khomp/B0C3-0.0", "LOCKED=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:14] MSet("Khomp/B0C3-0.0", "PHONETYPE=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:15] MSet("Khomp/B0C3-0.0", "FROMPSTN=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:16] MSet("Khomp/B0C3-0.0", "FWDPSTN=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:17] MSet("Khomp/B0C3-0.0", "CALLLIMIT=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:18] MSet("Khomp/B0C3-0.0", "ORIG=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:19] MSet("Khomp/B0C3-0.0", "ALERTLOSTCALLS=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:20] Set("Khomp/B0C3-0.0", "QUERY="SELECT cfall\,cfbusy\,cfnoanswer\,voicemail\,internalvoicemail\,cfallnumber\,cfbusynumber\,cfnoanswernumber\,nocfnumbers\,dialtime\,diallock\,locked\,phonetype\,frompstn\,fwdpstn\,calllimit\,orig\,alertlostcalls FROM pbxusercfg WHERE name=\"5790\""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:21] Set("Khomp/B0C3-0.0", "ARRAY(CFALL,CFBUSY,CFNOANSWER,VOICEMAIL,INTERNAL_VM,CFALLNUMBER,CFBUSYNUMBER,CFNOANSWERNUMBER,NOCFNUMBERS,DIALTIME,DIALLOCK,LOCKED,PHONETYPE,FROMPSTN,FWDPSTN,CALLLIMIT,ORIG,ALERTLOSTCALLS)=no,no,no,yes,yes,,,,,30,,no,dp715,yes,5700,4,,no") in new stack
- -- Executing [~~s~~@get-pbxusercfg:22] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@dial-exten:20] GotoIf("Khomp/B0C3-0.0", "0?21:22") in new stack
- -- Goto (dial-exten,5790,22)
- -- Executing [5790@dial-exten:22] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_49") in new stack
- -- Executing [5790@dial-exten:23] GotoIf("Khomp/B0C3-0.0", "0?24:26") in new stack
- -- Goto (dial-exten,5790,26)
- -- Executing [5790@dial-exten:26] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_50") in new stack
- -- Executing [5790@dial-exten:27] GotoIf("Khomp/B0C3-0.0", "0?28:29") in new stack
- -- Goto (dial-exten,5790,29)
- -- Executing [5790@dial-exten:29] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_51") in new stack
- -- Executing [5790@dial-exten:30] GotoIf("Khomp/B0C3-0.0", "0?31:41") in new stack
- -- Goto (dial-exten,5790,41)
- -- Executing [5790@dial-exten:41] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_52") in new stack
- -- Executing [5790@dial-exten:42] GotoIf("Khomp/B0C3-0.0", "0?43:45") in new stack
- -- Goto (dial-exten,5790,45)
- -- Executing [5790@dial-exten:45] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_54") in new stack
- -- Executing [5790@dial-exten:46] GotoIf("Khomp/B0C3-0.0", "0?47:50") in new stack
- -- Goto (dial-exten,5790,50)
- -- Executing [5790@dial-exten:50] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_55") in new stack
- -- Executing [5790@dial-exten:51] GotoIf("Khomp/B0C3-0.0", "0?52:53") in new stack
- -- Goto (dial-exten,5790,53)
- -- Executing [5790@dial-exten:53] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_56") in new stack
- -- Executing [5790@dial-exten:54] MSet("Khomp/B0C3-0.0", "LOCAL(NOCF)=0") in new stack
- -- Executing [5790@dial-exten:55] GotoIf("Khomp/B0C3-0.0", "0?56:58") in new stack
- -- Goto (dial-exten,5790,58)
- -- Executing [5790@dial-exten:58] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_57") in new stack
- -- Executing [5790@dial-exten:59] GotoIf("Khomp/B0C3-0.0", "1?60:63") in new stack
- -- Goto (dial-exten,5790,60)
- -- Executing [5790@dial-exten:60] MSet("Khomp/B0C3-0.0", "CALLERID(num)=5790") in new stack
- -- Executing [5790@dial-exten:61] Set("Khomp/B0C3-0.0", "QUEUE_FWD_TYPE=desvio") in new stack
- -- Executing [5790@dial-exten:62] Goto("Khomp/B0C3-0.0", "queue-fwd,5700,1") in new stack
- -- Goto (queue-fwd,5700,1)
- -- Executing [5700@queue-fwd:1] Set("Khomp/B0C3-0.0", "IS_FWD_QUEUE=1") in new stack
- -- Executing [5700@queue-fwd:2] GotoIf("Khomp/B0C3-0.0", "1?3:6") in new stack
- -- Goto (queue-fwd,5700,3)
- -- Executing [5700@queue-fwd:3] Gosub("Khomp/B0C3-0.0", "check-dial-pabx,5700,1") in new stack
- -- Executing [5700@check-dial-pabx:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=""") in new stack
- -- Executing [5700@check-dial-pabx:2] Set("Khomp/B0C3-0.0", "QUERY="SELECT name FROM pbxusercfg WHERE name=\"5700\""") in new stack
- -- Executing [5700@check-dial-pabx:3] Set("Khomp/B0C3-0.0", "NAME=5700") in new stack
- -- Executing [5700@check-dial-pabx:4] GotoIf("Khomp/B0C3-0.0", "0?5:10") in new stack
- -- Goto (check-dial-pabx,5700,10)
- -- Executing [5700@check-dial-pabx:10] NoOp("Khomp/B0C3-0.0", "Finish if_check-dial-pabx_43") in new stack
- -- Executing [5700@check-dial-pabx:11] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5700@queue-fwd:4] Goto("Khomp/B0C3-0.0", "dial-exten,5700,1") in new stack
- -- Goto (dial-exten,5700,1)
- -- Executing [5700@dial-exten:1] GotoIf("Khomp/B0C3-0.0", "0?2:3") in new stack
- -- Goto (dial-exten,5700,3)
- -- Executing [5700@dial-exten:3] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_46") in new stack
- -- Executing [5700@dial-exten:4] MSet("Khomp/B0C3-0.0", "NAME=5700") in new stack
- -- Executing [5700@dial-exten:5] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5700)") in new stack
- -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5700") in new stack
- -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5700)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
- -- Goto (check-pbxuser,sw_34_SIP,10)
- -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
- -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "0?4:6") in new stack
- -- Goto (get-usertech,~~s~~,6)
- -- Executing [~~s~~@get-usertech:6] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_35") in new stack
- -- Executing [~~s~~@get-usertech:7] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(IAX2,5700)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=IAX2") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_IAX2,10") in new stack
- -- Goto (check-pbxuser,sw_34_IAX2,10)
- -- Executing [sw_34_IAX2@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxiaxusers") in new stack
- -- Executing [sw_34_IAX2@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxiaxusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:8] GotoIf("Khomp/B0C3-0.0", "0?9:11") in new stack
- -- Goto (get-usertech,~~s~~,11)
- -- Executing [~~s~~@get-usertech:11] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_36") in new stack
- -- Executing [~~s~~@get-usertech:12] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(Khomp,5700)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=Khomp") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_Khomp,10") in new stack
- -- Goto (check-pbxuser,sw_34_Khomp,10)
- -- Executing [sw_34_Khomp@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxfxsusers") in new stack
- -- Executing [sw_34_Khomp@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxfxsusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:13] GotoIf("Khomp/B0C3-0.0", "0?14:16") in new stack
- -- Goto (get-usertech,~~s~~,16)
- -- Executing [~~s~~@get-usertech:16] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_37") in new stack
- -- Executing [~~s~~@get-usertech:17] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5700@dial-exten:6] GotoIf("Khomp/B0C3-0.0", "0?7:8") in new stack
- -- Goto (dial-exten,5700,8)
- -- Executing [5700@dial-exten:8] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_47") in new stack
- -- Executing [5700@dial-exten:9] Gosub("Khomp/B0C3-0.0", "get-user-context,~~s~~,1(5700)") in new stack
- -- Executing [~~s~~@get-user-context:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@get-user-context:2] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5700)") in new stack
- -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5700") in new stack
- -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5700)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
- -- Goto (check-pbxuser,sw_34_SIP,10)
- -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
- -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "0?4:6") in new stack
- -- Goto (get-usertech,~~s~~,6)
- -- Executing [~~s~~@get-usertech:6] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_35") in new stack
- -- Executing [~~s~~@get-usertech:7] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(IAX2,5700)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=IAX2") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_IAX2,10") in new stack
- -- Goto (check-pbxuser,sw_34_IAX2,10)
- -- Executing [sw_34_IAX2@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxiaxusers") in new stack
- -- Executing [sw_34_IAX2@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxiaxusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:8] GotoIf("Khomp/B0C3-0.0", "0?9:11") in new stack
- -- Goto (get-usertech,~~s~~,11)
- -- Executing [~~s~~@get-usertech:11] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_36") in new stack
- -- Executing [~~s~~@get-usertech:12] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(Khomp,5700)") in new stack
- -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=Khomp") in new stack
- -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
- -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_Khomp,10") in new stack
- -- Goto (check-pbxuser,sw_34_Khomp,10)
- -- Executing [sw_34_Khomp@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxfxsusers") in new stack
- -- Executing [sw_34_Khomp@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
- -- Goto (check-pbxuser,~~s~~,7)
- -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
- -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxfxsusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
- -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-usertech:13] GotoIf("Khomp/B0C3-0.0", "0?14:16") in new stack
- -- Goto (get-usertech,~~s~~,16)
- -- Executing [~~s~~@get-usertech:16] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_37") in new stack
- -- Executing [~~s~~@get-usertech:17] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-user-context:3] GotoIf("Khomp/B0C3-0.0", "1?4:7") in new stack
- -- Goto (get-user-context,~~s~~,4)
- -- Executing [~~s~~@get-user-context:4] Gosub("Khomp/B0C3-0.0", "get-pbxsipusers,~~s~~,1(5700)") in new stack
- -- Executing [~~s~~@get-pbxsipusers:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@get-pbxsipusers:2] Set("Khomp/B0C3-0.0", "QUERY="SELECT name\,type\,context\,callgroup\,pickupgroup\,accountcode\,mailbox\,videosupport FROM pbxsipusers WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@get-pbxsipusers:3] Set("Khomp/B0C3-0.0", "ARRAY(NAME,SIP_TYPE,SIP_CONTEXT,CALLGROUP,PICKUPGROUP,ACCOUNTCODE,MAILBOX,VIDEOSUPPORT)=") in new stack
- -- Executing [~~s~~@get-pbxsipusers:4] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [~~s~~@get-user-context:5] MSet("Khomp/B0C3-0.0", "USER_CONTEXT=""") in new stack
- -- Executing [~~s~~@get-user-context:6] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5700@dial-exten:10] Set("Khomp/B0C3-0.0", "CONTEXT=") in new stack
- -- Executing [5700@dial-exten:11] Gosub("Khomp/B0C3-0.0", "setaccountcode,~~s~~,1(5700)") in new stack
- -- Executing [~~s~~@setaccountcode:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5700") in new stack
- -- Executing [~~s~~@setaccountcode:2] GotoIf("Khomp/B0C3-0.0", "0?3:9") in new stack
- -- Goto (setaccountcode,~~s~~,9)
- -- Executing [~~s~~@setaccountcode:9] NoOp("Khomp/B0C3-0.0", "Finish if_setaccountcode_41") in new stack
- -- Executing [~~s~~@setaccountcode:10] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5700@dial-exten:12] GotoIf("Khomp/B0C3-0.0", "0?13:14") in new stack
- -- Goto (dial-exten,5700,14)
- -- Executing [5700@dial-exten:14] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_48") in new stack
- -- Executing [5700@dial-exten:15] MSet("Khomp/B0C3-0.0", "LOCAL(CFALL)="no"") in new stack
- -- Executing [5700@dial-exten:16] MSet("Khomp/B0C3-0.0", "LOCAL(CFBUSY)="no"") in new stack
- -- Executing [5700@dial-exten:17] MSet("Khomp/B0C3-0.0", "LOCAL(CFNOANSWER)="no"") in new stack
- -- Executing [5700@dial-exten:18] MSet("Khomp/B0C3-0.0", "LOCAL(NOCF)=0") in new stack
- -- Executing [5700@dial-exten:19] Gosub("Khomp/B0C3-0.0", "get-pbxusercfg,~~s~~,1(5700)") in new stack
- -- Executing [~~s~~@get-pbxusercfg:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
- -- Executing [~~s~~@get-pbxusercfg:2] MSet("Khomp/B0C3-0.0", "CFALL=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:3] MSet("Khomp/B0C3-0.0", "CFBUSY=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:4] MSet("Khomp/B0C3-0.0", "CFNOANSWER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:5] MSet("Khomp/B0C3-0.0", "VOICEMAIL=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:6] MSet("Khomp/B0C3-0.0", "INTERNAL_VM=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:7] MSet("Khomp/B0C3-0.0", "CFALLNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:8] MSet("Khomp/B0C3-0.0", "CFBUSYNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:9] MSet("Khomp/B0C3-0.0", "CFNOANSWERNUMBER=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:10] MSet("Khomp/B0C3-0.0", "NOCFNUMBERS=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:11] MSet("Khomp/B0C3-0.0", "DIALTIME=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:12] MSet("Khomp/B0C3-0.0", "DIALLOCK=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:13] MSet("Khomp/B0C3-0.0", "LOCKED=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:14] MSet("Khomp/B0C3-0.0", "PHONETYPE=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:15] MSet("Khomp/B0C3-0.0", "FROMPSTN=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:16] MSet("Khomp/B0C3-0.0", "FWDPSTN=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:17] MSet("Khomp/B0C3-0.0", "CALLLIMIT=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:18] MSet("Khomp/B0C3-0.0", "ORIG=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:19] MSet("Khomp/B0C3-0.0", "ALERTLOSTCALLS=""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:20] Set("Khomp/B0C3-0.0", "QUERY="SELECT cfall\,cfbusy\,cfnoanswer\,voicemail\,internalvoicemail\,cfallnumber\,cfbusynumber\,cfnoanswernumber\,nocfnumbers\,dialtime\,diallock\,locked\,phonetype\,frompstn\,fwdpstn\,calllimit\,orig\,alertlostcalls FROM pbxusercfg WHERE name=\"5700\""") in new stack
- -- Executing [~~s~~@get-pbxusercfg:21] Set("Khomp/B0C3-0.0", "ARRAY(CFALL,CFBUSY,CFNOANSWER,VOICEMAIL,INTERNAL_VM,CFALLNUMBER,CFBUSYNUMBER,CFNOANSWERNUMBER,NOCFNUMBERS,DIALTIME,DIALLOCK,LOCKED,PHONETYPE,FROMPSTN,FWDPSTN,CALLLIMIT,ORIG,ALERTLOSTCALLS)=,,,,,,,,,30,s1ph,no,,,,4,,") in new stack
- -- Executing [~~s~~@get-pbxusercfg:22] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5700@dial-exten:20] GotoIf("Khomp/B0C3-0.0", "1?21:22") in new stack
- -- Goto (dial-exten,5700,21)
- -- Executing [5700@dial-exten:21] Goto("Khomp/B0C3-0.0", "dial") in new stack
- -- Goto (dial-exten,5700,72)
- -- Executing [5700@dial-exten:72] GotoIf("Khomp/B0C3-0.0", "1?73:75") in new stack
- -- Goto (dial-exten,5700,73)
- -- Executing [5700@dial-exten:73] MSet("Khomp/B0C3-0.0", "LOCAL(OPT)="tr"") in new stack
- -- Executing [5700@dial-exten:74] Goto("Khomp/B0C3-0.0", "76") in new stack
- -- Goto (dial-exten,5700,76)
- -- Executing [5700@dial-exten:76] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_60") in new stack
- -- Executing [5700@dial-exten:77] GotoIf("Khomp/B0C3-0.0", "0?78:83") in new stack
- -- Goto (dial-exten,5700,83)
- -- Executing [5700@dial-exten:83] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_61") in new stack
- -- Executing [5700@dial-exten:84] GotoIf("Khomp/B0C3-0.0", "0?85:86") in new stack
- -- Goto (dial-exten,5700,86)
- -- Executing [5700@dial-exten:86] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_63") in new stack
- -- Executing [5700@dial-exten:87] GotoIf("Khomp/B0C3-0.0", "1?88:89") in new stack
- -- Goto (dial-exten,5700,88)
- -- Executing [5700@dial-exten:88] MSet("Khomp/B0C3-0.0", "DTIME=30") in new stack
- -- Executing [5700@dial-exten:89] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_64") in new stack
- -- Executing [5700@dial-exten:90] MSet("Khomp/B0C3-0.0", "LOCAL(D_STATE)="INVALID"") in new stack
- -- Executing [5700@dial-exten:91] GotoIf("Khomp/B0C3-0.0", "0?92:101") in new stack
- -- Goto (dial-exten,5700,101)
- -- Executing [5700@dial-exten:101] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_65") in new stack
- -- Executing [5700@dial-exten:102] NoOp("Khomp/B0C3-0.0", ""Bilhete<->Tipo:Interna,Origem:5790,Destino:5700,Canal:Khomp/B0C3-0.0,ID:1432749491.16263"") in new stack
- -- Executing [5700@dial-exten:103] Dial("Khomp/B0C3-0.0", "SIP/5700,30,tr") in new stack
- [2015-05-27 14:58:11] WARNING[22888]: chan_sip.c:5667 create_addr: Purely numeric hostname (5700), and not a peer--rejecting!
- [2015-05-27 14:58:11] WARNING[22888]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
- == Everyone is busy/congested at this time (1:0/0/1)
- -- Executing [5700@dial-exten:104] GotoIf("Khomp/B0C3-0.0", "1?105:106") in new stack
- -- Goto (dial-exten,5700,105)
- -- Executing [5700@dial-exten:105] Return("Khomp/B0C3-0.0", "") in new stack
- -- Executing [5790@discagem-ramais:4] Busy("Khomp/B0C3-0.0", "5") in new stack
- == Spawn extension (discagem-ramais, 5790, 4) exited non-zero on 'Khomp/B0C3-0.0'
- == MixMonitor close filestream
- == End MixMonitor Recording Khomp/B0C3-0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement