SCCP Chanspy example

From cynjut, 11 Months ago, written in Plain Text, viewed 3 times.
URL https://pastebin.freepbx.org/view/fd0cd6ae Embed
Download Paste or View Raw
  1. [2020-07-12 15:30:55] VERBOSE[23598][C-0000a39f] netsock2.c: Using SCCP RTP TOS bits 184
  2. [2020-07-12 15:30:55] VERBOSE[23598][C-0000a39f] netsock2.c: Using SCCP RTP CoS mark 6
  3. [2020-07-12 15:30:56] VERBOSE[24177][C-0000a39f] pbx.c: Executing [556@from-internal:1] NoOp("SCCP/105-00005367", "Entering user
  4.  defined context from-internal-custom in extensions_custom.conf") in new stack
  5. [2020-07-12 15:30:56] VERBOSE[24177][C-0000a39f] pbx.c: Executing [556@from-internal:2] Authenticate("SCCP/105-00005367", "1261"
  6. ) in new stack
  7. [2020-07-12 15:30:56] VERBOSE[24177][C-0000a39f] file.c: <SCCP/105-00005367> Playing 'agent-pass.ulaw' (language 'English')
  8. [2020-07-12 15:31:00] VERBOSE[24177][C-0000a39f] file.c: <SCCP/105-00005367> Playing 'auth-thankyou.ulaw' (language 'English')
  9. [2020-07-12 15:31:01] VERBOSE[24177][C-0000a39f] pbx.c: Executing [556@from-internal:3] Read("SCCP/105-00005367", "spyee,please-
  10. enter-the&extension&number&followed_pound") in new stack
  11. [2020-07-12 15:31:01] VERBOSE[24177][C-0000a39f] file.c: <SCCP/105-00005367> Playing 'please-enter-the.ulaw' (language 'English'
  12. )
  13. [2020-07-12 15:31:02] VERBOSE[24177][C-0000a39f] file.c: <SCCP/105-00005367> Playing 'extension.ulaw' (language 'English')
  14. [2020-07-12 15:31:04] VERBOSE[24177][C-0000a39f] file.c: <SCCP/105-00005367> Playing 'number.ulaw' (language 'English')
  15. [2020-07-12 15:31:04] VERBOSE[24177][C-0000a39f] file.c: <SCCP/105-00005367> Playing 'followed_pound.ulaw' (language 'English')
  16. [2020-07-12 15:31:06] VERBOSE[24177][C-0000a39f] app_read.c: User entered '140'
  17. [2020-07-12 15:31:06] VERBOSE[24177][C-0000a39f] pbx.c: Executing [556@from-internal:4] Goto("SCCP/105-00005367", "targeted-chan
  18. spy,140,1") in new stack
  19. [2020-07-12 15:31:06] VERBOSE[24177][C-0000a39f] pbx_builtins.c: Goto (targeted-chanspy,140,1)
  20. [2020-07-12 15:31:06] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:1] NoOp("SCCP/105-00005367", "Entering u
  21. ser defined context targeted-chanspy in extensions_custom.conf") in new stack
  22. [2020-07-12 15:31:06] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:2] Answer("SCCP/105-00005367", "") in ne
  23. w stack
  24. [2020-07-12 15:31:06] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:3] Wait("SCCP/105-00005367", "1") in new
  25.  stack
  26. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:4] Set("SCCP/105-00005367", "spy_target=
  27. ") in new stack
  28. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:5] Set("SCCP/105-00005367", "DEVS=140")
  29. in new stack
  30. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:6] Set("SCCP/105-00005367", "DEVS=140")
  31. in new stack
  32. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:7] While("SCCP/105-00005367", "1") in ne
  33. w stack
  34. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:8] NoOp("SCCP/105-00005367", "dev: 140")
  35.  in new stack
  36. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:9] Set("SCCP/105-00005367", "spy_target=
  37. SCCP/140-00005364") in new stack
  38. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:10] ExecIf("SCCP/105-00005367", "1?ExitW
  39. hile") in new stack
  40. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] app_while.c: Jumping to priority 11
  41. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] pbx.c: Executing [140@targeted-chanspy:12] ExecIf("SCCP/105-00005367", "1?ChanS
  42. py(SCCP/140-00005364,dnq)") in new stack
  43. [2020-07-12 15:31:07] VERBOSE[24177][C-0000a39f] app_chanspy.c: Spying on channel SCCP/140-00005364
  44. [2020-07-12 15:31:07] NOTICE[24177][C-0000a39f] app_chanspy.c: Attaching SCCP/105-00005367 to SCCP/140-00005364
  45. [2020-07-12 15:31:07] NOTICE[24177][C-0000a39f] app_chanspy.c: Attaching SCCP/105-00005367 to SCCP/140-00005364
  46. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] bridge_channel.c: Channel SCCP/140-00005364 left 'simple_bridge' basic-bridge <
  47. 92eb8f6b-4534-41f5-8200-59d337777dac>
  48. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] app_macro.c: Spawn extension (macro-dialout-trunk, s, 24) exited non-zero on 'S
  49. CCP/140-00005364' in macro 'dialout-trunk'
  50. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx.c: Spawn extension (from-internal, 4026729898, 8) exited non-zero on 'SCCP/
  51. 140-00005364'
  52. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx.c: Executing [h@from-internal:1] Macro("SCCP/140-00005364", "hangupcall") i
  53. n new stack
  54. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SCCP/140-00005364", "1?theend")
  55.  in new stack
  56. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx_builtins.c: Goto (macro-hangupcall,s,3)
  57. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SCCP/140-00005364", "0?Set(CDR(
  58. recordingfile)=)") in new stack
  59. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SCCP/140-00005364", "") in new
  60. stack
  61. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SCCP/
  62. 140-00005364' in macro 'hangupcall'
  63. [2020-07-12 15:31:19] VERBOSE[23228][C-00006384] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SCCP/140-00005
  64. 364'
  65. [2020-07-12 15:31:19] VERBOSE[23255][C-00006384] bridge_channel.c: Channel SIP/Telnyx-main-00005579 left 'simple_bridge' basic-b
  66. ridge <92eb8f6b-4534-41f5-8200-59d337777dac>
  67. [2020-07-12 15:31:19] VERBOSE[23229][C-00006384] app_mixmonitor.c: MixMonitor close filestream (mixed)
  68. [2020-07-12 15:31:19] VERBOSE[24177][C-0000a39f] app_chanspy.c: Done Spying on channel SCCP/140-00005364
  69. [2020-07-12 15:31:19] VERBOSE[23229][C-00006384] app_mixmonitor.c: End MixMonitor Recording SCCP/140-00005364
  70. [2020-07-12 15:31:26] VERBOSE[23780][C-00006384] netsock2.c: Using SCCP RTP TOS bits 184
  71. [2020-07-12 15:31:26] VERBOSE[23780][C-00006384] netsock2.c: Using SCCP RTP CoS mark 6
  72. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:1] Macro("SCCP/140-00005368", "user-
  73. callerid,LIMIT,EXTERNAL,") in new stack
  74. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:1] Set("SCCP/140-00005368", "TOUCH_MONI
  75. TOR=1594585886.85261") in new stack
  76. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:2] Set("SCCP/140-00005368", "AMPUSER=14
  77. 0") in new stack
  78. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("SCCP/140-00005368", "0?repor
  79. t") in new stack
  80. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("SCCP/140-00005368", "1?Set(R
  81. EALCALLERIDNUM=140)") in new stack
  82. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:5] Set("SCCP/140-00005368", "AMPUSER=14
  83. 0") in new stack
  84. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("SCCP/140-00005368", "0?limit
  85. ") in new stack
  86. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:7] Set("SCCP/140-00005368", "AMPUSERCID
  87. NAME=Station 140") in new stack
  88. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("SCCP/140-00005368", "0?Set(_
  89. _CIDMASQUERADING=TRUE)") in new stack
  90. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("SCCP/140-00005368", "0?repor
  91. t") in new stack
  92. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:10] Set("SCCP/140-00005368", "AMPUSERCI
  93. D=140") in new stack
  94. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:11] Set("SCCP/140-00005368", "__DIAL_OP
  95. TIONS=r") in new stack
  96. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:12] Set("SCCP/140-00005368", "CALLERID(
  97. all)="Station 140" <140>") in new stack
  98. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("SCCP/140-00005368", "0?limi
  99. t") in new stack
  100. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("SCCP/140-00005368", "1?Set(
  101. GROUP(concurrency_limit)=140)") in new stack
  102. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("SCCP/140-00005368", "0?Set(
  103. CHANNEL(language)=)") in new stack
  104. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:16] NoOp("SCCP/140-00005368", "Macro De
  105. pth is 1") in new stack
  106. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("SCCP/140-00005368", "1?repo
  107. rt2:macroerror") in new stack
  108. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (macro-user-callerid,s,18)
  109. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("SCCP/140-00005368", "1?cont
  110. inue") in new stack
  111. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (macro-user-callerid,s,37)
  112. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:37] Set("SCCP/140-00005368", "CALLERID(
  113. number)=140") in new stack
  114. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:38] Set("SCCP/140-00005368", "CALLERID(
  115. name)=Station 140") in new stack
  116. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("SCCP/140-00005368", "0?cnum
  117. ") in new stack
  118. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:40] Set("SCCP/140-00005368", "CDR(cnam)
  119. =Station 140") in new stack
  120. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:41] Set("SCCP/140-00005368", "CDR(cnum)
  121. =140") in new stack
  122. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-user-callerid:42] Set("SCCP/140-00005368", "CHANNEL(l
  123. anguage)=English") in new stack
  124. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:2] Gosub("SCCP/140-00005368", "sub-r
  125. ecord-check,s,1(out,4026729898,force)") in new stack
  126. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:1] GotoIf("SCCP/140-00005368", "0?initiali
  127. zed") in new stack
  128. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:2] Set("SCCP/140-00005368", "__REC_STATUS=
  129. INITIALIZED") in new stack
  130. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:3] Set("SCCP/140-00005368", "NOW=159458588
  131. 6") in new stack
  132. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:4] Set("SCCP/140-00005368", "__DAY=12") in
  133.  new stack
  134. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:5] Set("SCCP/140-00005368", "__MONTH=07")
  135. in new stack
  136. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:6] Set("SCCP/140-00005368", "__YEAR=2020")
  137.  in new stack
  138. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:7] Set("SCCP/140-00005368", "__TIMESTR=202
  139. 00712-153126") in new stack
  140. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:8] Set("SCCP/140-00005368", "__FROMEXTEN=1
  141. 40") in new stack
  142. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:9] Set("SCCP/140-00005368", "__MON_FMT=wav
  143. ") in new stack
  144. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:10] NoOp("SCCP/140-00005368", "Recordings
  145. initialized") in new stack
  146. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:11] ExecIf("SCCP/140-00005368", "0?Set(ARG
  147. 3=dontcare)") in new stack
  148. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:12] Set("SCCP/140-00005368", "REC_POLICY_M
  149. ODE_SAVE=") in new stack
  150. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:13] ExecIf("SCCP/140-00005368", "0?Set(REC
  151. _STATUS=NO)") in new stack
  152. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:14] GotoIf("SCCP/140-00005368", "3?checkac
  153. tion") in new stack
  154. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (sub-record-check,s,17)
  155. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@sub-record-check:17] GotoIf("SCCP/140-00005368", "1?sub-rec
  156. ord-check,out,1") in new stack
  157. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (sub-record-check,out,1)
  158. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [out@sub-record-check:1] NoOp("SCCP/140-00005368", "Outbound R
  159. ecording Check from 140 to 4026729898") in new stack
  160. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [out@sub-record-check:2] Set("SCCP/140-00005368", "RECMODE=for
  161. ce") in new stack
  162. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [out@sub-record-check:3] ExecIf("SCCP/140-00005368", "0?Goto(r
  163. outewins)") in new stack
  164. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [out@sub-record-check:4] ExecIf("SCCP/140-00005368", "1?Goto(r
  165. outewins)") in new stack
  166. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (sub-record-check,out,7)
  167. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [out@sub-record-check:7] Gosub("SCCP/140-00005368", "recordche
  168. ck,1(force,out,4026729898)") in new stack
  169. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SCCP/140-00005368", "St
  170. arting recording check against force") in new stack
  171. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SCCP/140-00005368", "fo
  172. rce") in new stack
  173. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (sub-record-check,recordcheck,5)
  174. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:5] Set("SCCP/140-00005368", "__R
  175. EC_POLICY_MODE=FORCE") in new stack
  176. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:6] GotoIf("SCCP/140-00005368", "
  177. 1?startrec") in new stack
  178. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (sub-record-check,recordcheck,16)
  179. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:16] NoOp("SCCP/140-00005368", "S
  180. tarting recording: out, 4026729898") in new stack
  181. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:17] Set("SCCP/140-00005368", "__
  182. CALLFILENAME=out-4026729898-140-20200712-153126-1594585886.85261") in new stack
  183. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:18] MixMonitor("SCCP/140-0000536
  184. 8", "2020/07/12/out-4026729898-140-20200712-153126-1594585886.85261.wav,abi(LOCAL_MIXMON_ID),") in new stack
  185. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:19] Set("SCCP/140-00005368", "__
  186. MIXMON_ID=0x25eabb0") in new stack
  187. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:20] Set("SCCP/140-00005368", "__
  188. RECORD_ID=SCCP/140-00005368") in new stack
  189. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:21] Set("SCCP/140-00005368", "__
  190. REC_STATUS=RECORDING") in new stack
  191. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:22] Set("SCCP/140-00005368", "CD
  192. R(recordingfile)=out-4026729898-140-20200712-153126-1594585886.85261.wav") in new stack
  193. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [recordcheck@sub-record-check:23] Return("SCCP/140-00005368",
  194. "") in new stack
  195. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [out@sub-record-check:8] Return("SCCP/140-00005368", "") in ne
  196. w stack
  197. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:3] ExecIf("SCCP/140-00005368", "0 ?S
  198. et(CDR(accountcode)=)") in new stack
  199. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:4] Set("SCCP/140-00005368", "MOHCLAS
  200. S=default") in new stack
  201. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:5] ExecIf("SCCP/140-00005368", "1?Se
  202. t(TRUNKCIDOVERRIDE="Enhanced Teleservices" <4028940282>)") in new stack
  203. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:6] Set("SCCP/140-00005368", "_NODEST
  204. =") in new stack
  205. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:7] Macro("SCCP/140-00005368", "dialo
  206. ut-trunk,1,14026729898,,off") in new stack
  207. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:1] Set("SCCP/140-00005368", "DIAL_TRUNK
  208. =1") in new stack
  209. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf("SCCP/140-00005368", "0?Set(D
  210. IAL_OPTIONS=r)") in new stack
  211. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf("SCCP/140-00005368", "0?sub-
  212. pincheck,s,1()") in new stack
  213. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:4] GotoIf("SCCP/140-00005368", "1?disab
  214. letrunk,1") in new stack
  215. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (macro-dialout-trunk,disabletrunk,1)
  216. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [disabletrunk@macro-dialout-trunk:1] NoOp("SCCP/140-00005368",
  217.  "TRUNK: SIP/AlcazarOutbound DISABLED - falling through to next trunk") in new stack
  218. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [4026729898@from-internal:8] Macro("SCCP/140-00005368", "dialo
  219. ut-trunk,4,14026729898,,on") in new stack
  220. [2020-07-12 15:31:26] VERBOSE[24217][C-00006384] app_mixmonitor.c: Begin MixMonitor Recording SCCP/140-00005368
  221. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:1] Set("SCCP/140-00005368", "DIAL_TRUNK
  222. =4") in new stack
  223. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf("SCCP/140-00005368", "0?Set(D
  224. IAL_OPTIONS=r)") in new stack
  225. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:3] GosubIf("SCCP/140-00005368", "0?sub-
  226. pincheck,s,1()") in new stack
  227. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:4] GotoIf("SCCP/140-00005368", "0?disab
  228. letrunk,1") in new stack
  229. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:5] Set("SCCP/140-00005368", "DIAL_NUMBE
  230. R=14026729898") in new stack
  231. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:6] Set("SCCP/140-00005368", "DIAL_TRUNK
  232. _OPTIONS=r") in new stack
  233. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:7] Set("SCCP/140-00005368", "OUTBOUND_G
  234. ROUP=OUT_4") in new stack
  235. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:8] Set("SCCP/140-00005368", "DIAL_TRUNK
  236. _OPTIONS=") in new stack
  237. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf("SCCP/140-00005368", "0?nomax
  238. ") in new stack
  239. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:10] GotoIf("SCCP/140-00005368", "0?chan
  240. full") in new stack
  241. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf("SCCP/140-00005368", "0?skip
  242. outcid") in new stack
  243. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:12] Macro("SCCP/140-00005368", "outboun
  244. d-callerid,4") in new stack
  245. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:1] ExecIf("SCCP/140-00005368", "0?S
  246. et(CALLERPRES(name-pres)=)") in new stack
  247. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:2] ExecIf("SCCP/140-00005368", "0?S
  248. et(CALLERPRES(num-pres)=)") in new stack
  249. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:3] ExecIf("SCCP/140-00005368", "0?S
  250. et(REALCALLERIDNUM=140)") in new stack
  251. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("SCCP/140-00005368", "0?S
  252. et(AMPUSER=140)") in new stack
  253. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:5] GotoIf("SCCP/140-00005368", "1?n
  254. ormcid") in new stack
  255. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (macro-outbound-callerid,s,9)
  256. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:9] Set("SCCP/140-00005368", "USEROU
  257. TCID=140") in new stack
  258. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:10] Set("SCCP/140-00005368", "EMERG
  259. ENCYCID=Enhanced Teleservices, Inc <4028940288>") in new stack
  260. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:11] Set("SCCP/140-00005368", "TRUNK
  261. OUTCID="Prof Dist AIRPORT" <4029164675>") in new stack
  262. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:12] GotoIf("SCCP/140-00005368", "1?
  263. trunkcid") in new stack
  264. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (macro-outbound-callerid,s,18)
  265. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:18] ExecIf("SCCP/140-00005368", "1?
  266. Set(CALLERID(all)="Prof Dist AIRPORT" <4029164675>)") in new stack
  267. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf("SCCP/140-00005368", "1?
  268. Set(CALLERID(all)=140)") in new stack
  269. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf("SCCP/140-00005368", "1?
  270. Set(CALLERID(all)="Prof Dist AIRPORT" <4029164675>)") in new stack
  271. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf("SCCP/140-00005368", "0?
  272. Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
  273. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("SCCP/140-00005368", "0?
  274. Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
  275. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:23] Set("SCCP/140-00005368", "CDR(o
  276. utbound_cnum)=4029164675") in new stack
  277. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-outbound-callerid:24] Set("SCCP/140-00005368", "CDR(o
  278. utbound_cnam)=Prof Dist AIRPORT") in new stack
  279. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:13] GosubIf("SCCP/140-00005368", "0?sub
  280. -flp-4,s,1()") in new stack
  281. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:14] Set("SCCP/140-00005368", "OUTNUM=14
  282. 026729898") in new stack
  283. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:15] Set("SCCP/140-00005368", "custom=SI
  284. P/Telnyx-main") in new stack
  285. [2020-07-12 15:31:26] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf("SCCP/140-00005368", "0?Set(
  286. DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
  287. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf("SCCP/140-00005368", "0?Set(
  288. DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
  289. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:18] Macro("SCCP/140-00005368", "dialout
  290. -trunk-predial-hook,") in new stack
  291. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SCCP/140-000
  292. 05368", "") in new stack
  293. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:19] GotoIf("SCCP/140-00005368", "0?bypa
  294. ss,1") in new stack
  295. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf("SCCP/140-00005368", "1?Set(
  296. CONNECTEDLINE(num,i)=14026729898)") in new stack
  297. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("SCCP/140-00005368", "1?Set(
  298. CONNECTEDLINE(name,i)=CID:4029164675)") in new stack
  299. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf("SCCP/140-00005368", "0?Set(
  300. CONNECTEDLINE(name,i)=CID:(Hidden)4029164675)") in new stack
  301. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:23] GotoIf("SCCP/140-00005368", "0?cust
  302. omtrunk") in new stack
  303. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-dialout-trunk:24] Dial("SCCP/140-00005368", "SIP/Teln
  304. yx-main/14026729898,300,") in new stack
  305. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] netsock2.c: Using SIP RTP TOS bits 184
  306. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] netsock2.c: Using SIP RTP CoS mark 5
  307. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] app_dial.c: Called SIP/Telnyx-main/14026729898
  308. [2020-07-12 15:31:27] VERBOSE[24216][C-00006384] app_dial.c: SIP/Telnyx-main-0000557a is ringing
  309. [2020-07-12 15:31:39] VERBOSE[24216][C-00006384] app_dial.c: SIP/Telnyx-main-0000557a answered SCCP/140-00005368
  310. [2020-07-12 15:31:39] VERBOSE[24240][C-00006384] bridge_channel.c: Channel SIP/Telnyx-main-0000557a joined 'simple_bridge' basic
  311. -bridge <31a95238-d745-4e14-a0a0-e765328c2f11>
  312. [2020-07-12 15:31:39] VERBOSE[24216][C-00006384] bridge_channel.c: Channel SCCP/140-00005368 joined 'simple_bridge' basic-bridge
  313.  <31a95238-d745-4e14-a0a0-e765328c2f11>
  314. [2020-07-12 15:31:58] VERBOSE[24177][C-0000a39f] pbx.c: Spawn extension (targeted-chanspy, 140, 12) exited non-zero on 'SCCP/105
  315. -00005367'
  316. [2020-07-12 15:31:58] VERBOSE[24177][C-0000a39f] pbx.c: Executing [h@targeted-chanspy:1] Hangup("SCCP/105-00005367", "") in new
  317. stack
  318. [2020-07-12 15:31:58] VERBOSE[24177][C-0000a39f] pbx.c: Spawn extension (targeted-chanspy, h, 1) exited non-zero on 'SCCP/105-00
  319. 005367'
  320. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] bridge_channel.c: Channel SCCP/140-00005368 left 'simple_bridge' basic-bridge <
  321. 31a95238-d745-4e14-a0a0-e765328c2f11>
  322. [2020-07-12 15:32:10] VERBOSE[24240][C-00006384] bridge_channel.c: Channel SIP/Telnyx-main-0000557a left 'simple_bridge' basic-b
  323. ridge <31a95238-d745-4e14-a0a0-e765328c2f11>
  324. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] app_macro.c: Spawn extension (macro-dialout-trunk, s, 24) exited non-zero on 'S
  325. CCP/140-00005368' in macro 'dialout-trunk'
  326. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx.c: Spawn extension (from-internal, 4026729898, 8) exited non-zero on 'SCCP/
  327. 140-00005368'
  328. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx.c: Executing [h@from-internal:1] Macro("SCCP/140-00005368", "hangupcall") i
  329. n new stack
  330. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SCCP/140-00005368", "1?theend")
  331.  in new stack
  332. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx_builtins.c: Goto (macro-hangupcall,s,3)
  333. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SCCP/140-00005368", "0?Set(CDR(
  334. recordingfile)=)") in new stack
  335. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SCCP/140-00005368", "") in new
  336. stack
  337. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SCCP/
  338. 140-00005368' in macro 'hangupcall'
  339. [2020-07-12 15:32:10] VERBOSE[24216][C-00006384] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SCCP/140-00005
  340. 368'
  341.  

Reply to "SCCP Chanspy example"

Here you can reply to the paste above