remainD

RasPBX GSM Gateway set up help request

Apr 16th, 2014
1,733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 155.58 KB | None | 0 0
  1. i am new to PBX & freepbx i have no clue how to setup a working GSM Gateway on my RasPBX
  2. i am expecting help on full functional GSM Gateway set up for my RasPBX after spending another few hours
  3.  
  4. i guess i am doing it wrong way but , i made sort of one way working GSM Gateway , still need help
  5.  
  6. when i call my goog number call goes to IVR and i can dial out from my Dongle (Exactly as type of set up i was looking for call out)
  7.  
  8. when i call my dongle still i am unable to mange call forwarded to my cell number or IVR
  9. so far it says invalid response then goes to <100 ext> voice mail then it just hung up !
  10.  
  11.  
  12. my set up is so far (as of 17 April 2014) - if any more info needed , i will be editing this bin with Time/date stamp
  13. my advance thanks to you for your time and help
  14.  
  15. ------------------------------------------------------------------------------
  16.  
  17. MY PC -192.168.1.6 x-lite soft phone
  18. MY Extension is 100 & 1000
  19.  
  20. DISA name : first dialout DISA Conext :from-internal(Auto Filled it for me?)
  21. IVR name : NEW 1 IVR Announcement :thanks for calling
  22. Invalid Destination :Terminate call > Busy
  23. Timeout Destination : Terminate call > Hangup
  24.  
  25.  
  26. Custom Trunks Name : Dongle (Unlocked huawei E303s-1)
  27. Outbound Cellared: <Emp-ty>
  28. Maximum Channels : 1
  29. Custom Dial String : dongle/dongle0/$OUTNUM$
  30.  
  31.  
  32. Ring Group : Extension List :1000# & MY CELL NUMBER#
  33. Destination if no answer : terminate the call > Hungup
  34.  
  35.  
  36. inbound Routes name : inbond
  37. Set Destination : Extensions > <1000> ext1000
  38.  
  39.  
  40. Outbound Routes name : out_GSM
  41. Dial Patterns that will use this Route : NXXNXXXXXX & NXXXXXX & X.
  42. Trunk Sequence for Matched Routes 0 : Dongle (Unlocked huawei E303s-1)
  43. Optional Destination on Congestion : Normal Congestion
  44.  
  45. and few more patterns..
  46.  
  47. root@raspbx:~# dmesg | grep tty <<<<<<----------------------------------------------------------------------------
  48. [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0xb1358c4 smsc95xx.macaddr=XXXXXXXXXXXXX sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
  49. [ 0.000000] console [tty1] enabled
  50. [ 0.529918] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
  51. [ 0.870376] console [ttyAMA0] enabled
  52. [ 6997.979429] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
  53. [ 6998.033501] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
  54. [ 6998.075059] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
  55.  
  56. raspbx*CLI> dongle show devices <<<<<<------------------------------------------------------------------------------
  57. ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number
  58. dongle0 0 Free 25 3 3 T-Mobile E303S 21.157.31.00.850 86XXXXXXXXXXXX 31XXXXXXXXXXXX MY DONGLE SIM NUMBER
  59.  
  60.  
  61. raspbx*CLI> dongle show device state dongle0 <<<<<<------------------------------------------------------------------
  62. -------------- Status -------------
  63. Device : dongle0
  64. State : Free
  65. Audio : /dev/ttyUSB1
  66. Data : /dev/ttyUSB2
  67. Voice : Yes
  68. SMS : Yes
  69. Manufacturer : huawei
  70. Model : E303S
  71. Firmware : 21.157.31.00.850
  72. IMEI : 86XXXXXXXXXXXX
  73. IMSI : 31XXXXXXXXXXXX
  74. GSM Registration Status : Registered, roaming
  75. RSSI : 25, -63 dBm
  76. Mode : GSM/GPRS
  77. Submode : EDGE
  78. Provider Name : T-Mobile
  79. Location area code : "XXXX"
  80. Cell ID : "XXXX"
  81. Subscriber Number : MY DONGLE SIM NUMBER
  82. SMS Service Center : +1XXXXXXXXXX
  83. Use UCS-2 encoding : Yes
  84. USSD use 7 bit encoding : Yes
  85. USSD use UCS-2 decoding : No
  86. Tasks in queue : 0
  87. Commands in queue : 0
  88. Call Waiting : Disabled
  89. Current device state : start
  90. Desired device state : start
  91. When change state : now
  92. Calls/Channels : 0
  93. Active : 0
  94. Held : 0
  95. Dialing : 0
  96. Alerting : 0
  97. Incoming : 0
  98. Waiting : 0
  99. Releasing : 0
  100. Initializing : 0
  101.  
  102.  
  103.  
  104.  
  105. calling my Google number and making a Successful call out process log
  106. x-lite soft phone is offline when this call come in to the google voice GUI shows
  107.  
  108. at first ring total active calls-1 , internal calls-1 ,
  109. then total active calls-2 , internal calls-2 , External calls-0 , Total active channels-3 (out of 4)
  110. once the out going call making process started its changed to
  111. total active calls-3 , internal calls-2 , External calls-1 , Total active channels-6 (out of 6)
  112.  
  113. =========================================================================
  114. Connected to Asterisk 11.8.0 currently running on raspbx (pid = 2846)
  115. -- Executing [s@im-MYgmailcom:1] NoOp("Motif/+MY CELL NUMBER-b9e6", "Receiving GoogleVoice on DID: MY GOOG NUMBER") in new stack
  116. -- Executing [s@im-MYgmailcom:2] NoOp("Motif/+MY CELL NUMBER-b9e6", "s") in new stack
  117. -- Executing [s@im-MYgmailcom:3] Set("Motif/+MY CELL NUMBER-b9e6", "CALLERID(name)=+MY CELL NUMBER") in new stack
  118. -- Executing [s@im-MYgmailcom:4] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?nextstop") in new stack
  119. -- Executing [s@im-MYgmailcom:5] Set("Motif/+MY CELL NUMBER-b9e6", "CALLERID(name)=MY CELL NUMBER") in new stack
  120. -- Executing [s@im-MYgmailcom:6] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?notrim") in new stack
  121. -- Goto (im-MYgmailcom,s,8)
  122. -- Executing [s@im-MYgmailcom:8] Set("Motif/+MY CELL NUMBER-b9e6", "CALLERID(number)=MY CELL NUMBER") in new stack
  123. -- Executing [s@im-MYgmailcom:9] Wait("Motif/+MY CELL NUMBER-b9e6", "1") in new stack
  124. -- Executing [s@im-MYgmailcom:10] Answer("Motif/+MY CELL NUMBER-b9e6", "") in new stack
  125. > 0x178a4b0 -- Probation passed - setting RTP source address to IP ADDRESS:19305
  126. -- Executing [s@im-MYgmailcom:11] SendDTMF("Motif/+MY CELL NUMBER-b9e6", "1") in new stack
  127. -- Executing [s@im-MYgmailcom:12] Goto("Motif/+MY CELL NUMBER-b9e6", "from-trunk,MY GOOG NUMBER,1") in new stack
  128. -- Goto (from-trunk,MY GOOG NUMBER,1)
  129. -- Executing [MY GOOG NUMBER@from-trunk:1] NoOp("Motif/+MY CELL NUMBER-b9e6", "Catch-All DID Match - Found MY GOOG NUMBER - You probably want a DID for this.") in new stack
  130. -- Executing [MY GOOG NUMBER@from-trunk:2] Set("Motif/+MY CELL NUMBER-b9e6", "__FROM_DID=MY GOOG NUMBER") in new stack
  131. -- Executing [MY GOOG NUMBER@from-trunk:3] Goto("Motif/+MY CELL NUMBER-b9e6", "ext-did,s,1") in new stack
  132. -- Goto (ext-did,s,1)
  133. -- Executing [s@ext-did:1] ExecIf("Motif/+MY CELL NUMBER-b9e6", "0?Set(__FROM_DID=s)") in new stack
  134. -- Executing [s@ext-did:2] Gosub("Motif/+MY CELL NUMBER-b9e6", "app-blacklist-check,s,1()") in new stack
  135. -- Executing [s@app-blacklist-check:1] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?blacklisted") in new stack
  136. -- Executing [s@app-blacklist-check:2] Set("Motif/+MY CELL NUMBER-b9e6", "CALLED_BLACKLIST=1") in new stack
  137. -- Executing [s@app-blacklist-check:3] Return("Motif/+MY CELL NUMBER-b9e6", "") in new stack
  138. -- Executing [s@ext-did:3] Set("Motif/+MY CELL NUMBER-b9e6", "CDR(did)=MY GOOG NUMBER") in new stack
  139. -- Executing [s@ext-did:4] ExecIf("Motif/+MY CELL NUMBER-b9e6", "0 ?Set(CALLERID(name)=MY CELL NUMBER)") in new stack
  140. -- Executing [s@ext-did:5] Set("Motif/+MY CELL NUMBER-b9e6", "CHANNEL(musicclass)=default") in new stack
  141. -- Executing [s@ext-did:6] Set("Motif/+MY CELL NUMBER-b9e6", "__MOHCLASS=default") in new stack
  142. -- Executing [s@ext-did:7] Set("Motif/+MY CELL NUMBER-b9e6", "__CALLINGPRES_SV=allowed_not_screened") in new stack
  143. -- Executing [s@ext-did:8] Set("Motif/+MY CELL NUMBER-b9e6", "CALLERPRES()=allowed_not_screened") in new stack
  144. -- Executing [s@ext-did:9] Goto("Motif/+MY CELL NUMBER-b9e6", "ext-group,600,1") in new stack
  145. -- Goto (ext-group,600,1)
  146. -- Executing [600@ext-group:1] Macro("Motif/+MY CELL NUMBER-b9e6", "user-callerid,") in new stack
  147. -- Executing [s@macro-user-callerid:1] Set("Motif/+MY CELL NUMBER-b9e6", "TOUCH_MONITOR=1397704753.188") in new stack
  148. -- Executing [s@macro-user-callerid:2] Set("Motif/+MY CELL NUMBER-b9e6", "AMPUSER=MY CELL NUMBER") in new stack
  149. -- Executing [s@macro-user-callerid:3] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?report") in new stack
  150. -- Executing [s@macro-user-callerid:4] ExecIf("Motif/+MY CELL NUMBER-b9e6", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  151. -- Executing [s@macro-user-callerid:5] Set("Motif/+MY CELL NUMBER-b9e6", "AMPUSER=") in new stack
  152. -- Executing [s@macro-user-callerid:6] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?limit") in new stack
  153. -- Executing [s@macro-user-callerid:7] Set("Motif/+MY CELL NUMBER-b9e6", "AMPUSERCIDNAME=") in new stack
  154. -- Executing [s@macro-user-callerid:8] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?report") in new stack
  155. -- Goto (macro-user-callerid,s,16)
  156. -- Executing [s@macro-user-callerid:16] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?continue") in new stack
  157. -- Executing [s@macro-user-callerid:17] ExecIf("Motif/+MY CELL NUMBER-b9e6", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  158. -- Executing [s@macro-user-callerid:18] Set("Motif/+MY CELL NUMBER-b9e6", "__TTL=64") in new stack
  159. -- Executing [s@macro-user-callerid:19] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?continue") in new stack
  160. -- Goto (macro-user-callerid,s,30)
  161. -- Executing [s@macro-user-callerid:30] Set("Motif/+MY CELL NUMBER-b9e6", "CALLERID(number)=MY CELL NUMBER") in new stack
  162. -- Executing [s@macro-user-callerid:31] Set("Motif/+MY CELL NUMBER-b9e6", "CALLERID(name)=MY CELL NUMBER") in new stack
  163. -- Executing [s@macro-user-callerid:32] Set("Motif/+MY CELL NUMBER-b9e6", "CDR(cnum)=MY CELL NUMBER") in new stack
  164. -- Executing [s@macro-user-callerid:33] Set("Motif/+MY CELL NUMBER-b9e6", "CDR(cnam)=MY CELL NUMBER") in new stack
  165. -- Executing [s@macro-user-callerid:34] Set("Motif/+MY CELL NUMBER-b9e6", "CHANNEL(language)=en") in new stack
  166. -- Executing [600@ext-group:2] Macro("Motif/+MY CELL NUMBER-b9e6", "blkvm-setifempty,") in new stack
  167. -- Executing [s@macro-blkvm-setifempty:1] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?init") in new stack
  168. -- Goto (macro-blkvm-setifempty,s,4)
  169. -- Executing [s@macro-blkvm-setifempty:4] Set("Motif/+MY CELL NUMBER-b9e6", "__BLKVM_CHANNEL=Motif/+MY CELL NUMBER-b9e6") in new stack
  170. -- Executing [s@macro-blkvm-setifempty:5] Set("Motif/+MY CELL NUMBER-b9e6", "SHARED(BLKVM,Motif/+MY CELL NUMBER-b9e6)=TRUE") in new stack
  171. -- Executing [s@macro-blkvm-setifempty:6] Set("Motif/+MY CELL NUMBER-b9e6", "GOSUB_RETVAL=TRUE") in new stack
  172. -- Executing [s@macro-blkvm-setifempty:7] MacroExit("Motif/+MY CELL NUMBER-b9e6", "") in new stack
  173. -- Executing [600@ext-group:3] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?skipov") in new stack
  174. -- Goto (ext-group,600,6)
  175. -- Executing [600@ext-group:6] Set("Motif/+MY CELL NUMBER-b9e6", "RRNODEST=") in new stack
  176. -- Executing [600@ext-group:7] Set("Motif/+MY CELL NUMBER-b9e6", "__NODEST=600") in new stack
  177. -- Executing [600@ext-group:8] GosubIf("Motif/+MY CELL NUMBER-b9e6", "0?sub-rgsetcid,s,1()") in new stack
  178. -- Executing [600@ext-group:9] Gosub("Motif/+MY CELL NUMBER-b9e6", "sub-record-check,s,1(rg,600,dontcare)") in new stack
  179. -- Executing [s@sub-record-check:1] Set("Motif/+MY CELL NUMBER-b9e6", "REC_POLICY_MODE_SAVE=") in new stack
  180. -- Executing [s@sub-record-check:2] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?check") in new stack
  181. -- Goto (sub-record-check,s,7)
  182. -- Executing [s@sub-record-check:7] Set("Motif/+MY CELL NUMBER-b9e6", "__MON_FMT=wav") in new stack
  183. -- Executing [s@sub-record-check:8] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?next") in new stack
  184. -- Goto (sub-record-check,s,11)
  185. -- Executing [s@sub-record-check:11] ExecIf("Motif/+MY CELL NUMBER-b9e6", "0?Return()") in new stack
  186. -- Executing [s@sub-record-check:12] ExecIf("Motif/+MY CELL NUMBER-b9e6", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
  187. -- Executing [s@sub-record-check:13] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?rg,1") in new stack
  188. -- Executing [s@sub-record-check:14] Set("Motif/+MY CELL NUMBER-b9e6", "__REC_STATUS=INITIALIZED") in new stack
  189. -- Executing [s@sub-record-check:15] Set("Motif/+MY CELL NUMBER-b9e6", "NOW=1397704754") in new stack
  190. -- Executing [s@sub-record-check:16] Set("Motif/+MY CELL NUMBER-b9e6", "__DAY=17") in new stack
  191. -- Executing [s@sub-record-check:17] Set("Motif/+MY CELL NUMBER-b9e6", "__MONTH=04") in new stack
  192. -- Executing [s@sub-record-check:18] Set("Motif/+MY CELL NUMBER-b9e6", "__YEAR=2014") in new stack
  193. -- Executing [s@sub-record-check:19] Set("Motif/+MY CELL NUMBER-b9e6", "__TIMESTR=20140417-084914") in new stack
  194. -- Executing [s@sub-record-check:20] Set("Motif/+MY CELL NUMBER-b9e6", "__FROMEXTEN=MY CELL NUMBER") in new stack
  195. -- Executing [s@sub-record-check:21] Set("Motif/+MY CELL NUMBER-b9e6", "__CALLFILENAME=rg-600-MY CELL NUMBER-20140417-084914-1397704753.188") in new stack
  196. -- Executing [s@sub-record-check:22] Goto("Motif/+MY CELL NUMBER-b9e6", "rg,1") in new stack
  197. -- Goto (sub-record-check,rg,1)
  198. -- Executing [rg@sub-record-check:1] GosubIf("Motif/+MY CELL NUMBER-b9e6", "0?record,1(rg,dontcare,MY CELL NUMBER)") in new stack
  199. -- Executing [rg@sub-record-check:2] Return("Motif/+MY CELL NUMBER-b9e6", "") in new stack
  200. -- Executing [600@ext-group:10] Set("Motif/+MY CELL NUMBER-b9e6", "RingGroupMethod=ringall") in new stack
  201. -- Executing [600@ext-group:11] Macro("Motif/+MY CELL NUMBER-b9e6", "dial,20,tr,1000#-DONGLE SIM#") in new stack
  202. -- Executing [s@macro-dial:1] GotoIf("Motif/+MY CELL NUMBER-b9e6", "0?dial") in new stack
  203. -- Executing [s@macro-dial:2] SetMusicOnHold("Motif/+MY CELL NUMBER-b9e6", "default") in new stack
  204. -- Executing [s@macro-dial:3] AGI("Motif/+MY CELL NUMBER-b9e6", "dialparties.agi") in new stack
  205. -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  206. dialparties.agi: Starting New Dialparties.agi
  207. dialparties.agi: Caller ID name is 'MY CELL NUMBER' number is 'MY CELL NUMBER'
  208. > dialparties.agi: USE_CONFIRMATION: 'FALSE'
  209. > dialparties.agi: RINGGROUP_INDEX: ''
  210. dialparties.agi: Methodology of ring is 'ringall'
  211. -- dialparties.agi: Added extension 1000# to extension map
  212. -- dialparties.agi: Added extension DONGLE SIM# to extension map
  213. -- dialparties.agi: Extension 1000# cf is disabled
  214. -- dialparties.agi: Extension DONGLE SIM# cf is disabled
  215. > dialparties.agi: extnum 1000# has: cw: 0; hascfb: 0 [] hascfu: 0 []
  216. > dialparties.agi: Built External dialstring component for 1000: Local/1000@from-internal/n
  217. > dialparties.agi: extnum DONGLE SIM# has: cw: 0; hascfb: 0 [] hascfu: 0 []
  218. > dialparties.agi: Built External dialstring component for DONGLE SIM: Local/DONGLE SIM@from-internal/n
  219. -- dialparties.agi: Filtered ARG3: 1000-DONGLE SIM
  220. > dialparties.agi: NODEST: 600 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
  221. > dialparties.agi: NODEST: 600 blkvm enabled macro already in dialopts: trM(auto-blkvm)
  222. -- <Motif/+MY CELL NUMBER-b9e6>AGI Script dialparties.agi completed, returning 0
  223. -- Executing [s@macro-dial:7] Dial("Motif/+MY CELL NUMBER-b9e6", "Local/1000@from-internal/n&Local/DONGLE SIM@from-internal/n,20,trM(auto-blkvm)") in new stack
  224. -- Called Local/1000@from-internal/n
  225. -- Called Local/DONGLE SIM@from-internal/n
  226. -- Executing [DONGLE SIM@from-internal:1] Macro("Local/DONGLE SIM@from-internal-0000004b;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
  227. -- Executing [s@macro-user-callerid:1] Set("Local/DONGLE SIM@from-internal-0000004b;2", "TOUCH_MONITOR=1397704755.192") in new stack
  228. -- Executing [1000@from-internal:1] Set("Local/1000@from-internal-0000004a;2", "__RINGTIMER=15") in new stack
  229. -- Executing [1000@from-internal:2] Macro("Local/1000@from-internal-0000004a;2", "exten-vm,1000,1000,1,1,1") in new stack
  230. -- Executing [s@macro-user-callerid:2] Set("Local/DONGLE SIM@from-internal-0000004b;2", "AMPUSER=MY CELL NUMBER") in new stack
  231. -- Executing [s@macro-exten-vm:1] Macro("Local/1000@from-internal-0000004a;2", "user-callerid,") in new stack
  232. -- Executing [s@macro-user-callerid:1] Set("Local/1000@from-internal-0000004a;2", "TOUCH_MONITOR=1397704755.190") in new stack
  233. -- Executing [s@macro-user-callerid:3] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?report") in new stack
  234. -- Executing [s@macro-user-callerid:4] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  235. -- Executing [s@macro-user-callerid:5] Set("Local/DONGLE SIM@from-internal-0000004b;2", "AMPUSER=") in new stack
  236. -- Executing [s@macro-user-callerid:6] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?limit") in new stack
  237. -- Executing [s@macro-user-callerid:7] Set("Local/DONGLE SIM@from-internal-0000004b;2", "AMPUSERCIDNAME=") in new stack
  238. -- Executing [s@macro-user-callerid:8] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?report") in new stack
  239. -- Executing [s@macro-user-callerid:2] Set("Local/1000@from-internal-0000004a;2", "AMPUSER=MY CELL NUMBER") in new stack
  240. -- Executing [s@macro-user-callerid:3] GotoIf("Local/1000@from-internal-0000004a;2", "0?report") in new stack
  241. -- Executing [s@macro-user-callerid:4] ExecIf("Local/1000@from-internal-0000004a;2", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  242. -- Executing [s@macro-user-callerid:5] Set("Local/1000@from-internal-0000004a;2", "AMPUSER=") in new stack
  243. -- Executing [s@macro-user-callerid:6] GotoIf("Local/1000@from-internal-0000004a;2", "0?limit") in new stack
  244. -- Executing [s@macro-user-callerid:7] Set("Local/1000@from-internal-0000004a;2", "AMPUSERCIDNAME=") in new stack
  245. -- Executing [s@macro-user-callerid:8] GotoIf("Local/1000@from-internal-0000004a;2", "1?report") in new stack
  246. -- Goto (macro-user-callerid,s,16)
  247. -- Executing [s@macro-user-callerid:16] GotoIf("Local/1000@from-internal-0000004a;2", "0?continue") in new stack
  248. -- Executing [s@macro-user-callerid:17] ExecIf("Local/1000@from-internal-0000004a;2", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  249. -- Goto (macro-user-callerid,s,16)
  250. -- Executing [s@macro-user-callerid:16] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?continue") in new stack
  251. -- Goto (macro-user-callerid,s,30)
  252. -- Executing [s@macro-user-callerid:30] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  253. -- Executing [s@macro-user-callerid:31] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  254. -- Executing [s@macro-user-callerid:32] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  255. -- Executing [s@macro-user-callerid:33] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  256. -- Executing [s@macro-user-callerid:34] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CHANNEL(language)=en") in new stack
  257. -- Executing [DONGLE SIM@from-internal:2] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0 ?Set(CDR(accountcode)=)") in new stack
  258. -- Executing [DONGLE SIM@from-internal:3] Set("Local/DONGLE SIM@from-internal-0000004b;2", "ROUTE_CIDSAVE="MY CELL NUMBER" <MY CELL NUMBER>") in new stack
  259. -- Executing [s@macro-user-callerid:18] Set("Local/1000@from-internal-0000004a;2", "__TTL=63") in new stack
  260. -- Executing [s@macro-user-callerid:19] GotoIf("Local/1000@from-internal-0000004a;2", "1?continue") in new stack
  261. -- Goto (macro-user-callerid,s,30)
  262. -- Executing [s@macro-user-callerid:30] Set("Local/1000@from-internal-0000004a;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  263. -- Executing [s@macro-user-callerid:31] Set("Local/1000@from-internal-0000004a;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  264. -- Executing [s@macro-user-callerid:32] Set("Local/1000@from-internal-0000004a;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  265. -- Executing [s@macro-user-callerid:33] Set("Local/1000@from-internal-0000004a;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  266. -- Executing [DONGLE SIM@from-internal:4] Set("Local/DONGLE SIM@from-internal-0000004b;2", "MOHCLASS=default") in new stack
  267. -- Executing [s@macro-user-callerid:34] Set("Local/1000@from-internal-0000004a;2", "CHANNEL(language)=en") in new stack
  268. -- Executing [s@macro-exten-vm:2] Set("Local/1000@from-internal-0000004a;2", "RingGroupMethod=none") in new stack
  269. -- Executing [s@macro-exten-vm:3] Set("Local/1000@from-internal-0000004a;2", "__EXTTOCALL=1000") in new stack
  270. -- Executing [s@macro-exten-vm:4] Set("Local/1000@from-internal-0000004a;2", "__PICKUPMARK=1000") in new stack
  271. -- Executing [s@macro-exten-vm:5] Set("Local/1000@from-internal-0000004a;2", "RT=15") in new stack
  272. [2014-04-17 08:49:15] WARNING[7075][C-00000015]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  273. -- Executing [s@macro-exten-vm:6] ExecIf("Local/1000@from-internal-0000004a;2", "0?Macro(vm,1000,DIRECTDIAL,)") in new stack
  274. [2014-04-17 08:49:15] WARNING[7075][C-00000015]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  275. [2014-04-17 08:49:15] WARNING[7075][C-00000015]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  276. -- Executing [s@macro-exten-vm:7] ExecIf("Local/1000@from-internal-0000004a;2", "0?MacroExit()") in new stack
  277. -- Executing [DONGLE SIM@from-internal:5] Set("Local/DONGLE SIM@from-internal-0000004b;2", "_NODEST=") in new stack
  278. -- Executing [DONGLE SIM@from-internal:6] Gosub("Local/DONGLE SIM@from-internal-0000004b;2", "sub-record-check,s,1(out,DONGLE SIM,)") in new stack
  279. -- Executing [s@sub-record-check:1] Set("Local/DONGLE SIM@from-internal-0000004b;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  280. -- Executing [s@sub-record-check:2] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?check") in new stack
  281. -- Goto (sub-record-check,s,7)
  282. -- Executing [s@sub-record-check:7] Set("Local/DONGLE SIM@from-internal-0000004b;2", "__MON_FMT=wav") in new stack
  283. -- Executing [s@sub-record-check:8] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?next") in new stack
  284. -- Goto (sub-record-check,s,11)
  285. -- Executing [s@sub-record-check:11] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Return()") in new stack
  286. -- Executing [s@sub-record-check:12] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  287. [2014-04-17 08:49:15] WARNING[7075][C-00000015]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  288. -- Executing [s@macro-exten-vm:8] Gosub("Local/1000@from-internal-0000004a;2", "sub-record-check,s,1(exten,1000,)") in new stack
  289. -- Executing [s@sub-record-check:1] Set("Local/1000@from-internal-0000004a;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  290. -- Executing [s@sub-record-check:13] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?out,1") in new stack
  291. -- Goto (sub-record-check,out,1)
  292. -- Executing [out@sub-record-check:1] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  293. -- Executing [s@sub-record-check:2] GotoIf("Local/1000@from-internal-0000004a;2", "1?check") in new stack
  294. -- Goto (sub-record-check,s,7)
  295. -- Executing [s@sub-record-check:7] Set("Local/1000@from-internal-0000004a;2", "__MON_FMT=wav") in new stack
  296. -- Executing [s@sub-record-check:8] GotoIf("Local/1000@from-internal-0000004a;2", "1?next") in new stack
  297. -- Goto (sub-record-check,s,11)
  298. -- Executing [out@sub-record-check:2] GosubIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?record,1(exten,DONGLE SIM,MY CELL NUMBER)") in new stack
  299. -- Executing [out@sub-record-check:3] Return("Local/DONGLE SIM@from-internal-0000004b;2", "") in new stack
  300. -- Executing [DONGLE SIM@from-internal:7] Macro("Local/DONGLE SIM@from-internal-0000004b;2", "dialout-trunk,2,DONGLE SIM,,off") in new stack
  301. -- Executing [s@macro-dialout-trunk:1] Set("Local/DONGLE SIM@from-internal-0000004b;2", "DIAL_TRUNK=2") in new stack
  302. -- Executing [s@sub-record-check:11] ExecIf("Local/1000@from-internal-0000004a;2", "0?Return()") in new stack
  303. -- Executing [s@sub-record-check:12] ExecIf("Local/1000@from-internal-0000004a;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  304. -- Executing [s@sub-record-check:13] GotoIf("Local/1000@from-internal-0000004a;2", "1?exten,1") in new stack
  305. -- Goto (sub-record-check,exten,1)
  306. -- Executing [exten@sub-record-check:1] GotoIf("Local/1000@from-internal-0000004a;2", "1?callee") in new stack
  307. -- Goto (sub-record-check,exten,8)
  308. -- Executing [exten@sub-record-check:8] GosubIf("Local/1000@from-internal-0000004a;2", "0?record,1(exten,1000,MY CELL NUMBER)") in new stack
  309. -- Executing [exten@sub-record-check:9] Return("Local/1000@from-internal-0000004a;2", "") in new stack
  310. -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?sub-pincheck,s,1()") in new stack
  311. -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?disabletrunk,1") in new stack
  312. -- Executing [s@macro-dialout-trunk:4] Set("Local/DONGLE SIM@from-internal-0000004b;2", "DIAL_NUMBER=DONGLE SIM") in new stack
  313. -- Executing [s@macro-dialout-trunk:5] Set("Local/DONGLE SIM@from-internal-0000004b;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
  314. -- Executing [s@macro-dialout-trunk:6] Set("Local/DONGLE SIM@from-internal-0000004b;2", "OUTBOUND_GROUP=OUT_2") in new stack
  315. -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?nomax") in new stack
  316. -- Executing [s@macro-dialout-trunk:8] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?chanfull") in new stack
  317. -- Executing [s@macro-exten-vm:9] GotoIf("Local/1000@from-internal-0000004a;2", "1?macrodial") in new stack
  318. -- Goto (macro-exten-vm,s,15)
  319. -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?skipoutcid") in new stack
  320. -- Executing [s@macro-dialout-trunk:10] Set("Local/DONGLE SIM@from-internal-0000004b;2", "DIAL_TRUNK_OPTIONS=") in new stack
  321. -- Executing [s@macro-dialout-trunk:11] Macro("Local/DONGLE SIM@from-internal-0000004b;2", "outbound-callerid,2") in new stack
  322. -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
  323. -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  324. -- Executing [s@macro-exten-vm:15] GosubIf("Local/1000@from-internal-0000004a;2", "0?clrheader,1()") in new stack
  325. -- Executing [s@macro-exten-vm:16] Macro("Local/1000@from-internal-0000004a;2", "dial-one,15,tr,1000") in new stack
  326. -- Executing [s@macro-dial-one:1] Set("Local/1000@from-internal-0000004a;2", "DEXTEN=1000") in new stack
  327. -- Executing [s@macro-dial-one:2] Set("Local/1000@from-internal-0000004a;2", "DIALSTATUS_CW=") in new stack
  328. -- Executing [s@macro-dial-one:3] GosubIf("Local/1000@from-internal-0000004a;2", "0?screen,1()") in new stack
  329. -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?normcid") in new stack
  330. -- Executing [s@macro-outbound-callerid:4] Set("Local/DONGLE SIM@from-internal-0000004b;2", "USEROUTCID=MY CELL NUMBER") in new stack
  331. -- Executing [s@macro-dial-one:4] GosubIf("Local/1000@from-internal-0000004a;2", "0?cf,1()") in new stack
  332. -- Executing [s@macro-outbound-callerid:5] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?bypass") in new stack
  333. -- Goto (macro-outbound-callerid,s,7)
  334. -- Executing [s@macro-outbound-callerid:7] Set("Local/DONGLE SIM@from-internal-0000004b;2", "EMERGENCYCID=") in new stack
  335. -- Executing [s@macro-outbound-callerid:8] Set("Local/DONGLE SIM@from-internal-0000004b;2", "TRUNKOUTCID=+DONGLE SIM") in new stack
  336. -- Executing [s@macro-dial-one:5] GotoIf("Local/1000@from-internal-0000004a;2", "1?skip1") in new stack
  337. -- Goto (macro-dial-one,s,8)
  338. -- Executing [s@macro-dial-one:8] GotoIf("Local/1000@from-internal-0000004a;2", "0?nodial") in new stack
  339. -- Executing [s@macro-dial-one:9] GotoIf("Local/1000@from-internal-0000004a;2", "0?continue") in new stack
  340. -- Executing [s@macro-dial-one:10] Set("Local/1000@from-internal-0000004a;2", "EXTHASCW=ENABLED") in new stack
  341. -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?trunkcid") in new stack
  342. -- Goto (macro-outbound-callerid,s,14)
  343. -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?Set(CALLERID(all)=+DONGLE SIM)") in new stack
  344. -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?Set(CALLERID(all)=MY CELL NUMBER)") in new stack
  345. -- Executing [s@macro-outbound-callerid:16] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(CALLERID(all)=)") in new stack
  346. -- Executing [s@macro-dial-one:11] GotoIf("Local/1000@from-internal-0000004a;2", "0?next1:cwinusebusy") in new stack
  347. -- Goto (macro-dial-one,s,23)
  348. -- Executing [s@macro-dial-one:23] GotoIf("Local/1000@from-internal-0000004a;2", "1?next3:continue") in new stack
  349. -- Goto (macro-dial-one,s,24)
  350. -- Executing [s@macro-dial-one:24] ExecIf("Local/1000@from-internal-0000004a;2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
  351. -- Executing [s@macro-dial-one:25] GotoIf("Local/1000@from-internal-0000004a;2", "0?nodial") in new stack
  352. -- Executing [s@macro-dial-one:26] GosubIf("Local/1000@from-internal-0000004a;2", "1?dstring,1():dlocal,1()") in new stack
  353. -- Executing [s@macro-outbound-callerid:17] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  354. -- Executing [s@macro-outbound-callerid:18] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CDR(outbound_cnum)=MY CELL NUMBER") in new stack
  355. -- Executing [s@macro-outbound-callerid:19] Set("Local/DONGLE SIM@from-internal-0000004b;2", "CDR(outbound_cnam)=") in new stack
  356. -- Executing [s@macro-dialout-trunk:12] GosubIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?sub-flp-2,s,1()") in new stack
  357. -- Executing [s@sub-flp-2:1] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?Return()") in new stack
  358. -- Executing [dstring@macro-dial-one:1] Set("Local/1000@from-internal-0000004a;2", "DSTRING=") in new stack
  359. -- Executing [dstring@macro-dial-one:2] Set("Local/1000@from-internal-0000004a;2", "DEVICES=1000") in new stack
  360. -- Executing [dstring@macro-dial-one:3] ExecIf("Local/1000@from-internal-0000004a;2", "0?Return()") in new stack
  361. -- Executing [dstring@macro-dial-one:4] ExecIf("Local/1000@from-internal-0000004a;2", "0?Set(DEVICES=000)") in new stack
  362. -- Executing [dstring@macro-dial-one:5] Set("Local/1000@from-internal-0000004a;2", "LOOPCNT=1") in new stack
  363. -- Executing [dstring@macro-dial-one:6] Set("Local/1000@from-internal-0000004a;2", "ITER=1") in new stack
  364. -- Executing [dstring@macro-dial-one:7] Set("Local/1000@from-internal-0000004a;2", "THISDIAL=SIP/1000") in new stack
  365. -- Executing [dstring@macro-dial-one:8] GosubIf("Local/1000@from-internal-0000004a;2", "1?zap2dahdi,1()") in new stack
  366. -- Executing [s@macro-dialout-trunk:13] Set("Local/DONGLE SIM@from-internal-0000004b;2", "OUTNUM=DONGLE SIM") in new stack
  367. -- Executing [s@macro-dialout-trunk:14] Set("Local/DONGLE SIM@from-internal-0000004b;2", "custom=AMP") in new stack
  368. -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
  369. -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
  370. -- Executing [s@macro-dialout-trunk:17] Macro("Local/DONGLE SIM@from-internal-0000004b;2", "dialout-trunk-predial-hook,") in new stack
  371. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/DONGLE SIM@from-internal-0000004b;2", "") in new stack
  372. -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/1000@from-internal-0000004a;2", "0?Return()") in new stack
  373. -- Executing [zap2dahdi@macro-dial-one:2] Set("Local/1000@from-internal-0000004a;2", "NEWDIAL=") in new stack
  374. -- Executing [zap2dahdi@macro-dial-one:3] Set("Local/1000@from-internal-0000004a;2", "LOOPCNT2=1") in new stack
  375. -- Executing [zap2dahdi@macro-dial-one:4] Set("Local/1000@from-internal-0000004a;2", "ITER2=1") in new stack
  376. -- Executing [zap2dahdi@macro-dial-one:5] Set("Local/1000@from-internal-0000004a;2", "THISPART2=SIP/1000") in new stack
  377. -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/1000@from-internal-0000004a;2", "0?Set(THISPART2=DAHDI/1000)") in new stack
  378. -- Executing [zap2dahdi@macro-dial-one:7] Set("Local/1000@from-internal-0000004a;2", "NEWDIAL=SIP/1000&") in new stack
  379. -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?bypass,1") in new stack
  380. -- Executing [zap2dahdi@macro-dial-one:8] Set("Local/1000@from-internal-0000004a;2", "ITER2=2") in new stack
  381. -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/1000@from-internal-0000004a;2", "0?begin2") in new stack
  382. -- Executing [zap2dahdi@macro-dial-one:10] Set("Local/1000@from-internal-0000004a;2", "THISDIAL=SIP/1000") in new stack
  383. -- Executing [zap2dahdi@macro-dial-one:11] Return("Local/1000@from-internal-0000004a;2", "") in new stack
  384. -- Executing [s@macro-dialout-trunk:19] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(CONNECTEDLINE(num,i)=DONGLE SIM)") in new stack
  385. -- Executing [s@macro-dialout-trunk:20] ExecIf("Local/DONGLE SIM@from-internal-0000004b;2", "0?Set(CONNECTEDLINE(name,i)=CID:MY CELL NUMBER)") in new stack
  386. -- Executing [dstring@macro-dial-one:9] Set("Local/1000@from-internal-0000004a;2", "DSTRING=SIP/1000&") in new stack
  387. -- Executing [dstring@macro-dial-one:10] Set("Local/1000@from-internal-0000004a;2", "ITER=2") in new stack
  388. -- Executing [dstring@macro-dial-one:11] GotoIf("Local/1000@from-internal-0000004a;2", "0?begin") in new stack
  389. -- Executing [dstring@macro-dial-one:12] Set("Local/1000@from-internal-0000004a;2", "DSTRING=SIP/1000") in new stack
  390. -- Executing [s@macro-dialout-trunk:21] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?customtrunk") in new stack
  391. -- Goto (macro-dialout-trunk,s,25)
  392. -- Executing [s@macro-dialout-trunk:25] Set("Local/DONGLE SIM@from-internal-0000004b;2", "pre_num=AMP:dongle/dongle0/") in new stack
  393. -- Executing [s@macro-dialout-trunk:26] Set("Local/DONGLE SIM@from-internal-0000004b;2", "the_num=OUTNUM") in new stack
  394. -- Executing [s@macro-dialout-trunk:27] Set("Local/DONGLE SIM@from-internal-0000004b;2", "post_num=") in new stack
  395. -- Executing [s@macro-dialout-trunk:28] GotoIf("Local/DONGLE SIM@from-internal-0000004b;2", "1?outnum:skipoutnum") in new stack
  396. -- Goto (macro-dialout-trunk,s,29)
  397. -- Executing [s@macro-dialout-trunk:29] Set("Local/DONGLE SIM@from-internal-0000004b;2", "the_num=DONGLE SIM") in new stack
  398. -- Executing [s@macro-dialout-trunk:30] Dial("Local/DONGLE SIM@from-internal-0000004b;2", "dongle/dongle0/DONGLE SIM,300,") in new stack
  399. -- Executing [dstring@macro-dial-one:13] Return("Local/1000@from-internal-0000004a;2", "") in new stack
  400. -- Executing [s@macro-dial-one:27] GotoIf("Local/1000@from-internal-0000004a;2", "0?nodial") in new stack
  401. -- Executing [s@macro-dial-one:28] GotoIf("Local/1000@from-internal-0000004a;2", "0?skiptrace") in new stack
  402. -- Executing [s@macro-dial-one:29] GosubIf("Local/1000@from-internal-0000004a;2", "1?ctset,1():ctclear,1()") in new stack
  403. -- Executing [ctset@macro-dial-one:1] Set("Local/1000@from-internal-0000004a;2", "DB(CALLTRACE/1000)=MY CELL NUMBER") in new stack
  404. -- Executing [ctset@macro-dial-one:2] Return("Local/1000@from-internal-0000004a;2", "") in new stack
  405. -- Executing [s@macro-dial-one:30] Set("Local/1000@from-internal-0000004a;2", "D_OPTIONS=trM(auto-blkvm)") in new stack
  406. -- Executing [s@macro-dial-one:31] ExecIf("Local/1000@from-internal-0000004a;2", "0?SIPAddHeader(Alert-Info: )") in new stack
  407. -- Called dongle/dongle0/DONGLE SIM
  408. -- Executing [s@macro-dial-one:32] ExecIf("Local/1000@from-internal-0000004a;2", "0?SIPAddHeader()") in new stack
  409. -- Dongle/dongle0-010000001c is making progress passing it to Local/DONGLE SIM@from-internal-0000004b;2
  410. -- Executing [s@macro-dial-one:33] ExecIf("Local/1000@from-internal-0000004a;2", "1?Set(CHANNEL(musicclass)=default)") in new stack
  411. -- Executing [s@macro-dial-one:34] GosubIf("Local/1000@from-internal-0000004a;2", "0?qwait,1()") in new stack
  412. -- Local/DONGLE SIM@from-internal-0000004b;1 is making progress passing it to Motif/+MY CELL NUMBER-b9e6
  413. -- Executing [s@macro-dial-one:35] Set("Local/1000@from-internal-0000004a;2", "__CWIGNORE=") in new stack
  414. -- Executing [s@macro-dial-one:36] Set("Local/1000@from-internal-0000004a;2", "__KEEPCID=TRUE") in new stack
  415. -- Executing [s@macro-dial-one:37] GotoIf("Local/1000@from-internal-0000004a;2", "0?usegoto,1") in new stack
  416. -- Executing [s@macro-dial-one:38] GotoIf("Local/1000@from-internal-0000004a;2", "1?godial") in new stack
  417. -- Goto (macro-dial-one,s,43)
  418. -- Executing [s@macro-dial-one:43] Dial("Local/1000@from-internal-0000004a;2", "SIP/1000,15,trM(auto-blkvm)") in new stack
  419. [2014-04-17 08:49:16] WARNING[7075][C-00000015]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  420. == Everyone is busy/congested at this time (1:0/0/1)
  421. -- Executing [s@macro-dial-one:44] ExecIf("Local/1000@from-internal-0000004a;2", "0?MacroExit()") in new stack
  422. -- Executing [s@macro-dial-one:45] ExecIf("Local/1000@from-internal-0000004a;2", "0?Set(DIALSTATUS=)") in new stack
  423. -- Executing [s@macro-dial-one:46] GosubIf("Local/1000@from-internal-0000004a;2", "0?s-CHANUNAVAIL,1()") in new stack
  424. -- Executing [s@macro-dial-one:47] MacroExit("Local/1000@from-internal-0000004a;2", "") in new stack
  425. -- Executing [s@macro-exten-vm:17] Set("Local/1000@from-internal-0000004a;2", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
  426. -- Executing [s@macro-exten-vm:18] GosubIf("Local/1000@from-internal-0000004a;2", "0?docfu,1()") in new stack
  427. -- Executing [s@macro-exten-vm:19] GosubIf("Local/1000@from-internal-0000004a;2", "0?docfb,1()") in new stack
  428. -- Executing [s@macro-exten-vm:20] Set("Local/1000@from-internal-0000004a;2", "DIALSTATUS=CHANUNAVAIL") in new stack
  429. -- Executing [s@macro-exten-vm:21] ExecIf("Local/1000@from-internal-0000004a;2", "1?MacroExit()") in new stack
  430. -- Executing [1000@from-internal:3] Set("Local/1000@from-internal-0000004a;2", "__PICKUPMARK=") in new stack
  431. -- Executing [1000@from-internal:4] GotoIf("Local/1000@from-internal-0000004a;2", "0?ivr-1,s,1") in new stack
  432. -- Executing [1000@from-internal:5] GotoIf("Local/1000@from-internal-0000004a;2", "0?ivr-1,s,1") in new stack
  433. -- Executing [1000@from-internal:6] GotoIf("Local/1000@from-internal-0000004a;2", "1?ivr-1,s,1") in new stack
  434. -- Goto (ivr-1,s,1)
  435. -- Executing [s@ivr-1:1] Set("Local/1000@from-internal-0000004a;2", "TIMEOUT_LOOPCOUNT=0") in new stack
  436. -- Executing [s@ivr-1:2] Set("Local/1000@from-internal-0000004a;2", "INVALID_LOOPCOUNT=0") in new stack
  437. -- Executing [s@ivr-1:3] Set("Local/1000@from-internal-0000004a;2", "_IVR_CONTEXT_ivr-1=") in new stack
  438. -- Executing [s@ivr-1:4] Set("Local/1000@from-internal-0000004a;2", "_IVR_CONTEXT=ivr-1") in new stack
  439. -- Executing [s@ivr-1:5] Set("Local/1000@from-internal-0000004a;2", "__IVR_RETVM=") in new stack
  440. -- Executing [s@ivr-1:6] GotoIf("Local/1000@from-internal-0000004a;2", "0?skip") in new stack
  441. -- Executing [s@ivr-1:7] Answer("Local/1000@from-internal-0000004a;2", "") in new stack
  442. -- Local/1000@from-internal-0000004a;1 answered Motif/+MY CELL NUMBER-b9e6
  443. == Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004b;2' in macro 'dialout-trunk'
  444. -- Executing [s@macro-auto-blkvm:1] Set("Local/1000@from-internal-0000004a;1", "__MACRO_RESULT=") in new stack
  445. -- Executing [s@macro-auto-blkvm:2] Set("Local/1000@from-internal-0000004a;1", "CFIGNORE=") in new stack
  446. -- Executing [s@macro-auto-blkvm:3] Set("Local/1000@from-internal-0000004a;1", "MASTER_CHANNEL(CFIGNORE)=") in new stack
  447. == Spawn extension (from-internal, DONGLE SIM, 7) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004b;2'
  448. -- Executing [s@macro-auto-blkvm:4] Set("Local/1000@from-internal-0000004a;1", "FORWARD_CONTEXT=from-internal") in new stack
  449. -- Executing [s@macro-auto-blkvm:5] Set("Local/1000@from-internal-0000004a;1", "MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal") in new stack
  450. -- Executing [s@macro-auto-blkvm:6] Macro("Local/1000@from-internal-0000004a;1", "blkvm-clr,") in new stack
  451. -- Executing [s@macro-blkvm-clr:1] Set("Local/1000@from-internal-0000004a;1", "SHARED(BLKVM,Motif/+MY CELL NUMBER-b9e6)=") in new stack
  452. -- Executing [h@from-internal:1] Hangup("Local/DONGLE SIM@from-internal-0000004b;2", "") in new stack
  453. == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004b;2'
  454. -- Executing [s@macro-blkvm-clr:2] Set("Local/1000@from-internal-0000004a;1", "GOSUB_RETVAL=") in new stack
  455. -- Executing [s@macro-blkvm-clr:3] MacroExit("Local/1000@from-internal-0000004a;1", "") in new stack
  456. -- Executing [s@macro-auto-blkvm:7] ExecIf("Local/1000@from-internal-0000004a;1", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=1000@from-internal/n)") in new stack
  457. -- Executing [s@macro-auto-blkvm:8] ExecIf("Local/1000@from-internal-0000004a;1", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=)") in new stack
  458. -- Executing [s@ivr-1:8] Wait("Local/1000@from-internal-0000004a;2", "1") in new stack
  459. -- Executing [s@ivr-1:9] Set("Local/1000@from-internal-0000004a;2", "IVR_MSG=en/thanks-for-calling-today") in new stack
  460. -- Executing [s@ivr-1:10] Set("Local/1000@from-internal-0000004a;2", "TIMEOUT(digit)=3") in new stack
  461. -- Digit timeout set to 3.000
  462. -- Executing [s@ivr-1:11] ExecIf("Local/1000@from-internal-0000004a;2", "1?Background(en/thanks-for-calling-today)") in new stack
  463. -- <Local/1000@from-internal-0000004a;2> Playing 'en/thanks-for-calling-today.ulaw' (language 'en')
  464. -- Executing [s@ivr-1:12] WaitExten("Local/1000@from-internal-0000004a;2", "10,") in new stack
  465. == CDR updated on Local/1000@from-internal-0000004a;2
  466. -- Executing [1@ivr-1:1] Goto("Local/1000@from-internal-0000004a;2", "disa,1,1") in new stack
  467. -- Goto (disa,1,1)
  468. -- Executing [1@disa:1] Authenticate("Local/1000@from-internal-0000004a;2", "12090,") in new stack
  469. -- <Local/1000@from-internal-0000004a;2> Playing 'agent-pass.ulaw' (language 'en')
  470. -- <Local/1000@from-internal-0000004a;2> Playing 'auth-thankyou.ulaw' (language 'en')
  471. -- Executing [1@disa:2] Set("Local/1000@from-internal-0000004a;2", "_DISA=disa^1^newcall") in new stack
  472. -- Executing [1@disa:3] Set("Local/1000@from-internal-0000004a;2", "_DISACONTEXT=from-internal") in new stack
  473. -- Executing [1@disa:4] Set("Local/1000@from-internal-0000004a;2", "_KEEPCID=TRUE") in new stack
  474. -- Executing [1@disa:5] Set("Local/1000@from-internal-0000004a;2", "_HANGUP=Hg") in new stack
  475. -- Executing [1@disa:6] Set("Local/1000@from-internal-0000004a;2", "TIMEOUT(digit)=5") in new stack
  476. -- Digit timeout set to 5.000
  477. -- Executing [1@disa:7] Set("Local/1000@from-internal-0000004a;2", "TIMEOUT(response)=10") in new stack
  478. -- Response timeout set to 10.000
  479. -- Executing [1@disa:8] DISA("Local/1000@from-internal-0000004a;2", "no-password,disa-dial") in new stack
  480. -- Executing [MY CELL NUMBER@disa-dial:1] NoOp("Local/1000@from-internal-0000004a;2", "called MY CELL NUMBER in from-internal by ID: 1") in new stack
  481. -- Executing [MY CELL NUMBER@disa-dial:2] Dial("Local/1000@from-internal-0000004a;2", "Local/MY CELL NUMBER@from-internal,300,Hg") in new stack
  482. -- Called Local/MY CELL NUMBER@from-internal
  483. -- Local/1000@from-internal-0000004a;2 requested media update control 20, passing it to Local/MY CELL NUMBER@from-internal-0000004c;1
  484. -- Executing [MY CELL NUMBER@from-internal:1] Macro("Local/MY CELL NUMBER@from-internal-0000004c;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
  485. -- Executing [s@macro-user-callerid:1] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "TOUCH_MONITOR=1397704783.195") in new stack
  486. -- Executing [s@macro-user-callerid:2] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "AMPUSER=MY CELL NUMBER") in new stack
  487. -- Executing [s@macro-user-callerid:3] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?report") in new stack
  488. -- Executing [s@macro-user-callerid:4] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  489. -- Executing [s@macro-user-callerid:5] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "AMPUSER=") in new stack
  490. -- Executing [s@macro-user-callerid:6] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?limit") in new stack
  491. -- Executing [s@macro-user-callerid:7] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "AMPUSERCIDNAME=") in new stack
  492. -- Executing [s@macro-user-callerid:8] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?report") in new stack
  493. -- Goto (macro-user-callerid,s,16)
  494. -- Executing [s@macro-user-callerid:16] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?continue") in new stack
  495. -- Goto (macro-user-callerid,s,30)
  496. -- Executing [s@macro-user-callerid:30] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  497. -- Executing [s@macro-user-callerid:31] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  498. -- Executing [s@macro-user-callerid:32] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  499. -- Executing [s@macro-user-callerid:33] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  500. -- Executing [s@macro-user-callerid:34] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CHANNEL(language)=en") in new stack
  501. -- Executing [MY CELL NUMBER@from-internal:2] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0 ?Set(CDR(accountcode)=)") in new stack
  502. -- Executing [MY CELL NUMBER@from-internal:3] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "ROUTE_CIDSAVE="MY CELL NUMBER" <MY CELL NUMBER>") in new stack
  503. -- Executing [MY CELL NUMBER@from-internal:4] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "MOHCLASS=default") in new stack
  504. -- Executing [MY CELL NUMBER@from-internal:5] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "_NODEST=") in new stack
  505. -- Executing [MY CELL NUMBER@from-internal:6] Gosub("Local/MY CELL NUMBER@from-internal-0000004c;2", "sub-record-check,s,1(out,MY CELL NUMBER,)") in new stack
  506. -- Executing [s@sub-record-check:1] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  507. -- Executing [s@sub-record-check:2] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?check") in new stack
  508. -- Goto (sub-record-check,s,7)
  509. -- Executing [s@sub-record-check:7] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "__MON_FMT=wav") in new stack
  510. -- Executing [s@sub-record-check:8] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?next") in new stack
  511. -- Goto (sub-record-check,s,11)
  512. -- Executing [s@sub-record-check:11] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Return()") in new stack
  513. -- Executing [s@sub-record-check:12] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  514. -- Executing [s@sub-record-check:13] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?out,1") in new stack
  515. -- Goto (sub-record-check,out,1)
  516. -- Executing [out@sub-record-check:1] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  517. -- Executing [out@sub-record-check:2] GosubIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?record,1(exten,MY CELL NUMBER,MY CELL NUMBER)") in new stack
  518. -- Executing [out@sub-record-check:3] Return("Local/MY CELL NUMBER@from-internal-0000004c;2", "") in new stack
  519. -- Executing [MY CELL NUMBER@from-internal:7] Macro("Local/MY CELL NUMBER@from-internal-0000004c;2", "dialout-trunk,2,MY CELL NUMBER,,off") in new stack
  520. -- Executing [s@macro-dialout-trunk:1] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "DIAL_TRUNK=2") in new stack
  521. -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?sub-pincheck,s,1()") in new stack
  522. -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?disabletrunk,1") in new stack
  523. -- Executing [s@macro-dialout-trunk:4] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "DIAL_NUMBER=MY CELL NUMBER") in new stack
  524. -- Executing [s@macro-dialout-trunk:5] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
  525. -- Executing [s@macro-dialout-trunk:6] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "OUTBOUND_GROUP=OUT_2") in new stack
  526. -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?nomax") in new stack
  527. -- Executing [s@macro-dialout-trunk:8] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?chanfull") in new stack
  528. -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?skipoutcid") in new stack
  529. -- Executing [s@macro-dialout-trunk:10] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "DIAL_TRUNK_OPTIONS=") in new stack
  530. -- Executing [s@macro-dialout-trunk:11] Macro("Local/MY CELL NUMBER@from-internal-0000004c;2", "outbound-callerid,2") in new stack
  531. -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
  532. -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  533. -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?normcid") in new stack
  534. -- Executing [s@macro-outbound-callerid:4] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "USEROUTCID=MY CELL NUMBER") in new stack
  535. -- Executing [s@macro-outbound-callerid:5] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?bypass") in new stack
  536. -- Goto (macro-outbound-callerid,s,7)
  537. -- Executing [s@macro-outbound-callerid:7] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "EMERGENCYCID=") in new stack
  538. -- Executing [s@macro-outbound-callerid:8] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "TRUNKOUTCID=+DONGLE SIM") in new stack
  539. -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?trunkcid") in new stack
  540. -- Goto (macro-outbound-callerid,s,14)
  541. -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?Set(CALLERID(all)=+DONGLE SIM)") in new stack
  542. -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?Set(CALLERID(all)=MY CELL NUMBER)") in new stack
  543. -- Executing [s@macro-outbound-callerid:16] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(CALLERID(all)=)") in new stack
  544. -- Executing [s@macro-outbound-callerid:17] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  545. -- Executing [s@macro-outbound-callerid:18] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CDR(outbound_cnum)=MY CELL NUMBER") in new stack
  546. -- Executing [s@macro-outbound-callerid:19] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "CDR(outbound_cnam)=") in new stack
  547. -- Executing [s@macro-dialout-trunk:12] GosubIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?sub-flp-2,s,1()") in new stack
  548. -- Executing [s@sub-flp-2:1] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?Return()") in new stack
  549. -- Executing [s@macro-dialout-trunk:13] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "OUTNUM=MY CELL NUMBER") in new stack
  550. -- Executing [s@macro-dialout-trunk:14] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "custom=AMP") in new stack
  551. -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
  552. -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
  553. -- Executing [s@macro-dialout-trunk:17] Macro("Local/MY CELL NUMBER@from-internal-0000004c;2", "dialout-trunk-predial-hook,") in new stack
  554. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/MY CELL NUMBER@from-internal-0000004c;2", "") in new stack
  555. -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?bypass,1") in new stack
  556. -- Executing [s@macro-dialout-trunk:19] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(CONNECTEDLINE(num,i)=MY CELL NUMBER)") in new stack
  557. -- Executing [s@macro-dialout-trunk:20] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(CONNECTEDLINE(name,i)=CID:MY CELL NUMBER)") in new stack
  558. -- Executing [s@macro-dialout-trunk:21] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?customtrunk") in new stack
  559. -- Goto (macro-dialout-trunk,s,25)
  560. -- Executing [s@macro-dialout-trunk:25] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "pre_num=AMP:dongle/dongle0/") in new stack
  561. -- Executing [s@macro-dialout-trunk:26] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "the_num=OUTNUM") in new stack
  562. -- Executing [s@macro-dialout-trunk:27] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "post_num=") in new stack
  563. -- Executing [s@macro-dialout-trunk:28] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?outnum:skipoutnum") in new stack
  564. -- Goto (macro-dialout-trunk,s,29)
  565. -- Executing [s@macro-dialout-trunk:29] Set("Local/MY CELL NUMBER@from-internal-0000004c;2", "the_num=MY CELL NUMBER") in new stack
  566. -- Executing [s@macro-dialout-trunk:30] Dial("Local/MY CELL NUMBER@from-internal-0000004c;2", "dongle/dongle0/MY CELL NUMBER,300,") in new stack
  567. -- Called dongle/dongle0/MY CELL NUMBER
  568. -- Local/MY CELL NUMBER@from-internal-0000004c;2 requested media update control 20, passing it to Dongle/dongle0-010000001d
  569. -- Dongle/dongle0-010000001d is making progress passing it to Local/MY CELL NUMBER@from-internal-0000004c;2
  570. -- Local/MY CELL NUMBER@from-internal-0000004c;1 is making progress passing it to Local/1000@from-internal-0000004a;2
  571. -- Local/1000@from-internal-0000004a;2 requested media update control 20, passing it to Local/MY CELL NUMBER@from-internal-0000004c;1
  572. -- Local/1000@from-internal-0000004a;2 requested media update control 20, passing it to Local/MY CELL NUMBER@from-internal-0000004c;1
  573. -- Local/MY CELL NUMBER@from-internal-0000004c;2 requested media update control 20, passing it to Dongle/dongle0-010000001d
  574. -- Local/MY CELL NUMBER@from-internal-0000004c;2 requested media update control 20, passing it to Dongle/dongle0-010000001d
  575. -- Dongle/dongle0-010000001d answered Local/MY CELL NUMBER@from-internal-0000004c;2
  576. -- Local/MY CELL NUMBER@from-internal-0000004c;1 answered Local/1000@from-internal-0000004a;2
  577. -- Executing [h@macro-dialout-trunk:1] Macro("Local/MY CELL NUMBER@from-internal-0000004c;2", "hangupcall,") in new stack
  578. -- Executing [s@macro-hangupcall:1] GotoIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "1?theend") in new stack
  579. -- Goto (macro-hangupcall,s,3)
  580. -- Executing [s@macro-hangupcall:3] ExecIf("Local/MY CELL NUMBER@from-internal-0000004c;2", "0?Set(CDR(recordingfile)=)") in new stack
  581. -- Executing [s@macro-hangupcall:4] Hangup("Local/MY CELL NUMBER@from-internal-0000004c;2", "") in new stack
  582. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/MY CELL NUMBER@from-internal-0000004c;2' in macro 'hangupcall'
  583. == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/MY CELL NUMBER@from-internal-0000004c;2'
  584. == Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'Local/MY CELL NUMBER@from-internal-0000004c;2' in macro 'dialout-trunk'
  585. == Spawn extension (from-internal, MY CELL NUMBER, 7) exited non-zero on 'Local/MY CELL NUMBER@from-internal-0000004c;2'
  586. -- Executing [MY CELL NUMBER@disa-dial:3] Gosub("Local/1000@from-internal-0000004a;2", "s-ANSWER,1()") in new stack
  587. -- Executing [s-ANSWER@disa-dial:1] Return("Local/1000@from-internal-0000004a;2", "") in new stack
  588. -- Executing [MY CELL NUMBER@disa-dial:4] Goto("Local/1000@from-internal-0000004a;2", "disa,1,newcall") in new stack
  589. -- Goto (disa,1,3)
  590. -- Executing [1@disa:3] Set("Local/1000@from-internal-0000004a;2", "_DISACONTEXT=from-internal") in new stack
  591. -- Executing [1@disa:4] Set("Local/1000@from-internal-0000004a;2", "_KEEPCID=TRUE") in new stack
  592. -- Executing [1@disa:5] Set("Local/1000@from-internal-0000004a;2", "_HANGUP=Hg") in new stack
  593. -- Executing [1@disa:6] Set("Local/1000@from-internal-0000004a;2", "TIMEOUT(digit)=5") in new stack
  594. -- Digit timeout set to 5.000
  595. -- Executing [1@disa:7] Set("Local/1000@from-internal-0000004a;2", "TIMEOUT(response)=10") in new stack
  596. -- Response timeout set to 10.000
  597. -- Executing [1@disa:8] DISA("Local/1000@from-internal-0000004a;2", "no-password,disa-dial") in new stack
  598. -- Executing [h@macro-dial:1] Macro("Motif/+MY CELL NUMBER-b9e6", "hangupcall") in new stack
  599. -- Executing [s@macro-hangupcall:1] GotoIf("Motif/+MY CELL NUMBER-b9e6", "1?theend") in new stack
  600. -- Goto (macro-hangupcall,s,3)
  601. -- Executing [s@macro-hangupcall:3] ExecIf("Motif/+MY CELL NUMBER-b9e6", "0?Set(CDR(recordingfile)=)") in new stack
  602. -- Executing [s@macro-hangupcall:4] Hangup("Motif/+MY CELL NUMBER-b9e6", "") in new stack
  603. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Motif/+MY CELL NUMBER-b9e6' in macro 'hangupcall'
  604. == Spawn extension (macro-dial, h, 1) exited non-zero on 'Motif/+MY CELL NUMBER-b9e6'
  605. == Spawn extension (disa, 1, 8) exited non-zero on 'Local/1000@from-internal-0000004a;2'
  606. == Spawn extension (macro-dial, s, 7) exited non-zero on 'Motif/+MY CELL NUMBER-b9e6' in macro 'dial'
  607. == Spawn extension (ext-group, 600, 11) exited non-zero on 'Motif/+MY CELL NUMBER-b9e6'
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617. when i call my dongle still i am unable to mange call forwarded to my cell number or IVR
  618. so far it says invalid response then goes to <100 ext> voice mail then it just hung up !
  619.  
  620. at first ring total active calls-1 , internal calls-1 , External calls-0 , Total active channels-1
  621. once the call making process started its changed to
  622. total active calls-2 , internal calls-2 , External calls-0 , Total active channels-3 (out of 4)
  623. =========================================================================
  624. Connected to Asterisk 11.8.0 currently running on raspbx (pid = 2846)
  625. -- Executing [+DONGLE SIM@from-trunk-dongle:1] Set("Dongle/dongle0-010000001e", "CALLERID(name)=MY CELL NUMBER") in new stack
  626. -- Executing [+DONGLE SIM@from-trunk-dongle:2] Goto("Dongle/dongle0-010000001e", "from-trunk,+DONGLE SIM,1") in new stack
  627. -- Goto (from-trunk,+DONGLE SIM,1)
  628. -- Executing [+DONGLE SIM@from-trunk:1] NoOp("Dongle/dongle0-010000001e", "Catch-All DID Match - Found +DONGLE SIM - You probably want a DID for this.") in new stack
  629. -- Executing [+DONGLE SIM@from-trunk:2] Set("Dongle/dongle0-010000001e", "__FROM_DID=+DONGLE SIM") in new stack
  630. -- Executing [+DONGLE SIM@from-trunk:3] Goto("Dongle/dongle0-010000001e", "ext-did,s,1") in new stack
  631. -- Goto (ext-did,s,1)
  632. -- Executing [s@ext-did:1] ExecIf("Dongle/dongle0-010000001e", "0?Set(__FROM_DID=s)") in new stack
  633. -- Executing [s@ext-did:2] Gosub("Dongle/dongle0-010000001e", "app-blacklist-check,s,1()") in new stack
  634. -- Executing [s@app-blacklist-check:1] GotoIf("Dongle/dongle0-010000001e", "0?blacklisted") in new stack
  635. -- Executing [s@app-blacklist-check:2] Set("Dongle/dongle0-010000001e", "CALLED_BLACKLIST=1") in new stack
  636. -- Executing [s@app-blacklist-check:3] Return("Dongle/dongle0-010000001e", "") in new stack
  637. -- Executing [s@ext-did:3] Set("Dongle/dongle0-010000001e", "CDR(did)=+DONGLE SIM") in new stack
  638. -- Executing [s@ext-did:4] ExecIf("Dongle/dongle0-010000001e", "0 ?Set(CALLERID(name)=MY CELL NUMBER)") in new stack
  639. -- Executing [s@ext-did:5] Set("Dongle/dongle0-010000001e", "CHANNEL(musicclass)=default") in new stack
  640. -- Executing [s@ext-did:6] Set("Dongle/dongle0-010000001e", "__MOHCLASS=default") in new stack
  641. -- Executing [s@ext-did:7] Set("Dongle/dongle0-010000001e", "__CALLINGPRES_SV=allowed_not_screened") in new stack
  642. -- Executing [s@ext-did:8] Set("Dongle/dongle0-010000001e", "CALLERPRES()=allowed_not_screened") in new stack
  643. -- Executing [s@ext-did:9] Goto("Dongle/dongle0-010000001e", "ext-group,600,1") in new stack
  644. -- Goto (ext-group,600,1)
  645. -- Executing [600@ext-group:1] Macro("Dongle/dongle0-010000001e", "user-callerid,") in new stack
  646. -- Executing [s@macro-user-callerid:1] Set("Dongle/dongle0-010000001e", "TOUCH_MONITOR=1397705982.197") in new stack
  647. -- Executing [s@macro-user-callerid:2] Set("Dongle/dongle0-010000001e", "AMPUSER=MY CELL NUMBER") in new stack
  648. -- Executing [s@macro-user-callerid:3] GotoIf("Dongle/dongle0-010000001e", "0?report") in new stack
  649. -- Executing [s@macro-user-callerid:4] ExecIf("Dongle/dongle0-010000001e", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  650. -- Executing [s@macro-user-callerid:5] Set("Dongle/dongle0-010000001e", "AMPUSER=") in new stack
  651. -- Executing [s@macro-user-callerid:6] GotoIf("Dongle/dongle0-010000001e", "0?limit") in new stack
  652. -- Executing [s@macro-user-callerid:7] Set("Dongle/dongle0-010000001e", "AMPUSERCIDNAME=") in new stack
  653. -- Executing [s@macro-user-callerid:8] GotoIf("Dongle/dongle0-010000001e", "1?report") in new stack
  654. -- Goto (macro-user-callerid,s,16)
  655. -- Executing [s@macro-user-callerid:16] GotoIf("Dongle/dongle0-010000001e", "0?continue") in new stack
  656. -- Executing [s@macro-user-callerid:17] ExecIf("Dongle/dongle0-010000001e", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  657. -- Executing [s@macro-user-callerid:18] Set("Dongle/dongle0-010000001e", "__TTL=64") in new stack
  658. -- Executing [s@macro-user-callerid:19] GotoIf("Dongle/dongle0-010000001e", "1?continue") in new stack
  659. -- Goto (macro-user-callerid,s,30)
  660. -- Executing [s@macro-user-callerid:30] Set("Dongle/dongle0-010000001e", "CALLERID(number)=MY CELL NUMBER") in new stack
  661. -- Executing [s@macro-user-callerid:31] Set("Dongle/dongle0-010000001e", "CALLERID(name)=MY CELL NUMBER") in new stack
  662. -- Executing [s@macro-user-callerid:32] Set("Dongle/dongle0-010000001e", "CDR(cnum)=MY CELL NUMBER") in new stack
  663. -- Executing [s@macro-user-callerid:33] Set("Dongle/dongle0-010000001e", "CDR(cnam)=MY CELL NUMBER") in new stack
  664. -- Executing [s@macro-user-callerid:34] Set("Dongle/dongle0-010000001e", "CHANNEL(language)=en") in new stack
  665. -- Executing [600@ext-group:2] Macro("Dongle/dongle0-010000001e", "blkvm-setifempty,") in new stack
  666. -- Executing [s@macro-blkvm-setifempty:1] GotoIf("Dongle/dongle0-010000001e", "1?init") in new stack
  667. -- Goto (macro-blkvm-setifempty,s,4)
  668. -- Executing [s@macro-blkvm-setifempty:4] Set("Dongle/dongle0-010000001e", "__BLKVM_CHANNEL=Dongle/dongle0-010000001e") in new stack
  669. -- Executing [s@macro-blkvm-setifempty:5] Set("Dongle/dongle0-010000001e", "SHARED(BLKVM,Dongle/dongle0-010000001e)=TRUE") in new stack
  670. -- Executing [s@macro-blkvm-setifempty:6] Set("Dongle/dongle0-010000001e", "GOSUB_RETVAL=TRUE") in new stack
  671. -- Executing [s@macro-blkvm-setifempty:7] MacroExit("Dongle/dongle0-010000001e", "") in new stack
  672. -- Executing [600@ext-group:3] GotoIf("Dongle/dongle0-010000001e", "1?skipov") in new stack
  673. -- Goto (ext-group,600,6)
  674. -- Executing [600@ext-group:6] Set("Dongle/dongle0-010000001e", "RRNODEST=") in new stack
  675. -- Executing [600@ext-group:7] Set("Dongle/dongle0-010000001e", "__NODEST=600") in new stack
  676. -- Executing [600@ext-group:8] GosubIf("Dongle/dongle0-010000001e", "0?sub-rgsetcid,s,1()") in new stack
  677. -- Executing [600@ext-group:9] Gosub("Dongle/dongle0-010000001e", "sub-record-check,s,1(rg,600,dontcare)") in new stack
  678. -- Executing [s@sub-record-check:1] Set("Dongle/dongle0-010000001e", "REC_POLICY_MODE_SAVE=") in new stack
  679. -- Executing [s@sub-record-check:2] GotoIf("Dongle/dongle0-010000001e", "1?check") in new stack
  680. -- Goto (sub-record-check,s,7)
  681. -- Executing [s@sub-record-check:7] Set("Dongle/dongle0-010000001e", "__MON_FMT=wav") in new stack
  682. -- Executing [s@sub-record-check:8] GotoIf("Dongle/dongle0-010000001e", "1?next") in new stack
  683. -- Goto (sub-record-check,s,11)
  684. -- Executing [s@sub-record-check:11] ExecIf("Dongle/dongle0-010000001e", "0?Return()") in new stack
  685. -- Executing [s@sub-record-check:12] ExecIf("Dongle/dongle0-010000001e", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
  686. -- Executing [s@sub-record-check:13] GotoIf("Dongle/dongle0-010000001e", "0?rg,1") in new stack
  687. -- Executing [s@sub-record-check:14] Set("Dongle/dongle0-010000001e", "__REC_STATUS=INITIALIZED") in new stack
  688. -- Executing [s@sub-record-check:15] Set("Dongle/dongle0-010000001e", "NOW=1397705982") in new stack
  689. -- Executing [s@sub-record-check:16] Set("Dongle/dongle0-010000001e", "__DAY=17") in new stack
  690. -- Executing [s@sub-record-check:17] Set("Dongle/dongle0-010000001e", "__MONTH=04") in new stack
  691. -- Executing [s@sub-record-check:18] Set("Dongle/dongle0-010000001e", "__YEAR=2014") in new stack
  692. -- Executing [s@sub-record-check:19] Set("Dongle/dongle0-010000001e", "__TIMESTR=20140417-090942") in new stack
  693. -- Executing [s@sub-record-check:20] Set("Dongle/dongle0-010000001e", "__FROMEXTEN=MY CELL NUMBER") in new stack
  694. -- Executing [s@sub-record-check:21] Set("Dongle/dongle0-010000001e", "__CALLFILENAME=rg-600-MY CELL NUMBER-20140417-090942-1397705982.197") in new stack
  695. -- Executing [s@sub-record-check:22] Goto("Dongle/dongle0-010000001e", "rg,1") in new stack
  696. -- Goto (sub-record-check,rg,1)
  697. -- Executing [rg@sub-record-check:1] GosubIf("Dongle/dongle0-010000001e", "0?record,1(rg,dontcare,MY CELL NUMBER)") in new stack
  698. -- Executing [rg@sub-record-check:2] Return("Dongle/dongle0-010000001e", "") in new stack
  699. -- Executing [600@ext-group:10] Set("Dongle/dongle0-010000001e", "RingGroupMethod=ringall") in new stack
  700. -- Executing [600@ext-group:11] Macro("Dongle/dongle0-010000001e", "dial,20,tr,1000#-DONGLE SIM#") in new stack
  701. -- Executing [s@macro-dial:1] GotoIf("Dongle/dongle0-010000001e", "0?dial") in new stack
  702. -- Executing [s@macro-dial:2] SetMusicOnHold("Dongle/dongle0-010000001e", "default") in new stack
  703. -- Executing [s@macro-dial:3] AGI("Dongle/dongle0-010000001e", "dialparties.agi") in new stack
  704. -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  705. dialparties.agi: Starting New Dialparties.agi
  706. dialparties.agi: Caller ID name is 'MY CELL NUMBER' number is 'MY CELL NUMBER'
  707. > dialparties.agi: USE_CONFIRMATION: 'FALSE'
  708. > dialparties.agi: RINGGROUP_INDEX: ''
  709. dialparties.agi: Methodology of ring is 'ringall'
  710. -- dialparties.agi: Added extension 1000# to extension map
  711. -- dialparties.agi: Added extension DONGLE SIM# to extension map
  712. -- dialparties.agi: Extension 1000# cf is disabled
  713. -- dialparties.agi: Extension DONGLE SIM# cf is disabled
  714. > dialparties.agi: extnum 1000# has: cw: 0; hascfb: 0 [] hascfu: 0 []
  715. > dialparties.agi: Built External dialstring component for 1000: Local/1000@from-internal/n
  716. > dialparties.agi: extnum DONGLE SIM# has: cw: 0; hascfb: 0 [] hascfu: 0 []
  717. > dialparties.agi: Built External dialstring component for DONGLE SIM: Local/DONGLE SIM@from-internal/n
  718. -- dialparties.agi: Filtered ARG3: 1000-DONGLE SIM
  719. > dialparties.agi: NODEST: 600 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
  720. > dialparties.agi: NODEST: 600 blkvm enabled macro already in dialopts: trM(auto-blkvm)
  721. -- <Dongle/dongle0-010000001e>AGI Script dialparties.agi completed, returning 0
  722. -- Executing [s@macro-dial:7] Dial("Dongle/dongle0-010000001e", "Local/1000@from-internal/n&Local/DONGLE SIM@from-internal/n,20,trM(auto-blkvm)") in new stack
  723. -- Called Local/1000@from-internal/n
  724. -- Called Local/DONGLE SIM@from-internal/n
  725. -- Executing [1000@from-internal:1] Set("Local/1000@from-internal-0000004d;2", "__RINGTIMER=15") in new stack
  726. -- Executing [DONGLE SIM@from-internal:1] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
  727. -- Executing [1000@from-internal:2] Macro("Local/1000@from-internal-0000004d;2", "exten-vm,1000,1000,1,1,1") in new stack
  728. -- Executing [s@macro-user-callerid:1] Set("Local/DONGLE SIM@from-internal-0000004e;2", "TOUCH_MONITOR=1397705983.201") in new stack
  729. -- Executing [s@macro-user-callerid:2] Set("Local/DONGLE SIM@from-internal-0000004e;2", "AMPUSER=MY CELL NUMBER") in new stack
  730. -- Executing [s@macro-exten-vm:1] Macro("Local/1000@from-internal-0000004d;2", "user-callerid,") in new stack
  731. -- Executing [s@macro-user-callerid:1] Set("Local/1000@from-internal-0000004d;2", "TOUCH_MONITOR=1397705983.199") in new stack
  732. -- Executing [s@macro-user-callerid:2] Set("Local/1000@from-internal-0000004d;2", "AMPUSER=MY CELL NUMBER") in new stack
  733. -- Executing [s@macro-user-callerid:3] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?report") in new stack
  734. -- Executing [s@macro-user-callerid:4] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  735. -- Executing [s@macro-user-callerid:5] Set("Local/DONGLE SIM@from-internal-0000004e;2", "AMPUSER=") in new stack
  736. -- Executing [s@macro-user-callerid:3] GotoIf("Local/1000@from-internal-0000004d;2", "0?report") in new stack
  737. -- Executing [s@macro-user-callerid:4] ExecIf("Local/1000@from-internal-0000004d;2", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  738. -- Executing [s@macro-user-callerid:5] Set("Local/1000@from-internal-0000004d;2", "AMPUSER=") in new stack
  739. -- Executing [s@macro-user-callerid:6] GotoIf("Local/1000@from-internal-0000004d;2", "0?limit") in new stack
  740. -- Executing [s@macro-user-callerid:6] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?limit") in new stack
  741. -- Executing [s@macro-user-callerid:7] Set("Local/DONGLE SIM@from-internal-0000004e;2", "AMPUSERCIDNAME=") in new stack
  742. -- Executing [s@macro-user-callerid:8] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?report") in new stack
  743. -- Goto (macro-user-callerid,s,16)
  744. -- Executing [s@macro-user-callerid:16] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?continue") in new stack
  745. -- Goto (macro-user-callerid,s,30)
  746. -- Executing [s@macro-user-callerid:30] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  747. -- Executing [s@macro-user-callerid:31] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  748. -- Executing [s@macro-user-callerid:7] Set("Local/1000@from-internal-0000004d;2", "AMPUSERCIDNAME=") in new stack
  749. -- Executing [s@macro-user-callerid:8] GotoIf("Local/1000@from-internal-0000004d;2", "1?report") in new stack
  750. -- Goto (macro-user-callerid,s,16)
  751. -- Executing [s@macro-user-callerid:16] GotoIf("Local/1000@from-internal-0000004d;2", "0?continue") in new stack
  752. -- Executing [s@macro-user-callerid:17] ExecIf("Local/1000@from-internal-0000004d;2", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  753. -- Executing [s@macro-user-callerid:18] Set("Local/1000@from-internal-0000004d;2", "__TTL=63") in new stack
  754. -- Executing [s@macro-user-callerid:32] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  755. -- Executing [s@macro-user-callerid:33] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  756. -- Executing [s@macro-user-callerid:34] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CHANNEL(language)=en") in new stack
  757. -- Executing [DONGLE SIM@from-internal:2] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0 ?Set(CDR(accountcode)=)") in new stack
  758. -- Executing [DONGLE SIM@from-internal:3] Set("Local/DONGLE SIM@from-internal-0000004e;2", "ROUTE_CIDSAVE="MY CELL NUMBER" <MY CELL NUMBER>") in new stack
  759. -- Executing [DONGLE SIM@from-internal:4] Set("Local/DONGLE SIM@from-internal-0000004e;2", "MOHCLASS=default") in new stack
  760. -- Executing [DONGLE SIM@from-internal:5] Set("Local/DONGLE SIM@from-internal-0000004e;2", "_NODEST=") in new stack
  761. -- Executing [s@macro-user-callerid:19] GotoIf("Local/1000@from-internal-0000004d;2", "1?continue") in new stack
  762. -- Goto (macro-user-callerid,s,30)
  763. -- Executing [s@macro-user-callerid:30] Set("Local/1000@from-internal-0000004d;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  764. -- Executing [s@macro-user-callerid:31] Set("Local/1000@from-internal-0000004d;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  765. -- Executing [s@macro-user-callerid:32] Set("Local/1000@from-internal-0000004d;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  766. -- Executing [s@macro-user-callerid:33] Set("Local/1000@from-internal-0000004d;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  767. -- Executing [s@macro-user-callerid:34] Set("Local/1000@from-internal-0000004d;2", "CHANNEL(language)=en") in new stack
  768. -- Executing [s@macro-exten-vm:2] Set("Local/1000@from-internal-0000004d;2", "RingGroupMethod=none") in new stack
  769. -- Executing [s@macro-exten-vm:3] Set("Local/1000@from-internal-0000004d;2", "__EXTTOCALL=1000") in new stack
  770. -- Executing [s@macro-exten-vm:4] Set("Local/1000@from-internal-0000004d;2", "__PICKUPMARK=1000") in new stack
  771. -- Executing [DONGLE SIM@from-internal:6] Gosub("Local/DONGLE SIM@from-internal-0000004e;2", "sub-record-check,s,1(out,DONGLE SIM,)") in new stack
  772. -- Executing [s@sub-record-check:1] Set("Local/DONGLE SIM@from-internal-0000004e;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  773. -- Executing [s@sub-record-check:2] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?check") in new stack
  774. -- Goto (sub-record-check,s,7)
  775. -- Executing [s@sub-record-check:7] Set("Local/DONGLE SIM@from-internal-0000004e;2", "__MON_FMT=wav") in new stack
  776. -- Executing [s@macro-exten-vm:5] Set("Local/1000@from-internal-0000004d;2", "RT=15") in new stack
  777. [2014-04-17 09:09:43] WARNING[7199][C-00000016]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  778. -- Executing [s@macro-exten-vm:6] ExecIf("Local/1000@from-internal-0000004d;2", "0?Macro(vm,1000,DIRECTDIAL,)") in new stack
  779. -- Executing [s@sub-record-check:8] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?next") in new stack
  780. -- Goto (sub-record-check,s,11)
  781. -- Executing [s@sub-record-check:11] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Return()") in new stack
  782. -- Executing [s@sub-record-check:12] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  783. -- Executing [s@sub-record-check:13] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?out,1") in new stack
  784. -- Goto (sub-record-check,out,1)
  785. -- Executing [out@sub-record-check:1] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  786. -- Executing [out@sub-record-check:2] GosubIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?record,1(exten,DONGLE SIM,MY CELL NUMBER)") in new stack
  787. -- Executing [out@sub-record-check:3] Return("Local/DONGLE SIM@from-internal-0000004e;2", "") in new stack
  788. [2014-04-17 09:09:43] WARNING[7199][C-00000016]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  789. [2014-04-17 09:09:43] WARNING[7199][C-00000016]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  790. -- Executing [s@macro-exten-vm:7] ExecIf("Local/1000@from-internal-0000004d;2", "0?MacroExit()") in new stack
  791. [2014-04-17 09:09:43] WARNING[7199][C-00000016]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  792. -- Executing [s@macro-exten-vm:8] Gosub("Local/1000@from-internal-0000004d;2", "sub-record-check,s,1(exten,1000,)") in new stack
  793. -- Executing [s@sub-record-check:1] Set("Local/1000@from-internal-0000004d;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  794. -- Executing [s@sub-record-check:2] GotoIf("Local/1000@from-internal-0000004d;2", "1?check") in new stack
  795. -- Executing [DONGLE SIM@from-internal:7] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "dialout-trunk,2,DONGLE SIM,,off") in new stack
  796. -- Executing [s@macro-dialout-trunk:1] Set("Local/DONGLE SIM@from-internal-0000004e;2", "DIAL_TRUNK=2") in new stack
  797. -- Executing [s@macro-dialout-trunk:2] GosubIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?sub-pincheck,s,1()") in new stack
  798. -- Executing [s@macro-dialout-trunk:3] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?disabletrunk,1") in new stack
  799. -- Executing [s@macro-dialout-trunk:4] Set("Local/DONGLE SIM@from-internal-0000004e;2", "DIAL_NUMBER=DONGLE SIM") in new stack
  800. -- Executing [s@macro-dialout-trunk:5] Set("Local/DONGLE SIM@from-internal-0000004e;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
  801. -- Goto (sub-record-check,s,7)
  802. -- Executing [s@sub-record-check:7] Set("Local/1000@from-internal-0000004d;2", "__MON_FMT=wav") in new stack
  803. -- Executing [s@sub-record-check:8] GotoIf("Local/1000@from-internal-0000004d;2", "1?next") in new stack
  804. -- Goto (sub-record-check,s,11)
  805. -- Executing [s@sub-record-check:11] ExecIf("Local/1000@from-internal-0000004d;2", "0?Return()") in new stack
  806. -- Executing [s@sub-record-check:12] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  807. -- Executing [s@sub-record-check:13] GotoIf("Local/1000@from-internal-0000004d;2", "1?exten,1") in new stack
  808. -- Goto (sub-record-check,exten,1)
  809. -- Executing [exten@sub-record-check:1] GotoIf("Local/1000@from-internal-0000004d;2", "1?callee") in new stack
  810. -- Goto (sub-record-check,exten,8)
  811. -- Executing [exten@sub-record-check:8] GosubIf("Local/1000@from-internal-0000004d;2", "0?record,1(exten,1000,MY CELL NUMBER)") in new stack
  812. -- Executing [exten@sub-record-check:9] Return("Local/1000@from-internal-0000004d;2", "") in new stack
  813. -- Executing [s@macro-exten-vm:9] GotoIf("Local/1000@from-internal-0000004d;2", "1?macrodial") in new stack
  814. -- Goto (macro-exten-vm,s,15)
  815. -- Executing [s@macro-exten-vm:15] GosubIf("Local/1000@from-internal-0000004d;2", "0?clrheader,1()") in new stack
  816. -- Executing [s@macro-dialout-trunk:6] Set("Local/DONGLE SIM@from-internal-0000004e;2", "OUTBOUND_GROUP=OUT_2") in new stack
  817. -- Executing [s@macro-dialout-trunk:7] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?nomax") in new stack
  818. -- Executing [s@macro-dialout-trunk:8] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?chanfull") in new stack
  819. -- Executing [s@macro-dialout-trunk:9] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?skipoutcid") in new stack
  820. -- Executing [s@macro-dialout-trunk:10] Set("Local/DONGLE SIM@from-internal-0000004e;2", "DIAL_TRUNK_OPTIONS=") in new stack
  821. -- Executing [s@macro-dialout-trunk:11] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "outbound-callerid,2") in new stack
  822. -- Executing [s@macro-outbound-callerid:1] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
  823. -- Executing [s@macro-outbound-callerid:2] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  824. -- Executing [s@macro-exten-vm:16] Macro("Local/1000@from-internal-0000004d;2", "dial-one,15,tr,1000") in new stack
  825. -- Executing [s@macro-outbound-callerid:3] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?normcid") in new stack
  826. -- Executing [s@macro-outbound-callerid:4] Set("Local/DONGLE SIM@from-internal-0000004e;2", "USEROUTCID=MY CELL NUMBER") in new stack
  827. -- Executing [s@macro-outbound-callerid:5] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?bypass") in new stack
  828. -- Goto (macro-outbound-callerid,s,7)
  829. -- Executing [s@macro-dial-one:1] Set("Local/1000@from-internal-0000004d;2", "DEXTEN=1000") in new stack
  830. -- Executing [s@macro-dial-one:2] Set("Local/1000@from-internal-0000004d;2", "DIALSTATUS_CW=") in new stack
  831. -- Executing [s@macro-dial-one:3] GosubIf("Local/1000@from-internal-0000004d;2", "0?screen,1()") in new stack
  832. -- Executing [s@macro-dial-one:4] GosubIf("Local/1000@from-internal-0000004d;2", "0?cf,1()") in new stack
  833. -- Executing [s@macro-dial-one:5] GotoIf("Local/1000@from-internal-0000004d;2", "1?skip1") in new stack
  834. -- Goto (macro-dial-one,s,8)
  835. -- Executing [s@macro-dial-one:8] GotoIf("Local/1000@from-internal-0000004d;2", "0?nodial") in new stack
  836. -- Executing [s@macro-outbound-callerid:7] Set("Local/DONGLE SIM@from-internal-0000004e;2", "EMERGENCYCID=") in new stack
  837. -- Executing [s@macro-outbound-callerid:8] Set("Local/DONGLE SIM@from-internal-0000004e;2", "TRUNKOUTCID=+DONGLE SIM") in new stack
  838. -- Executing [s@macro-outbound-callerid:9] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?trunkcid") in new stack
  839. -- Goto (macro-outbound-callerid,s,14)
  840. -- Executing [s@macro-outbound-callerid:14] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?Set(CALLERID(all)=+DONGLE SIM)") in new stack
  841. -- Executing [s@macro-dial-one:9] GotoIf("Local/1000@from-internal-0000004d;2", "0?continue") in new stack
  842. -- Executing [s@macro-dial-one:10] Set("Local/1000@from-internal-0000004d;2", "EXTHASCW=ENABLED") in new stack
  843. -- Executing [s@macro-dial-one:11] GotoIf("Local/1000@from-internal-0000004d;2", "0?next1:cwinusebusy") in new stack
  844. -- Goto (macro-dial-one,s,23)
  845. -- Executing [s@macro-outbound-callerid:15] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?Set(CALLERID(all)=MY CELL NUMBER)") in new stack
  846. -- Executing [s@macro-outbound-callerid:16] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(CALLERID(all)=)") in new stack
  847. -- Executing [s@macro-outbound-callerid:17] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  848. -- Executing [s@macro-outbound-callerid:18] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CDR(outbound_cnum)=MY CELL NUMBER") in new stack
  849. -- Executing [s@macro-dial-one:23] GotoIf("Local/1000@from-internal-0000004d;2", "1?next3:continue") in new stack
  850. -- Goto (macro-dial-one,s,24)
  851. -- Executing [s@macro-dial-one:24] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
  852. -- Executing [s@macro-dial-one:25] GotoIf("Local/1000@from-internal-0000004d;2", "0?nodial") in new stack
  853. -- Executing [s@macro-dial-one:26] GosubIf("Local/1000@from-internal-0000004d;2", "1?dstring,1():dlocal,1()") in new stack
  854. -- Executing [dstring@macro-dial-one:1] Set("Local/1000@from-internal-0000004d;2", "DSTRING=") in new stack
  855. -- Executing [dstring@macro-dial-one:2] Set("Local/1000@from-internal-0000004d;2", "DEVICES=1000") in new stack
  856. -- Executing [dstring@macro-dial-one:3] ExecIf("Local/1000@from-internal-0000004d;2", "0?Return()") in new stack
  857. -- Executing [dstring@macro-dial-one:4] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(DEVICES=000)") in new stack
  858. -- Executing [dstring@macro-dial-one:5] Set("Local/1000@from-internal-0000004d;2", "LOOPCNT=1") in new stack
  859. -- Executing [s@macro-outbound-callerid:19] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CDR(outbound_cnam)=") in new stack
  860. -- Executing [s@macro-dialout-trunk:12] GosubIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?sub-flp-2,s,1()") in new stack
  861. -- Executing [s@sub-flp-2:1] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?Return()") in new stack
  862. -- Executing [s@macro-dialout-trunk:13] Set("Local/DONGLE SIM@from-internal-0000004e;2", "OUTNUM=DONGLE SIM") in new stack
  863. -- Executing [s@macro-dialout-trunk:14] Set("Local/DONGLE SIM@from-internal-0000004e;2", "custom=AMP") in new stack
  864. -- Executing [s@macro-dialout-trunk:15] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
  865. -- Executing [s@macro-dialout-trunk:16] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
  866. -- Executing [s@macro-dialout-trunk:17] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "dialout-trunk-predial-hook,") in new stack
  867. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/DONGLE SIM@from-internal-0000004e;2", "") in new stack
  868. -- Executing [dstring@macro-dial-one:6] Set("Local/1000@from-internal-0000004d;2", "ITER=1") in new stack
  869. -- Executing [dstring@macro-dial-one:7] Set("Local/1000@from-internal-0000004d;2", "THISDIAL=SIP/1000") in new stack
  870. -- Executing [dstring@macro-dial-one:8] GosubIf("Local/1000@from-internal-0000004d;2", "1?zap2dahdi,1()") in new stack
  871. -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/1000@from-internal-0000004d;2", "0?Return()") in new stack
  872. -- Executing [zap2dahdi@macro-dial-one:2] Set("Local/1000@from-internal-0000004d;2", "NEWDIAL=") in new stack
  873. -- Executing [zap2dahdi@macro-dial-one:3] Set("Local/1000@from-internal-0000004d;2", "LOOPCNT2=1") in new stack
  874. -- Executing [zap2dahdi@macro-dial-one:4] Set("Local/1000@from-internal-0000004d;2", "ITER2=1") in new stack
  875. -- Executing [zap2dahdi@macro-dial-one:5] Set("Local/1000@from-internal-0000004d;2", "THISPART2=SIP/1000") in new stack
  876. -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(THISPART2=DAHDI/1000)") in new stack
  877. -- Executing [zap2dahdi@macro-dial-one:7] Set("Local/1000@from-internal-0000004d;2", "NEWDIAL=SIP/1000&") in new stack
  878. -- Executing [zap2dahdi@macro-dial-one:8] Set("Local/1000@from-internal-0000004d;2", "ITER2=2") in new stack
  879. -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/1000@from-internal-0000004d;2", "0?begin2") in new stack
  880. -- Executing [zap2dahdi@macro-dial-one:10] Set("Local/1000@from-internal-0000004d;2", "THISDIAL=SIP/1000") in new stack
  881. -- Executing [zap2dahdi@macro-dial-one:11] Return("Local/1000@from-internal-0000004d;2", "") in new stack
  882. -- Executing [dstring@macro-dial-one:9] Set("Local/1000@from-internal-0000004d;2", "DSTRING=SIP/1000&") in new stack
  883. -- Executing [dstring@macro-dial-one:10] Set("Local/1000@from-internal-0000004d;2", "ITER=2") in new stack
  884. -- Executing [dstring@macro-dial-one:11] GotoIf("Local/1000@from-internal-0000004d;2", "0?begin") in new stack
  885. -- Executing [s@macro-dialout-trunk:18] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?bypass,1") in new stack
  886. -- Executing [s@macro-dialout-trunk:19] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(CONNECTEDLINE(num,i)=DONGLE SIM)") in new stack
  887. -- Executing [s@macro-dialout-trunk:20] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(CONNECTEDLINE(name,i)=CID:MY CELL NUMBER)") in new stack
  888. -- Executing [s@macro-dialout-trunk:21] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?customtrunk") in new stack
  889. -- Goto (macro-dialout-trunk,s,25)
  890. -- Executing [s@macro-dialout-trunk:25] Set("Local/DONGLE SIM@from-internal-0000004e;2", "pre_num=AMP:dongle/dongle0/") in new stack
  891. -- Executing [s@macro-dialout-trunk:26] Set("Local/DONGLE SIM@from-internal-0000004e;2", "the_num=OUTNUM") in new stack
  892. -- Executing [s@macro-dialout-trunk:27] Set("Local/DONGLE SIM@from-internal-0000004e;2", "post_num=") in new stack
  893. -- Executing [s@macro-dialout-trunk:28] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?outnum:skipoutnum") in new stack
  894. -- Goto (macro-dialout-trunk,s,29)
  895. -- Executing [s@macro-dialout-trunk:29] Set("Local/DONGLE SIM@from-internal-0000004e;2", "the_num=DONGLE SIM") in new stack
  896. -- Executing [s@macro-dialout-trunk:30] Dial("Local/DONGLE SIM@from-internal-0000004e;2", "dongle/dongle0/DONGLE SIM,300,") in new stack
  897. -- Executing [dstring@macro-dial-one:12] Set("Local/1000@from-internal-0000004d;2", "DSTRING=SIP/1000") in new stack
  898. -- Executing [dstring@macro-dial-one:13] Return("Local/1000@from-internal-0000004d;2", "") in new stack
  899. -- Executing [s@macro-dial-one:27] GotoIf("Local/1000@from-internal-0000004d;2", "0?nodial") in new stack
  900. -- Executing [s@macro-dial-one:28] GotoIf("Local/1000@from-internal-0000004d;2", "0?skiptrace") in new stack
  901. -- Executing [s@macro-dial-one:29] GosubIf("Local/1000@from-internal-0000004d;2", "1?ctset,1():ctclear,1()") in new stack
  902. [2014-04-17 09:09:43] WARNING[7200][C-00000016]: channel.c:180 channel_request: [dongle0] Request to call on device which can not make call at this moment
  903. [2014-04-17 09:09:43] WARNING[7200][C-00000016]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'dongle' (cause 44 - Requested channel not available)
  904. == Everyone is busy/congested at this time (1:0/0/1)
  905. -- Executing [s@macro-dialout-trunk:31] NoOp("Local/DONGLE SIM@from-internal-0000004e;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 44") in new stack
  906. -- Executing [s@macro-dialout-trunk:32] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  907. -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  908. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("Local/DONGLE SIM@from-internal-0000004e;2", "RC=44") in new stack
  909. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("Local/DONGLE SIM@from-internal-0000004e;2", "44,1") in new stack
  910. -- Goto (macro-dialout-trunk,44,1)
  911. -- Executing [44@macro-dialout-trunk:1] Goto("Local/DONGLE SIM@from-internal-0000004e;2", "continue,1") in new stack
  912. -- Goto (macro-dialout-trunk,continue,1)
  913. -- Executing [continue@macro-dialout-trunk:1] NoOp("Local/DONGLE SIM@from-internal-0000004e;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 44 - failing through to other trunks") in new stack
  914. -- Executing [continue@macro-dialout-trunk:2] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CALLERID(number)=") in new stack
  915. -- Executing [ctset@macro-dial-one:1] Set("Local/1000@from-internal-0000004d;2", "DB(CALLTRACE/1000)=MY CELL NUMBER") in new stack
  916. -- Executing [ctset@macro-dial-one:2] Return("Local/1000@from-internal-0000004d;2", "") in new stack
  917. -- Executing [s@macro-dial-one:30] Set("Local/1000@from-internal-0000004d;2", "D_OPTIONS=trM(auto-blkvm)") in new stack
  918. -- Executing [s@macro-dial-one:31] ExecIf("Local/1000@from-internal-0000004d;2", "0?SIPAddHeader(Alert-Info: )") in new stack
  919. -- Executing [s@macro-dial-one:32] ExecIf("Local/1000@from-internal-0000004d;2", "0?SIPAddHeader()") in new stack
  920. -- Executing [s@macro-dial-one:33] ExecIf("Local/1000@from-internal-0000004d;2", "1?Set(CHANNEL(musicclass)=default)") in new stack
  921. -- Executing [s@macro-dial-one:34] GosubIf("Local/1000@from-internal-0000004d;2", "0?qwait,1()") in new stack
  922. -- Executing [s@macro-dial-one:35] Set("Local/1000@from-internal-0000004d;2", "__CWIGNORE=") in new stack
  923. -- Executing [s@macro-dial-one:36] Set("Local/1000@from-internal-0000004d;2", "__KEEPCID=TRUE") in new stack
  924. -- Executing [DONGLE SIM@from-internal:8] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CALLERID(all)="MY CELL NUMBER" <MY CELL NUMBER>") in new stack
  925. -- Executing [DONGLE SIM@from-internal:9] Set("Local/DONGLE SIM@from-internal-0000004e;2", "_KEEPCID=TRUE") in new stack
  926. -- Executing [DONGLE SIM@from-internal:10] Goto("Local/DONGLE SIM@from-internal-0000004e;2", "ext-group,600,1") in new stack
  927. -- Goto (ext-group,600,1)
  928. -- Executing [600@ext-group:1] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "user-callerid,") in new stack
  929. -- Executing [s@macro-user-callerid:1] Set("Local/DONGLE SIM@from-internal-0000004e;2", "TOUCH_MONITOR=1397705983.201") in new stack
  930. -- Executing [s@macro-dial-one:37] GotoIf("Local/1000@from-internal-0000004d;2", "0?usegoto,1") in new stack
  931. -- Executing [s@macro-dial-one:38] GotoIf("Local/1000@from-internal-0000004d;2", "1?godial") in new stack
  932. -- Goto (macro-dial-one,s,43)
  933. -- Executing [s@macro-dial-one:43] Dial("Local/1000@from-internal-0000004d;2", "SIP/1000,15,trM(auto-blkvm)") in new stack
  934. -- Executing [s@macro-user-callerid:2] Set("Local/DONGLE SIM@from-internal-0000004e;2", "AMPUSER=MY CELL NUMBER") in new stack
  935. -- Executing [s@macro-user-callerid:3] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?report") in new stack
  936. -- Executing [s@macro-user-callerid:4] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  937. -- Executing [s@macro-user-callerid:5] Set("Local/DONGLE SIM@from-internal-0000004e;2", "AMPUSER=") in new stack
  938. -- Executing [s@macro-user-callerid:6] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?limit") in new stack
  939. -- Executing [s@macro-user-callerid:7] Set("Local/DONGLE SIM@from-internal-0000004e;2", "AMPUSERCIDNAME=") in new stack
  940. -- Executing [s@macro-user-callerid:8] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?report") in new stack
  941. [2014-04-17 09:09:43] WARNING[7199][C-00000016]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  942. == Everyone is busy/congested at this time (1:0/0/1)
  943. -- Executing [s@macro-dial-one:44] ExecIf("Local/1000@from-internal-0000004d;2", "0?MacroExit()") in new stack
  944. -- Executing [s@macro-dial-one:45] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(DIALSTATUS=)") in new stack
  945. -- Executing [s@macro-dial-one:46] GosubIf("Local/1000@from-internal-0000004d;2", "0?s-CHANUNAVAIL,1()") in new stack
  946. -- Goto (macro-user-callerid,s,16)
  947. -- Executing [s@macro-user-callerid:16] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?continue") in new stack
  948. -- Executing [s@macro-user-callerid:17] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  949. -- Executing [s@macro-dial-one:47] MacroExit("Local/1000@from-internal-0000004d;2", "") in new stack
  950. -- Executing [s@macro-exten-vm:17] Set("Local/1000@from-internal-0000004d;2", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
  951. -- Executing [s@macro-user-callerid:18] Set("Local/DONGLE SIM@from-internal-0000004e;2", "__TTL=63") in new stack
  952. -- Executing [s@macro-user-callerid:19] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?continue") in new stack
  953. -- Goto (macro-user-callerid,s,30)
  954. -- Executing [s@macro-user-callerid:30] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  955. -- Executing [s@macro-user-callerid:31] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  956. -- Executing [s@macro-user-callerid:32] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  957. -- Executing [s@macro-user-callerid:33] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  958. -- Executing [s@macro-exten-vm:18] GosubIf("Local/1000@from-internal-0000004d;2", "0?docfu,1()") in new stack
  959. -- Executing [s@macro-exten-vm:19] GosubIf("Local/1000@from-internal-0000004d;2", "0?docfb,1()") in new stack
  960. -- Executing [s@macro-user-callerid:34] Set("Local/DONGLE SIM@from-internal-0000004e;2", "CHANNEL(language)=en") in new stack
  961. -- Executing [600@ext-group:2] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "blkvm-setifempty,") in new stack
  962. -- Executing [s@macro-blkvm-setifempty:1] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?init") in new stack
  963. -- Executing [s@macro-blkvm-setifempty:2] Set("Local/DONGLE SIM@from-internal-0000004e;2", "GOSUB_RETVAL=TRUE") in new stack
  964. -- Executing [s@macro-blkvm-setifempty:3] MacroExit("Local/DONGLE SIM@from-internal-0000004e;2", "") in new stack
  965. -- Executing [600@ext-group:3] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?skipov") in new stack
  966. -- Goto (ext-group,600,6)
  967. -- Executing [600@ext-group:6] Set("Local/DONGLE SIM@from-internal-0000004e;2", "RRNODEST=") in new stack
  968. -- Executing [600@ext-group:7] Set("Local/DONGLE SIM@from-internal-0000004e;2", "__NODEST=600") in new stack
  969. -- Executing [600@ext-group:8] GosubIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?sub-rgsetcid,s,1()") in new stack
  970. -- Executing [600@ext-group:9] Gosub("Local/DONGLE SIM@from-internal-0000004e;2", "sub-record-check,s,1(rg,600,dontcare)") in new stack
  971. -- Executing [s@macro-exten-vm:20] Set("Local/1000@from-internal-0000004d;2", "DIALSTATUS=CHANUNAVAIL") in new stack
  972. -- Executing [s@macro-exten-vm:21] ExecIf("Local/1000@from-internal-0000004d;2", "1?MacroExit()") in new stack
  973. -- Executing [1000@from-internal:3] Set("Local/1000@from-internal-0000004d;2", "__PICKUPMARK=") in new stack
  974. -- Executing [s@sub-record-check:1] Set("Local/DONGLE SIM@from-internal-0000004e;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  975. -- Executing [s@sub-record-check:2] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?check") in new stack
  976. -- Goto (sub-record-check,s,7)
  977. -- Executing [s@sub-record-check:7] Set("Local/DONGLE SIM@from-internal-0000004e;2", "__MON_FMT=wav") in new stack
  978. -- Executing [s@sub-record-check:8] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?next") in new stack
  979. -- Goto (sub-record-check,s,11)
  980. -- Executing [s@sub-record-check:11] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Return()") in new stack
  981. -- Executing [s@sub-record-check:12] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(__REC_POLICY_MODE=dontcare)") in new stack
  982. -- Executing [s@sub-record-check:13] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?rg,1") in new stack
  983. -- Goto (sub-record-check,rg,1)
  984. -- Executing [rg@sub-record-check:1] GosubIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?record,1(rg,dontcare,MY CELL NUMBER)") in new stack
  985. -- Executing [rg@sub-record-check:2] Return("Local/DONGLE SIM@from-internal-0000004e;2", "") in new stack
  986. -- Executing [600@ext-group:10] Set("Local/DONGLE SIM@from-internal-0000004e;2", "RingGroupMethod=ringall") in new stack
  987. -- Executing [600@ext-group:11] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "dial,20,tr,1000#-DONGLE SIM#") in new stack
  988. -- Executing [1000@from-internal:4] GotoIf("Local/1000@from-internal-0000004d;2", "0?ivr-1,s,1") in new stack
  989. -- Executing [1000@from-internal:5] GotoIf("Local/1000@from-internal-0000004d;2", "0?ivr-1,s,1") in new stack
  990. -- Executing [1000@from-internal:6] GotoIf("Local/1000@from-internal-0000004d;2", "1?ivr-1,s,1") in new stack
  991. -- Goto (ivr-1,s,1)
  992. -- Executing [s@ivr-1:1] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT_LOOPCOUNT=0") in new stack
  993. -- Executing [s@ivr-1:2] Set("Local/1000@from-internal-0000004d;2", "INVALID_LOOPCOUNT=0") in new stack
  994. -- Executing [s@ivr-1:3] Set("Local/1000@from-internal-0000004d;2", "_IVR_CONTEXT_ivr-1=") in new stack
  995. -- Executing [s@ivr-1:4] Set("Local/1000@from-internal-0000004d;2", "_IVR_CONTEXT=ivr-1") in new stack
  996. -- Executing [s@ivr-1:5] Set("Local/1000@from-internal-0000004d;2", "__IVR_RETVM=") in new stack
  997. -- Executing [s@macro-dial:1] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?dial") in new stack
  998. -- Executing [s@macro-dial:2] SetMusicOnHold("Local/DONGLE SIM@from-internal-0000004e;2", "default") in new stack
  999. -- Executing [s@macro-dial:3] AGI("Local/DONGLE SIM@from-internal-0000004e;2", "dialparties.agi") in new stack
  1000. -- Executing [s@ivr-1:6] GotoIf("Local/1000@from-internal-0000004d;2", "0?skip") in new stack
  1001. -- Executing [s@ivr-1:7] Answer("Local/1000@from-internal-0000004d;2", "") in new stack
  1002. -- Local/1000@from-internal-0000004d;1 answered Dongle/dongle0-010000001e
  1003. -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  1004. -- Executing [s@macro-auto-blkvm:1] Set("Local/1000@from-internal-0000004d;1", "__MACRO_RESULT=") in new stack
  1005. -- Executing [s@macro-auto-blkvm:2] Set("Local/1000@from-internal-0000004d;1", "CFIGNORE=") in new stack
  1006. -- Executing [s@macro-auto-blkvm:3] Set("Local/1000@from-internal-0000004d;1", "MASTER_CHANNEL(CFIGNORE)=") in new stack
  1007. -- Executing [s@macro-auto-blkvm:4] Set("Local/1000@from-internal-0000004d;1", "FORWARD_CONTEXT=from-internal") in new stack
  1008. -- Executing [s@macro-auto-blkvm:5] Set("Local/1000@from-internal-0000004d;1", "MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal") in new stack
  1009. -- Executing [s@macro-auto-blkvm:6] Macro("Local/1000@from-internal-0000004d;1", "blkvm-clr,") in new stack
  1010. -- Executing [s@macro-blkvm-clr:1] Set("Local/1000@from-internal-0000004d;1", "SHARED(BLKVM,Dongle/dongle0-010000001e)=") in new stack
  1011. -- Executing [s@macro-blkvm-clr:2] Set("Local/1000@from-internal-0000004d;1", "GOSUB_RETVAL=") in new stack
  1012. -- Executing [s@macro-blkvm-clr:3] MacroExit("Local/1000@from-internal-0000004d;1", "") in new stack
  1013. -- Executing [s@macro-auto-blkvm:7] ExecIf("Local/1000@from-internal-0000004d;1", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=1000@from-internal/n)") in new stack
  1014. -- Executing [s@macro-auto-blkvm:8] ExecIf("Local/1000@from-internal-0000004d;1", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=)") in new stack
  1015. -- <Local/DONGLE SIM@from-internal-0000004e;2>AGI Script dialparties.agi completed, returning 4
  1016. == Spawn extension (macro-dial, s, 3) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004e;2' in macro 'dial'
  1017. == Spawn extension (ext-group, 600, 11) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004e;2'
  1018. -- Executing [h@ext-group:1] Macro("Local/DONGLE SIM@from-internal-0000004e;2", "hangupcall,") in new stack
  1019. -- Executing [s@macro-hangupcall:1] GotoIf("Local/DONGLE SIM@from-internal-0000004e;2", "1?theend") in new stack
  1020. -- Goto (macro-hangupcall,s,3)
  1021. -- Executing [s@macro-hangupcall:3] ExecIf("Local/DONGLE SIM@from-internal-0000004e;2", "0?Set(CDR(recordingfile)=)") in new stack
  1022. -- Executing [s@macro-hangupcall:4] Hangup("Local/DONGLE SIM@from-internal-0000004e;2", "") in new stack
  1023. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004e;2' in macro 'hangupcall'
  1024. == Spawn extension (ext-group, h, 1) exited non-zero on 'Local/DONGLE SIM@from-internal-0000004e;2'
  1025. -- Executing [s@ivr-1:8] Wait("Local/1000@from-internal-0000004d;2", "1") in new stack
  1026. -- Executing [s@ivr-1:9] Set("Local/1000@from-internal-0000004d;2", "IVR_MSG=en/thanks-for-calling-today") in new stack
  1027. -- Executing [s@ivr-1:10] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT(digit)=3") in new stack
  1028. -- Digit timeout set to 3.000
  1029. -- Executing [s@ivr-1:11] ExecIf("Local/1000@from-internal-0000004d;2", "1?Background(en/thanks-for-calling-today)") in new stack
  1030. -- <Local/1000@from-internal-0000004d;2> Playing 'en/thanks-for-calling-today.slin' (language 'en')
  1031. -- Executing [s@ivr-1:12] WaitExten("Local/1000@from-internal-0000004d;2", "10,") in new stack
  1032. -- Timeout on Local/1000@from-internal-0000004d;2, going to 't'
  1033. -- Executing [t@ivr-1:1] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT_LOOPCOUNT=1") in new stack
  1034. -- Executing [t@ivr-1:2] GotoIf("Local/1000@from-internal-0000004d;2", "0?final") in new stack
  1035. -- Executing [t@ivr-1:3] Set("Local/1000@from-internal-0000004d;2", "IVR_MSG=no-valid-responce-pls-try-again") in new stack
  1036. -- Executing [t@ivr-1:4] Goto("Local/1000@from-internal-0000004d;2", "s,start") in new stack
  1037. -- Goto (ivr-1,s,10)
  1038. -- Executing [s@ivr-1:10] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT(digit)=3") in new stack
  1039. -- Digit timeout set to 3.000
  1040. -- Executing [s@ivr-1:11] ExecIf("Local/1000@from-internal-0000004d;2", "1?Background(no-valid-responce-pls-try-again)") in new stack
  1041. -- <Local/1000@from-internal-0000004d;2> Playing 'no-valid-responce-pls-try-again.slin' (language 'en')
  1042. -- Executing [s@ivr-1:12] WaitExten("Local/1000@from-internal-0000004d;2", "10,") in new stack
  1043. -- Timeout on Local/1000@from-internal-0000004d;2, going to 't'
  1044. -- Executing [t@ivr-1:1] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT_LOOPCOUNT=2") in new stack
  1045. -- Executing [t@ivr-1:2] GotoIf("Local/1000@from-internal-0000004d;2", "0?final") in new stack
  1046. -- Executing [t@ivr-1:3] Set("Local/1000@from-internal-0000004d;2", "IVR_MSG=no-valid-responce-pls-try-again") in new stack
  1047. -- Executing [t@ivr-1:4] Goto("Local/1000@from-internal-0000004d;2", "s,start") in new stack
  1048. -- Goto (ivr-1,s,10)
  1049. -- Executing [s@ivr-1:10] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT(digit)=3") in new stack
  1050. -- Digit timeout set to 3.000
  1051. -- Executing [s@ivr-1:11] ExecIf("Local/1000@from-internal-0000004d;2", "1?Background(no-valid-responce-pls-try-again)") in new stack
  1052. -- <Local/1000@from-internal-0000004d;2> Playing 'no-valid-responce-pls-try-again.slin' (language 'en')
  1053. -- Executing [s@ivr-1:12] WaitExten("Local/1000@from-internal-0000004d;2", "10,") in new stack
  1054. -- Timeout on Local/1000@from-internal-0000004d;2, going to 't'
  1055. -- Executing [t@ivr-1:1] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT_LOOPCOUNT=3") in new stack
  1056. -- Executing [t@ivr-1:2] GotoIf("Local/1000@from-internal-0000004d;2", "0?final") in new stack
  1057. -- Executing [t@ivr-1:3] Set("Local/1000@from-internal-0000004d;2", "IVR_MSG=no-valid-responce-pls-try-again") in new stack
  1058. -- Executing [t@ivr-1:4] Goto("Local/1000@from-internal-0000004d;2", "s,start") in new stack
  1059. -- Goto (ivr-1,s,10)
  1060. -- Executing [s@ivr-1:10] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT(digit)=3") in new stack
  1061. -- Digit timeout set to 3.000
  1062. -- Executing [s@ivr-1:11] ExecIf("Local/1000@from-internal-0000004d;2", "1?Background(no-valid-responce-pls-try-again)") in new stack
  1063. -- <Local/1000@from-internal-0000004d;2> Playing 'no-valid-responce-pls-try-again.slin' (language 'en')
  1064. -- Executing [s@ivr-1:12] WaitExten("Local/1000@from-internal-0000004d;2", "10,") in new stack
  1065. -- Timeout on Local/1000@from-internal-0000004d;2, going to 't'
  1066. -- Executing [t@ivr-1:1] Set("Local/1000@from-internal-0000004d;2", "TIMEOUT_LOOPCOUNT=4") in new stack
  1067. -- Executing [t@ivr-1:2] GotoIf("Local/1000@from-internal-0000004d;2", "1?final") in new stack
  1068. -- Goto (ivr-1,t,5)
  1069. -- Executing [t@ivr-1:5] Playback("Local/1000@from-internal-0000004d;2", "no-valid-responce-transfering") in new stack
  1070. -- <Local/1000@from-internal-0000004d;2> Playing 'no-valid-responce-transfering.slin' (language 'en')
  1071. -- Executing [t@ivr-1:6] Goto("Local/1000@from-internal-0000004d;2", "from-did-direct,100,1") in new stack
  1072. -- Goto (from-did-direct,100,1)
  1073. -- Executing [100@from-did-direct:1] GotoIf("Local/1000@from-internal-0000004d;2", "0?ext-local,100,1") in new stack
  1074. -- Executing [100@from-did-direct:2] Macro("Local/1000@from-internal-0000004d;2", "user-callerid,") in new stack
  1075. -- Executing [s@macro-user-callerid:1] Set("Local/1000@from-internal-0000004d;2", "TOUCH_MONITOR=1397705983.199") in new stack
  1076. -- Executing [s@macro-user-callerid:2] Set("Local/1000@from-internal-0000004d;2", "AMPUSER=MY CELL NUMBER") in new stack
  1077. -- Executing [s@macro-user-callerid:3] GotoIf("Local/1000@from-internal-0000004d;2", "0?report") in new stack
  1078. -- Executing [s@macro-user-callerid:4] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  1079. -- Executing [s@macro-user-callerid:5] Set("Local/1000@from-internal-0000004d;2", "AMPUSER=") in new stack
  1080. -- Executing [s@macro-user-callerid:6] GotoIf("Local/1000@from-internal-0000004d;2", "0?limit") in new stack
  1081. -- Executing [s@macro-user-callerid:7] Set("Local/1000@from-internal-0000004d;2", "AMPUSERCIDNAME=") in new stack
  1082. -- Executing [s@macro-user-callerid:8] GotoIf("Local/1000@from-internal-0000004d;2", "1?report") in new stack
  1083. -- Goto (macro-user-callerid,s,16)
  1084. -- Executing [s@macro-user-callerid:16] GotoIf("Local/1000@from-internal-0000004d;2", "0?continue") in new stack
  1085. -- Executing [s@macro-user-callerid:17] ExecIf("Local/1000@from-internal-0000004d;2", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  1086. -- Executing [s@macro-user-callerid:18] Set("Local/1000@from-internal-0000004d;2", "__TTL=62") in new stack
  1087. -- Executing [s@macro-user-callerid:19] GotoIf("Local/1000@from-internal-0000004d;2", "1?continue") in new stack
  1088. -- Goto (macro-user-callerid,s,30)
  1089. -- Executing [s@macro-user-callerid:30] Set("Local/1000@from-internal-0000004d;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  1090. -- Executing [s@macro-user-callerid:31] Set("Local/1000@from-internal-0000004d;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  1091. -- Executing [s@macro-user-callerid:32] Set("Local/1000@from-internal-0000004d;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  1092. -- Executing [s@macro-user-callerid:33] Set("Local/1000@from-internal-0000004d;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  1093. -- Executing [s@macro-user-callerid:34] Set("Local/1000@from-internal-0000004d;2", "CHANNEL(language)=en") in new stack
  1094. -- Executing [100@from-did-direct:3] Set("Local/1000@from-internal-0000004d;2", "DIAL_OPTIONS=trI") in new stack
  1095. -- Executing [100@from-did-direct:4] Set("Local/1000@from-internal-0000004d;2", "CONNECTEDLINE(num)=100") in new stack
  1096. [2014-04-17 09:10:44] WARNING[7196][C-00000016]: channel.c:1002 channel_indicate: [Dongle/dongle0-010000001e] Don't know how to indicate condition 22
  1097. -- Executing [100@from-did-direct:5] Gosub("Local/1000@from-internal-0000004d;2", "sub-presencestate-display,s,1(100)") in new stack
  1098. [2014-04-17 09:10:44] WARNING[7199][C-00000016]: func_presencestate.c:132 presence_read: PRESENCE_STATE unknown
  1099. -- Executing [s@sub-presencestate-display:1] Goto("Local/1000@from-internal-0000004d;2", "state-,1") in new stack
  1100. -- Goto (sub-presencestate-display,state-,1)
  1101. -- Executing [state-@sub-presencestate-display:1] Set("Local/1000@from-internal-0000004d;2", "PRESENCESTATE_DISPLAY=") in new stack
  1102. -- Executing [state-@sub-presencestate-display:2] Return("Local/1000@from-internal-0000004d;2", "") in new stack
  1103. -- Executing [100@from-did-direct:6] Set("Local/1000@from-internal-0000004d;2", "CONNECTEDLINE(name,i)=100ext") in new stack
  1104. -- Executing [100@from-did-direct:7] Set("Local/1000@from-internal-0000004d;2", "FM_DIALSTATUS=UNAVAILABLE") in new stack
  1105. -- Executing [100@from-did-direct:8] Set("Local/1000@from-internal-0000004d;2", "__EXTTOCALL=100") in new stack
  1106. -- Executing [100@from-did-direct:9] Set("Local/1000@from-internal-0000004d;2", "__PICKUPMARK=100") in new stack
  1107. -- Executing [100@from-did-direct:10] Macro("Local/1000@from-internal-0000004d;2", "blkvm-setifempty,") in new stack
  1108. -- Executing [s@macro-blkvm-setifempty:1] GotoIf("Local/1000@from-internal-0000004d;2", "0?init") in new stack
  1109. -- Executing [s@macro-blkvm-setifempty:2] Set("Local/1000@from-internal-0000004d;2", "GOSUB_RETVAL=") in new stack
  1110. -- Executing [s@macro-blkvm-setifempty:3] MacroExit("Local/1000@from-internal-0000004d;2", "") in new stack
  1111. -- Executing [100@from-did-direct:11] GotoIf("Local/1000@from-internal-0000004d;2", "0?skipov") in new stack
  1112. -- Executing [100@from-did-direct:12] Macro("Local/1000@from-internal-0000004d;2", "blkvm-set,reset") in new stack
  1113. -- Executing [s@macro-blkvm-set:1] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(__BLKVM_CHANNEL=Local/1000@from-internal-0000004d;2)") in new stack
  1114. -- Executing [s@macro-blkvm-set:2] Set("Local/1000@from-internal-0000004d;2", "SHARED(BLKVM,Dongle/dongle0-010000001e)=TRUE") in new stack
  1115. -- Executing [s@macro-blkvm-set:3] Set("Local/1000@from-internal-0000004d;2", "GOSUB_RETVAL=TRUE") in new stack
  1116. -- Executing [s@macro-blkvm-set:4] MacroExit("Local/1000@from-internal-0000004d;2", "") in new stack
  1117. -- Executing [100@from-did-direct:13] Set("Local/1000@from-internal-0000004d;2", "__NODEST=") in new stack
  1118. -- Executing [100@from-did-direct:14] Set("Local/1000@from-internal-0000004d;2", "RRNODEST=") in new stack
  1119. -- Executing [100@from-did-direct:15] Set("Local/1000@from-internal-0000004d;2", "__NODEST=100") in new stack
  1120. -- Executing [100@from-did-direct:16] GosubIf("Local/1000@from-internal-0000004d;2", "0?sub-fmsetcid,s,1()") in new stack
  1121. -- Executing [100@from-did-direct:17] Set("Local/1000@from-internal-0000004d;2", "RecordMethod=Group") in new stack
  1122. -- Executing [100@from-did-direct:18] Gosub("Local/1000@from-internal-0000004d;2", "sub-record-check,s,1(exten,100,)") in new stack
  1123. -- Executing [s@sub-record-check:1] Set("Local/1000@from-internal-0000004d;2", "REC_POLICY_MODE_SAVE=dontcare") in new stack
  1124. -- Executing [s@sub-record-check:2] GotoIf("Local/1000@from-internal-0000004d;2", "1?check") in new stack
  1125. -- Goto (sub-record-check,s,7)
  1126. -- Executing [s@sub-record-check:7] Set("Local/1000@from-internal-0000004d;2", "__MON_FMT=wav") in new stack
  1127. -- Executing [s@sub-record-check:8] GotoIf("Local/1000@from-internal-0000004d;2", "1?next") in new stack
  1128. -- Goto (sub-record-check,s,11)
  1129. -- Executing [s@sub-record-check:11] ExecIf("Local/1000@from-internal-0000004d;2", "0?Return()") in new stack
  1130. -- Executing [s@sub-record-check:12] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(__REC_POLICY_MODE=)") in new stack
  1131. -- Executing [s@sub-record-check:13] GotoIf("Local/1000@from-internal-0000004d;2", "1?exten,1") in new stack
  1132. -- Goto (sub-record-check,exten,1)
  1133. -- Executing [exten@sub-record-check:1] GotoIf("Local/1000@from-internal-0000004d;2", "1?callee") in new stack
  1134. -- Goto (sub-record-check,exten,8)
  1135. -- Executing [exten@sub-record-check:8] GosubIf("Local/1000@from-internal-0000004d;2", "0?record,1(exten,100,MY CELL NUMBER)") in new stack
  1136. -- Executing [exten@sub-record-check:9] Return("Local/1000@from-internal-0000004d;2", "") in new stack
  1137. -- Executing [100@from-did-direct:19] Set("Local/1000@from-internal-0000004d;2", "RingGroupMethod=ringallv2") in new stack
  1138. -- Executing [100@from-did-direct:20] Set("Local/1000@from-internal-0000004d;2", "_FMGRP=100") in new stack
  1139. -- Executing [100@from-did-direct:21] GotoIf("Local/1000@from-internal-0000004d;2", "0?doconfirm") in new stack
  1140. -- Executing [100@from-did-direct:22] Macro("Local/1000@from-internal-0000004d;2", "dial,20,trI,100") in new stack
  1141. -- Executing [s@macro-dial:1] GotoIf("Local/1000@from-internal-0000004d;2", "0?dial") in new stack
  1142. -- Executing [s@macro-dial:2] SetMusicOnHold("Local/1000@from-internal-0000004d;2", "default") in new stack
  1143. -- Executing [s@macro-dial:3] AGI("Local/1000@from-internal-0000004d;2", "dialparties.agi") in new stack
  1144. -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  1145. dialparties.agi: Starting New Dialparties.agi
  1146. dialparties.agi: Caller ID name is 'MY CELL NUMBER' number is 'MY CELL NUMBER'
  1147. > dialparties.agi: USE_CONFIRMATION: 'FALSE'
  1148. > dialparties.agi: RINGGROUP_INDEX: ''
  1149. dialparties.agi: Methodology of ring is 'ringallv2'
  1150. -- dialparties.agi: Added extension 100 to extension map
  1151. > dialparties.agi: got fmgrp_prering: 2, fmgrp_grptime: 20
  1152. > dialparties.agi: fmgrp_totalprering: 22
  1153. > dialparties.agi: found extension in pre-ring and array
  1154. > dialparties.agi: ringallv2 ring times: REALPRERING: 22, PRERING: 2
  1155. > dialparties.agi: Extension 100 has call screening off
  1156. -- dialparties.agi: Extension 100 cf is disabled
  1157. -- dialparties.agi: Extension 100 do not disturb is disabled
  1158. > dialparties.agi: extnum 100 has: cw: 1; hascfb: 0 [] hascfu: 0 []
  1159. -- dialparties.agi: dbset CALLTRACE/100 to MY CELL NUMBER
  1160. -- dialparties.agi: Filtered ARG3: 100
  1161. > dialparties.agi: NODEST: 100 adding M(auto-blkvm) to dialopts: trIM(auto-blkvm)
  1162. > dialparties.agi: NODEST: 100 blkvm enabled macro already in dialopts: trIM(auto-blkvm)
  1163. -- <Local/1000@from-internal-0000004d;2>AGI Script dialparties.agi completed, returning 0
  1164. -- Executing [s@macro-dial:7] Dial("Local/1000@from-internal-0000004d;2", "SIP/100,22,trIM(auto-blkvm)") in new stack
  1165. [2014-04-17 09:10:45] WARNING[7199][C-00000016]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
  1166. == Everyone is busy/congested at this time (1:0/0/1)
  1167. -- Executing [s@macro-dial:8] Set("Local/1000@from-internal-0000004d;2", "DIALSTATUS=CHANUNAVAIL") in new stack
  1168. -- Executing [s@macro-dial:9] GosubIf("Local/1000@from-internal-0000004d;2", "0?CHANUNAVAIL,1") in new stack
  1169. -- Executing [100@from-did-direct:23] Goto("Local/1000@from-internal-0000004d;2", "nextstep") in new stack
  1170. -- Goto (from-did-direct,100,25)
  1171. -- Executing [100@from-did-direct:25] Set("Local/1000@from-internal-0000004d;2", "RingGroupMethod=") in new stack
  1172. -- Executing [100@from-did-direct:26] GotoIf("Local/1000@from-internal-0000004d;2", "0?nodest") in new stack
  1173. -- Executing [100@from-did-direct:27] Set("Local/1000@from-internal-0000004d;2", "__NODEST=") in new stack
  1174. -- Executing [100@from-did-direct:28] Set("Local/1000@from-internal-0000004d;2", "__PICKUPMARK=") in new stack
  1175. -- Executing [100@from-did-direct:29] Macro("Local/1000@from-internal-0000004d;2", "blkvm-clr,") in new stack
  1176. -- Executing [s@macro-blkvm-clr:1] Set("Local/1000@from-internal-0000004d;2", "SHARED(BLKVM,Dongle/dongle0-010000001e)=") in new stack
  1177. -- Executing [s@macro-blkvm-clr:2] Set("Local/1000@from-internal-0000004d;2", "GOSUB_RETVAL=") in new stack
  1178. -- Executing [s@macro-blkvm-clr:3] MacroExit("Local/1000@from-internal-0000004d;2", "") in new stack
  1179. -- Executing [100@from-did-direct:30] Set("Local/1000@from-internal-0000004d;2", "DIALSTATUS=CHANUNAVAIL") in new stack
  1180. -- Executing [100@from-did-direct:31] Goto("Local/1000@from-internal-0000004d;2", "ext-local,100,dest") in new stack
  1181. -- Goto (ext-local,100,3)
  1182. -- Executing [100@ext-local:3] Set("Local/1000@from-internal-0000004d;2", "__PICKUPMARK=") in new stack
  1183. -- Executing [100@ext-local:4] GotoIf("Local/1000@from-internal-0000004d;2", "0?disa,2,1") in new stack
  1184. -- Executing [100@ext-local:5] Macro("Local/1000@from-internal-0000004d;2", "vm,100,CHANUNAVAIL,") in new stack
  1185. -- Executing [s@macro-vm:1] Macro("Local/1000@from-internal-0000004d;2", "user-callerid,SKIPTTL") in new stack
  1186. -- Executing [s@macro-user-callerid:1] Set("Local/1000@from-internal-0000004d;2", "TOUCH_MONITOR=1397705983.199") in new stack
  1187. -- Executing [s@macro-user-callerid:2] Set("Local/1000@from-internal-0000004d;2", "AMPUSER=MY CELL NUMBER") in new stack
  1188. -- Executing [s@macro-user-callerid:3] GotoIf("Local/1000@from-internal-0000004d;2", "0?report") in new stack
  1189. -- Executing [s@macro-user-callerid:4] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  1190. -- Executing [s@macro-user-callerid:5] Set("Local/1000@from-internal-0000004d;2", "AMPUSER=") in new stack
  1191. -- Executing [s@macro-user-callerid:6] GotoIf("Local/1000@from-internal-0000004d;2", "0?limit") in new stack
  1192. -- Executing [s@macro-user-callerid:7] Set("Local/1000@from-internal-0000004d;2", "AMPUSERCIDNAME=") in new stack
  1193. -- Executing [s@macro-user-callerid:8] GotoIf("Local/1000@from-internal-0000004d;2", "1?report") in new stack
  1194. -- Goto (macro-user-callerid,s,16)
  1195. -- Executing [s@macro-user-callerid:16] GotoIf("Local/1000@from-internal-0000004d;2", "1?continue") in new stack
  1196. -- Goto (macro-user-callerid,s,30)
  1197. -- Executing [s@macro-user-callerid:30] Set("Local/1000@from-internal-0000004d;2", "CALLERID(number)=MY CELL NUMBER") in new stack
  1198. -- Executing [s@macro-user-callerid:31] Set("Local/1000@from-internal-0000004d;2", "CALLERID(name)=MY CELL NUMBER") in new stack
  1199. -- Executing [s@macro-user-callerid:32] Set("Local/1000@from-internal-0000004d;2", "CDR(cnum)=MY CELL NUMBER") in new stack
  1200. -- Executing [s@macro-user-callerid:33] Set("Local/1000@from-internal-0000004d;2", "CDR(cnam)=MY CELL NUMBER") in new stack
  1201. -- Executing [s@macro-user-callerid:34] Set("Local/1000@from-internal-0000004d;2", "CHANNEL(language)=en") in new stack
  1202. -- Executing [s@macro-vm:2] Set("Local/1000@from-internal-0000004d;2", "VMGAIN=") in new stack
  1203. -- Executing [s@macro-vm:3] Macro("Local/1000@from-internal-0000004d;2", "blkvm-check,") in new stack
  1204. -- Executing [s@macro-blkvm-check:1] Set("Local/1000@from-internal-0000004d;2", "GOSUB_RETVAL=") in new stack
  1205. -- Executing [s@macro-blkvm-check:2] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(GOSUB_RETVAL=TRUE)") in new stack
  1206. -- Executing [s@macro-blkvm-check:3] MacroExit("Local/1000@from-internal-0000004d;2", "") in new stack
  1207. -- Executing [s@macro-vm:4] GotoIf("Local/1000@from-internal-0000004d;2", "1?vmx,1") in new stack
  1208. -- Goto (macro-vm,vmx,1)
  1209. -- Executing [vmx@macro-vm:1] Set("Local/1000@from-internal-0000004d;2", "MEXTEN=100") in new stack
  1210. -- Executing [vmx@macro-vm:2] Set("Local/1000@from-internal-0000004d;2", "MMODE=CHANUNAVAIL") in new stack
  1211. -- Executing [vmx@macro-vm:3] Set("Local/1000@from-internal-0000004d;2", "RETVM=") in new stack
  1212. -- Executing [vmx@macro-vm:4] Set("Local/1000@from-internal-0000004d;2", "MODE=unavail") in new stack
  1213. -- Executing [vmx@macro-vm:5] GotoIf("Local/1000@from-internal-0000004d;2", "0?chknomsg") in new stack
  1214. -- Executing [vmx@macro-vm:6] Set("Local/1000@from-internal-0000004d;2", "VM_OPTS=") in new stack
  1215. -- Executing [vmx@macro-vm:7] GotoIf("Local/1000@from-internal-0000004d;2", "0?s-CHANUNAVAIL,1") in new stack
  1216. -- Executing [vmx@macro-vm:8] GotoIf("Local/1000@from-internal-0000004d;2", "1?notdirect") in new stack
  1217. -- Goto (macro-vm,vmx,10)
  1218. -- Executing [vmx@macro-vm:10] NoOp("Local/1000@from-internal-0000004d;2", "Checking if ext 100 is enabled: enabled") in new stack
  1219. -- Executing [vmx@macro-vm:11] GotoIf("Local/1000@from-internal-0000004d;2", "0?s-CHANUNAVAIL,1") in new stack
  1220. -- Executing [vmx@macro-vm:12] Macro("Local/1000@from-internal-0000004d;2", "get-vmcontext,100") in new stack
  1221. -- Executing [s@macro-get-vmcontext:1] Set("Local/1000@from-internal-0000004d;2", "VMCONTEXT=default") in new stack
  1222. -- Executing [s@macro-get-vmcontext:2] GotoIf("Local/1000@from-internal-0000004d;2", "0?200:300") in new stack
  1223. -- Goto (macro-get-vmcontext,s,300)
  1224. -- Executing [s@macro-get-vmcontext:300] NoOp("Local/1000@from-internal-0000004d;2", "") in new stack
  1225. -- Executing [vmx@macro-vm:13] GotoIf("Local/1000@from-internal-0000004d;2", "0?tmpgreet") in new stack
  1226. -- Executing [vmx@macro-vm:14] GotoIf("Local/1000@from-internal-0000004d;2", "1?nofile") in new stack
  1227. -- Goto (macro-vm,vmx,52)
  1228. -- Executing [vmx@macro-vm:52] NoOp("Local/1000@from-internal-0000004d;2", "File for mode: unavail does not exist, SYSTEMSTATUS: , going to normal voicemail") in new stack
  1229. -- Executing [vmx@macro-vm:53] Goto("Local/1000@from-internal-0000004d;2", "s-CHANUNAVAIL,1") in new stack
  1230. -- Goto (macro-vm,s-CHANUNAVAIL,1)
  1231. -- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("Local/1000@from-internal-0000004d;2", "get-vmcontext,100") in new stack
  1232. -- Executing [s@macro-get-vmcontext:1] Set("Local/1000@from-internal-0000004d;2", "VMCONTEXT=default") in new stack
  1233. -- Executing [s@macro-get-vmcontext:2] GotoIf("Local/1000@from-internal-0000004d;2", "0?200:300") in new stack
  1234. -- Goto (macro-get-vmcontext,s,300)
  1235. -- Executing [s@macro-get-vmcontext:300] NoOp("Local/1000@from-internal-0000004d;2", "") in new stack
  1236. -- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("Local/1000@from-internal-0000004d;2", "100@default,u") in new stack
  1237. -- <Local/1000@from-internal-0000004d;2> Playing 'vm-theperson.slin' (language 'en')
  1238. -- <Local/1000@from-internal-0000004d;2> Playing 'digits/1.slin' (language 'en')
  1239. -- <Local/1000@from-internal-0000004d;2> Playing 'digits/0.slin' (language 'en')
  1240. -- <Local/1000@from-internal-0000004d;2> Playing 'digits/0.slin' (language 'en')
  1241. -- <Local/1000@from-internal-0000004d;2> Playing 'vm-isunavail.slin' (language 'en')
  1242. -- <Local/1000@from-internal-0000004d;2> Playing 'vm-intro.slin' (language 'en')
  1243. -- <Local/1000@from-internal-0000004d;2> Playing 'beep.slin' (language 'en')
  1244. -- Recording the message
  1245. -- x=0, open writing: /var/spool/asterisk/voicemail/default/100/tmp/Rc7g7Y format: wav49, 0xfe96d4
  1246. -- x=1, open writing: /var/spool/asterisk/voicemail/default/100/tmp/Rc7g7Y format: gsm, 0xffbcbc
  1247. -- x=2, open writing: /var/spool/asterisk/voicemail/default/100/tmp/Rc7g7Y format: wav, 0xf55e24
  1248. [2014-04-17 09:11:00] WARNING[7199][C-00000016]: app.c:1242 __ast_play_and_record: No audio available on Local/1000@from-internal-0000004d;2??
  1249. -- User hung up
  1250. == Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on 'Local/1000@from-internal-0000004d;2' in macro 'vm'
  1251. == Spawn extension (ext-local, 100, 5) exited non-zero on 'Local/1000@from-internal-0000004d;2'
  1252. -- Executing [h@ext-local:1] Macro("Local/1000@from-internal-0000004d;2", "hangupcall,") in new stack
  1253. -- Executing [s@macro-hangupcall:1] GotoIf("Local/1000@from-internal-0000004d;2", "1?theend") in new stack
  1254. -- Goto (macro-hangupcall,s,3)
  1255. -- Executing [s@macro-hangupcall:3] ExecIf("Local/1000@from-internal-0000004d;2", "0?Set(CDR(recordingfile)=)") in new stack
  1256. -- Executing [s@macro-hangupcall:4] Hangup("Local/1000@from-internal-0000004d;2", "") in new stack
  1257. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/1000@from-internal-0000004d;2' in macro 'hangupcall'
  1258. == Spawn extension (ext-local, h, 1) exited non-zero on 'Local/1000@from-internal-0000004d;2'
  1259. -- Executing [h@macro-dial:1] Macro("Dongle/dongle0-010000001e", "hangupcall") in new stack
  1260. -- Executing [s@macro-hangupcall:1] GotoIf("Dongle/dongle0-010000001e", "1?theend") in new stack
  1261. -- Goto (macro-hangupcall,s,3)
  1262. -- Executing [s@macro-hangupcall:3] ExecIf("Dongle/dongle0-010000001e", "0?Set(CDR(recordingfile)=)") in new stack
  1263. -- Executing [s@macro-hangupcall:4] Hangup("Dongle/dongle0-010000001e", "") in new stack
  1264. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Dongle/dongle0-010000001e' in macro 'hangupcall'
  1265. == Spawn extension (macro-dial, h, 1) exited non-zero on 'Dongle/dongle0-010000001e'
  1266. == Spawn extension (macro-dial, s, 7) exited non-zero on 'Dongle/dongle0-010000001e' in macro 'dial'
  1267. == Spawn extension (ext-group, 600, 11) exited non-zero on 'Dongle/dongle0-010000001e'
  1268. raspbx*CLI>
  1269.  
  1270.  
  1271.  
  1272.  
  1273. when call comes in to the dongle & x-lite is up and running
  1274. =========================================================================
  1275. Connected to Asterisk 11.8.0 currently running on raspbx (pid = 2940)
  1276. -- Executing [MY DONGLE SIM NUMBER@from-trunk-dongle:1] Set("Dongle/dongle0-0100000001", "CALLERID(name)=MY CELL NUMBER") in new stack
  1277. -- Executing [MY DONGLE SIM NUMBER@from-trunk-dongle:2] Goto("Dongle/dongle0-0100000001", "from-trunk,MY DONGLE SIM NUMBER,1") in new stack
  1278. -- Goto (from-trunk,MY DONGLE SIM NUMBER,1)
  1279. -- Executing [MY DONGLE SIM NUMBER@from-trunk:1] NoOp("Dongle/dongle0-0100000001", "Catch-All DID Match - Found MY DONGLE SIM NUMBER - You probably want a DID for this.") in new stack
  1280. -- Executing [MY DONGLE SIM NUMBER@from-trunk:2] Set("Dongle/dongle0-0100000001", "__FROM_DID=MY DONGLE SIM NUMBER") in new stack
  1281. -- Executing [MY DONGLE SIM NUMBER@from-trunk:3] Goto("Dongle/dongle0-0100000001", "ext-did,s,1") in new stack
  1282. -- Goto (ext-did,s,1)
  1283. -- Executing [s@ext-did:1] ExecIf("Dongle/dongle0-0100000001", "0?Set(__FROM_DID=s)") in new stack
  1284. -- Executing [s@ext-did:2] Gosub("Dongle/dongle0-0100000001", "app-blacklist-check,s,1()") in new stack
  1285. -- Executing [s@app-blacklist-check:1] GotoIf("Dongle/dongle0-0100000001", "0?blacklisted") in new stack
  1286. -- Executing [s@app-blacklist-check:2] Set("Dongle/dongle0-0100000001", "CALLED_BLACKLIST=1") in new stack
  1287. -- Executing [s@app-blacklist-check:3] Return("Dongle/dongle0-0100000001", "") in new stack
  1288. -- Executing [s@ext-did:3] Set("Dongle/dongle0-0100000001", "CDR(did)=MY DONGLE SIM NUMBER") in new stack
  1289. -- Executing [s@ext-did:4] ExecIf("Dongle/dongle0-0100000001", "0 ?Set(CALLERID(name)=MY CELL NUMBER)") in new stack
  1290. -- Executing [s@ext-did:5] Set("Dongle/dongle0-0100000001", "CHANNEL(musicclass)=default") in new stack
  1291. -- Executing [s@ext-did:6] Set("Dongle/dongle0-0100000001", "__MOHCLASS=default") in new stack
  1292. -- Executing [s@ext-did:7] Set("Dongle/dongle0-0100000001", "__CALLINGPRES_SV=allowed_not_screened") in new stack
  1293. -- Executing [s@ext-did:8] Set("Dongle/dongle0-0100000001", "CALLERPRES()=allowed_not_screened") in new stack
  1294. -- Executing [s@ext-did:9] Goto("Dongle/dongle0-0100000001", "from-did-direct,1000,1") in new stack
  1295. -- Goto (from-did-direct,1000,1)
  1296. -- Executing [1000@from-did-direct:1] Set("Dongle/dongle0-0100000001", "__RINGTIMER=15") in new stack
  1297. -- Executing [1000@from-did-direct:2] Macro("Dongle/dongle0-0100000001", "exten-vm,1000,1000,1,1,1") in new stack
  1298. -- Executing [s@macro-exten-vm:1] Macro("Dongle/dongle0-0100000001", "user-callerid,") in new stack
  1299. -- Executing [s@macro-user-callerid:1] Set("Dongle/dongle0-0100000001", "TOUCH_MONITOR=1397658588.2") in new stack
  1300. -- Executing [s@macro-user-callerid:2] Set("Dongle/dongle0-0100000001", "AMPUSER=MY CELL NUMBER") in new stack
  1301. -- Executing [s@macro-user-callerid:3] GotoIf("Dongle/dongle0-0100000001", "0?report") in new stack
  1302. -- Executing [s@macro-user-callerid:4] ExecIf("Dongle/dongle0-0100000001", "1?Set(REALCALLERIDNUM=MY CELL NUMBER)") in new stack
  1303. -- Executing [s@macro-user-callerid:5] Set("Dongle/dongle0-0100000001", "AMPUSER=") in new stack
  1304. -- Executing [s@macro-user-callerid:6] GotoIf("Dongle/dongle0-0100000001", "0?limit") in new stack
  1305. -- Executing [s@macro-user-callerid:7] Set("Dongle/dongle0-0100000001", "AMPUSERCIDNAME=") in new stack
  1306. -- Executing [s@macro-user-callerid:8] GotoIf("Dongle/dongle0-0100000001", "1?report") in new stack
  1307. -- Goto (macro-user-callerid,s,16)
  1308. -- Executing [s@macro-user-callerid:16] GotoIf("Dongle/dongle0-0100000001", "0?continue") in new stack
  1309. -- Executing [s@macro-user-callerid:17] ExecIf("Dongle/dongle0-0100000001", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
  1310. -- Executing [s@macro-user-callerid:18] Set("Dongle/dongle0-0100000001", "__TTL=64") in new stack
  1311. -- Executing [s@macro-user-callerid:19] GotoIf("Dongle/dongle0-0100000001", "1?continue") in new stack
  1312. -- Goto (macro-user-callerid,s,30)
  1313. -- Executing [s@macro-user-callerid:30] Set("Dongle/dongle0-0100000001", "CALLERID(number)=MY CELL NUMBER") in new stack
  1314. -- Executing [s@macro-user-callerid:31] Set("Dongle/dongle0-0100000001", "CALLERID(name)=MY CELL NUMBER") in new stack
  1315. -- Executing [s@macro-user-callerid:32] Set("Dongle/dongle0-0100000001", "CDR(cnum)=MY CELL NUMBER") in new stack
  1316. -- Executing [s@macro-user-callerid:33] Set("Dongle/dongle0-0100000001", "CDR(cnam)=MY CELL NUMBER") in new stack
  1317. -- Executing [s@macro-user-callerid:34] Set("Dongle/dongle0-0100000001", "CHANNEL(language)=en") in new stack
  1318.  
  1319. -- Executing [s@macro-exten-vm:2] Set("Dongle/dongle0-0100000001", "RingGroupMethod=none") in new stack
  1320. -- Executing [s@macro-exten-vm:3] Set("Dongle/dongle0-0100000001", "__EXTTOCALL=1000") in new stack
  1321. -- Executing [s@macro-exten-vm:4] Set("Dongle/dongle0-0100000001", "__PICKUPMARK=1000") in new stack
  1322. -- Executing [s@macro-exten-vm:5] Set("Dongle/dongle0-0100000001", "RT=15") in new stack
  1323. [2014-04-16 19:59:48] WARNING[3486][C-00000001]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  1324. -- Executing [s@macro-exten-vm:6] ExecIf("Dongle/dongle0-0100000001", "0?Macro(vm,1000,DIRECTDIAL,)") in new stack
  1325. [2014-04-16 19:59:48] WARNING[3486][C-00000001]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  1326. [2014-04-16 19:59:48] WARNING[3486][C-00000001]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  1327. -- Executing [s@macro-exten-vm:7] ExecIf("Dongle/dongle0-0100000001", "0?MacroExit()") in new stack
  1328. [2014-04-16 19:59:48] WARNING[3486][C-00000001]: chan_sip.c:21975 func_header_read: This function can only be used on SIP channels.
  1329. -- Executing [s@macro-exten-vm:8] Gosub("Dongle/dongle0-0100000001", "sub-record-check,s,1(exten,1000,)") in new stack
  1330. -- Executing [s@sub-record-check:1] Set("Dongle/dongle0-0100000001", "REC_POLICY_MODE_SAVE=") in new stack
  1331. -- Executing [s@sub-record-check:2] GotoIf("Dongle/dongle0-0100000001", "1?check") in new stack
  1332. -- Goto (sub-record-check,s,7)
  1333. -- Executing [s@sub-record-check:7] Set("Dongle/dongle0-0100000001", "__MON_FMT=wav") in new stack
  1334. -- Executing [s@sub-record-check:8] GotoIf("Dongle/dongle0-0100000001", "1?next") in new stack
  1335. -- Goto (sub-record-check,s,11)
  1336. -- Executing [s@sub-record-check:11] ExecIf("Dongle/dongle0-0100000001", "0?Return()") in new stack
  1337. -- Executing [s@sub-record-check:12] ExecIf("Dongle/dongle0-0100000001", "0?Set(__REC_POLICY_MODE=)") in new stack
  1338. -- Executing [s@sub-record-check:13] GotoIf("Dongle/dongle0-0100000001", "0?exten,1") in new stack
  1339. -- Executing [s@sub-record-check:14] Set("Dongle/dongle0-0100000001", "__REC_STATUS=INITIALIZED") in new stack
  1340. -- Executing [s@sub-record-check:15] Set("Dongle/dongle0-0100000001", "NOW=1397658588") in new stack
  1341. -- Executing [s@sub-record-check:16] Set("Dongle/dongle0-0100000001", "__DAY=16") in new stack
  1342. -- Executing [s@sub-record-check:17] Set("Dongle/dongle0-0100000001", "__MONTH=04") in new stack
  1343. -- Executing [s@sub-record-check:18] Set("Dongle/dongle0-0100000001", "__YEAR=2014") in new stack
  1344. -- Executing [s@sub-record-check:19] Set("Dongle/dongle0-0100000001", "__TIMESTR=20140416-195948") in new stack
  1345. -- Executing [s@sub-record-check:20] Set("Dongle/dongle0-0100000001", "__FROMEXTEN=MY CELL NUMBER") in new stack
  1346. -- Executing [s@sub-record-check:21] Set("Dongle/dongle0-0100000001", "__CALLFILENAME=exten-1000-MY CELL NUMBER-20140416-195948-1397658588.2") in new stack
  1347. -- Executing [s@sub-record-check:22] Goto("Dongle/dongle0-0100000001", "exten,1") in new stack
  1348. -- Goto (sub-record-check,exten,1)
  1349. -- Executing [exten@sub-record-check:1] GotoIf("Dongle/dongle0-0100000001", "0?callee") in new stack
  1350. -- Executing [exten@sub-record-check:2] Set("Dongle/dongle0-0100000001", "__REC_POLICY_MODE=dontcare") in new stack
  1351. -- Executing [exten@sub-record-check:3] GotoIf("Dongle/dongle0-0100000001", "1?caller") in new stack
  1352. -- Goto (sub-record-check,exten,10)
  1353. -- Executing [exten@sub-record-check:10] Set("Dongle/dongle0-0100000001", "__REC_POLICY_MODE=") in new stack
  1354. -- Executing [exten@sub-record-check:11] GosubIf("Dongle/dongle0-0100000001", "0?record,1(exten,1000,MY CELL NUMBER)") in new stack
  1355. -- Executing [exten@sub-record-check:12] Return("Dongle/dongle0-0100000001", "") in new stack
  1356. -- Executing [s@macro-exten-vm:9] GotoIf("Dongle/dongle0-0100000001", "1?macrodial") in new stack
  1357. -- Goto (macro-exten-vm,s,15)
  1358. -- Executing [s@macro-exten-vm:15] GosubIf("Dongle/dongle0-0100000001", "0?clrheader,1()") in new stack
  1359. -- Executing [s@macro-exten-vm:16] Macro("Dongle/dongle0-0100000001", "dial-one,15,tr,1000") in new stack
  1360. -- Executing [s@macro-dial-one:1] Set("Dongle/dongle0-0100000001", "DEXTEN=1000") in new stack
  1361. -- Executing [s@macro-dial-one:2] Set("Dongle/dongle0-0100000001", "DIALSTATUS_CW=") in new stack
  1362. -- Executing [s@macro-dial-one:3] GosubIf("Dongle/dongle0-0100000001", "0?screen,1()") in new stack
  1363. -- Executing [s@macro-dial-one:4] GosubIf("Dongle/dongle0-0100000001", "0?cf,1()") in new stack
  1364. -- Executing [s@macro-dial-one:5] GotoIf("Dongle/dongle0-0100000001", "1?skip1") in new stack
  1365. -- Goto (macro-dial-one,s,8)
  1366. -- Executing [s@macro-dial-one:8] GotoIf("Dongle/dongle0-0100000001", "0?nodial") in new stack
  1367. -- Executing [s@macro-dial-one:9] GotoIf("Dongle/dongle0-0100000001", "0?continue") in new stack
  1368. -- Executing [s@macro-dial-one:10] Set("Dongle/dongle0-0100000001", "EXTHASCW=ENABLED") in new stack
  1369. -- Executing [s@macro-dial-one:11] GotoIf("Dongle/dongle0-0100000001", "0?next1:cwinusebusy") in new stack
  1370. -- Goto (macro-dial-one,s,23)
  1371. -- Executing [s@macro-dial-one:23] GotoIf("Dongle/dongle0-0100000001", "1?next3:continue") in new stack
  1372. -- Goto (macro-dial-one,s,24)
  1373. -- Executing [s@macro-dial-one:24] ExecIf("Dongle/dongle0-0100000001", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
  1374. -- Executing [s@macro-dial-one:25] GotoIf("Dongle/dongle0-0100000001", "0?nodial") in new stack
  1375. -- Executing [s@macro-dial-one:26] GosubIf("Dongle/dongle0-0100000001", "1?dstring,1():dlocal,1()") in new stack
  1376. -- Executing [dstring@macro-dial-one:1] Set("Dongle/dongle0-0100000001", "DSTRING=") in new stack
  1377. -- Executing [dstring@macro-dial-one:2] Set("Dongle/dongle0-0100000001", "DEVICES=1000") in new stack
  1378. -- Executing [dstring@macro-dial-one:3] ExecIf("Dongle/dongle0-0100000001", "0?Return()") in new stack
  1379. -- Executing [dstring@macro-dial-one:4] ExecIf("Dongle/dongle0-0100000001", "0?Set(DEVICES=000)") in new stack
  1380. -- Executing [dstring@macro-dial-one:5] Set("Dongle/dongle0-0100000001", "LOOPCNT=1") in new stack
  1381. -- Executing [dstring@macro-dial-one:6] Set("Dongle/dongle0-0100000001", "ITER=1") in new stack
  1382. -- Executing [dstring@macro-dial-one:7] Set("Dongle/dongle0-0100000001", "THISDIAL=SIP/1000") in new stack
  1383. -- Executing [dstring@macro-dial-one:8] GosubIf("Dongle/dongle0-0100000001", "1?zap2dahdi,1()") in new stack
  1384. -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Dongle/dongle0-0100000001", "0?Return()") in new stack
  1385. -- Executing [zap2dahdi@macro-dial-one:2] Set("Dongle/dongle0-0100000001", "NEWDIAL=") in new stack
  1386. -- Executing [zap2dahdi@macro-dial-one:3] Set("Dongle/dongle0-0100000001", "LOOPCNT2=1") in new stack
  1387. -- Executing [zap2dahdi@macro-dial-one:4] Set("Dongle/dongle0-0100000001", "ITER2=1") in new stack
  1388. -- Executing [zap2dahdi@macro-dial-one:5] Set("Dongle/dongle0-0100000001", "THISPART2=SIP/1000") in new stack
  1389. -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Dongle/dongle0-0100000001", "0?Set(THISPART2=DAHDI/1000)") in new stack
  1390. -- Executing [zap2dahdi@macro-dial-one:7] Set("Dongle/dongle0-0100000001", "NEWDIAL=SIP/1000&") in new stack
  1391. -- Executing [zap2dahdi@macro-dial-one:8] Set("Dongle/dongle0-0100000001", "ITER2=2") in new stack
  1392. -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Dongle/dongle0-0100000001", "0?begin2") in new stack
  1393. -- Executing [zap2dahdi@macro-dial-one:10] Set("Dongle/dongle0-0100000001", "THISDIAL=SIP/1000") in new stack
  1394. -- Executing [zap2dahdi@macro-dial-one:11] Return("Dongle/dongle0-0100000001", "") in new stack
  1395. -- Executing [dstring@macro-dial-one:9] Set("Dongle/dongle0-0100000001", "DSTRING=SIP/1000&") in new stack
  1396. -- Executing [dstring@macro-dial-one:10] Set("Dongle/dongle0-0100000001", "ITER=2") in new stack
  1397. -- Executing [dstring@macro-dial-one:11] GotoIf("Dongle/dongle0-0100000001", "0?begin") in new stack
  1398. -- Executing [dstring@macro-dial-one:12] Set("Dongle/dongle0-0100000001", "DSTRING=SIP/1000") in new stack
  1399. -- Executing [dstring@macro-dial-one:13] Return("Dongle/dongle0-0100000001", "") in new stack
  1400. -- Executing [s@macro-dial-one:27] GotoIf("Dongle/dongle0-0100000001", "0?nodial") in new stack
  1401. -- Executing [s@macro-dial-one:28] GotoIf("Dongle/dongle0-0100000001", "0?skiptrace") in new stack
  1402. -- Executing [s@macro-dial-one:29] GosubIf("Dongle/dongle0-0100000001", "1?ctset,1():ctclear,1()") in new stack
  1403. -- Executing [ctset@macro-dial-one:1] Set("Dongle/dongle0-0100000001", "DB(CALLTRACE/1000)=MY CELL NUMBER") in new stack
  1404. -- Executing [ctset@macro-dial-one:2] Return("Dongle/dongle0-0100000001", "") in new stack
  1405. -- Executing [s@macro-dial-one:30] Set("Dongle/dongle0-0100000001", "D_OPTIONS=tr") in new stack
  1406. -- Executing [s@macro-dial-one:31] ExecIf("Dongle/dongle0-0100000001", "0?SIPAddHeader(Alert-Info: )") in new stack
  1407. -- Executing [s@macro-dial-one:32] ExecIf("Dongle/dongle0-0100000001", "0?SIPAddHeader()") in new stack
  1408. -- Executing [s@macro-dial-one:33] ExecIf("Dongle/dongle0-0100000001", "1?Set(CHANNEL(musicclass)=default)") in new stack
  1409. -- Executing [s@macro-dial-one:34] GosubIf("Dongle/dongle0-0100000001", "0?qwait,1()") in new stack
  1410. -- Executing [s@macro-dial-one:35] Set("Dongle/dongle0-0100000001", "__CWIGNORE=") in new stack
  1411. -- Executing [s@macro-dial-one:36] Set("Dongle/dongle0-0100000001", "__KEEPCID=TRUE") in new stack
  1412. -- Executing [s@macro-dial-one:37] GotoIf("Dongle/dongle0-0100000001", "0?usegoto,1") in new stack
  1413. -- Executing [s@macro-dial-one:38] GotoIf("Dongle/dongle0-0100000001", "1?godial") in new stack
  1414. -- Goto (macro-dial-one,s,43)
  1415. -- Executing [s@macro-dial-one:43] Dial("Dongle/dongle0-0100000001", "SIP/1000,15,tr") in new stack
  1416. == Using SIP RTP TOS bits 184
  1417. == Using SIP RTP CoS mark 5
  1418. -- Called SIP/1000
  1419. [2014-04-16 19:59:49] WARNING[3486][C-00000001]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000001] Don't know how to indicate condition 22
  1420. [2014-04-16 19:59:49] WARNING[3486][C-00000001]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000001] Don't know how to indicate condition 22
  1421. [2014-04-16 19:59:49] WARNING[3486][C-00000001]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000001] Don't know how to indicate condition 33
  1422. [2014-04-16 19:59:49] WARNING[3486][C-00000001]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000001] Don't know how to indicate condition 33
  1423. -- SIP/1000-00000001 is ringing
  1424. [2014-04-16 19:59:51] WARNING[3486][C-00000001]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000001] Don't know how to indicate condition 33
  1425. [2014-04-16 19:59:51] WARNING[3486][C-00000001]: channel.c:1002 channel_indicate: [Dongle/dongle0-0100000001] Don't know how to indicate condition 22
  1426. -- SIP/1000-00000001 answered Dongle/dongle0-0100000001
  1427. -- Executing [h@macro-dial-one:1] Macro("Dongle/dongle0-0100000001", "hangupcall,") in new stack
  1428. -- Executing [s@macro-hangupcall:1] GotoIf("Dongle/dongle0-0100000001", "1?theend") in new stack
  1429. -- Goto (macro-hangupcall,s,3)
  1430. -- Executing [s@macro-hangupcall:3] ExecIf("Dongle/dongle0-0100000001", "0?Set(CDR(recordingfile)=)") in new stack
  1431. -- Executing [s@macro-hangupcall:4] Hangup("Dongle/dongle0-0100000001", "") in new stack
  1432. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Dongle/dongle0-0100000001' in macro 'hangupcall'
  1433. == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Dongle/dongle0-0100000001'
  1434. == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'Dongle/dongle0-0100000001' in macro 'dial-one'
  1435. == Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'Dongle/dongle0-0100000001' in macro 'exten-vm'
  1436. == Spawn extension (from-did-direct, 1000, 2) exited non-zero on 'Dongle/dongle0-0100000001'
  1437. raspbx*CLI>
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444. when call goes out from x-lite (from dongle)
  1445. =========================================================================
  1446. Connected to Asterisk 11.8.0 currently running on raspbx (pid = 2940)
  1447. == Using SIP RTP TOS bits 184
  1448. == Using SIP RTP CoS mark 5
  1449. -- Executing [MY CELL NUMBER@from-internal:1] Macro("SIP/1000-00000003", "user-callerid,LIMIT,EXTERNAL,") in new stack
  1450. -- Executing [s@macro-user-callerid:1] Set("SIP/1000-00000003", "TOUCH_MONITOR=1397658818.6") in new stack
  1451. -- Executing [s@macro-user-callerid:2] Set("SIP/1000-00000003", "AMPUSER=1000") in new stack
  1452. -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1000-00000003", "0?report") in new stack
  1453. -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1000-00000003", "1?Set(REALCALLERIDNUM=1000)") in new stack
  1454. -- Executing [s@macro-user-callerid:5] Set("SIP/1000-00000003", "AMPUSER=1000") in new stack
  1455. -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1000-00000003", "0?limit") in new stack
  1456. -- Executing [s@macro-user-callerid:7] Set("SIP/1000-00000003", "AMPUSERCIDNAME=ext1000") in new stack
  1457. -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1000-00000003", "0?report") in new stack
  1458. -- Executing [s@macro-user-callerid:9] Set("SIP/1000-00000003", "AMPUSERCID=1000") in new stack
  1459. -- Executing [s@macro-user-callerid:10] Set("SIP/1000-00000003", "__DIAL_OPTIONS=tr") in new stack
  1460. -- Executing [s@macro-user-callerid:11] Set("SIP/1000-00000003", "CALLERID(all)="ext1000" <1000>") in new stack
  1461. -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1000-00000003", "0?limit") in new stack
  1462. -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1000-00000003", "1?Set(GROUP(concurrency_limit)=1000)") in new stack
  1463. -- Executing [s@macro-user-callerid:14] ExecIf("SIP/1000-00000003", "0?Set(CHANNEL(language)=)") in new stack
  1464. -- Executing [s@macro-user-callerid:15] GosubIf("SIP/1000-00000003", "7?sub-ccss,s,1(from-internal,MY CELL NUMBER)") in new stack
  1465. -- Executing [s@sub-ccss:1] ExecIf("SIP/1000-00000003", "0?Return()") in new stack
  1466. -- Executing [s@sub-ccss:2] Set("SIP/1000-00000003", "CCSS_SETUP=TRUE") in new stack
  1467. -- Executing [s@sub-ccss:3] GosubIf("SIP/1000-00000003", "0?monitor_config,1(from-internal,MY CELL NUMBER):monitor_default,1(from-internal,MY CELL NUMBER)") in new stack
  1468. -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1000-00000003", "0?is_exten") in new stack
  1469. -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1000-00000003", "") in new stack
  1470. -- Executing [monitor_default@sub-ccss:3] Return("SIP/1000-00000003", "FALSE") in new stack
  1471. -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1000-00000003", "1?continue") in new stack
  1472. -- Goto (macro-user-callerid,s,30)
  1473. -- Executing [s@macro-user-callerid:30] Set("SIP/1000-00000003", "CALLERID(number)=1000") in new stack
  1474. -- Executing [s@macro-user-callerid:31] Set("SIP/1000-00000003", "CALLERID(name)=ext1000") in new stack
  1475. -- Executing [s@macro-user-callerid:32] Set("SIP/1000-00000003", "CDR(cnum)=1000") in new stack
  1476. -- Executing [s@macro-user-callerid:33] Set("SIP/1000-00000003", "CDR(cnam)=ext1000") in new stack
  1477. -- Executing [s@macro-user-callerid:34] Set("SIP/1000-00000003", "CHANNEL(language)=en") in new stack
  1478. -- Executing [MY CELL NUMBER@from-internal:2] ExecIf("SIP/1000-00000003", "0 ?Set(CDR(accountcode)=)") in new stack
  1479. -- Executing [MY CELL NUMBER@from-internal:3] Set("SIP/1000-00000003", "MOHCLASS=default") in new stack
  1480. -- Executing [MY CELL NUMBER@from-internal:4] Set("SIP/1000-00000003", "_NODEST=") in new stack
  1481. -- Executing [MY CELL NUMBER@from-internal:5] Gosub("SIP/1000-00000003", "sub-record-check,s,1(out,MY CELL NUMBER,)") in new stack
  1482. -- Executing [s@sub-record-check:1] Set("SIP/1000-00000003", "REC_POLICY_MODE_SAVE=") in new stack
  1483. -- Executing [s@sub-record-check:2] GotoIf("SIP/1000-00000003", "1?check") in new stack
  1484. -- Goto (sub-record-check,s,7)
  1485. -- Executing [s@sub-record-check:7] Set("SIP/1000-00000003", "__MON_FMT=wav") in new stack
  1486. -- Executing [s@sub-record-check:8] GotoIf("SIP/1000-00000003", "1?next") in new stack
  1487. -- Goto (sub-record-check,s,11)
  1488. -- Executing [s@sub-record-check:11] ExecIf("SIP/1000-00000003", "0?Return()") in new stack
  1489. -- Executing [s@sub-record-check:12] ExecIf("SIP/1000-00000003", "0?Set(__REC_POLICY_MODE=)") in new stack
  1490. -- Executing [s@sub-record-check:13] GotoIf("SIP/1000-00000003", "0?out,1") in new stack
  1491. -- Executing [s@sub-record-check:14] Set("SIP/1000-00000003", "__REC_STATUS=INITIALIZED") in new stack
  1492. -- Executing [s@sub-record-check:15] Set("SIP/1000-00000003", "NOW=1397658818") in new stack
  1493. -- Executing [s@sub-record-check:16] Set("SIP/1000-00000003", "__DAY=16") in new stack
  1494. -- Executing [s@sub-record-check:17] Set("SIP/1000-00000003", "__MONTH=04") in new stack
  1495. -- Executing [s@sub-record-check:18] Set("SIP/1000-00000003", "__YEAR=2014") in new stack
  1496. -- Executing [s@sub-record-check:19] Set("SIP/1000-00000003", "__TIMESTR=20140416-200338") in new stack
  1497. -- Executing [s@sub-record-check:20] Set("SIP/1000-00000003", "__FROMEXTEN=1000") in new stack
  1498. -- Executing [s@sub-record-check:21] Set("SIP/1000-00000003", "__CALLFILENAME=out-MY CELL NUMBER-1000-20140416-200338-1397658818.6") in new stack
  1499. -- Executing [s@sub-record-check:22] Goto("SIP/1000-00000003", "out,1") in new stack
  1500. -- Goto (sub-record-check,out,1)
  1501. -- Executing [out@sub-record-check:1] ExecIf("SIP/1000-00000003", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
  1502. -- Executing [out@sub-record-check:2] GosubIf("SIP/1000-00000003", "0?record,1(exten,MY CELL NUMBER,1000)") in new stack
  1503. -- Executing [out@sub-record-check:3] Return("SIP/1000-00000003", "") in new stack
  1504. -- Executing [MY CELL NUMBER@from-internal:6] Macro("SIP/1000-00000003", "dialout-trunk,2,MY CELL NUMBER,,off") in new stack
  1505. -- Executing [s@macro-dialout-trunk:1] Set("SIP/1000-00000003", "DIAL_TRUNK=2") in new stack
  1506. -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1000-00000003", "0?sub-pincheck,s,1()") in new stack
  1507.  
  1508. -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1000-00000003", "0?disabletrunk,1") in new stack
  1509. -- Executing [s@macro-dialout-trunk:4] Set("SIP/1000-00000003", "DIAL_NUMBER=MY CELL NUMBER") in new stack
  1510. -- Executing [s@macro-dialout-trunk:5] Set("SIP/1000-00000003", "DIAL_TRUNK_OPTIONS=tr") in new stack
  1511. -- Executing [s@macro-dialout-trunk:6] Set("SIP/1000-00000003", "OUTBOUND_GROUP=OUT_2") in new stack
  1512. -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1000-00000003", "0?nomax") in new stack
  1513. -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/1000-00000003", "0?chanfull") in new stack
  1514. -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1000-00000003", "0?skipoutcid") in new stack
  1515. -- Executing [s@macro-dialout-trunk:10] Set("SIP/1000-00000003", "DIAL_TRUNK_OPTIONS=") in new stack
  1516. -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1000-00000003", "outbound-callerid,2") in new stack
  1517. -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1000-00000003", "0?Set(CALLERPRES()=)") in new stack
  1518. -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1000-00000003", "0?Set(REALCALLERIDNUM=1000)") in new stack
  1519. -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1000-00000003", "1?normcid") in new stack
  1520. -- Goto (macro-outbound-callerid,s,6)
  1521. -- Executing [s@macro-outbound-callerid:6] Set("SIP/1000-00000003", "USEROUTCID=") in new stack
  1522. -- Executing [s@macro-outbound-callerid:7] Set("SIP/1000-00000003", "EMERGENCYCID=") in new stack
  1523. -- Executing [s@macro-outbound-callerid:8] Set("SIP/1000-00000003", "TRUNKOUTCID=MY DONGLE SIM NUMBER") in new stack
  1524. -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1000-00000003", "1?trunkcid") in new stack
  1525. -- Goto (macro-outbound-callerid,s,14)
  1526. -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1000-00000003", "1?Set(CALLERID(all)=MY DONGLE SIM NUMBER)") in new stack
  1527. -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/1000-00000003", "0?Set(CALLERID(all)=)") in new stack
  1528. -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/1000-00000003", "0?Set(CALLERID(all)=)") in new stack
  1529. -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/1000-00000003", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  1530. -- Executing [s@macro-outbound-callerid:18] Set("SIP/1000-00000003", "CDR(outbound_cnum)=MY DONGLE SIM NUMBER") in new stack
  1531. -- Executing [s@macro-outbound-callerid:19] Set("SIP/1000-00000003", "CDR(outbound_cnam)=") in new stack
  1532. -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/1000-00000003", "1?sub-flp-2,s,1()") in new stack
  1533. -- Executing [s@sub-flp-2:1] ExecIf("SIP/1000-00000003", "1?Return()") in new stack
  1534. -- Executing [s@macro-dialout-trunk:13] Set("SIP/1000-00000003", "OUTNUM=MY CELL NUMBER") in new stack
  1535. -- Executing [s@macro-dialout-trunk:14] Set("SIP/1000-00000003", "custom=AMP") in new stack
  1536. -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1000-00000003", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
  1537. -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/1000-00000003", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
  1538. -- Executing [s@macro-dialout-trunk:17] Macro("SIP/1000-00000003", "dialout-trunk-predial-hook,") in new stack
  1539. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1000-00000003", "") in new stack
  1540. -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1000-00000003", "0?bypass,1") in new stack
  1541. -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/1000-00000003", "1?Set(CONNECTEDLINE(num,i)=MY CELL NUMBER)") in new stack
  1542. -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/1000-00000003", "1?Set(CONNECTEDLINE(name,i)=CID:MY DONGLE SIM NUMBER)") in new stack
  1543. -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/1000-00000003", "1?customtrunk") in new stack
  1544. -- Goto (macro-dialout-trunk,s,25)
  1545. -- Executing [s@macro-dialout-trunk:25] Set("SIP/1000-00000003", "pre_num=AMP:dongle/dongle0/") in new stack
  1546. -- Executing [s@macro-dialout-trunk:26] Set("SIP/1000-00000003", "the_num=OUTNUM") in new stack
  1547. -- Executing [s@macro-dialout-trunk:27] Set("SIP/1000-00000003", "post_num=") in new stack
  1548. -- Executing [s@macro-dialout-trunk:28] GotoIf("SIP/1000-00000003", "1?outnum:skipoutnum") in new stack
  1549. -- Goto (macro-dialout-trunk,s,29)
  1550. -- Executing [s@macro-dialout-trunk:29] Set("SIP/1000-00000003", "the_num=MY CELL NUMBER") in new stack
  1551. -- Executing [s@macro-dialout-trunk:30] Dial("SIP/1000-00000003", "dongle/dongle0/MY CELL NUMBER,300,") in new stack
  1552. -- Called dongle/dongle0/MY CELL NUMBER
  1553. -- Dongle/dongle0-0100000003 is making progress passing it to SIP/1000-00000003
  1554. -- Dongle/dongle0-0100000003 answered SIP/1000-00000003
  1555. > 0xf56100 -- Probation passed - setting RTP source address to 192.168.1.6:62290
  1556. [2014-04-16 20:03:57] NOTICE[3516][C-00000003]: res_rtp_asterisk.c:3778 ast_rtp_read: Unknown RTP codec 126 received from '192.168.1.6:62290'
  1557. [2014-04-16 20:04:07] NOTICE[3516][C-00000003]: res_rtp_asterisk.c:3778 ast_rtp_read: Unknown RTP codec 126 received from '192.168.1.6:62290'
  1558. [2014-04-16 20:04:17] NOTICE[3516][C-00000003]: res_rtp_asterisk.c:3778 ast_rtp_read: Unknown RTP codec 126 received from '192.168.1.6:62290'
  1559. -- Executing [h@macro-dialout-trunk:1] Macro("SIP/1000-00000003", "hangupcall,") in new stack
  1560. -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1000-00000003", "1?theend") in new stack
  1561. -- Goto (macro-hangupcall,s,3)
  1562. -- Executing [s@macro-hangupcall:3] ExecIf("SIP/1000-00000003", "0?Set(CDR(recordingfile)=)") in new stack
  1563. -- Executing [s@macro-hangupcall:4] Hangup("SIP/1000-00000003", "") in new stack
  1564. == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1000-00000003' in macro 'hangupcall'
  1565. == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/1000-00000003'
  1566. == Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'SIP/1000-00000003' in macro 'dialout-trunk'
  1567. == Spawn extension (from-internal, MY CELL NUMBER, 6) exited non-zero on 'SIP/1000-00000003'
  1568. raspbx*CLI>
Advertisement
Add Comment
Please, Sign In to add comment