Advertisement
Guest User

Untitled

a guest
Feb 15th, 2018
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.77 KB | None | 0 0
  1. [root@nms ~]# ssh -p 2341 10.222.233.31
  2. root@10.222.233.31's password:
  3. Last login: Mon Feb 5 14:11:22 2018 from 10.222.232.5
  4. [root@Condon-VMS ~]# asterisk -rvvvvv
  5. Asterisk 1.8.32.3, Copyright (C) 1999 - 2013 Digium, Inc. and others.
  6. Created by Mark Spencer <markster@digium.com>
  7. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  8. This is free software, with components licensed under the GNU General Public
  9. License version 2 and other licenses; you are welcome to redistribute it under
  10. certain conditions. Type 'core show license' for details.
  11. =========================================================================
  12. Connected to Asterisk 1.8.32.3 currently running on Condon-VMS (pid = 31638)
  13. Verbosity was 0 and is now 3
  14. Core debug was 0 and is now 3
  15. Condon-VMS*CLI> core set verbose 1 on
  16. Verbosity was 0 and has been set to 1 for 'on'
  17. [2018-02-15 15:26:04] DEBUG[20465]: manager.c:4817 process_message: Running action 'Login'
  18. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  19. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  20. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  21. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  22. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  23. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  24. [2018-02-15 15:26:05] DEBUG[20465]: manager.c:4817 process_message: Running action 'Command'
  25. [2018-02-15 15:26:10] DEBUG[31651]: sig_ss7.c:896 ss7_linkset: Got IAM for CIC 17 and called number 3867761656, calling number 5412392798
  26. [2018-02-15 15:26:10] DEBUG[31651]: dsp.c:489 ast_tone_detect_init: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
  27. [2018-02-15 15:26:10] DEBUG[31651]: dsp.c:489 ast_tone_detect_init: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
  28. [2018-02-15 15:26:10] DEBUG[31651]: chan_dahdi.c:4945 dahdi_enable_ec: Enabled echo cancellation on channel 17
  29. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:467 do_state_change: Changing state for DAHDI/17 - state 2 (In use)
  30. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:442 devstate_event: device 'DAHDI/17' state '2'
  31. -- Accepting call to '3867761656' on CIC 17
  32. [2018-02-15 15:26:10] DEBUG[31676]: app_queue.c:1599 handle_statechange: Device 'DAHDI/17' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  33. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  34. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  35. -- Executing [3867761656@from-ewsd:1] GotoIf("DAHDI/17-1", "0?noDiversion") in new stack
  36. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  37. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'SIPAddHeader'
  38. -- Executing [3867761656@from-ewsd:2] SIPAddHeader("DAHDI/17-1", "Diversion: <sip:+15413842098@10.22.22.42:5060>") in new stack
  39. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:30367 sip_addheader: SIP Header added "Diversion: <sip:+15413842098@10.22.22.42:5060>" as __SIPADDHEADER01
  40. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  41. -- Executing [3867761656@from-ewsd:3] Set("DAHDI/17-1", "CALLERID(ani)=5413842098") in new stack
  42. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  43. -- Executing [3867761656@from-ewsd:4] Verbose("DAHDI/17-1", "1, ===== Asterisk Information =====") in new stack
  44. ===== Asterisk Information =====
  45. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function STRFTIME(1518737170,,%m-%d-%Y %H:%M:%S) result is '02-15-2018 15:26:10'
  46. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  47. -- Executing [3867761656@from-ewsd:5] Verbose("DAHDI/17-1", "1, Timestamp: 02-15-2018 15:26:10") in new stack
  48. Timestamp: 02-15-2018 15:26:10
  49. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '5412392798'
  50. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  51. -- Executing [3867761656@from-ewsd:6] Verbose("DAHDI/17-1", "1, Calling Number: 5412392798") in new stack
  52. Calling Number: 5412392798
  53. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(dnid) result is '3867761656'
  54. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  55. -- Executing [3867761656@from-ewsd:7] Verbose("DAHDI/17-1", "1, Dialed Number: 3867761656") in new stack
  56. Dialed Number: 3867761656
  57. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(ani) result is '5413842098'
  58. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  59. -- Executing [3867761656@from-ewsd:8] Verbose("DAHDI/17-1", "1, ANI: 5413842098") in new stack
  60. ANI: 5413842098
  61. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(pres) result is 'allowed'
  62. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  63. -- Executing [3867761656@from-ewsd:9] Verbose("DAHDI/17-1", "1, Call Presenation or Screening: allowed") in new stack
  64. Call Presenation or Screening: allowed
  65. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(ton) result is '0'
  66. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  67. -- Executing [3867761656@from-ewsd:10] Verbose("DAHDI/17-1", "1, Type of number: 0 === 0:unknown, 1:International, 2:national, 4:Subscriber") in new stack
  68. Type of number: 0 === 0:unknown, 1:International, 2:national, 4:Subscriber
  69. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(rdnis) result is ''
  70. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  71. -- Executing [3867761656@from-ewsd:11] Verbose("DAHDI/17-1", "1, Redirected dialed number information service: ") in new stack
  72. Redirected dialed number information service:
  73. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  74. -- Executing [3867761656@from-ewsd:12] Verbose("DAHDI/17-1", "1, ===== SS7 Information =====") in new stack
  75. ===== SS7 Information =====
  76. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  77. -- Executing [3867761656@from-ewsd:13] Verbose("DAHDI/17-1", "1, Original called number: 5413842098") in new stack
  78. Original called number: 5413842098
  79. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  80. -- Executing [3867761656@from-ewsd:14] Verbose("DAHDI/17-1", "1, Charge Num: ") in new stack
  81. Charge Num:
  82. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  83. -- Executing [3867761656@from-ewsd:15] Verbose("DAHDI/17-1", "1, Generic Address: ") in new stack
  84. Generic Address:
  85. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  86. -- Executing [3867761656@from-ewsd:16] Verbose("DAHDI/17-1", "1, JIP: 541384") in new stack
  87. JIP: 541384
  88. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  89. -- Executing [3867761656@from-ewsd:17] Verbose("DAHDI/17-1", "1, Generic Digits: ") in new stack
  90. Generic Digits:
  91. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  92. -- Executing [3867761656@from-ewsd:18] Verbose("DAHDI/17-1", "1, Generic DigType: 0") in new stack
  93. Generic DigType: 0
  94. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  95. -- Executing [3867761656@from-ewsd:19] Verbose("DAHDI/17-1", "1, Generic DigScheme: 0") in new stack
  96. Generic DigScheme: 0
  97. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  98. -- Executing [3867761656@from-ewsd:20] Verbose("DAHDI/17-1", "1, Orig Called Num: 5413842098") in new stack
  99. Orig Called Num: 5413842098
  100. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  101. -- Executing [3867761656@from-ewsd:21] Verbose("DAHDI/17-1", "1, SLPI Ident: ") in new stack
  102. SLPI Ident:
  103. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  104. -- Executing [3867761656@from-ewsd:22] Verbose("DAHDI/17-1", "1, CallRef Ident: 0") in new stack
  105. CallRef Ident: 0
  106. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  107. -- Executing [3867761656@from-ewsd:23] Verbose("DAHDI/17-1", "1, CallRef PC: 0") in new stack
  108. CallRef PC: 0
  109. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  110. -- Executing [3867761656@from-ewsd:24] Verbose("DAHDI/17-1", "1, Calling Party Category: 10") in new stack
  111. Calling Party Category: 10
  112. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  113. -- Executing [3867761656@from-ewsd:25] Verbose("DAHDI/17-1", "1, Redirecting Number: ") in new stack
  114. Redirecting Number:
  115. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  116. -- Executing [3867761656@from-ewsd:26] Verbose("DAHDI/17-1", "1, Generic Name: ") in new stack
  117. Generic Name:
  118. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Verbose'
  119. -- Executing [3867761656@from-ewsd:27] Verbose("DAHDI/17-1", "1, ======================================================") in new stack
  120. ======================================================
  121. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Goto'
  122. -- Executing [3867761656@from-ewsd:28] Goto("DAHDI/17-1", "from-internal,3867761656,1") in new stack
  123. -- Goto (from-internal,3867761656,1)
  124. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  125. -- Executing [3867761656@from-internal:1] Macro("DAHDI/17-1", "user-callerid,LIMIT,EXTERNAL,") in new stack
  126. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  127. -- Executing [s@macro-user-callerid:1] Set("DAHDI/17-1", "TOUCH_MONITOR=1518737170.179") in new stack
  128. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  129. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  130. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '5412392798'
  131. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(1?5412392798:) result is '5412392798'
  132. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  133. -- Executing [s@macro-user-callerid:2] Set("DAHDI/17-1", "AMPUSER=5412392798") in new stack
  134. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  135. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CUT(CHANNEL,@,2) result is ''
  136. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  137. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  138. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  139. -- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/17-1", "0?report") in new stack
  140. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  141. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  142. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  143. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '5412392798'
  144. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  145. -- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/17-1", "1?Set(REALCALLERIDNUM=5412392798)") in new stack
  146. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  147. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  148. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(number) result is '5412392798'
  149. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '5412392798/user' in family 'DEVICE'
  150. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: DEVICE/5412392798/user not found in database.
  151. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(DEVICE/5412392798/user) result is ''
  152. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  153. -- Executing [s@macro-user-callerid:5] Set("DAHDI/17-1", "AMPUSER=") in new stack
  154. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  155. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  156. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  157. -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/17-1", "0?limit") in new stack
  158. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  159. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  160. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  161. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  162. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
  163. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  164. -- Executing [s@macro-user-callerid:7] Set("DAHDI/17-1", "AMPUSERCIDNAME=") in new stack
  165. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  166. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  167. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  168. -- Executing [s@macro-user-callerid:8] GotoIf("DAHDI/17-1", "1?report") in new stack
  169. -- Goto (macro-user-callerid,s,14)
  170. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  171. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  172. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  173. -- Executing [s@macro-user-callerid:14] GotoIf("DAHDI/17-1", "1?continue") in new stack
  174. -- Goto (macro-user-callerid,s,27)
  175. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  176. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '5412392798'
  177. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  178. -- Executing [s@macro-user-callerid:27] Set("DAHDI/17-1", "CALLERID(number)=5412392798") in new stack
  179. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  180. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
  181. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  182. -- Executing [s@macro-user-callerid:28] Set("DAHDI/17-1", "CALLERID(name)=") in new stack
  183. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  184. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '5412392798'
  185. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  186. -- Executing [s@macro-user-callerid:29] Set("DAHDI/17-1", "CDR(cnum)=5412392798") in new stack
  187. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  188. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
  189. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  190. -- Executing [s@macro-user-callerid:30] Set("DAHDI/17-1", "CDR(cnam)=") in new stack
  191. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  192. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CHANNEL(language) result is 'en'
  193. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function MASTER_CHANNEL(CHANNEL(language)) result is 'en'
  194. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  195. -- Executing [s@macro-user-callerid:31] Set("DAHDI/17-1", "CHANNEL(language)=en") in new stack
  196. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  197. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Gosub'
  198. -- Executing [3867761656@from-internal:2] Gosub("DAHDI/17-1", "sub-record-check,s,1(out,3867761656,never)") in new stack
  199. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:571 gosub_exec: Channel DAHDI/17-1 has no datastore, so we're allocating one.
  200. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:613 gosub_exec: Setting 'ARG1' to 'out'
  201. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:613 gosub_exec: Setting 'ARG2' to '3867761656'
  202. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:613 gosub_exec: Setting 'ARG3' to 'never'
  203. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  204. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  205. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  206. -- Executing [s@sub-record-check:1] GotoIf("DAHDI/17-1", "0?initialized") in new stack
  207. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  208. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  209. -- Executing [s@sub-record-check:2] Set("DAHDI/17-1", "__REC_STATUS=INITIALIZED") in new stack
  210. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  211. -- Executing [s@sub-record-check:3] Set("DAHDI/17-1", "NOW=1518737170") in new stack
  212. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function STRFTIME(1518737170,,%d) result is '15'
  213. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  214. -- Executing [s@sub-record-check:4] Set("DAHDI/17-1", "__DAY=15") in new stack
  215. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function STRFTIME(1518737170,,%m) result is '02'
  216. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  217. -- Executing [s@sub-record-check:5] Set("DAHDI/17-1", "__MONTH=02") in new stack
  218. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function STRFTIME(1518737170,,%Y) result is '2018'
  219. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  220. -- Executing [s@sub-record-check:6] Set("DAHDI/17-1", "__YEAR=2018") in new stack
  221. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function STRFTIME(1518737170,,%H%M%S) result is '152610'
  222. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  223. -- Executing [s@sub-record-check:7] Set("DAHDI/17-1", "__TIMESTR=20180215-152610") in new stack
  224. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  225. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  226. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN(5412392798) result is '10'
  227. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '10'
  228. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(10?5412392798:unknown) result is '5412392798'
  229. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(0?:5412392798) result is '5412392798'
  230. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  231. -- Executing [s@sub-record-check:8] Set("DAHDI/17-1", "__FROMEXTEN=5412392798") in new stack
  232. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  233. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(0?WAV:wav) result is 'wav'
  234. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  235. -- Executing [s@sub-record-check:9] Set("DAHDI/17-1", "__MON_FMT=wav") in new stack
  236. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'NoOp'
  237. -- Executing [s@sub-record-check:10] NoOp("DAHDI/17-1", "Recordings initialized") in new stack
  238. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN(never) result is '5'
  239. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  240. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  241. -- Executing [s@sub-record-check:11] ExecIf("DAHDI/17-1", "0?Set(ARG3=dontcare)") in new stack
  242. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  243. -- Executing [s@sub-record-check:12] Set("DAHDI/17-1", "REC_POLICY_MODE_SAVE=") in new stack
  244. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  245. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  246. -- Executing [s@sub-record-check:13] ExecIf("DAHDI/17-1", "0?Set(REC_STATUS=NO)") in new stack
  247. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN(out) result is '3'
  248. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '3'
  249. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  250. -- Executing [s@sub-record-check:14] GotoIf("DAHDI/17-1", "3?checkaction") in new stack
  251. -- Goto (sub-record-check,s,17)
  252. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DIALPLAN_EXISTS(sub-record-check,out) result is '1'
  253. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  254. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  255. -- Executing [s@sub-record-check:17] GotoIf("DAHDI/17-1", "1?sub-record-check,out,1") in new stack
  256. -- Goto (sub-record-check,out,1)
  257. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'NoOp'
  258. -- Executing [out@sub-record-check:1] NoOp("DAHDI/17-1", "Outbound Recording Check from 5412392798 to 3867761656") in new stack
  259. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '5412392798/recording/out/external' in family 'AMPUSER'
  260. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER/5412392798/recording/out/external not found in database.
  261. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER/5412392798/recording/out/external) result is ''
  262. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  263. -- Executing [out@sub-record-check:2] Set("DAHDI/17-1", "RECMODE=") in new stack
  264. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  265. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  266. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  267. -- Executing [out@sub-record-check:3] ExecIf("DAHDI/17-1", "1?Goto(routewins)") in new stack
  268. -- Goto (sub-record-check,out,7)
  269. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Gosub'
  270. -- Executing [out@sub-record-check:7] Gosub("DAHDI/17-1", "recordcheck,1(never,out,3867761656)") in new stack
  271. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:613 gosub_exec: Setting 'ARG1' to 'never'
  272. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:613 gosub_exec: Setting 'ARG2' to 'out'
  273. [2018-02-15 15:26:10] DEBUG[20491]: app_stack.c:613 gosub_exec: Setting 'ARG3' to '3867761656'
  274. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'NoOp'
  275. -- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/17-1", "Starting recording check against never") in new stack
  276. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Goto'
  277. -- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/17-1", "never") in new stack
  278. -- Goto (sub-record-check,recordcheck,14)
  279. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  280. -- Executing [recordcheck@sub-record-check:14] Set("DAHDI/17-1", "__REC_POLICY_MODE=NEVER") in new stack
  281. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Goto'
  282. -- Executing [recordcheck@sub-record-check:15] Goto("DAHDI/17-1", "stoprec") in new stack
  283. -- Goto (sub-record-check,recordcheck,25)
  284. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'NoOp'
  285. -- Executing [recordcheck@sub-record-check:25] NoOp("DAHDI/17-1", "Stopping recording: out, 3867761656") in new stack
  286. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  287. -- Executing [recordcheck@sub-record-check:26] Set("DAHDI/17-1", "__REC_STATUS=STOPPED") in new stack
  288. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CHANNEL(name) result is 'DAHDI/17-1'
  289. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'System'
  290. -- Executing [recordcheck@sub-record-check:27] System("DAHDI/17-1", "/var/lib/asterisk/bin/stoprecording.php "DAHDI/17-1"") in new stack
  291. [2018-02-15 15:26:10] DEBUG[20494]: manager.c:4817 process_message: Running action 'Login'
  292. [2018-02-15 15:26:10] DEBUG[20494]: manager.c:4817 process_message: Running action 'Getvar'
  293. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Return'
  294. -- Executing [recordcheck@sub-record-check:28] Return("DAHDI/17-1", "") in new stack
  295. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Return'
  296. -- Executing [out@sub-record-check:8] Return("DAHDI/17-1", "") in new stack
  297. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  298. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(1?none:) result is 'none'
  299. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  300. -- Executing [3867761656@from-internal:3] Set("DAHDI/17-1", "MOHCLASS=none") in new stack
  301. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  302. -- Executing [3867761656@from-internal:4] Set("DAHDI/17-1", "_NODEST=") in new stack
  303. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  304. -- Executing [3867761656@from-internal:5] Macro("DAHDI/17-1", "dialout-trunk,2,3867761656,,off") in new stack
  305. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  306. -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/17-1", "DIAL_TRUNK=2") in new stack
  307. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  308. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  309. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/pinless' in family 'AMPUSER'
  310. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//pinless not found in database.
  311. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//pinless) result is ''
  312. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  313. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  314. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GosubIf'
  315. -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/17-1", "0?sub-pincheck,s,1()") in new stack
  316. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GosubIf
  317. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  318. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/pinless' in family 'AMPUSER'
  319. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//pinless not found in database.
  320. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function DB(AMPUSER//pinless) result is ''
  321. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  322. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  323. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  324. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  325. -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/17-1", "0?disabletrunk,1") in new stack
  326. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  327. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  328. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  329. -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/17-1", "DIAL_NUMBER=3867761656") in new stack
  330. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  331. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  332. -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/17-1", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  333. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  334. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  335. -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/17-1", "OUTBOUND_GROUP=OUT_2") in new stack
  336. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  337. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  338. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  339. -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/17-1", "1?nomax") in new stack
  340. -- Goto (macro-dialout-trunk,s,9)
  341. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  342. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  343. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  344. -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/17-1", "0?skipoutcid") in new stack
  345. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  346. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  347. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '2/dialopts' in family 'TRUNK'
  348. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB_EXISTS(TRUNK/2/dialopts) result is '0'
  349. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  350. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(0?:T) result is 'T'
  351. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  352. -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/17-1", "DIAL_TRUNK_OPTIONS=T") in new stack
  353. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  354. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  355. -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/17-1", "outbound-callerid,2") in new stack
  356. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  357. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  358. -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/17-1", "0?Set(CALLERPRES()=)") in new stack
  359. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  360. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  361. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  362. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '5412392798'
  363. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  364. -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/17-1", "0?Set(REALCALLERIDNUM=5412392798)") in new stack
  365. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  366. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  367. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(number) result is '5412392798'
  368. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  369. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  370. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  371. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  372. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  373. -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/17-1", "1?normcid") in new stack
  374. -- Goto (macro-outbound-callerid,s,6)
  375. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  376. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/outboundcid' in family 'AMPUSER'
  377. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//outboundcid not found in database.
  378. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//outboundcid) result is ''
  379. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  380. -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/17-1", "USEROUTCID=") in new stack
  381. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  382. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '5412392798/emergency_cid' in family 'DEVICE'
  383. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: DEVICE/5412392798/emergency_cid not found in database.
  384. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(DEVICE/5412392798/emergency_cid) result is ''
  385. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  386. -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/17-1", "EMERGENCYCID=") in new stack
  387. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  388. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  389. -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/17-1", "TRUNKOUTCID=") in new stack
  390. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  391. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  392. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  393. -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/17-1", "1?trunkcid") in new stack
  394. -- Goto (macro-outbound-callerid,s,14)
  395. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  396. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  397. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  398. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  399. -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/17-1", "0?Set(CALLERID(all)=)") in new stack
  400. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  401. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  402. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  403. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  404. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  405. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  406. -- Executing [s@macro-outbound-callerid:15] ExecIf("DAHDI/17-1", "0?Set(CALLERID(all)=)") in new stack
  407. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  408. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  409. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  410. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  411. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  412. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  413. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  414. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  415. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(1?:) result is ''
  416. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  417. -- Executing [s@macro-outbound-callerid:16] ExecIf("DAHDI/17-1", "0?Set(CALLERID(all)=)") in new stack
  418. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  419. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  420. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  421. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  422. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  423. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  424. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function IF(1?:) result is ''
  425. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
  426. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  427. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  428. -- Executing [s@macro-outbound-callerid:17] ExecIf("DAHDI/17-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  429. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  430. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(name) result is ''
  431. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  432. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '5412392798'
  433. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  434. -- Executing [s@macro-outbound-callerid:18] Set("DAHDI/17-1", "CDR(outbound_cnum)=5412392798") in new stack
  435. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  436. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
  437. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  438. -- Executing [s@macro-outbound-callerid:19] Set("DAHDI/17-1", "CDR(outbound_cnam)=") in new stack
  439. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  440. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Macro
  441. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  442. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GosubIf'
  443. -- Executing [s@macro-dialout-trunk:12] GosubIf("DAHDI/17-1", "1?sub-flp-2,s,1()") in new stack
  444. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GosubIf
  445. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  446. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:450 _macro_exec: Incrementing gosub_level
  447. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$)(3867761656)
  448. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function REGEX("^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$" 3867761656) result is '1'
  449. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  450. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  451. -- Executing [s@sub-flp-2:1] ExecIf("DAHDI/17-1", "1?Set(TARGET_FLP_2=13867761656)") in new stack
  452. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  453. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$)(3867761656)
  454. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function REGEX("^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$" 3867761656) result is '1'
  455. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  456. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN(13867761656) result is '11'
  457. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  458. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  459. -- Executing [s@sub-flp-2:2] GotoIf("DAHDI/17-1", "1?match") in new stack
  460. -- Goto (sub-flp-2,s,4)
  461. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  462. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  463. -- Executing [s@sub-flp-2:4] Set("DAHDI/17-1", "DIAL_NUMBER=13867761656") in new stack
  464. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  465. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Return'
  466. -- Executing [s@sub-flp-2:5] Return("DAHDI/17-1", "") in new stack
  467. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Return
  468. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:460 _macro_exec: Decrementing gosub_level
  469. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  470. -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/17-1", "OUTNUM=13867761656") in new stack
  471. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  472. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CUT(OUT_2,:,1) result is 'SIP/metasbc'
  473. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  474. -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/17-1", "custom=SIP/metasbc") in new stack
  475. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  476. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  477. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  478. -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/17-1", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)T)") in new stack
  479. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  480. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  481. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  482. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  483. -- Executing [s@macro-dialout-trunk:16] ExecIf("DAHDI/17-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)TM(confirm))") in new stack
  484. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  485. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  486. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  487. -- Executing [s@macro-dialout-trunk:17] Macro("DAHDI/17-1", "dialout-trunk-predial-hook,") in new stack
  488. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'MacroExit'
  489. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/17-1", "") in new stack
  490. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Macro
  491. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  492. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  493. -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/17-1", "0?bypass,1") in new stack
  494. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  495. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  496. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  497. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  498. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
  499. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  500. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  501. -- Executing [s@macro-dialout-trunk:19] ExecIf("DAHDI/17-1", "0?Set(CONNECTEDLINE(num,i)=13867761656)") in new stack
  502. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  503. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  504. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  505. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function DB(AMPUSER//cidname) result is ''
  506. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  507. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  508. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  509. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
  510. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  511. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '5412392798'
  512. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  513. -- Executing [s@macro-dialout-trunk:20] ExecIf("DAHDI/17-1", "0?Set(CONNECTEDLINE(name,i)=CID:5412392798)") in new stack
  514. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  515. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  516. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  517. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function DB(AMPUSER//cidname) result is ''
  518. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  519. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(number) result is '5412392798'
  520. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  521. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  522. -- Executing [s@macro-dialout-trunk:21] GotoIf("DAHDI/17-1", "0?customtrunk") in new stack
  523. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  524. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  525. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Dial'
  526. -- Executing [s@macro-dialout-trunk:22] Dial("DAHDI/17-1", "SIP/metasbc/13867761656,300,M(setmusic^none)T") in new stack
  527. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:27354 sip_request_call: Asked to create a SIP channel with formats: 0x4 (ulaw)
  528. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:8097 sip_alloc: Allocating new SIP dialog for 19e9cf6c35e1df843bf022505b39b981@10.222.233.31:5060 - INVITE (No RTP)
  529. [2018-02-15 15:26:10] DEBUG[20491]: rtp_engine.c:350 ast_rtp_instance_new: Using engine 'asterisk' for RTP instance '0x7f350c061c78'
  530. [2018-02-15 15:26:10] DEBUG[20491]: res_rtp_asterisk.c:588 ast_rtp_new: Allocated port 11310 for RTP instance '0x7f350c061c78'
  531. [2018-02-15 15:26:10] DEBUG[20491]: rtp_engine.c:359 ast_rtp_instance_new: RTP instance '0x7f350c061c78' is setup and ready to go
  532. [2018-02-15 15:26:10] DEBUG[20491]: res_rtp_asterisk.c:2564 ast_rtp_prop_set: Setup RTCP on RTP instance '0x7f350c061c78'
  533. == Using SIP RTP TOS bits 184
  534. == Using SIP RTP CoS mark 5
  535. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:5319 do_setnat: Setting NAT on RTP to On
  536. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:3326 obproxy_get: OBPROXY: Not applying OBproxy to this call
  537. [2018-02-15 15:26:10] DEBUG[20491]: acl.c:736 ast_ouraddrfor: For destination '10.22.22.19', our source address is '10.22.22.42'.
  538. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:3678 ast_sip_ouraddrfor: Setting SIP_TRANSPORT_UDP with address 10.22.22.42:5060
  539. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7917 change_callid_pvt: SIP call-id changed from '19e9cf6c35e1df843bf022505b39b981@10.222.233.31:5060' to '5ea0207333c5c11319a464453b214680@10.22.22.42:5060'
  540. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7379 sip_new: *** Our native formats are 0x4 (ulaw)
  541. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7380 sip_new: *** Joint capabilities are 0x4 (ulaw)
  542. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7381 sip_new: *** Our capabilities are 0x80e (gsm|ulaw|alaw|g726)
  543. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7382 sip_new: *** AST_CODEC_CHOOSE formats are 0x4 (ulaw)
  544. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7384 sip_new: *** Our preferred formats from the incoming channel are 0x4 (ulaw)
  545. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:7412 sip_new: This channel will not be able to handle video.
  546. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6265 ast_channel_inherit_variables: Inheriting variable NODEST from DAHDI/17-1 to SIP/metasbc-00000031.
  547. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable REC_STATUS from DAHDI/17-1 to SIP/metasbc-00000031.
  548. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable REC_POLICY_MODE from DAHDI/17-1 to SIP/metasbc-00000031.
  549. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable MON_FMT from DAHDI/17-1 to SIP/metasbc-00000031.
  550. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable FROMEXTEN from DAHDI/17-1 to SIP/metasbc-00000031.
  551. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable TIMESTR from DAHDI/17-1 to SIP/metasbc-00000031.
  552. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable YEAR from DAHDI/17-1 to SIP/metasbc-00000031.
  553. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable MONTH from DAHDI/17-1 to SIP/metasbc-00000031.
  554. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable DAY from DAHDI/17-1 to SIP/metasbc-00000031.
  555. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable SIPADDHEADER01 from DAHDI/17-1 to SIP/metasbc-00000031.
  556. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:5863 sip_call: Outgoing Call for 13867761656
  557. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:6150 update_call_counter: Updating call counter for outgoing call
  558. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:12719 transmit_invite: Adding SIP Header "Diversion" with content :<sip:+15413842098@10.22.22.42:5060>:
  559. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:11786 add_sdp: ** Our capability: 0x80e (gsm|ulaw|alaw|g726) Video flag: False Text flag: False
  560. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:11787 add_sdp: ** Our prefcodec: 0x4 (ulaw)
  561. Audio is at 11310
  562. Adding codec 0x4 (ulaw) to SDP
  563. Adding codec 0x8 (alaw) to SDP
  564. Adding codec 0x2 (gsm) to SDP
  565. Adding codec 0x800 (g726) to SDP
  566. Adding non-codec 0x1 (telephone-event) to SDP
  567. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:11896 add_sdp: -- Done with adding codecs to SDP
  568. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:12079 add_sdp: Done building SDP. Settling with this capability: 0x80e (gsm|ulaw|alaw|g726)
  569. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:3202 initialize_initreq: Initializing initreq for method INVITE - callid 5ea0207333c5c11319a464453b214680@10.22.22.42:5060
  570. Reliably Transmitting (NAT) to 10.22.22.19:5060:
  571. INVITE sip:13867761656@10.22.22.19 SIP/2.0
  572. Via: SIP/2.0/UDP 10.22.22.42:5060;branch=z9hG4bK18dbc439;rport
  573. Max-Forwards: 70
  574. From: "5412392798" <sip:5412392798@10.22.22.42>;tag=as66391dc0
  575. To: <sip:13867761656@10.22.22.19>
  576. Contact: <sip:5412392798@10.22.22.42:5060>
  577. Call-ID: 5ea0207333c5c11319a464453b214680@10.22.22.42:5060
  578. CSeq: 102 INVITE
  579. User-Agent: FPBX-12.0.76.4(1.8.32.3)
  580. Date: Thu, 15 Feb 2018 23:26:10 GMT
  581. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  582. Supported: replaces, timer
  583. Diversion: <sip:+15413842098@10.22.22.42:5060>
  584. Content-Type: application/sdp
  585. Content-Length: 311
  586.  
  587. v=0
  588. o=root 378009672 378009672 IN IP4 10.22.22.42
  589. s=Asterisk PBX 1.8.32.3
  590. c=IN IP4 10.22.22.42
  591. t=0 0
  592. m=audio 11310 RTP/AVP 0 8 3 111 101
  593. a=rtpmap:0 PCMU/8000
  594. a=rtpmap:8 PCMA/8000
  595. a=rtpmap:3 GSM/8000
  596. a=rtpmap:111 G726-32/8000
  597. a=rtpmap:101 telephone-event/8000
  598. a=fmtp:101 0-16
  599. a=ptime:20
  600. a=sendrecv
  601.  
  602. ---
  603. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:3526 __sip_xmit: Trying to put 'INVITE sip:' onto UDP socket destined for 10.22.22.19:5060
  604. -- Called SIP/metasbc/13867761656
  605. [2018-02-15 15:26:10] DEBUG[20491]: res_rtp_asterisk.c:1343 ast_rtp_write: No remote address on RTP instance '0x7f350c061c78' so dropping frame
  606. [2018-02-15 15:26:10] DEBUG[20491]: res_rtp_asterisk.c:1343 ast_rtp_write: No remote address on RTP instance '0x7f350c061c78' so dropping frame
  607.  
  608. <--- SIP read from UDP:10.22.22.19:5060 --->
  609. SIP/2.0 403 Forbidden
  610. From: "5412392798" <sip:5412392798@10.22.22.42>;tag=as66391dc0
  611. To: <sip:13867761656@10.22.22.19>;tag=sip+1+100f0009+5abf653
  612. Via: SIP/2.0/UDP 10.22.22.42:5060;received=10.22.22.42;rport=5060;branch=z9hG4bK18dbc439
  613. Server: SIP/2.0
  614. Content-Length: 0
  615. Call-ID: 5ea0207333c5c11319a464453b214680@10.22.22.42:5060
  616. CSeq: 102 INVITE
  617.  
  618. <------------->
  619. --- (8 headers 0 lines) ---
  620. [2018-02-15 15:26:10] DEBUG[31667]: chan_sip.c:4177 __sip_ack: Acked pending invite 102
  621. [2018-02-15 15:26:10] DEBUG[31667]: chan_sip.c:4215 __sip_ack: Stopping retransmission on '5ea0207333c5c11319a464453b214680@10.22.22.42:5060' of Request 102: Match Found
  622. Transmitting (NAT) to 10.22.22.19:5060:
  623. ACK sip:13867761656@10.22.22.19 SIP/2.0
  624. Via: SIP/2.0/UDP 10.22.22.42:5060;branch=z9hG4bK18dbc439;rport
  625. Max-Forwards: 70
  626. From: "5412392798" <sip:5412392798@10.22.22.42>;tag=as66391dc0
  627. To: <sip:13867761656@10.22.22.19>;tag=sip+1+100f0009+5abf653
  628. Contact: <sip:5412392798@10.22.22.42:5060>
  629. Call-ID: 5ea0207333c5c11319a464453b214680@10.22.22.42:5060
  630. CSeq: 102 ACK
  631. User-Agent: FPBX-12.0.76.4(1.8.32.3)
  632. Content-Length: 0
  633.  
  634.  
  635. ---
  636. [2018-02-15 15:26:10] DEBUG[31667]: chan_sip.c:3526 __sip_xmit: Trying to put 'ACK sip:138' onto UDP socket destined for 10.22.22.19:5060
  637. [2018-02-15 15:26:10] WARNING[31667]: chan_sip.c:21062 handle_response_invite: Received response: "Forbidden" from '"5412392798" <sip:5412392798@10.22.22.42>;tag=as66391dc0'
  638. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:2884 ast_hangup: Hanging up channel 'SIP/metasbc-00000031'
  639. [2018-02-15 15:26:10] DEBUG[20491]: chan_sip.c:6534 sip_hangup: Hangup call SIP/metasbc-00000031, SIP callid 5ea0207333c5c11319a464453b214680@10.22.22.42:5060
  640. [2018-02-15 15:26:10] DEBUG[20491]: res_rtp_asterisk.c:2604 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f350c061c78'
  641. Scheduling destruction of SIP dialog '5ea0207333c5c11319a464453b214680@10.22.22.42:5060' in 6400 ms (Method: INVITE)
  642. == Everyone is busy/congested at this time (1:0/0/1)
  643. [2018-02-15 15:26:10] DEBUG[20491]: app_dial.c:3033 dial_exec_full: Exiting with DIALSTATUS=CHANUNAVAIL.
  644. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Dial
  645. [2018-02-15 15:26:10] DEBUG[31643]: chan_sip.c:27250 sip_devicestate: Checking device state for peer metasbc
  646. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:467 do_state_change: Changing state for SIP/metasbc - state 1 (Not in use)
  647. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:442 devstate_event: device 'SIP/metasbc' state '1'
  648. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'NoOp'
  649. -- Executing [s@macro-dialout-trunk:23] NoOp("DAHDI/17-1", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
  650. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Noop
  651. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  652. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  653. -- Executing [s@macro-dialout-trunk:24] GotoIf("DAHDI/17-1", "0?continue,1:s-CHANUNAVAIL,1") in new stack
  654. [2018-02-15 15:26:10] DEBUG[31676]: app_queue.c:1599 handle_statechange: Device 'SIP/metasbc' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
  655. -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
  656. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  657. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function ISNULL(21) result is '0'
  658. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  659. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(0?0:21) result is '21'
  660. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  661. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("DAHDI/17-1", "RC=21") in new stack
  662. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  663. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Goto'
  664. -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("DAHDI/17-1", "21,1") in new stack
  665. -- Goto (macro-dialout-trunk,21,1)
  666. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Goto
  667. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Goto'
  668. -- Executing [21@macro-dialout-trunk:1] Goto("DAHDI/17-1", "continue,1") in new stack
  669. -- Goto (macro-dialout-trunk,continue,1)
  670. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Goto
  671. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'NoOp'
  672. -- Executing [continue@macro-dialout-trunk:1] NoOp("DAHDI/17-1", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
  673. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Noop
  674. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  675. -- Executing [continue@macro-dialout-trunk:2] Set("DAHDI/17-1", "CALLERID(number)=") in new stack
  676. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  677. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  678. -- Executing [3867761656@from-internal:6] Macro("DAHDI/17-1", "dialout-trunk,1,3867761656,,off") in new stack
  679. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  680. -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/17-1", "DIAL_TRUNK=1") in new stack
  681. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  682. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  683. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/pinless' in family 'AMPUSER'
  684. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//pinless not found in database.
  685. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//pinless) result is ''
  686. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  687. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  688. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GosubIf'
  689. -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/17-1", "0?sub-pincheck,s,1()") in new stack
  690. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GosubIf
  691. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  692. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/pinless' in family 'AMPUSER'
  693. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//pinless not found in database.
  694. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function DB(AMPUSER//pinless) result is ''
  695. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  696. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  697. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  698. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  699. -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/17-1", "0?disabletrunk,1") in new stack
  700. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  701. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  702. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  703. -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/17-1", "DIAL_NUMBER=3867761656") in new stack
  704. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  705. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  706. -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/17-1", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
  707. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  708. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  709. -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/17-1", "OUTBOUND_GROUP=OUT_1") in new stack
  710. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  711. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  712. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  713. -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/17-1", "0?nomax") in new stack
  714. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  715. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  716. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function GROUP_COUNT(OUT_1) result is '0'
  717. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  718. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  719. -- Executing [s@macro-dialout-trunk:8] GotoIf("DAHDI/17-1", "0?chanfull") in new stack
  720. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  721. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  722. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  723. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  724. -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/17-1", "0?skipoutcid") in new stack
  725. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  726. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  727. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '1/dialopts' in family 'TRUNK'
  728. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB_EXISTS(TRUNK/1/dialopts) result is '0'
  729. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  730. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(0?:T) result is 'T'
  731. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  732. -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/17-1", "DIAL_TRUNK_OPTIONS=T") in new stack
  733. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  734. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  735. -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/17-1", "outbound-callerid,1") in new stack
  736. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  737. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  738. -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/17-1", "0?Set(CALLERPRES()=)") in new stack
  739. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  740. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  741. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  742. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is ''
  743. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  744. -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/17-1", "0?Set(REALCALLERIDNUM=)") in new stack
  745. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  746. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  747. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(number) result is ''
  748. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  749. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  750. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  751. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  752. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  753. -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/17-1", "1?normcid") in new stack
  754. -- Goto (macro-outbound-callerid,s,6)
  755. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  756. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/outboundcid' in family 'AMPUSER'
  757. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//outboundcid not found in database.
  758. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//outboundcid) result is ''
  759. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  760. -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/17-1", "USEROUTCID=") in new stack
  761. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  762. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '5412392798/emergency_cid' in family 'DEVICE'
  763. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: DEVICE/5412392798/emergency_cid not found in database.
  764. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(DEVICE/5412392798/emergency_cid) result is ''
  765. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  766. -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/17-1", "EMERGENCYCID=") in new stack
  767. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  768. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  769. -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/17-1", "TRUNKOUTCID=") in new stack
  770. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  771. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  772. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  773. -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/17-1", "1?trunkcid") in new stack
  774. -- Goto (macro-outbound-callerid,s,14)
  775. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  776. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  777. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  778. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  779. -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/17-1", "0?Set(CALLERID(all)=)") in new stack
  780. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  781. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  782. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  783. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  784. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  785. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  786. -- Executing [s@macro-outbound-callerid:15] ExecIf("DAHDI/17-1", "0?Set(CALLERID(all)=)") in new stack
  787. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  788. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  789. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  790. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  791. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  792. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  793. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  794. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  795. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function IF(1?:) result is ''
  796. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  797. -- Executing [s@macro-outbound-callerid:16] ExecIf("DAHDI/17-1", "0?Set(CALLERID(all)=)") in new stack
  798. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  799. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  800. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  801. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  802. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function LEN() result is '0'
  803. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  804. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function IF(1?:) result is ''
  805. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
  806. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  807. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  808. -- Executing [s@macro-outbound-callerid:17] ExecIf("DAHDI/17-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
  809. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  810. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(name) result is ''
  811. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  812. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(num) result is ''
  813. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  814. -- Executing [s@macro-outbound-callerid:18] Set("DAHDI/17-1", "CDR(outbound_cnum)=") in new stack
  815. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  816. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(name) result is ''
  817. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  818. -- Executing [s@macro-outbound-callerid:19] Set("DAHDI/17-1", "CDR(outbound_cnam)=") in new stack
  819. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  820. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Macro
  821. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  822. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GosubIf'
  823. -- Executing [s@macro-dialout-trunk:12] GosubIf("DAHDI/17-1", "1?sub-flp-1,s,1()") in new stack
  824. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GosubIf
  825. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  826. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:450 _macro_exec: Incrementing gosub_level
  827. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^1541384[0-9][0-9][0-9][0-9]$)(3867761656)
  828. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function REGEX("^1541384[0-9][0-9][0-9][0-9]$" 3867761656) result is '0'
  829. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  830. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  831. -- Executing [s@sub-flp-1:1] ExecIf("DAHDI/17-1", "0?Set(TARGET_FLP_1=761656)") in new stack
  832. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  833. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^1541384[0-9][0-9][0-9][0-9]$)(3867761656)
  834. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function REGEX("^1541384[0-9][0-9][0-9][0-9]$" 3867761656) result is '0'
  835. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  836. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  837. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  838. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  839. -- Executing [s@sub-flp-1:2] GotoIf("DAHDI/17-1", "0?match") in new stack
  840. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  841. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  842. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^417384[0-9][0-9][0-9][0-9]$)(3867761656)
  843. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function REGEX("^417384[0-9][0-9][0-9][0-9]$" 3867761656) result is '0'
  844. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  845. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  846. -- Executing [s@sub-flp-1:3] ExecIf("DAHDI/17-1", "0?Set(TARGET_FLP_1=7761656)") in new stack
  847. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  848. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^417384[0-9][0-9][0-9][0-9]$)(3867761656)
  849. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function REGEX("^417384[0-9][0-9][0-9][0-9]$" 3867761656) result is '0'
  850. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  851. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  852. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  853. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  854. -- Executing [s@sub-flp-1:4] GotoIf("DAHDI/17-1", "0?match") in new stack
  855. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  856. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  857. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$)(3867761656)
  858. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function REGEX("^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$" 3867761656) result is '1'
  859. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  860. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  861. -- Executing [s@sub-flp-1:5] ExecIf("DAHDI/17-1", "1?Set(TARGET_FLP_1=13867761656)") in new stack
  862. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  863. [2018-02-15 15:26:10] DEBUG[20491]: func_strings.c:866 regex: FUNCTION REGEX (^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$)(3867761656)
  864. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function REGEX("^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]$" 3867761656) result is '1'
  865. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  866. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function LEN(13867761656) result is '11'
  867. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  868. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  869. -- Executing [s@sub-flp-1:6] GotoIf("DAHDI/17-1", "1?match") in new stack
  870. -- Goto (sub-flp-1,s,10)
  871. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  872. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  873. -- Executing [s@sub-flp-1:10] Set("DAHDI/17-1", "DIAL_NUMBER=13867761656") in new stack
  874. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  875. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Return'
  876. -- Executing [s@sub-flp-1:11] Return("DAHDI/17-1", "") in new stack
  877. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Return
  878. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:460 _macro_exec: Decrementing gosub_level
  879. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  880. -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/17-1", "OUTNUM=13867761656") in new stack
  881. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  882. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CUT(OUT_1,:,1) result is 'DAHDI/g0'
  883. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Set'
  884. -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/17-1", "custom=DAHDI/g0") in new stack
  885. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Set
  886. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '1'
  887. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  888. -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/17-1", "1?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)T)") in new stack
  889. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  890. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '1'
  891. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  892. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  893. -- Executing [s@macro-dialout-trunk:16] ExecIf("DAHDI/17-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^none)TM(confirm))") in new stack
  894. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  895. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  896. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Macro'
  897. -- Executing [s@macro-dialout-trunk:17] Macro("DAHDI/17-1", "dialout-trunk-predial-hook,") in new stack
  898. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'MacroExit'
  899. -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/17-1", "") in new stack
  900. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: Macro
  901. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  902. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  903. -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/17-1", "0?bypass,1") in new stack
  904. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  905. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  906. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  907. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  908. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
  909. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  910. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  911. -- Executing [s@macro-dialout-trunk:19] ExecIf("DAHDI/17-1", "0?Set(CONNECTEDLINE(num,i)=13867761656)") in new stack
  912. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  913. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  914. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  915. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function DB(AMPUSER//cidname) result is ''
  916. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  917. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  918. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  919. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function DB(AMPUSER//cidname) result is ''
  920. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  921. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4552 pbx_substitute_variables_helper_full: Function CALLERID(number) result is ''
  922. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'ExecIf'
  923. -- Executing [s@macro-dialout-trunk:20] ExecIf("DAHDI/17-1", "0?Set(CONNECTEDLINE(name,i)=CID:)") in new stack
  924. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: ExecIf
  925. [2018-02-15 15:26:10] DEBUG[20491]: db.c:324 db_get_common: Unable to find key '/cidname' in family 'AMPUSER'
  926. [2018-02-15 15:26:10] DEBUG[20491]: func_db.c:138 function_db_read: DB: AMPUSER//cidname not found in database.
  927. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function DB(AMPUSER//cidname) result is ''
  928. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4411 ast_str_substitute_variables_full: Expression result is '0'
  929. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4353 ast_str_substitute_variables_full: Function CALLERID(number) result is ''
  930. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4620 pbx_substitute_variables_helper_full: Expression result is '0'
  931. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'GotoIf'
  932. -- Executing [s@macro-dialout-trunk:21] GotoIf("DAHDI/17-1", "0?customtrunk") in new stack
  933. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:10702 pbx_builtin_gotoif: Not taking any branch
  934. [2018-02-15 15:26:10] DEBUG[20491]: app_macro.c:435 _macro_exec: Executed application: GotoIf
  935. [2018-02-15 15:26:10] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Dial'
  936. -- Executing [s@macro-dialout-trunk:22] Dial("DAHDI/17-1", "DAHDI/g0/13867761656,300,M(setmusic^none)T") in new stack
  937. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:13722 dahdi_request: Using channel 1
  938. [2018-02-15 15:26:10] DEBUG[20491]: dsp.c:489 ast_tone_detect_init: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
  939. [2018-02-15 15:26:10] DEBUG[20491]: dsp.c:489 ast_tone_detect_init: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
  940. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6265 ast_channel_inherit_variables: Inheriting variable NODEST from DAHDI/17-1 to DAHDI/1-1.
  941. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable REC_STATUS from DAHDI/17-1 to DAHDI/1-1.
  942. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable REC_POLICY_MODE from DAHDI/17-1 to DAHDI/1-1.
  943. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable MON_FMT from DAHDI/17-1 to DAHDI/1-1.
  944. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable FROMEXTEN from DAHDI/17-1 to DAHDI/1-1.
  945. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable TIMESTR from DAHDI/17-1 to DAHDI/1-1.
  946. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable YEAR from DAHDI/17-1 to DAHDI/1-1.
  947. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable MONTH from DAHDI/17-1 to DAHDI/1-1.
  948. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable DAY from DAHDI/17-1 to DAHDI/1-1.
  949. [2018-02-15 15:26:10] DEBUG[20491]: channel.c:6273 ast_channel_inherit_variables: Inheriting variable SIPADDHEADER01 from DAHDI/17-1 to DAHDI/1-1.
  950. -- Called DAHDI/g0/13867761656
  951. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:467 do_state_change: Changing state for DAHDI/1 - state 2 (In use)
  952. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:442 devstate_event: device 'DAHDI/1' state '2'
  953. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:467 do_state_change: Changing state for DAHDI/1 - state 2 (In use)
  954. [2018-02-15 15:26:10] DEBUG[31643]: devicestate.c:442 devstate_event: device 'DAHDI/1' state '2'
  955. [2018-02-15 15:26:10] DEBUG[31676]: app_queue.c:1599 handle_statechange: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  956. [2018-02-15 15:26:10] DEBUG[31676]: app_queue.c:1599 handle_statechange: Device 'DAHDI/1' changed to state '2' (In use) but we don't care because they're not a member of any queue.
  957. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  958. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  959. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  960. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  961. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  962. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  963. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  964. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  965. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  966. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  967. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  968. [2018-02-15 15:26:10] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  969. [2018-02-15 15:26:11] DEBUG[20491]: chan_dahdi.c:9418 dahdi_write: Dropping frame since I'm still dialing on DAHDI/1-1...
  970. [2018-02-15 15:26:11] DEBUG[31651]: sig_ss7.c:1098 ss7_linkset: Queueing frame from SS7_EVENT_ACM on CIC 1
  971. -- DAHDI/1-1 is proceeding passing it to DAHDI/17-1
  972. [2018-02-15 15:26:11] DEBUG[20491]: chan_dahdi.c:9467 dahdi_indicate: Requested indication 15 on channel DAHDI/17-1
  973. [2018-02-15 15:26:11] DEBUG[20491]: sig_ss7.c:1712 sig_ss7_indicate: Received AST_CONTROL_PROCEEDING on DAHDI/17-1
  974. [2018-02-15 15:26:15] DEBUG[31651]: channel.c:2735 ast_softhangup_nolock: Soft-Hanging up channel 'DAHDI/17-1'
  975. [2018-02-15 15:26:15] DEBUG[20491]: channel.c:2884 ast_hangup: Hanging up channel 'DAHDI/1-1'
  976. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6180 dahdi_hangup: dahdi_hangup(DAHDI/1-1)
  977. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6880 dahdi_setoption: Set option AUDIO MODE, value: ON(1) on DAHDI/1-1
  978. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6788 dahdi_setoption: Set option TDD MODE, value: OFF(0) on DAHDI/1-1
  979. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:4892 update_conf: Updated conferencing on 1, with 0 conference users
  980. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6876 dahdi_setoption: Set option AUDIO MODE, value: OFF(0) on DAHDI/1-1
  981. -- Hungup 'DAHDI/1-1'
  982. [2018-02-15 15:26:15] DEBUG[20491]: app_dial.c:3033 dial_exec_full: Exiting with DIALSTATUS=CANCEL.
  983. [2018-02-15 15:26:15] DEBUG[20491]: app_macro.c:429 _macro_exec: Spawn extension (macro-dialout-trunk,s,22) exited non-zero on 'DAHDI/17-1' in macro 'dialout-trunk'
  984. == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'DAHDI/17-1' in macro 'dialout-trunk'
  985. [2018-02-15 15:26:15] DEBUG[20491]: pbx.c:5544 __ast_pbx_run: Spawn extension (from-internal,3867761656,6) exited non-zero on 'DAHDI/17-1'
  986. == Spawn extension (from-internal, 3867761656, 6) exited non-zero on 'DAHDI/17-1'
  987. [2018-02-15 15:26:15] DEBUG[31643]: devicestate.c:467 do_state_change: Changing state for DAHDI/1 - state 0 (Unknown)
  988. [2018-02-15 15:26:15] DEBUG[31643]: devicestate.c:442 devstate_event: device 'DAHDI/1' state '0'
  989. [2018-02-15 15:26:15] DEBUG[20491]: channel.c:2735 ast_softhangup_nolock: Soft-Hanging up channel 'DAHDI/17-1'
  990. [2018-02-15 15:26:15] DEBUG[20491]: pbx.c:4720 pbx_extension_helper: Launching 'Hangup'
  991. -- Executing [h@from-internal:1] Hangup("DAHDI/17-1", "") in new stack
  992. [2018-02-15 15:26:15] DEBUG[20491]: pbx.c:5723 __ast_pbx_run: Spawn extension (from-internal,h,1) exited non-zero on 'DAHDI/17-1'
  993. == Spawn extension (from-internal, h, 1) exited non-zero on 'DAHDI/17-1'
  994. [2018-02-15 15:26:15] DEBUG[31676]: app_queue.c:1599 handle_statechange: Device 'DAHDI/1' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
  995. [2018-02-15 15:26:15] DEBUG[20491]: channel.c:2884 ast_hangup: Hanging up channel 'DAHDI/17-1'
  996. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6180 dahdi_hangup: dahdi_hangup(DAHDI/17-1)
  997. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6880 dahdi_setoption: Set option AUDIO MODE, value: ON(1) on DAHDI/17-1
  998. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:4980 dahdi_disable_ec: Disabled echo cancellation on channel 17
  999. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6788 dahdi_setoption: Set option TDD MODE, value: OFF(0) on DAHDI/17-1
  1000. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:4892 update_conf: Updated conferencing on 17, with 0 conference users
  1001. [2018-02-15 15:26:15] DEBUG[20491]: chan_dahdi.c:6876 dahdi_setoption: Set option AUDIO MODE, value: OFF(0) on DAHDI/17-1
  1002. -- Hungup 'DAHDI/17-1'
  1003. [2018-02-15 15:26:15] DEBUG[31643]: devicestate.c:467 do_state_change: Changing state for DAHDI/17 - state 0 (Unknown)
  1004. [2018-02-15 15:26:15] DEBUG[31643]: devicestate.c:442 devstate_event: device 'DAHDI/17' state '0'
  1005. [2018-02-15 15:26:15] DEBUG[31676]: app_queue.c:1599 handle_statechange: Device 'DAHDI/17' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
  1006. [2018-02-15 15:26:17] DEBUG[31667]: chan_sip.c:4071 __sip_autodestruct: Auto destroying SIP dialog '5ea0207333c5c11319a464453b214680@10.22.22.42:5060'
  1007. [2018-02-15 15:26:17] DEBUG[31667]: chan_sip.c:6298 sip_destroy: Destroying SIP dialog 5ea0207333c5c11319a464453b214680@10.22.22.42:5060
  1008. Really destroying SIP dialog '5ea0207333c5c11319a464453b214680@10.22.22.42:5060' Method: INVITE
  1009. [2018-02-15 15:26:17] DEBUG[31667]: rtp_engine.c:298 instance_destructor: Destroyed RTP instance '0x7f350c061c78'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement