Advertisement
Guest User

Log ramal 5790 - completo

a guest
May 27th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.95 KB | None | 0 0
  1. -- 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
  2. -- Executing [5790@khomp-00-00:2] Set("Khomp/B0C3-0.0", "CALLERID(num)=4730339268") in new stack
  3. -- Executing [5790@khomp-00-00:3] Set("Khomp/B0C3-0.0", "CDR(userfield)=ENTRADA-PSTN") in new stack
  4. -- Executing [5790@khomp-00-00:4] Set("Khomp/B0C3-0.0", "__TRANSFER_CONTEXT=discagem-ramais") in new stack
  5. -- Executing [5790@khomp-00-00:5] Set("Khomp/B0C3-0.0", "FROM_EXTERNAL=yes") in new stack
  6. -- Executing [5790@khomp-00-00:6] Set("Khomp/B0C3-0.0", "CHANNEL=pt_BR") in new stack
  7. -- Executing [5790@khomp-00-00:7] Set("Khomp/B0C3-0.0", "DDR_ORIGINAL=5790") in new stack
  8. -- Executing [5790@khomp-00-00:8] Gosub("Khomp/B0C3-0.0", "setcidname,~~s~~,1(4730339268)") in new stack
  9. -- Executing [~~s~~@setcidname:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=4730339268") in new stack
  10. -- Executing [~~s~~@setcidname:2] MSet("Khomp/B0C3-0.0", "LOCAL(NOME)=""") in new stack
  11. -- Executing [~~s~~@setcidname:3] Set("Khomp/B0C3-0.0", "QUERY="SELECT cidname FROM pbxphonebookacl WHERE number LIKE \"%4730339268\""") in new stack
  12. -- Executing [~~s~~@setcidname:4] Set("Khomp/B0C3-0.0", "NOME=") in new stack
  13. -- Executing [~~s~~@setcidname:5] GotoIf("Khomp/B0C3-0.0", "1?6:8") in new stack
  14. -- Goto (setcidname,~~s~~,6)
  15. -- Executing [~~s~~@setcidname:6] Set("Khomp/B0C3-0.0", "QUERY="SELECT cidname FROM pbxphonebookacl WHERE number LIKE \"%30339268\""") in new stack
  16. -- Executing [~~s~~@setcidname:7] Set("Khomp/B0C3-0.0", "NOME=") in new stack
  17. -- Executing [~~s~~@setcidname:8] NoOp("Khomp/B0C3-0.0", "Finish if_setcidname_40") in new stack
  18. -- Executing [~~s~~@setcidname:9] MSet("Khomp/B0C3-0.0", "CALLERID(name)=""") in new stack
  19. -- Executing [~~s~~@setcidname:10] Return("Khomp/B0C3-0.0", "") in new stack
  20. -- Executing [5790@khomp-00-00:9] Goto("Khomp/B0C3-0.0", "discagem-ddr-e1,5790,1") in new stack
  21. -- Goto (discagem-ddr-e1,5790,1)
  22. -- Executing [5790@discagem-ddr-e1:1] Set("Khomp/B0C3-0.0", "KDropCollectCall=yes") in new stack
  23. -- Executing [5790@discagem-ddr-e1:2] Gosub("Khomp/B0C3-0.0", "get-pbxusercfg,~~s~~,1(5790)") in new stack
  24. -- Executing [~~s~~@get-pbxusercfg:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
  25. -- Executing [~~s~~@get-pbxusercfg:2] MSet("Khomp/B0C3-0.0", "CFALL=""") in new stack
  26. -- Executing [~~s~~@get-pbxusercfg:3] MSet("Khomp/B0C3-0.0", "CFBUSY=""") in new stack
  27. -- Executing [~~s~~@get-pbxusercfg:4] MSet("Khomp/B0C3-0.0", "CFNOANSWER=""") in new stack
  28. -- Executing [~~s~~@get-pbxusercfg:5] MSet("Khomp/B0C3-0.0", "VOICEMAIL=""") in new stack
  29. -- Executing [~~s~~@get-pbxusercfg:6] MSet("Khomp/B0C3-0.0", "INTERNAL_VM=""") in new stack
  30. -- Executing [~~s~~@get-pbxusercfg:7] MSet("Khomp/B0C3-0.0", "CFALLNUMBER=""") in new stack
  31. -- Executing [~~s~~@get-pbxusercfg:8] MSet("Khomp/B0C3-0.0", "CFBUSYNUMBER=""") in new stack
  32. -- Executing [~~s~~@get-pbxusercfg:9] MSet("Khomp/B0C3-0.0", "CFNOANSWERNUMBER=""") in new stack
  33. -- Executing [~~s~~@get-pbxusercfg:10] MSet("Khomp/B0C3-0.0", "NOCFNUMBERS=""") in new stack
  34. -- Executing [~~s~~@get-pbxusercfg:11] MSet("Khomp/B0C3-0.0", "DIALTIME=""") in new stack
  35. -- Executing [~~s~~@get-pbxusercfg:12] MSet("Khomp/B0C3-0.0", "DIALLOCK=""") in new stack
  36. -- Executing [~~s~~@get-pbxusercfg:13] MSet("Khomp/B0C3-0.0", "LOCKED=""") in new stack
  37. -- Executing [~~s~~@get-pbxusercfg:14] MSet("Khomp/B0C3-0.0", "PHONETYPE=""") in new stack
  38. -- Executing [~~s~~@get-pbxusercfg:15] MSet("Khomp/B0C3-0.0", "FROMPSTN=""") in new stack
  39. -- Executing [~~s~~@get-pbxusercfg:16] MSet("Khomp/B0C3-0.0", "FWDPSTN=""") in new stack
  40. -- Executing [~~s~~@get-pbxusercfg:17] MSet("Khomp/B0C3-0.0", "CALLLIMIT=""") in new stack
  41. -- Executing [~~s~~@get-pbxusercfg:18] MSet("Khomp/B0C3-0.0", "ORIG=""") in new stack
  42. -- Executing [~~s~~@get-pbxusercfg:19] MSet("Khomp/B0C3-0.0", "ALERTLOSTCALLS=""") in new stack
  43. -- 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
  44. -- 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
  45. -- Executing [~~s~~@get-pbxusercfg:22] Return("Khomp/B0C3-0.0", "") in new stack
  46. -- Executing [5790@discagem-ddr-e1:3] GotoIf("Khomp/B0C3-0.0", "0?discagem-ramais,,1:discagem-ramais,5790,1") in new stack
  47. -- Goto (discagem-ramais,5790,1)
  48. -- 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
  49. -- Executing [5790@discagem-ramais:2] Gosub("Khomp/B0C3-0.0", "check-monitor,~~s~~,1(4730339268,5790)") in new stack
  50. -- Executing [~~s~~@check-monitor:1] MSet("Khomp/B0C3-0.0", "LOCAL(MFROM)=4730339268") in new stack
  51. -- Executing [~~s~~@check-monitor:2] MSet("Khomp/B0C3-0.0", "LOCAL(MTO)=5790") in new stack
  52. -- Executing [~~s~~@check-monitor:3] GotoIf("Khomp/B0C3-0.0", "0?4:5") in new stack
  53. -- Goto (check-monitor,~~s~~,5)
  54. -- Executing [~~s~~@check-monitor:5] NoOp("Khomp/B0C3-0.0", "Finish if_check-monitor_105") in new stack
  55. -- Executing [~~s~~@check-monitor:6] GotoIf("Khomp/B0C3-0.0", "0?7:10") in new stack
  56. -- Goto (check-monitor,~~s~~,10)
  57. -- Executing [~~s~~@check-monitor:10] NoOp("Khomp/B0C3-0.0", "Finish if_check-monitor_106") in new stack
  58. -- Executing [~~s~~@check-monitor:11] MSet("Khomp/B0C3-0.0", "LOCAL(DO_RECORD1)="no"") in new stack
  59. -- Executing [~~s~~@check-monitor:12] MSet("Khomp/B0C3-0.0", "LOCAL(DO_RECORD2)="no"") in new stack
  60. -- 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
  61. -- Executing [~~s~~@check-monitor:14] Set("Khomp/B0C3-0.0", "DO_RECORD1=yes") in new stack
  62. -- 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
  63. -- Executing [~~s~~@check-monitor:16] Set("Khomp/B0C3-0.0", "DO_RECORD2=") in new stack
  64. -- Executing [~~s~~@check-monitor:17] Set("Khomp/B0C3-0.0", "QUERY="SELECT value FROM pbxcfg WHERE `key` = \"RECORDALL\" AND family = \"monitor\""") in new stack
  65. -- Executing [~~s~~@check-monitor:18] Set("Khomp/B0C3-0.0", "DO_RECORD3=") in new stack
  66. -- Executing [~~s~~@check-monitor:19] GotoIf("Khomp/B0C3-0.0", "1?20:28") in new stack
  67. -- Goto (check-monitor,~~s~~,20)
  68. -- Executing [~~s~~@check-monitor:20] MSet("Khomp/B0C3-0.0", "MTYPE="internal"") in new stack
  69. -- Executing [~~s~~@check-monitor:21] GotoIf("Khomp/B0C3-0.0", "1?22:23") in new stack
  70. -- Goto (check-monitor,~~s~~,22)
  71. -- Executing [~~s~~@check-monitor:22] MSet("Khomp/B0C3-0.0", "MTYPE="incoming"") in new stack
  72. -- Executing [~~s~~@check-monitor:23] NoOp("Khomp/B0C3-0.0", "Finish if_if_check-monitor_107_108") in new stack
  73. -- Executing [~~s~~@check-monitor:24] GotoIf("Khomp/B0C3-0.0", "0?25:26") in new stack
  74. -- Goto (check-monitor,~~s~~,26)
  75. -- Executing [~~s~~@check-monitor:26] NoOp("Khomp/B0C3-0.0", "Finish if_if_check-monitor_107_109") in new stack
  76. -- Executing [~~s~~@check-monitor:27] Gosub("Khomp/B0C3-0.0", "monitor,~~s~~,1(4730339268,5790,incoming)") in new stack
  77. -- Executing [~~s~~@monitor:1] MSet("Khomp/B0C3-0.0", "LOCAL(MFROM)=4730339268") in new stack
  78. -- Executing [~~s~~@monitor:2] MSet("Khomp/B0C3-0.0", "LOCAL(MTO)=5790") in new stack
  79. -- Executing [~~s~~@monitor:3] MSet("Khomp/B0C3-0.0", "LOCAL(MTYPE)=incoming") in new stack
  80. -- Executing [~~s~~@monitor:4] GotoIf("Khomp/B0C3-0.0", "0?5:8") in new stack
  81. -- Goto (monitor,~~s~~,8)
  82. -- Executing [~~s~~@monitor:8] NoOp("Khomp/B0C3-0.0", "Finish if_monitor_110") in new stack
  83. -- Executing [~~s~~@monitor:9] MSet("Khomp/B0C3-0.0", "__GRAVAFLEX_REC="1"") in new stack
  84. -- Executing [~~s~~@monitor:10] MSet("Khomp/B0C3-0.0", "__GRAVAFLEX_ID="1432749491.16263"") in new stack
  85. -- Executing [~~s~~@monitor:11] Set("Khomp/B0C3-0.0", "LOCAL(MBASE)=/var/spool/asterisk/monitor") in new stack
  86. -- Executing [~~s~~@monitor:12] Set("Khomp/B0C3-0.0", "LOCAL(MGROUP)=default") in new stack
  87. -- Executing [~~s~~@monitor:13] Set("Khomp/B0C3-0.0", "LOCAL(MDAY)=2015-05-27") in new stack
  88. -- Executing [~~s~~@monitor:14] Set("Khomp/B0C3-0.0", "LOCAL(MTIME)=14:58:11") in new stack
  89. -- 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
  90. -- 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
  91. -- 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
  92. -- Executing [~~s~~@monitor:18] System("Khomp/B0C3-0.0", "/bin/mkdir -p /var/spool/asterisk/monitor/default/2015/05/27/incoming") in new stack
  93. -- 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
  94. -- Executing [~~s~~@monitor:20] MSet("Khomp/B0C3-0.0", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
  95. == Begin MixMonitor Recording Khomp/B0C3-0.0
  96. -- Executing [~~s~~@monitor:21] Return("Khomp/B0C3-0.0", "") in new stack
  97. -- Executing [~~s~~@check-monitor:28] NoOp("Khomp/B0C3-0.0", "Finish if_check-monitor_107") in new stack
  98. -- Executing [~~s~~@check-monitor:29] Return("Khomp/B0C3-0.0", "") in new stack
  99. -- Executing [5790@discagem-ramais:3] Gosub("Khomp/B0C3-0.0", "dial-exten,5790,1") in new stack
  100. -- Executing [5790@dial-exten:1] GotoIf("Khomp/B0C3-0.0", "0?2:3") in new stack
  101. -- Goto (dial-exten,5790,3)
  102. -- Executing [5790@dial-exten:3] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_46") in new stack
  103. -- Executing [5790@dial-exten:4] MSet("Khomp/B0C3-0.0", "NAME=5790") in new stack
  104. -- Executing [5790@dial-exten:5] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5790)") in new stack
  105. -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5790") in new stack
  106. -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5790)") in new stack
  107. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
  108. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
  109. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  110. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  111. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  112. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
  113. -- Goto (check-pbxuser,sw_34_SIP,10)
  114. -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
  115. -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  116. -- Goto (check-pbxuser,~~s~~,7)
  117. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  118. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5790\""") in new stack
  119. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=1") in new stack
  120. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  121. -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "1?4:6") in new stack
  122. -- Goto (get-usertech,~~s~~,4)
  123. -- Executing [~~s~~@get-usertech:4] MSet("Khomp/B0C3-0.0", "CHAN="SIP"") in new stack
  124. -- Executing [~~s~~@get-usertech:5] Return("Khomp/B0C3-0.0", "") in new stack
  125. -- Executing [5790@dial-exten:6] GotoIf("Khomp/B0C3-0.0", "0?7:8") in new stack
  126. -- Goto (dial-exten,5790,8)
  127. -- Executing [5790@dial-exten:8] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_47") in new stack
  128. -- Executing [5790@dial-exten:9] Gosub("Khomp/B0C3-0.0", "get-user-context,~~s~~,1(5790)") in new stack
  129. -- Executing [~~s~~@get-user-context:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
  130. -- Executing [~~s~~@get-user-context:2] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5790)") in new stack
  131. -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5790") in new stack
  132. -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5790)") in new stack
  133. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
  134. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
  135. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  136. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  137. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  138. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
  139. -- Goto (check-pbxuser,sw_34_SIP,10)
  140. -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
  141. -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  142. -- Goto (check-pbxuser,~~s~~,7)
  143. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  144. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5790\""") in new stack
  145. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=1") in new stack
  146. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  147. -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "1?4:6") in new stack
  148. -- Goto (get-usertech,~~s~~,4)
  149. -- Executing [~~s~~@get-usertech:4] MSet("Khomp/B0C3-0.0", "CHAN="SIP"") in new stack
  150. -- Executing [~~s~~@get-usertech:5] Return("Khomp/B0C3-0.0", "") in new stack
  151. -- Executing [~~s~~@get-user-context:3] GotoIf("Khomp/B0C3-0.0", "1?4:7") in new stack
  152. -- Goto (get-user-context,~~s~~,4)
  153. -- Executing [~~s~~@get-user-context:4] Gosub("Khomp/B0C3-0.0", "get-pbxsipusers,~~s~~,1(5790)") in new stack
  154. -- Executing [~~s~~@get-pbxsipusers:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
  155. -- 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
  156. -- 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
  157. -- Executing [~~s~~@get-pbxsipusers:4] Return("Khomp/B0C3-0.0", "") in new stack
  158. -- Executing [~~s~~@get-user-context:5] MSet("Khomp/B0C3-0.0", "USER_CONTEXT="ramais-internos"") in new stack
  159. -- Executing [~~s~~@get-user-context:6] Return("Khomp/B0C3-0.0", "") in new stack
  160. -- Executing [5790@dial-exten:10] Set("Khomp/B0C3-0.0", "CONTEXT=ramais-internos") in new stack
  161. -- Executing [5790@dial-exten:11] Gosub("Khomp/B0C3-0.0", "setaccountcode,~~s~~,1(5790)") in new stack
  162. -- Executing [~~s~~@setaccountcode:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5790") in new stack
  163. -- Executing [~~s~~@setaccountcode:2] GotoIf("Khomp/B0C3-0.0", "1?3:9") in new stack
  164. -- Goto (setaccountcode,~~s~~,3)
  165. -- Executing [~~s~~@setaccountcode:3] GotoIf("Khomp/B0C3-0.0", "0?4:7") in new stack
  166. -- Goto (setaccountcode,~~s~~,7)
  167. -- Executing [~~s~~@setaccountcode:7] MSet("Khomp/B0C3-0.0", "CDR(accountcode)=7") in new stack
  168. -- Executing [~~s~~@setaccountcode:8] NoOp("Khomp/B0C3-0.0", "Finish if_if_setaccountcode_41_42") in new stack
  169. -- Executing [~~s~~@setaccountcode:9] NoOp("Khomp/B0C3-0.0", "Finish if_setaccountcode_41") in new stack
  170. -- Executing [~~s~~@setaccountcode:10] Return("Khomp/B0C3-0.0", "") in new stack
  171. -- Executing [5790@dial-exten:12] GotoIf("Khomp/B0C3-0.0", "0?13:14") in new stack
  172. -- Goto (dial-exten,5790,14)
  173. -- Executing [5790@dial-exten:14] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_48") in new stack
  174. -- Executing [5790@dial-exten:15] MSet("Khomp/B0C3-0.0", "LOCAL(CFALL)="no"") in new stack
  175. -- Executing [5790@dial-exten:16] MSet("Khomp/B0C3-0.0", "LOCAL(CFBUSY)="no"") in new stack
  176. -- Executing [5790@dial-exten:17] MSet("Khomp/B0C3-0.0", "LOCAL(CFNOANSWER)="no"") in new stack
  177. -- Executing [5790@dial-exten:18] MSet("Khomp/B0C3-0.0", "LOCAL(NOCF)=0") in new stack
  178. -- Executing [5790@dial-exten:19] Gosub("Khomp/B0C3-0.0", "get-pbxusercfg,~~s~~,1(5790)") in new stack
  179. -- Executing [~~s~~@get-pbxusercfg:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5790") in new stack
  180. -- Executing [~~s~~@get-pbxusercfg:2] MSet("Khomp/B0C3-0.0", "CFALL=""") in new stack
  181. -- Executing [~~s~~@get-pbxusercfg:3] MSet("Khomp/B0C3-0.0", "CFBUSY=""") in new stack
  182. -- Executing [~~s~~@get-pbxusercfg:4] MSet("Khomp/B0C3-0.0", "CFNOANSWER=""") in new stack
  183. -- Executing [~~s~~@get-pbxusercfg:5] MSet("Khomp/B0C3-0.0", "VOICEMAIL=""") in new stack
  184. -- Executing [~~s~~@get-pbxusercfg:6] MSet("Khomp/B0C3-0.0", "INTERNAL_VM=""") in new stack
  185. -- Executing [~~s~~@get-pbxusercfg:7] MSet("Khomp/B0C3-0.0", "CFALLNUMBER=""") in new stack
  186. -- Executing [~~s~~@get-pbxusercfg:8] MSet("Khomp/B0C3-0.0", "CFBUSYNUMBER=""") in new stack
  187. -- Executing [~~s~~@get-pbxusercfg:9] MSet("Khomp/B0C3-0.0", "CFNOANSWERNUMBER=""") in new stack
  188. -- Executing [~~s~~@get-pbxusercfg:10] MSet("Khomp/B0C3-0.0", "NOCFNUMBERS=""") in new stack
  189. -- Executing [~~s~~@get-pbxusercfg:11] MSet("Khomp/B0C3-0.0", "DIALTIME=""") in new stack
  190. -- Executing [~~s~~@get-pbxusercfg:12] MSet("Khomp/B0C3-0.0", "DIALLOCK=""") in new stack
  191. -- Executing [~~s~~@get-pbxusercfg:13] MSet("Khomp/B0C3-0.0", "LOCKED=""") in new stack
  192. -- Executing [~~s~~@get-pbxusercfg:14] MSet("Khomp/B0C3-0.0", "PHONETYPE=""") in new stack
  193. -- Executing [~~s~~@get-pbxusercfg:15] MSet("Khomp/B0C3-0.0", "FROMPSTN=""") in new stack
  194. -- Executing [~~s~~@get-pbxusercfg:16] MSet("Khomp/B0C3-0.0", "FWDPSTN=""") in new stack
  195. -- Executing [~~s~~@get-pbxusercfg:17] MSet("Khomp/B0C3-0.0", "CALLLIMIT=""") in new stack
  196. -- Executing [~~s~~@get-pbxusercfg:18] MSet("Khomp/B0C3-0.0", "ORIG=""") in new stack
  197. -- Executing [~~s~~@get-pbxusercfg:19] MSet("Khomp/B0C3-0.0", "ALERTLOSTCALLS=""") in new stack
  198. -- 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
  199. -- 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
  200. -- Executing [~~s~~@get-pbxusercfg:22] Return("Khomp/B0C3-0.0", "") in new stack
  201. -- Executing [5790@dial-exten:20] GotoIf("Khomp/B0C3-0.0", "0?21:22") in new stack
  202. -- Goto (dial-exten,5790,22)
  203. -- Executing [5790@dial-exten:22] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_49") in new stack
  204. -- Executing [5790@dial-exten:23] GotoIf("Khomp/B0C3-0.0", "0?24:26") in new stack
  205. -- Goto (dial-exten,5790,26)
  206. -- Executing [5790@dial-exten:26] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_50") in new stack
  207. -- Executing [5790@dial-exten:27] GotoIf("Khomp/B0C3-0.0", "0?28:29") in new stack
  208. -- Goto (dial-exten,5790,29)
  209. -- Executing [5790@dial-exten:29] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_51") in new stack
  210. -- Executing [5790@dial-exten:30] GotoIf("Khomp/B0C3-0.0", "0?31:41") in new stack
  211. -- Goto (dial-exten,5790,41)
  212. -- Executing [5790@dial-exten:41] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_52") in new stack
  213. -- Executing [5790@dial-exten:42] GotoIf("Khomp/B0C3-0.0", "0?43:45") in new stack
  214. -- Goto (dial-exten,5790,45)
  215. -- Executing [5790@dial-exten:45] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_54") in new stack
  216. -- Executing [5790@dial-exten:46] GotoIf("Khomp/B0C3-0.0", "0?47:50") in new stack
  217. -- Goto (dial-exten,5790,50)
  218. -- Executing [5790@dial-exten:50] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_55") in new stack
  219. -- Executing [5790@dial-exten:51] GotoIf("Khomp/B0C3-0.0", "0?52:53") in new stack
  220. -- Goto (dial-exten,5790,53)
  221. -- Executing [5790@dial-exten:53] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_56") in new stack
  222. -- Executing [5790@dial-exten:54] MSet("Khomp/B0C3-0.0", "LOCAL(NOCF)=0") in new stack
  223. -- Executing [5790@dial-exten:55] GotoIf("Khomp/B0C3-0.0", "0?56:58") in new stack
  224. -- Goto (dial-exten,5790,58)
  225. -- Executing [5790@dial-exten:58] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_57") in new stack
  226. -- Executing [5790@dial-exten:59] GotoIf("Khomp/B0C3-0.0", "1?60:63") in new stack
  227. -- Goto (dial-exten,5790,60)
  228. -- Executing [5790@dial-exten:60] MSet("Khomp/B0C3-0.0", "CALLERID(num)=5790") in new stack
  229. -- Executing [5790@dial-exten:61] Set("Khomp/B0C3-0.0", "QUEUE_FWD_TYPE=desvio") in new stack
  230. -- Executing [5790@dial-exten:62] Goto("Khomp/B0C3-0.0", "queue-fwd,5700,1") in new stack
  231. -- Goto (queue-fwd,5700,1)
  232. -- Executing [5700@queue-fwd:1] Set("Khomp/B0C3-0.0", "IS_FWD_QUEUE=1") in new stack
  233. -- Executing [5700@queue-fwd:2] GotoIf("Khomp/B0C3-0.0", "1?3:6") in new stack
  234. -- Goto (queue-fwd,5700,3)
  235. -- Executing [5700@queue-fwd:3] Gosub("Khomp/B0C3-0.0", "check-dial-pabx,5700,1") in new stack
  236. -- Executing [5700@check-dial-pabx:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=""") in new stack
  237. -- Executing [5700@check-dial-pabx:2] Set("Khomp/B0C3-0.0", "QUERY="SELECT name FROM pbxusercfg WHERE name=\"5700\""") in new stack
  238. -- Executing [5700@check-dial-pabx:3] Set("Khomp/B0C3-0.0", "NAME=5700") in new stack
  239. -- Executing [5700@check-dial-pabx:4] GotoIf("Khomp/B0C3-0.0", "0?5:10") in new stack
  240. -- Goto (check-dial-pabx,5700,10)
  241. -- Executing [5700@check-dial-pabx:10] NoOp("Khomp/B0C3-0.0", "Finish if_check-dial-pabx_43") in new stack
  242. -- Executing [5700@check-dial-pabx:11] Return("Khomp/B0C3-0.0", "") in new stack
  243. -- Executing [5700@queue-fwd:4] Goto("Khomp/B0C3-0.0", "dial-exten,5700,1") in new stack
  244. -- Goto (dial-exten,5700,1)
  245. -- Executing [5700@dial-exten:1] GotoIf("Khomp/B0C3-0.0", "0?2:3") in new stack
  246. -- Goto (dial-exten,5700,3)
  247. -- Executing [5700@dial-exten:3] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_46") in new stack
  248. -- Executing [5700@dial-exten:4] MSet("Khomp/B0C3-0.0", "NAME=5700") in new stack
  249. -- Executing [5700@dial-exten:5] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5700)") in new stack
  250. -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5700") in new stack
  251. -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5700)") in new stack
  252. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
  253. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  254. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  255. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  256. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  257. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
  258. -- Goto (check-pbxuser,sw_34_SIP,10)
  259. -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
  260. -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  261. -- Goto (check-pbxuser,~~s~~,7)
  262. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  263. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5700\""") in new stack
  264. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  265. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  266. -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "0?4:6") in new stack
  267. -- Goto (get-usertech,~~s~~,6)
  268. -- Executing [~~s~~@get-usertech:6] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_35") in new stack
  269. -- Executing [~~s~~@get-usertech:7] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(IAX2,5700)") in new stack
  270. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=IAX2") in new stack
  271. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  272. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  273. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  274. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  275. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_IAX2,10") in new stack
  276. -- Goto (check-pbxuser,sw_34_IAX2,10)
  277. -- Executing [sw_34_IAX2@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxiaxusers") in new stack
  278. -- Executing [sw_34_IAX2@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  279. -- Goto (check-pbxuser,~~s~~,7)
  280. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  281. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxiaxusers WHERE name=\"5700\""") in new stack
  282. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  283. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  284. -- Executing [~~s~~@get-usertech:8] GotoIf("Khomp/B0C3-0.0", "0?9:11") in new stack
  285. -- Goto (get-usertech,~~s~~,11)
  286. -- Executing [~~s~~@get-usertech:11] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_36") in new stack
  287. -- Executing [~~s~~@get-usertech:12] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(Khomp,5700)") in new stack
  288. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=Khomp") in new stack
  289. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  290. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  291. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  292. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  293. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_Khomp,10") in new stack
  294. -- Goto (check-pbxuser,sw_34_Khomp,10)
  295. -- Executing [sw_34_Khomp@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxfxsusers") in new stack
  296. -- Executing [sw_34_Khomp@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  297. -- Goto (check-pbxuser,~~s~~,7)
  298. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  299. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxfxsusers WHERE name=\"5700\""") in new stack
  300. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  301. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  302. -- Executing [~~s~~@get-usertech:13] GotoIf("Khomp/B0C3-0.0", "0?14:16") in new stack
  303. -- Goto (get-usertech,~~s~~,16)
  304. -- Executing [~~s~~@get-usertech:16] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_37") in new stack
  305. -- Executing [~~s~~@get-usertech:17] Return("Khomp/B0C3-0.0", "") in new stack
  306. -- Executing [5700@dial-exten:6] GotoIf("Khomp/B0C3-0.0", "0?7:8") in new stack
  307. -- Goto (dial-exten,5700,8)
  308. -- Executing [5700@dial-exten:8] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_47") in new stack
  309. -- Executing [5700@dial-exten:9] Gosub("Khomp/B0C3-0.0", "get-user-context,~~s~~,1(5700)") in new stack
  310. -- Executing [~~s~~@get-user-context:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  311. -- Executing [~~s~~@get-user-context:2] Gosub("Khomp/B0C3-0.0", "get-usertech,~~s~~,1(5700)") in new stack
  312. -- Executing [~~s~~@get-usertech:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5700") in new stack
  313. -- Executing [~~s~~@get-usertech:2] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(SIP,5700)") in new stack
  314. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=SIP") in new stack
  315. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  316. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  317. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  318. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  319. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_SIP,10") in new stack
  320. -- Goto (check-pbxuser,sw_34_SIP,10)
  321. -- Executing [sw_34_SIP@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxsipusers") in new stack
  322. -- Executing [sw_34_SIP@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  323. -- Goto (check-pbxuser,~~s~~,7)
  324. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  325. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxsipusers WHERE name=\"5700\""") in new stack
  326. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  327. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  328. -- Executing [~~s~~@get-usertech:3] GotoIf("Khomp/B0C3-0.0", "0?4:6") in new stack
  329. -- Goto (get-usertech,~~s~~,6)
  330. -- Executing [~~s~~@get-usertech:6] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_35") in new stack
  331. -- Executing [~~s~~@get-usertech:7] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(IAX2,5700)") in new stack
  332. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=IAX2") in new stack
  333. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  334. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  335. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  336. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  337. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_IAX2,10") in new stack
  338. -- Goto (check-pbxuser,sw_34_IAX2,10)
  339. -- Executing [sw_34_IAX2@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxiaxusers") in new stack
  340. -- Executing [sw_34_IAX2@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  341. -- Goto (check-pbxuser,~~s~~,7)
  342. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  343. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxiaxusers WHERE name=\"5700\""") in new stack
  344. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  345. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  346. -- Executing [~~s~~@get-usertech:8] GotoIf("Khomp/B0C3-0.0", "0?9:11") in new stack
  347. -- Goto (get-usertech,~~s~~,11)
  348. -- Executing [~~s~~@get-usertech:11] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_36") in new stack
  349. -- Executing [~~s~~@get-usertech:12] Gosub("Khomp/B0C3-0.0", "check-pbxuser,~~s~~,1(Khomp,5700)") in new stack
  350. -- Executing [~~s~~@check-pbxuser:1] MSet("Khomp/B0C3-0.0", "LOCAL(CHAN)=Khomp") in new stack
  351. -- Executing [~~s~~@check-pbxuser:2] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  352. -- Executing [~~s~~@check-pbxuser:3] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  353. -- Executing [~~s~~@check-pbxuser:4] MSet("Khomp/B0C3-0.0", "LOCAL(~~EXTEN~~)=~~s~~") in new stack
  354. -- Executing [~~s~~@check-pbxuser:5] MSet("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  355. -- Executing [~~s~~@check-pbxuser:6] Goto("Khomp/B0C3-0.0", "sw_34_Khomp,10") in new stack
  356. -- Goto (check-pbxuser,sw_34_Khomp,10)
  357. -- Executing [sw_34_Khomp@check-pbxuser:10] MSet("Khomp/B0C3-0.0", "LOCAL(TABLE)=pbxfxsusers") in new stack
  358. -- Executing [sw_34_Khomp@check-pbxuser:11] Goto("Khomp/B0C3-0.0", "~~s~~,7") in new stack
  359. -- Goto (check-pbxuser,~~s~~,7)
  360. -- Executing [~~s~~@check-pbxuser:7] NoOp("Khomp/B0C3-0.0", "Finish switch_check-pbxuser_34") in new stack
  361. -- Executing [~~s~~@check-pbxuser:8] Set("Khomp/B0C3-0.0", "QUERY="SELECT count(name) FROM pbxfxsusers WHERE name=\"5700\""") in new stack
  362. -- Executing [~~s~~@check-pbxuser:9] Set("Khomp/B0C3-0.0", "EXISTS=0") in new stack
  363. -- Executing [~~s~~@check-pbxuser:10] Return("Khomp/B0C3-0.0", "") in new stack
  364. -- Executing [~~s~~@get-usertech:13] GotoIf("Khomp/B0C3-0.0", "0?14:16") in new stack
  365. -- Goto (get-usertech,~~s~~,16)
  366. -- Executing [~~s~~@get-usertech:16] NoOp("Khomp/B0C3-0.0", "Finish if_get-usertech_37") in new stack
  367. -- Executing [~~s~~@get-usertech:17] Return("Khomp/B0C3-0.0", "") in new stack
  368. -- Executing [~~s~~@get-user-context:3] GotoIf("Khomp/B0C3-0.0", "1?4:7") in new stack
  369. -- Goto (get-user-context,~~s~~,4)
  370. -- Executing [~~s~~@get-user-context:4] Gosub("Khomp/B0C3-0.0", "get-pbxsipusers,~~s~~,1(5700)") in new stack
  371. -- Executing [~~s~~@get-pbxsipusers:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  372. -- 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
  373. -- Executing [~~s~~@get-pbxsipusers:3] Set("Khomp/B0C3-0.0", "ARRAY(NAME,SIP_TYPE,SIP_CONTEXT,CALLGROUP,PICKUPGROUP,ACCOUNTCODE,MAILBOX,VIDEOSUPPORT)=") in new stack
  374. -- Executing [~~s~~@get-pbxsipusers:4] Return("Khomp/B0C3-0.0", "") in new stack
  375. -- Executing [~~s~~@get-user-context:5] MSet("Khomp/B0C3-0.0", "USER_CONTEXT=""") in new stack
  376. -- Executing [~~s~~@get-user-context:6] Return("Khomp/B0C3-0.0", "") in new stack
  377. -- Executing [5700@dial-exten:10] Set("Khomp/B0C3-0.0", "CONTEXT=") in new stack
  378. -- Executing [5700@dial-exten:11] Gosub("Khomp/B0C3-0.0", "setaccountcode,~~s~~,1(5700)") in new stack
  379. -- Executing [~~s~~@setaccountcode:1] MSet("Khomp/B0C3-0.0", "LOCAL(NUM)=5700") in new stack
  380. -- Executing [~~s~~@setaccountcode:2] GotoIf("Khomp/B0C3-0.0", "0?3:9") in new stack
  381. -- Goto (setaccountcode,~~s~~,9)
  382. -- Executing [~~s~~@setaccountcode:9] NoOp("Khomp/B0C3-0.0", "Finish if_setaccountcode_41") in new stack
  383. -- Executing [~~s~~@setaccountcode:10] Return("Khomp/B0C3-0.0", "") in new stack
  384. -- Executing [5700@dial-exten:12] GotoIf("Khomp/B0C3-0.0", "0?13:14") in new stack
  385. -- Goto (dial-exten,5700,14)
  386. -- Executing [5700@dial-exten:14] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_48") in new stack
  387. -- Executing [5700@dial-exten:15] MSet("Khomp/B0C3-0.0", "LOCAL(CFALL)="no"") in new stack
  388. -- Executing [5700@dial-exten:16] MSet("Khomp/B0C3-0.0", "LOCAL(CFBUSY)="no"") in new stack
  389. -- Executing [5700@dial-exten:17] MSet("Khomp/B0C3-0.0", "LOCAL(CFNOANSWER)="no"") in new stack
  390. -- Executing [5700@dial-exten:18] MSet("Khomp/B0C3-0.0", "LOCAL(NOCF)=0") in new stack
  391. -- Executing [5700@dial-exten:19] Gosub("Khomp/B0C3-0.0", "get-pbxusercfg,~~s~~,1(5700)") in new stack
  392. -- Executing [~~s~~@get-pbxusercfg:1] MSet("Khomp/B0C3-0.0", "LOCAL(NAME)=5700") in new stack
  393. -- Executing [~~s~~@get-pbxusercfg:2] MSet("Khomp/B0C3-0.0", "CFALL=""") in new stack
  394. -- Executing [~~s~~@get-pbxusercfg:3] MSet("Khomp/B0C3-0.0", "CFBUSY=""") in new stack
  395. -- Executing [~~s~~@get-pbxusercfg:4] MSet("Khomp/B0C3-0.0", "CFNOANSWER=""") in new stack
  396. -- Executing [~~s~~@get-pbxusercfg:5] MSet("Khomp/B0C3-0.0", "VOICEMAIL=""") in new stack
  397. -- Executing [~~s~~@get-pbxusercfg:6] MSet("Khomp/B0C3-0.0", "INTERNAL_VM=""") in new stack
  398. -- Executing [~~s~~@get-pbxusercfg:7] MSet("Khomp/B0C3-0.0", "CFALLNUMBER=""") in new stack
  399. -- Executing [~~s~~@get-pbxusercfg:8] MSet("Khomp/B0C3-0.0", "CFBUSYNUMBER=""") in new stack
  400. -- Executing [~~s~~@get-pbxusercfg:9] MSet("Khomp/B0C3-0.0", "CFNOANSWERNUMBER=""") in new stack
  401. -- Executing [~~s~~@get-pbxusercfg:10] MSet("Khomp/B0C3-0.0", "NOCFNUMBERS=""") in new stack
  402. -- Executing [~~s~~@get-pbxusercfg:11] MSet("Khomp/B0C3-0.0", "DIALTIME=""") in new stack
  403. -- Executing [~~s~~@get-pbxusercfg:12] MSet("Khomp/B0C3-0.0", "DIALLOCK=""") in new stack
  404. -- Executing [~~s~~@get-pbxusercfg:13] MSet("Khomp/B0C3-0.0", "LOCKED=""") in new stack
  405. -- Executing [~~s~~@get-pbxusercfg:14] MSet("Khomp/B0C3-0.0", "PHONETYPE=""") in new stack
  406. -- Executing [~~s~~@get-pbxusercfg:15] MSet("Khomp/B0C3-0.0", "FROMPSTN=""") in new stack
  407. -- Executing [~~s~~@get-pbxusercfg:16] MSet("Khomp/B0C3-0.0", "FWDPSTN=""") in new stack
  408. -- Executing [~~s~~@get-pbxusercfg:17] MSet("Khomp/B0C3-0.0", "CALLLIMIT=""") in new stack
  409. -- Executing [~~s~~@get-pbxusercfg:18] MSet("Khomp/B0C3-0.0", "ORIG=""") in new stack
  410. -- Executing [~~s~~@get-pbxusercfg:19] MSet("Khomp/B0C3-0.0", "ALERTLOSTCALLS=""") in new stack
  411. -- 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
  412. -- 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
  413. -- Executing [~~s~~@get-pbxusercfg:22] Return("Khomp/B0C3-0.0", "") in new stack
  414. -- Executing [5700@dial-exten:20] GotoIf("Khomp/B0C3-0.0", "1?21:22") in new stack
  415. -- Goto (dial-exten,5700,21)
  416. -- Executing [5700@dial-exten:21] Goto("Khomp/B0C3-0.0", "dial") in new stack
  417. -- Goto (dial-exten,5700,72)
  418. -- Executing [5700@dial-exten:72] GotoIf("Khomp/B0C3-0.0", "1?73:75") in new stack
  419. -- Goto (dial-exten,5700,73)
  420. -- Executing [5700@dial-exten:73] MSet("Khomp/B0C3-0.0", "LOCAL(OPT)="tr"") in new stack
  421. -- Executing [5700@dial-exten:74] Goto("Khomp/B0C3-0.0", "76") in new stack
  422. -- Goto (dial-exten,5700,76)
  423. -- Executing [5700@dial-exten:76] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_60") in new stack
  424. -- Executing [5700@dial-exten:77] GotoIf("Khomp/B0C3-0.0", "0?78:83") in new stack
  425. -- Goto (dial-exten,5700,83)
  426. -- Executing [5700@dial-exten:83] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_61") in new stack
  427. -- Executing [5700@dial-exten:84] GotoIf("Khomp/B0C3-0.0", "0?85:86") in new stack
  428. -- Goto (dial-exten,5700,86)
  429. -- Executing [5700@dial-exten:86] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_63") in new stack
  430. -- Executing [5700@dial-exten:87] GotoIf("Khomp/B0C3-0.0", "1?88:89") in new stack
  431. -- Goto (dial-exten,5700,88)
  432. -- Executing [5700@dial-exten:88] MSet("Khomp/B0C3-0.0", "DTIME=30") in new stack
  433. -- Executing [5700@dial-exten:89] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_64") in new stack
  434. -- Executing [5700@dial-exten:90] MSet("Khomp/B0C3-0.0", "LOCAL(D_STATE)="INVALID"") in new stack
  435. -- Executing [5700@dial-exten:91] GotoIf("Khomp/B0C3-0.0", "0?92:101") in new stack
  436. -- Goto (dial-exten,5700,101)
  437. -- Executing [5700@dial-exten:101] NoOp("Khomp/B0C3-0.0", "Finish if_dial-exten_65") in new stack
  438. -- 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
  439. -- Executing [5700@dial-exten:103] Dial("Khomp/B0C3-0.0", "SIP/5700,30,tr") in new stack
  440. [2015-05-27 14:58:11] WARNING[22888]: chan_sip.c:5667 create_addr: Purely numeric hostname (5700), and not a peer--rejecting!
  441. [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)
  442. == Everyone is busy/congested at this time (1:0/0/1)
  443. -- Executing [5700@dial-exten:104] GotoIf("Khomp/B0C3-0.0", "1?105:106") in new stack
  444. -- Goto (dial-exten,5700,105)
  445. -- Executing [5700@dial-exten:105] Return("Khomp/B0C3-0.0", "") in new stack
  446. -- Executing [5790@discagem-ramais:4] Busy("Khomp/B0C3-0.0", "5") in new stack
  447. == Spawn extension (discagem-ramais, 5790, 4) exited non-zero on 'Khomp/B0C3-0.0'
  448. == MixMonitor close filestream
  449. == End MixMonitor Recording Khomp/B0C3-0.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement