Advertisement
jotamon

Sipdebug.txt

Nov 8th, 2017
747
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.95 KB | None | 0 0
  1. Parsing /etc/asterisk/asterisk.conf
  2. Seeding global EID '08:00:27:82:02:75' from 'eth0' using 'siocgifhwaddr'
  3. Asterisk 11.25.0, Copyright (C) 1999 - 2013 Digium, Inc. and others.
  4. Created by Mark Spencer <markster@digium.com>
  5. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  6. This is free software, with components licensed under the GNU General Public
  7. License version 2 and other licenses; you are welcome to redistribute it under
  8. certain conditions. Type 'core show license' for details.
  9. =========================================================================
  10. Connected to Asterisk 11.25.0 currently running on host (pid = 1857)
  11. host*CLI>
  12. Core debug is still 2.
  13.  
  14. host*CLI>
  15. 
  16. <--- SIP read from UDP:192.168.1.23:30652 --->
  17. INVITE sip:403@192.168.1.251 SIP/2.0
  18. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK2040858077;rport
  19. From: <sip:125@192.168.1.251>;tag=139474981
  20. To: <sip:403@192.168.1.251>
  21. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  22. CSeq: 260 INVITE
  23. Contact: <sip:125@192.168.1.23:30652>
  24. Max-Forwards: 70
  25. User-Agent: Grandstream Wave 1.0.2.17
  26. Privacy: none
  27. P-Preferred-Identity: <sip:125@192.168.1.251>
  28. Supported: replaces, path, timer, eventlist
  29. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  30. Content-Type: application/sdp
  31. Accept: application/sdp, application/dtmf-relay
  32. Content-Length: 269
  33.  
  34. v=0
  35. o=125 8000 8000 IN IP4 192.168.1.23
  36. s=SIP Call
  37. c=IN IP4 192.168.1.23
  38. t=0 0
  39. m=audio 43242 RTP/AVP 0 8 101
  40. a=sendrecv
  41. a=rtcp:43243 IN IP4 192.168.1.23
  42. a=rtpmap:0 PCMU/8000
  43. a=ptime:20
  44. a=rtpmap:8 PCMA/8000
  45. a=rtpmap:101 telephone-event/8000
  46. a=fmtp:101 0-15
  47.  
  48. <------------->
  49. --- (16 headers 13 lines) ---
  50.  
  51. host*CLI>
  52. Sending to 192.168.1.23:30652 (NAT)
  53. [2017-11-07 17:11:41] DEBUG[2062]: chan_sip.c:8679 sip_alloc: Allocating new SIP dialog for 1525902518-30652-27@BJC.BGI.B.CD - INVITE (No RTP)
  54. Sending to 192.168.1.23:30652 (NAT)
  55. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:25822 handle_request_invite: Initializing initreq for method INVITE - callid 1525902518-30652-27@BJC.BGI.B.CD
  56. Using INVITE request as basis request - 1525902518-30652-27@BJC.BGI.B.CD
  57. Found peer '125' for '125' from 192.168.1.23:30652
  58.  
  59. <--- Reliably Transmitting (NAT) to 192.168.1.23:30652 --->
  60. SIP/2.0 401 Unauthorized
  61. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK2040858077;received=192.168.1.23;rport=30652
  62. From: <sip:125@192.168.1.251>;tag=139474981
  63. To: <sip:403@192.168.1.251>;tag=as618a9d64
  64. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  65. CSeq: 260 INVITE
  66. Server: FPBX-2.11.0(11.25.0)
  67. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  68. Supported: replaces, timer
  69. WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="490763d0"
  70. Content-Length: 0
  71.  
  72.  
  73. <------------>
  74. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 401' onto UDP socket destined for 192.168.1.23:30652
  75. Scheduling destruction of SIP dialog '1525902518-30652-27@BJC.BGI.B.CD' in 6400 ms (Method: INVITE)
  76.  
  77. host*CLI>
  78. 
  79. <--- SIP read from UDP:192.168.1.23:30652 --->
  80. ACK sip:403@192.168.1.251 SIP/2.0
  81. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK2040858077;rport
  82. From: <sip:125@192.168.1.251>;tag=139474981
  83. To: <sip:403@192.168.1.251>;tag=as618a9d64
  84. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  85. CSeq: 260 ACK
  86. Content-Length: 0
  87.  
  88. <------------->
  89. --- (7 headers 0 lines) ---
  90. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '1525902518-30652-27@BJC.BGI.B.CD' of Response 260: Match Found
  91.  
  92. host*CLI>
  93. 
  94. <--- SIP read from UDP:192.168.1.23:30652 --->
  95. INVITE sip:403@192.168.1.251 SIP/2.0
  96. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK379846103;rport
  97. From: <sip:125@192.168.1.251>;tag=139474981
  98. To: <sip:403@192.168.1.251>
  99. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  100. CSeq: 261 INVITE
  101. Contact: <sip:125@192.168.1.23:30652>
  102. Authorization: Digest username="125", realm="asterisk", nonce="490763d0", uri="sip:403@192.168.1.251", response="a8c4032d3fc455eba09812b34b8743d2", algorithm=MD5
  103. Max-Forwards: 70
  104. User-Agent: Grandstream Wave 1.0.2.17
  105. Privacy: none
  106. P-Preferred-Identity: <sip:125@192.168.1.251>
  107. Supported: replaces, path, timer, eventlist
  108. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  109. Content-Type: application/sdp
  110. Accept: application/sdp, application/dtmf-relay
  111. Content-Length: 269
  112.  
  113. v=0
  114. o=125 8000 8000 IN IP4 192.168.1.23
  115. s=SIP Call
  116. c=IN IP4 192.168.1.23
  117. t=0 0
  118. m=audio 43242 RTP/AVP 0 8 101
  119. a=sendrecv
  120. a=rtcp:43243 IN IP4 192.168.1.23
  121. a=rtpmap:0 PCMU/8000
  122. a=ptime:20
  123. a=rtpmap:8 PCMA/8000
  124. a=rtpmap:101 telephone-event/8000
  125. a=fmtp:101 0-15
  126.  
  127. <------------->
  128. --- (17 headers 13 lines) ---
  129.  
  130. host*CLI>
  131. Sending to 192.168.1.23:30652 (NAT)
  132. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:25822 handle_request_invite: Initializing initreq for method INVITE - callid 1525902518-30652-27@BJC.BGI.B.CD
  133. Using INVITE request as basis request - 1525902518-30652-27@BJC.BGI.B.CD
  134. Found peer '125' for '125' from 192.168.1.23:30652
  135. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:289 ast_rtp_instance_new: Using engine 'asterisk' for RTP instance '0x7f4a1c02c4d8'
  136.  
  137. host*CLI>
  138. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:2571 ast_rtp_new: Allocated port 15768 for RTP instance '0x7f4a1c02c4d8'
  139.  
  140. host*CLI>
  141. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:298 ast_rtp_instance_new: RTP instance '0x7f4a1c02c4d8' is setup and ready to go
  142.  
  143. host*CLI>
  144. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:289 ast_rtp_instance_new: Using engine 'asterisk' for RTP instance '0x7f4a1c010b18'
  145. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:2571 ast_rtp_new: Allocated port 14662 for RTP instance '0x7f4a1c010b18'
  146. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:298 ast_rtp_instance_new: RTP instance '0x7f4a1c010b18' is setup and ready to go
  147. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4749 ast_rtp_prop_set: Setup RTCP on RTP instance '0x7f4a1c010b18'
  148. == Using SIP VIDEO TOS bits 136
  149. == Using SIP VIDEO CoS mark 6
  150. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4749 ast_rtp_prop_set: Setup RTCP on RTP instance '0x7f4a1c02c4d8'
  151. == Using SIP RTP TOS bits 184
  152. == Using SIP RTP CoS mark 5
  153. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:5604 do_setnat: Setting NAT on RTP to On
  154. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:5608 do_setnat: Setting NAT on VRTP to On
  155.  
  156. host*CLI>
  157. Found RTP audio format 0
  158. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 0 based on m type on 0x7f4a20192b70
  159. Found RTP audio format 8
  160. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 8 based on m type on 0x7f4a20192b70
  161. Found RTP audio format 101
  162. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 101 based on m type on 0x7f4a20192b70
  163. Found audio description format PCMU for ID 0
  164. Found audio description format PCMA for ID 8
  165. Found audio description format telephone-event for ID 101
  166.  
  167. host*CLI>
  168. Capabilities: us - (gsm|ulaw|alaw|h261|h263|h263p|h264|mpeg4|vp8), peer - audio=(ulaw|alaw)/video=(nothing)/text=(nothing), combined - (ulaw|alaw)
  169. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  170. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a1c02c4d8'
  171. Peer audio RTP is at port 192.168.1.23:43242
  172. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 0 from 0x7f4a20192b70 to 0x7f4a1c02c6a0
  173. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 8 from 0x7f4a20192b70 to 0x7f4a1c02c6a0
  174. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 101 from 0x7f4a20192b70 to 0x7f4a1c02c6a0
  175. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4715 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f4a1c02c4d8'
  176. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a1c010b18'
  177. Peer doesn't provide video
  178. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:10724 process_sdp: We're settling with these formats: (ulaw|alaw)
  179. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:25952 handle_request_invite: Checking SIP call limits for device 125
  180. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:6669 update_call_counter: Call from peer '125' is 1 out of 2147483647
  181. Looking for 403 in from-internal (domain 192.168.1.251)
  182.  
  183. host*CLI>
  184. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:25407 handle_request_invite_st: Incoming INVITE with 'timer' option supported
  185.  
  186. host*CLI>
  187. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:232 instance_destructor: Destroyed RTP instance '0x7f4a1c010b18'
  188.  
  189. host*CLI>
  190. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:16520 build_route: build_route: Contact hop: <sip:125@192.168.1.23:30652>
  191. list_route: hop: <sip:125@192.168.1.23:30652>
  192. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:26189 handle_request_invite: SIP/125-00000009: New call is still down.... Trying...
  193.  
  194. <--- Transmitting (NAT) to 192.168.1.23:30652 --->
  195. SIP/2.0 100 Trying
  196. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK379846103;received=192.168.1.23;rport=30652
  197. From: <sip:125@192.168.1.251>;tag=139474981
  198. To: <sip:403@192.168.1.251>
  199. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  200. CSeq: 261 INVITE
  201. Server: FPBX-2.11.0(11.25.0)
  202. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  203. Supported: replaces, timer
  204. Session-Expires: 1800;refresher=uas
  205. Contact: <sip:403@192.168.1.251:5060>
  206. Content-Length: 0
  207.  
  208.  
  209. <------------>
  210. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 100' onto UDP socket destined for 192.168.1.23:30652
  211.  
  212. host*CLI>
  213. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/ringtimer) result is '0'
  214. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  215. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/ringtimer) result is '0'
  216. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0?0:15) result is '15'
  217. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  218. -- Executing [403@from-internal:1] Set("SIP/125-00000009", "__RINGTIMER=15") in new stack
  219.  
  220. host*CLI>
  221. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Macro'
  222. -- Executing [403@from-internal:2] Macro("SIP/125-00000009", "exten-vm,novm,403,0,0,0") in new stack
  223. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Macro'
  224.  
  225. host*CLI>
  226.  -- Executing [s@macro-exten-vm:1] Macro("SIP/125-00000009", "user-callerid,") in new stack
  227.  
  228. host*CLI>
  229. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  230. -- Executing [s@macro-user-callerid:1] Set("SIP/125-00000009", "TOUCH_MONITOR=1510092701.9") in new stack
  231. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  232.  
  233. host*CLI>
  234. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  235. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '125'
  236.  
  237. host*CLI>
  238. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(1?125:) result is '125'
  239. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  240. -- Executing [s@macro-user-callerid:2] Set("SIP/125-00000009", "AMPUSER=125") in new stack
  241. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  242.  
  243. host*CLI>
  244. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CUT(CHANNEL,@,2) result is ''
  245.  
  246. host*CLI>
  247. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  248. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  249.  
  250. host*CLI>
  251. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  252. -- Executing [s@macro-user-callerid:3] GotoIf("SIP/125-00000009", "0?report") in new stack
  253.  
  254. host*CLI>
  255. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  256. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  257. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  258.  
  259. host*CLI>
  260. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '125'
  261. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  262. -- Executing [s@macro-user-callerid:4] ExecIf("SIP/125-00000009", "1?Set(REALCALLERIDNUM=125)") in new stack
  263. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  264. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  265. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function CALLERID(number) result is '125'
  266. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(DEVICE/125/user) result is '125'
  267. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  268.  
  269. host*CLI>
  270.  -- Executing [s@macro-user-callerid:5] Set("SIP/125-00000009", "AMPUSER=125") in new stack
  271. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  272. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  273. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  274. -- Executing [s@macro-user-callerid:6] GotoIf("SIP/125-00000009", "0?limit") in new stack
  275. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  276.  
  277. host*CLI>
  278. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  279. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/cidname) result is 'Jose'
  280. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  281. -- Executing [s@macro-user-callerid:7] Set("SIP/125-00000009", "AMPUSERCIDNAME=Jose") in new stack
  282. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  283.  
  284. host*CLI>
  285. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  286. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  287. -- Executing [s@macro-user-callerid:8] GotoIf("SIP/125-00000009", "0?report") in new stack
  288. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  289.  
  290. host*CLI>
  291. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  292. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB_EXISTS(AMPUSER/125/cidnum) result is '1'
  293.  
  294. host*CLI>
  295. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  296. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(1?125:125) result is '125'
  297.  
  298. host*CLI>
  299. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  300. -- Executing [s@macro-user-callerid:9] Set("SIP/125-00000009", "AMPUSERCID=125") in new stack
  301.  
  302. host*CLI>
  303. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  304. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '125/dialopts' in family 'AMPUSER'
  305. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB_EXISTS(AMPUSER/125/dialopts) result is '0'
  306. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  307.  
  308. host*CLI>
  309. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0?125:Ttr) result is 'Ttr'
  310. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  311. -- Executing [s@macro-user-callerid:10] Set("SIP/125-00000009", "__DIAL_OPTIONS=Ttr") in new stack
  312.  
  313. host*CLI>
  314. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  315.  
  316. host*CLI>
  317. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  318. -- Executing [s@macro-user-callerid:11] Set("SIP/125-00000009", "CALLERID(all)="Jose" <125>") in new stack
  319. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  320.  
  321. host*CLI>
  322. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(125) result is '3'
  323.  
  324. host*CLI>
  325. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/concurrency_limit) result is '0'
  326. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function GROUP_COUNT(125@concurrency_limit) result is '0'
  327.  
  328. host*CLI>
  329. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/concurrency_limit) result is '0'
  330.  
  331. host*CLI>
  332. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  333.  
  334. host*CLI>
  335. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  336. -- Executing [s@macro-user-callerid:12] GotoIf("SIP/125-00000009", "0?limit") in new stack
  337. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  338.  
  339. host*CLI>
  340. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  341.  
  342. host*CLI>
  343. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(125) result is '3'
  344.  
  345. host*CLI>
  346. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  347.  
  348. host*CLI>
  349. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  350.  
  351. host*CLI>
  352.  -- Executing [s@macro-user-callerid:13] ExecIf("SIP/125-00000009", "0?Set(GROUP(concurrency_limit)=125)") in new stack
  353. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  354. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function LEN(125) result is '3'
  355. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  356. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/language) result is ''
  357. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  358. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/language) result is ''
  359. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  360. -- Executing [s@macro-user-callerid:14] ExecIf("SIP/125-00000009", "0?Set(CHANNEL(language)=)") in new stack
  361. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  362. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function DB(AMPUSER/125/language) result is ''
  363. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  364.  
  365. host*CLI>
  366. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function DB(AMPUSER/125/language) result is ''
  367. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  368. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  369.  
  370. host*CLI>
  371.  -- Executing [s@macro-user-callerid:15] GotoIf("SIP/125-00000009", "0?continue") in new stack
  372.  
  373. host*CLI>
  374. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  375. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  376. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  377. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '-1'
  378.  
  379. host*CLI>
  380. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(1?64:-1) result is '64'
  381. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  382.  
  383. host*CLI>
  384.  -- Executing [s@macro-user-callerid:16] Set("SIP/125-00000009", "__TTL=64") in new stack
  385. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  386. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  387. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  388.  
  389. host*CLI>
  390.  -- Executing [s@macro-user-callerid:17] GotoIf("SIP/125-00000009", "1?continue") in new stack
  391. -- Goto (macro-user-callerid,s,28)
  392.  
  393. host*CLI>
  394. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  395.  
  396. host*CLI>
  397. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '125'
  398. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  399.  
  400. host*CLI>
  401.  -- Executing [s@macro-user-callerid:28] Set("SIP/125-00000009", "CALLERID(number)=125") in new stack
  402. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  403. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(name) result is 'Jose'
  404. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  405.  
  406. host*CLI>
  407.  -- Executing [s@macro-user-callerid:29] Set("SIP/125-00000009", "CALLERID(name)=Jose") in new stack
  408.  
  409. host*CLI>
  410. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  411. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(num) result is '125'
  412. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  413. -- Executing [s@macro-user-callerid:30] Set("SIP/125-00000009", "CDR(cnum)=125") in new stack
  414. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  415. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(name) result is 'Jose'
  416.  
  417. host*CLI>
  418. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  419. -- Executing [s@macro-user-callerid:31] Set("SIP/125-00000009", "CDR(cnam)=Jose") in new stack
  420. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  421.  
  422. host*CLI>
  423. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function CHANNEL(language) result is 'en'
  424. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function MASTER_CHANNEL(CHANNEL(language)) result is 'en'
  425. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  426. -- Executing [s@macro-user-callerid:32] Set("SIP/125-00000009", "CHANNEL(language)=en") in new stack
  427.  
  428. host*CLI>
  429. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  430. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Macro
  431.  
  432. host*CLI>
  433. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  434. -- Executing [s@macro-exten-vm:2] Set("SIP/125-00000009", "RingGroupMethod=none") in new stack
  435. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  436. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  437.  
  438. host*CLI>
  439.  -- Executing [s@macro-exten-vm:3] Set("SIP/125-00000009", "__EXTTOCALL=403") in new stack
  440. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  441. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  442.  
  443. host*CLI>
  444.  -- Executing [s@macro-exten-vm:4] Set("SIP/125-00000009", "__PICKUPMARK=403") in new stack
  445. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  446.  
  447. host*CLI>
  448. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CFU'
  449. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: CFU/403 not found in database.
  450. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(CFU/403) result is ''
  451.  
  452. host*CLI>
  453. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CFB'
  454.  
  455. host*CLI>
  456. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: CFB/403 not found in database.
  457. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(CFB/403) result is ''
  458. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  459.  
  460. host*CLI>
  461. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0?15:) result is ''
  462. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  463.  
  464. host*CLI>
  465.  -- Executing [s@macro-exten-vm:5] Set("SIP/125-00000009", "RT=") in new stack
  466.  
  467. host*CLI>
  468. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  469.  
  470. host*CLI>
  471. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Gosub'
  472.  
  473. host*CLI>
  474.  -- Executing [s@macro-exten-vm:6] Gosub("SIP/125-00000009", "sub-record-check,s,1(exten,403,)") in new stack
  475.  
  476. host*CLI>
  477. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_stack.c:579 gosub_exec: Channel SIP/125-00000009 has no datastore, so we're allocating one.
  478. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_stack.c:621 gosub_exec: Setting 'ARG1' to 'exten'
  479. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_stack.c:621 gosub_exec: Setting 'ARG2' to '403'
  480.  
  481. host*CLI>
  482. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_stack.c:621 gosub_exec: Setting 'ARG3' to ''
  483.  
  484. host*CLI>
  485. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Gosub
  486. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:459 _macro_exec: Incrementing gosub_level
  487.  
  488. host*CLI>
  489. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  490. -- Executing [s@sub-record-check:1] Set("SIP/125-00000009", "REC_POLICY_MODE_SAVE=") in new stack
  491.  
  492. host*CLI>
  493. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  494.  
  495. host*CLI>
  496. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  497.  
  498. host*CLI>
  499. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  500.  
  501. host*CLI>
  502.  -- Executing [s@sub-record-check:2] GotoIf("SIP/125-00000009", "1?check") in new stack
  503.  
  504. host*CLI>
  505.  -- Goto (sub-record-check,s,7)
  506. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  507. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  508.  
  509. host*CLI>
  510. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0?WAV:wav) result is 'wav'
  511. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  512. -- Executing [s@sub-record-check:7] Set("SIP/125-00000009", "__MON_FMT=wav") in new stack
  513. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  514. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  515. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  516. -- Executing [s@sub-record-check:8] GotoIf("SIP/125-00000009", "1?next") in new stack
  517. -- Goto (sub-record-check,s,11)
  518. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  519. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(exten) result is '5'
  520. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  521. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  522.  
  523. host*CLI>
  524.  -- Executing [s@sub-record-check:11] ExecIf("SIP/125-00000009", "0?Return()") in new stack
  525. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  526.  
  527. host*CLI>
  528. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function LEN(exten) result is '5'
  529. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  530. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  531. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  532.  
  533. host*CLI>
  534.  -- Executing [s@sub-record-check:12] ExecIf("SIP/125-00000009", "0?Set(__REC_POLICY_MODE=)") in new stack
  535. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  536.  
  537. host*CLI>
  538. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  539. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  540.  
  541. host*CLI>
  542. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  543.  
  544. host*CLI>
  545.  -- Executing [s@sub-record-check:13] GotoIf("SIP/125-00000009", "0?exten,1") in new stack
  546. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  547. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  548.  
  549. host*CLI>
  550. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  551. -- Executing [s@sub-record-check:14] Set("SIP/125-00000009", "__REC_STATUS=INITIALIZED") in new stack
  552. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  553. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  554. -- Executing [s@sub-record-check:15] Set("SIP/125-00000009", "NOW=1510092701") in new stack
  555. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  556.  
  557. host*CLI>
  558. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function STRFTIME(1510092701,,%d) result is '07'
  559.  
  560. host*CLI>
  561. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  562. -- Executing [s@sub-record-check:16] Set("SIP/125-00000009", "__DAY=07") in new stack
  563.  
  564. host*CLI>
  565. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  566.  
  567. host*CLI>
  568. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function STRFTIME(1510092701,,%m) result is '11'
  569.  
  570. host*CLI>
  571. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  572. -- Executing [s@sub-record-check:17] Set("SIP/125-00000009", "__MONTH=11") in new stack
  573. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  574. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function STRFTIME(1510092701,,%Y) result is '2017'
  575. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  576. -- Executing [s@sub-record-check:18] Set("SIP/125-00000009", "__YEAR=2017") in new stack
  577.  
  578. host*CLI>
  579. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  580. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function STRFTIME(1510092701,,%H%M%S) result is '171141'
  581. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  582.  
  583. host*CLI>
  584.  -- Executing [s@sub-record-check:19] Set("SIP/125-00000009", "__TIMESTR=20171107-171141") in new stack
  585. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  586.  
  587. host*CLI>
  588. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(125) result is '3'
  589. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '3'
  590. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(125) result is '3'
  591.  
  592. host*CLI>
  593. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '3'
  594.  
  595. host*CLI>
  596. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(3?125:unknown) result is '125'
  597.  
  598. host*CLI>
  599. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(3?125:125) result is '125'
  600. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  601. -- Executing [s@sub-record-check:20] Set("SIP/125-00000009", "__FROMEXTEN=125") in new stack
  602. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  603.  
  604. host*CLI>
  605. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  606.  
  607. host*CLI>
  608.  -- Executing [s@sub-record-check:21] Set("SIP/125-00000009", "__CALLFILENAME=exten-403-125-20171107-171141-1510092701.9") in new stack
  609. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  610. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Goto'
  611. -- Executing [s@sub-record-check:22] Goto("SIP/125-00000009", "exten,1") in new stack
  612.  
  613. host*CLI>
  614.  -- Goto (sub-record-check,exten,1)
  615.  
  616. host*CLI>
  617. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Goto
  618. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  619. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  620.  
  621. host*CLI>
  622.  -- Executing [exten@sub-record-check:1] GotoIf("SIP/125-00000009", "0?callee") in new stack
  623. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  624. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  625.  
  626. host*CLI>
  627. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN() result is '0'
  628. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  629. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/recording/in/external) result is 'dontcare'
  630.  
  631. host*CLI>
  632. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/recording/in/internal) result is 'dontcare'
  633.  
  634. host*CLI>
  635. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0?dontcare:dontcare) result is 'dontcare'
  636.  
  637. host*CLI>
  638. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  639.  
  640. host*CLI>
  641.  -- Executing [exten@sub-record-check:2] Set("SIP/125-00000009", "__REC_POLICY_MODE=dontcare") in new stack
  642. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  643. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  644.  
  645. host*CLI>
  646. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  647. -- Executing [exten@sub-record-check:3] GotoIf("SIP/125-00000009", "1?caller") in new stack
  648. -- Goto (sub-record-check,exten,10)
  649. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  650.  
  651. host*CLI>
  652. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/recording/out/internal) result is 'dontcare'
  653. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  654.  
  655. host*CLI>
  656.  -- Executing [exten@sub-record-check:10] Set("SIP/125-00000009", "__REC_POLICY_MODE=dontcare") in new stack
  657.  
  658. host*CLI>
  659. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  660. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  661. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  662. -- Executing [exten@sub-record-check:11] GosubIf("SIP/125-00000009", "0?record,1(exten,403,125)") in new stack
  663. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  664.  
  665. host*CLI>
  666. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  667.  
  668. host*CLI>
  669. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Return'
  670.  
  671. host*CLI>
  672.  -- Executing [exten@sub-record-check:12] Return("SIP/125-00000009", "") in new stack
  673. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Return
  674. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:480 _macro_exec: Decrementing gosub_level
  675. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Macro'
  676.  
  677. host*CLI>
  678.  -- Executing [s@macro-exten-vm:7] Macro("SIP/125-00000009", "dial-one,,Ttr,403") in new stack
  679.  
  680. host*CLI>
  681. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  682. -- Executing [s@macro-dial-one:1] Set("SIP/125-00000009", "DEXTEN=403") in new stack
  683. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  684. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  685. -- Executing [s@macro-dial-one:2] Set("SIP/125-00000009", "DIALSTATUS_CW=") in new stack
  686. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  687. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403/screen' in family 'AMPUSER'
  688. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: AMPUSER/403/screen not found in database.
  689. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/screen) result is ''
  690. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  691. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  692. -- Executing [s@macro-dial-one:3] GosubIf("SIP/125-00000009", "0?screen,1()") in new stack
  693. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  694.  
  695. host*CLI>
  696. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403/screen' in family 'AMPUSER'
  697. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: AMPUSER/403/screen not found in database.
  698.  
  699. host*CLI>
  700. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function DB(AMPUSER/403/screen) result is ''
  701. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  702. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CF'
  703.  
  704. host*CLI>
  705. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: CF/403 not found in database.
  706. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(CF/403) result is ''
  707.  
  708. host*CLI>
  709. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  710. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  711. -- Executing [s@macro-dial-one:4] GosubIf("SIP/125-00000009", "0?cf,1()") in new stack
  712. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  713.  
  714. host*CLI>
  715. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CF'
  716. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: CF/403 not found in database.
  717. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function DB(CF/403) result is ''
  718. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  719. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'DND'
  720.  
  721. host*CLI>
  722. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: DND/403 not found in database.
  723.  
  724. host*CLI>
  725. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(DND/403) result is ''
  726. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  727. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  728. -- Executing [s@macro-dial-one:5] GotoIf("SIP/125-00000009", "1?skip1") in new stack
  729. -- Goto (macro-dial-one,s,8)
  730.  
  731. host*CLI>
  732. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  733.  
  734. host*CLI>
  735. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  736. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  737. -- Executing [s@macro-dial-one:8] GotoIf("SIP/125-00000009", "0?nodial") in new stack
  738.  
  739. host*CLI>
  740. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  741.  
  742. host*CLI>
  743. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  744.  
  745. host*CLI>
  746. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  747. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  748. -- Executing [s@macro-dial-one:9] GotoIf("SIP/125-00000009", "0?continue") in new stack
  749.  
  750. host*CLI>
  751. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  752. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  753.  
  754. host*CLI>
  755. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  756. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(CW/403) result is 'ENABLED'
  757.  
  758. host*CLI>
  759. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0? :ENABLED) result is 'ENABLED'
  760. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  761.  
  762. host*CLI>
  763.  -- Executing [s@macro-dial-one:10] Set("SIP/125-00000009", "EXTHASCW=ENABLED") in new stack
  764.  
  765. host*CLI>
  766. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  767.  
  768. host*CLI>
  769. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CFB'
  770. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: CFB/403 not found in database.
  771. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(CFB/403) result is ''
  772.  
  773. host*CLI>
  774. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CFU'
  775. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_db.c:151 function_db_read: DB: CFU/403 not found in database.
  776. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(CFU/403) result is ''
  777. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  778.  
  779. host*CLI>
  780. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  781. -- Executing [s@macro-dial-one:11] GotoIf("SIP/125-00000009", "0?next1:cwinusebusy") in new stack
  782.  
  783. host*CLI>
  784.  -- Goto (macro-dial-one,s,23)
  785.  
  786. host*CLI>
  787. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  788. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  789. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  790.  
  791. host*CLI>
  792.  -- Executing [s@macro-dial-one:23] GotoIf("SIP/125-00000009", "1?next3:continue") in new stack
  793.  
  794. host*CLI>
  795.  -- Goto (macro-dial-one,s,24)
  796. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  797.  
  798. host*CLI>
  799. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function EXTENSION_STATE(403) result is 'NOT_INUSE'
  800.  
  801. host*CLI>
  802. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function EXTENSION_STATE(403) result is 'NOT_INUSE'
  803. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function EXTENSION_STATE(403) result is 'NOT_INUSE'
  804.  
  805. host*CLI>
  806. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  807. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  808. -- Executing [s@macro-dial-one:24] ExecIf("SIP/125-00000009", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
  809.  
  810. host*CLI>
  811. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  812. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function EXTENSION_STATE(403) result is 'NOT_INUSE'
  813.  
  814. host*CLI>
  815. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function EXTENSION_STATE(403) result is 'NOT_INUSE'
  816. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function EXTENSION_STATE(403) result is 'NOT_INUSE'
  817.  
  818. host*CLI>
  819. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  820.  
  821. host*CLI>
  822. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  823. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  824. -- Executing [s@macro-dial-one:25] GotoIf("SIP/125-00000009", "0?nodial") in new stack
  825. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  826.  
  827. host*CLI>
  828. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  829.  
  830. host*CLI>
  831. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  832. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  833.  
  834. host*CLI>
  835.  -- Executing [s@macro-dial-one:26] GosubIf("SIP/125-00000009", "1?dstring,1():dlocal,1()") in new stack
  836. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  837. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '1'
  838.  
  839. host*CLI>
  840. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:470 _macro_exec: Incrementing gosub_level
  841. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  842. -- Executing [dstring@macro-dial-one:1] Set("SIP/125-00000009", "DSTRING=") in new stack
  843.  
  844. host*CLI>
  845. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  846.  
  847. host*CLI>
  848. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/device) result is '403'
  849. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  850. -- Executing [dstring@macro-dial-one:2] Set("SIP/125-00000009", "DEVICES=403") in new stack
  851.  
  852. host*CLI>
  853. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  854.  
  855. host*CLI>
  856. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  857. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  858.  
  859. host*CLI>
  860.  -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/125-00000009", "0?Return()") in new stack
  861. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  862. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  863. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  864. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  865. -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/125-00000009", "0?Set(DEVICES=03)") in new stack
  866. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  867. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  868. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function FIELDQTY(DEVICES,&) result is '1'
  869. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  870. -- Executing [dstring@macro-dial-one:5] Set("SIP/125-00000009", "LOOPCNT=1") in new stack
  871. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  872. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  873. -- Executing [dstring@macro-dial-one:6] Set("SIP/125-00000009", "ITER=1") in new stack
  874. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  875. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CUT(DEVICES,&,1) result is '403'
  876. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(DEVICE/403/dial) result is 'SIP/403'
  877.  
  878. host*CLI>
  879. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  880. -- Executing [dstring@macro-dial-one:7] Set("SIP/125-00000009", "THISDIAL=SIP/403") in new stack
  881.  
  882. host*CLI>
  883. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  884.  
  885. host*CLI>
  886. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  887.  
  888. host*CLI>
  889. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  890.  
  891. host*CLI>
  892.  -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/125-00000009", "1?zap2dahdi,1()") in new stack
  893. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  894. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '1'
  895. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:470 _macro_exec: Incrementing gosub_level
  896. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  897.  
  898. host*CLI>
  899. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  900.  
  901. host*CLI>
  902.  -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/125-00000009", "0?Return()") in new stack
  903. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  904. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  905. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  906. -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/125-00000009", "NEWDIAL=") in new stack
  907. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  908. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function FIELDQTY(THISDIAL,&) result is '1'
  909. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  910. -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/125-00000009", "LOOPCNT2=1") in new stack
  911. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  912. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  913. -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/125-00000009", "ITER2=1") in new stack
  914. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  915. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CUT(THISDIAL,&,1) result is 'SIP/403'
  916.  
  917. host*CLI>
  918. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  919. -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/125-00000009", "THISPART2=SIP/403") in new stack
  920. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  921.  
  922. host*CLI>
  923. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  924. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  925. -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/125-00000009", "0?Set(THISPART2=DAHDI/403)") in new stack
  926. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  927. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  928. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  929. -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/125-00000009", "NEWDIAL=SIP/403&") in new stack
  930.  
  931. host*CLI>
  932. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  933.  
  934. host*CLI>
  935. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '2'
  936. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  937. -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/125-00000009", "ITER2=2") in new stack
  938. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  939.  
  940. host*CLI>
  941. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  942.  
  943. host*CLI>
  944. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  945.  
  946. host*CLI>
  947.  -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/125-00000009", "0?begin2") in new stack
  948.  
  949. host*CLI>
  950. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  951. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  952.  
  953. host*CLI>
  954. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(SIP/403&) result is '8'
  955. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '7'
  956. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  957.  
  958. host*CLI>
  959.  -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/125-00000009", "THISDIAL=SIP/403") in new stack
  960.  
  961. host*CLI>
  962. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  963.  
  964. host*CLI>
  965. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Return'
  966. -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/125-00000009", "") in new stack
  967. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Return
  968. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:480 _macro_exec: Decrementing gosub_level
  969. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  970. -- Executing [dstring@macro-dial-one:9] Set("SIP/125-00000009", "DSTRING=SIP/403&") in new stack
  971.  
  972. host*CLI>
  973. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  974.  
  975. host*CLI>
  976. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '2'
  977. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  978. -- Executing [dstring@macro-dial-one:10] Set("SIP/125-00000009", "ITER=2") in new stack
  979. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  980.  
  981. host*CLI>
  982. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  983. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  984.  
  985. host*CLI>
  986.  -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/125-00000009", "0?begin") in new stack
  987. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  988. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  989. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(SIP/403&) result is '8'
  990. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '7'
  991. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  992.  
  993. host*CLI>
  994.  -- Executing [dstring@macro-dial-one:12] Set("SIP/125-00000009", "DSTRING=SIP/403") in new stack
  995. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  996.  
  997. host*CLI>
  998. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Return'
  999. -- Executing [dstring@macro-dial-one:13] Return("SIP/125-00000009", "") in new stack
  1000. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Return
  1001. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:480 _macro_exec: Decrementing gosub_level
  1002.  
  1003. host*CLI>
  1004. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function LEN(SIP/403) result is '7'
  1005. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1006. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1007.  
  1008. host*CLI>
  1009.  -- Executing [s@macro-dial-one:27] GotoIf("SIP/125-00000009", "0?nodial") in new stack
  1010.  
  1011. host*CLI>
  1012. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  1013.  
  1014. host*CLI>
  1015. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1016.  
  1017. host*CLI>
  1018. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1019. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1020.  
  1021. host*CLI>
  1022.  -- Executing [s@macro-dial-one:28] GotoIf("SIP/125-00000009", "0?skiptrace") in new stack
  1023. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  1024. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1025.  
  1026. host*CLI>
  1027. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '125'
  1028.  
  1029. host*CLI>
  1030. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_strings.c:973 regex: FUNCTION REGEX (^[+]?[0-9]+$)(125)
  1031.  
  1032. host*CLI>
  1033. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function REGEX("^[\+]?[0-9]+$" 125) result is '1'
  1034. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1035. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  1036. -- Executing [s@macro-dial-one:29] GosubIf("SIP/125-00000009", "1?ctset,1():ctclear,1()") in new stack
  1037.  
  1038. host*CLI>
  1039. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  1040.  
  1041. host*CLI>
  1042. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function CALLERID(number) result is '125'
  1043.  
  1044. host*CLI>
  1045. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_strings.c:973 regex: FUNCTION REGEX (^[+]?[0-9]+$)(125)
  1046.  
  1047. host*CLI>
  1048. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4638 ast_str_substitute_variables_full: Function REGEX("^[\+]?[0-9]+$" 125) result is '1'
  1049. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '1'
  1050. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:470 _macro_exec: Incrementing gosub_level
  1051. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CALLERID(number) result is '125'
  1052. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1053. -- Executing [ctset@macro-dial-one:1] Set("SIP/125-00000009", "DB(CALLTRACE/403)=125") in new stack
  1054.  
  1055. host*CLI>
  1056. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1057.  
  1058. host*CLI>
  1059. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Return'
  1060. -- Executing [ctset@macro-dial-one:2] Return("SIP/125-00000009", "") in new stack
  1061. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Return
  1062. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:480 _macro_exec: Decrementing gosub_level
  1063. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: func_strings.c:973 regex: FUNCTION REGEX ((M[(]auto-blkvm[)]))(Ttr)
  1064.  
  1065. host*CLI>
  1066. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function REGEX("(M[(]auto-blkvm[)])" Ttr) result is '0'
  1067. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1068. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function IF(0?TtrM(auto-blkvm):Ttr) result is 'Ttr'
  1069. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1070. -- Executing [s@macro-dial-one:30] Set("SIP/125-00000009", "D_OPTIONS=Ttr") in new stack
  1071. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1072. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1073. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  1074. -- Executing [s@macro-dial-one:31] ExecIf("SIP/125-00000009", "0?SIPAddHeader(Alert-Info: )") in new stack
  1075. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  1076.  
  1077. host*CLI>
  1078. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  1079. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1080. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  1081. -- Executing [s@macro-dial-one:32] ExecIf("SIP/125-00000009", "0?SIPAddHeader()") in new stack
  1082. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  1083. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  1084. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1085. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'ExecIf'
  1086. -- Executing [s@macro-dial-one:33] ExecIf("SIP/125-00000009", "0?Set(CHANNEL(musicclass)=)") in new stack
  1087. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: ExecIf
  1088. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  1089. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1090. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GosubIf'
  1091. -- Executing [s@macro-dial-one:34] GosubIf("SIP/125-00000009", "0?qwait,1()") in new stack
  1092. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GosubIf
  1093. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4696 ast_str_substitute_variables_full: Expression result is '0'
  1094. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1095. -- Executing [s@macro-dial-one:35] Set("SIP/125-00000009", "__CWIGNORE=") in new stack
  1096. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1097. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1098. -- Executing [s@macro-dial-one:36] Set("SIP/125-00000009", "__KEEPCID=TRUE") in new stack
  1099. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1100. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1101. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1102. -- Executing [s@macro-dial-one:37] GotoIf("SIP/125-00000009", "0?usegoto,1") in new stack
  1103. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  1104. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1105.  
  1106. host*CLI>
  1107. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/cidname) result is 'Recepcion'
  1108. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/125/cidname) result is 'Jose'
  1109. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '0'
  1110. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1111. -- Executing [s@macro-dial-one:38] GotoIf("SIP/125-00000009", "0?godial") in new stack
  1112. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:12181 pbx_builtin_gotoif: Not taking any branch
  1113. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1114. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Gosub'
  1115. -- Executing [s@macro-dial-one:39] Gosub("SIP/125-00000009", "sub-presencestate-display,s,1(403)") in new stack
  1116. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_stack.c:621 gosub_exec: Setting 'ARG1' to '403'
  1117. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Gosub
  1118. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:459 _macro_exec: Incrementing gosub_level
  1119.  
  1120. host*CLI>
  1121. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: db.c:376 db_get_common: Unable to find key '403' in family 'CustomPresence'
  1122. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function PRESENCE_STATE(CustomPresence:403,value) result is 'not_set'
  1123.  
  1124. host*CLI>
  1125. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function TOLOWER(not_set) result is 'not_set'
  1126. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Goto'
  1127. -- Executing [s@sub-presencestate-display:1] Goto("SIP/125-00000009", "state-not_set,1") in new stack
  1128. -- Goto (sub-presencestate-display,state-not_set,1)
  1129. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Goto
  1130. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1131. -- Executing [state-not_set@sub-presencestate-display:1] Set("SIP/125-00000009", "PRESENCESTATE_DISPLAY=") in new stack
  1132. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1133. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Return'
  1134. -- Executing [state-not_set@sub-presencestate-display:2] Return("SIP/125-00000009", "") in new stack
  1135. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Return
  1136. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:480 _macro_exec: Decrementing gosub_level
  1137.  
  1138. host*CLI>
  1139. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function DB(AMPUSER/403/cidname) result is 'Recepcion'
  1140. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1141. -- Executing [s@macro-dial-one:40] Set("SIP/125-00000009", "CONNECTEDLINE(name,i)=Recepcion") in new stack
  1142.  
  1143. host*CLI>
  1144. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1145. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1146. -- Executing [s@macro-dial-one:41] Set("SIP/125-00000009", "CONNECTEDLINE(num)=403") in new stack
  1147.  
  1148. host*CLI>
  1149. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1150.  
  1151. host*CLI>
  1152. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Set'
  1153. -- Executing [s@macro-dial-one:42] Set("SIP/125-00000009", "D_OPTIONS=TtrI") in new stack
  1154. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Set
  1155. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Dial'
  1156. -- Executing [s@macro-dial-one:43] Dial("SIP/125-00000009", "SIP/403,,TtrI") in new stack
  1157.  
  1158. host*CLI>
  1159. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:30184 sip_request_call: Asked to create a SIP channel with formats: (ulaw)
  1160.  
  1161. host*CLI>
  1162. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:8679 sip_alloc: Allocating new SIP dialog for 082c1eb2198da2325de1fe3d79ead750@127.0.0.1:5060 - INVITE (No RTP)
  1163.  
  1164. host*CLI>
  1165. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: rtp_engine.c:289 ast_rtp_instance_new: Using engine 'asterisk' for RTP instance '0x7f4a3803a458'
  1166. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:2571 ast_rtp_new: Allocated port 16134 for RTP instance '0x7f4a3803a458'
  1167.  
  1168. host*CLI>
  1169. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: rtp_engine.c:298 ast_rtp_instance_new: RTP instance '0x7f4a3803a458' is setup and ready to go
  1170.  
  1171. host*CLI>
  1172. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: rtp_engine.c:289 ast_rtp_instance_new: Using engine 'asterisk' for RTP instance '0x7f4a3803e9f8'
  1173.  
  1174. host*CLI>
  1175. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:2571 ast_rtp_new: Allocated port 14486 for RTP instance '0x7f4a3803e9f8'
  1176. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: rtp_engine.c:298 ast_rtp_instance_new: RTP instance '0x7f4a3803e9f8' is setup and ready to go
  1177.  
  1178. host*CLI>
  1179. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4749 ast_rtp_prop_set: Setup RTCP on RTP instance '0x7f4a3803e9f8'
  1180. == Using SIP VIDEO TOS bits 136
  1181. == Using SIP VIDEO CoS mark 6
  1182. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4749 ast_rtp_prop_set: Setup RTCP on RTP instance '0x7f4a3803a458'
  1183. == Using SIP RTP TOS bits 184
  1184. == Using SIP RTP CoS mark 5
  1185. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:5604 do_setnat: Setting NAT on RTP to On
  1186.  
  1187. host*CLI>
  1188. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:5608 do_setnat: Setting NAT on VRTP to On
  1189. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:3498 obproxy_get: OBPROXY: Not applying OBproxy to this call
  1190.  
  1191. host*CLI>
  1192. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:5604 do_setnat: Setting NAT on RTP to On
  1193. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:5608 do_setnat: Setting NAT on VRTP to On
  1194. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:8465 change_callid_pvt: SIP call-id changed from '082c1eb2198da2325de1fe3d79ead750@127.0.0.1:5060' to '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060'
  1195. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: rtp_engine.c:232 instance_destructor: Destroyed RTP instance '0x7f4a3803e9f8'
  1196.  
  1197. host*CLI>
  1198. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable KEEPCID from SIP/125-00000009 to SIP/403-0000000a.
  1199. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable CWIGNORE from SIP/125-00000009 to SIP/403-0000000a.
  1200. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable REC_POLICY_MODE from SIP/125-00000009 to SIP/403-0000000a.
  1201.  
  1202. host*CLI>
  1203. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable CALLFILENAME from SIP/125-00000009 to SIP/403-0000000a.
  1204. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable FROMEXTEN from SIP/125-00000009 to SIP/403-0000000a.
  1205. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable TIMESTR from SIP/125-00000009 to SIP/403-0000000a.
  1206. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable YEAR from SIP/125-00000009 to SIP/403-0000000a.
  1207. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable MONTH from SIP/125-00000009 to SIP/403-0000000a.
  1208. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable DAY from SIP/125-00000009 to SIP/403-0000000a.
  1209. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable REC_STATUS from SIP/125-00000009 to SIP/403-0000000a.
  1210. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable MON_FMT from SIP/125-00000009 to SIP/403-0000000a.
  1211. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable PICKUPMARK from SIP/125-00000009 to SIP/403-0000000a.
  1212. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable EXTTOCALL from SIP/125-00000009 to SIP/403-0000000a.
  1213. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable TTL from SIP/125-00000009 to SIP/403-0000000a.
  1214. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable DIAL_OPTIONS from SIP/125-00000009 to SIP/403-0000000a.
  1215. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: channel.c:6560 ast_channel_inherit_variables: Inheriting variable RINGTIMER from SIP/125-00000009 to SIP/403-0000000a.
  1216. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:6260 sip_call: Outgoing Call for 403
  1217. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:6669 update_call_counter: Call to peer '403' is 1 out of 2147483647
  1218. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:13183 add_sdp: This call needs video offers, but there's no video support enabled!
  1219. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:13231 add_sdp: ** Our capability: (gsm|ulaw|alaw|h261|h263|h263p|h264|mpeg4|vp8) Video flag: False Text flag: False
  1220. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:13232 add_sdp: ** Our prefcodec: (ulaw)
  1221. Audio is at 16134
  1222. Adding codec 100003 (ulaw) to SDP
  1223. Adding codec 100002 (gsm) to SDP
  1224. Adding codec 100004 (alaw) to SDP
  1225. Adding non-codec 0x1 (telephone-event) to SDP
  1226. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:3374 initialize_initreq: Initializing initreq for method INVITE - callid 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1227. Reliably Transmitting (NAT) to 192.168.1.193:5060:
  1228. INVITE sip:403@192.168.1.193:5060 SIP/2.0
  1229. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK6ee8fe69;rport
  1230. Max-Forwards: 70
  1231. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1232. To: <sip:403@192.168.1.193:5060>
  1233. Contact: <sip:125@192.168.1.251:5060>
  1234. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1235. CSeq: 102 INVITE
  1236. User-Agent: FPBX-2.11.0(11.25.0)
  1237. Date: Tue, 07 Nov 2017 22:11:41 GMT
  1238. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1239. Supported: replaces, timer
  1240. Content-Type: application/sdp
  1241. Content-Length: 283
  1242.  
  1243. v=0
  1244. o=root 890973974 890973974 IN IP4 192.168.1.251
  1245. s=Asterisk PBX 11.25.0
  1246. c=IN IP4 192.168.1.251
  1247. t=0 0
  1248. m=audio 16134 RTP/AVP 0 3 8 101
  1249. a=rtpmap:0 PCMU/8000
  1250. a=rtpmap:3 GSM/8000
  1251. a=rtpmap:8 PCMA/8000
  1252. a=rtpmap:101 telephone-event/8000
  1253. a=fmtp:101 0-16
  1254. a=ptime:20
  1255. a=sendrecv
  1256.  
  1257. ---
  1258. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'INVITE sip:' onto UDP socket destined for 192.168.1.193:5060
  1259. -- Called SIP/403
  1260.  
  1261. <--- Transmitting (NAT) to 192.168.1.23:30652 --->
  1262. SIP/2.0 180 Ringing
  1263. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK379846103;received=192.168.1.23;rport=30652
  1264. From: <sip:125@192.168.1.251>;tag=139474981
  1265. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1266. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1267. CSeq: 261 INVITE
  1268. Server: FPBX-2.11.0(11.25.0)
  1269. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1270. Supported: replaces, timer
  1271. Session-Expires: 1800;refresher=uas
  1272. Contact: <sip:403@192.168.1.251:5060>
  1273. Content-Length: 0
  1274.  
  1275.  
  1276. <------------>
  1277. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 180' onto UDP socket destined for 192.168.1.23:30652
  1278. -- Connected line update to SIP/125-00000009 prevented.
  1279.  
  1280. host*CLI>
  1281. 
  1282. <--- SIP read from UDP:192.168.1.193:5060 --->
  1283. SIP/2.0 100 Trying
  1284. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK6ee8fe69;rport=5060
  1285. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1286. To: <sip:403@192.168.1.193:5060>
  1287. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1288. CSeq: 102 INVITE
  1289. Supported: replaces, path, timer, eventlist
  1290. User-Agent: Grandstream GXV3611IR_HD 1.0.3.13
  1291. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1292. Content-Length: 0
  1293.  
  1294. <------------->
  1295. --- (10 headers 0 lines) ---
  1296. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:4470 __sip_semi_ack: (Provisional) Stopping retransmission (but retaining packet) on '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060' Request 102: Found
  1297.  
  1298. host*CLI>
  1299. 
  1300. <--- SIP read from UDP:192.168.1.193:5060 --->
  1301. SIP/2.0 180 Ringing
  1302. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK6ee8fe69;rport=5060
  1303. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1304. To: <sip:403@192.168.1.193:5060>;tag=1809005087
  1305. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1306. CSeq: 102 INVITE
  1307. Contact: <sip:403@192.168.1.193:5060>
  1308. Supported: replaces, path, timer, eventlist
  1309. User-Agent: Grandstream GXV3611IR_HD 1.0.3.13
  1310. Allow-Events: talk, hold
  1311. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1312. Content-Length: 0
  1313.  
  1314. <------------->
  1315. --- (12 headers 0 lines) ---
  1316. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:4470 __sip_semi_ack: (Provisional) Stopping retransmission (but retaining packet) on '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060' Request 102: Found
  1317. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:16520 build_route: build_route: Contact hop: <sip:403@192.168.1.193:5060>
  1318. list_route: hop: <sip:403@192.168.1.193:5060>
  1319.  
  1320. host*CLI>
  1321.  -- SIP/403-0000000a is ringing
  1322.  
  1323. <--- Transmitting (NAT) to 192.168.1.23:30652 --->
  1324. SIP/2.0 180 Ringing
  1325. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK379846103;received=192.168.1.23;rport=30652
  1326. From: <sip:125@192.168.1.251>;tag=139474981
  1327. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1328. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1329. CSeq: 261 INVITE
  1330. Server: FPBX-2.11.0(11.25.0)
  1331. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1332. Supported: replaces, timer
  1333. Session-Expires: 1800;refresher=uas
  1334. Contact: <sip:403@192.168.1.251:5060>
  1335. Content-Length: 0
  1336.  
  1337.  
  1338. <------------>
  1339. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 180' onto UDP socket destined for 192.168.1.23:30652
  1340.  
  1341. host*CLI>
  1342. 
  1343. <--- SIP read from UDP:192.168.1.193:5060 --->
  1344. SIP/2.0 200 OK
  1345. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK6ee8fe69;rport=5060
  1346. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1347. To: <sip:403@192.168.1.193:5060>;tag=1809005087
  1348. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1349. CSeq: 102 INVITE
  1350. Contact: <sip:403@192.168.1.193:5060>
  1351. Supported: replaces, path, timer, eventlist
  1352. User-Agent: Grandstream GXV3611IR_HD 1.0.3.13
  1353. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1354. Content-Type: application/sdp
  1355. Content-Length: 212
  1356.  
  1357. v=0
  1358. o=403 8001 8000 IN IP4 192.168.1.193
  1359. s=SIP Call
  1360. c=IN IP4 192.168.1.193
  1361. t=0 0
  1362. m=audio 5004 RTP/AVP 0 101
  1363. a=sendrecv
  1364. a=rtpmap:0 PCMU/8000
  1365. a=ptime:20
  1366. a=rtpmap:101 telephone-event/8000
  1367. a=fmtp:101 0-15
  1368.  
  1369. <------------->
  1370. --- (12 headers 11 lines) ---
  1371. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:4391 __sip_ack: Acked pending invite 102
  1372. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060' of Request 102: Match Found
  1373. Found RTP audio format 0
  1374. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 0 based on m type on 0x7f4a20191b80
  1375. Found RTP audio format 101
  1376. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 101 based on m type on 0x7f4a20191b80
  1377. Found audio description format PCMU for ID 0
  1378. Found audio description format telephone-event for ID 101
  1379. Capabilities: us - (gsm|ulaw|alaw|h261|h263|h263p|h264|mpeg4|vp8), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (ulaw)
  1380. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  1381. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a3803a458'
  1382. Peer audio RTP is at port 192.168.1.193:5004
  1383. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 0 from 0x7f4a20191b80 to 0x7f4a3803a620
  1384. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 101 from 0x7f4a20191b80 to 0x7f4a3803a620
  1385. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4715 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f4a3803a458'
  1386. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:10724 process_sdp: We're settling with these formats: (ulaw)
  1387. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:10737 process_sdp: Setting native formats after processing SDP. peer joint formats (ulaw), old nativeformats (ulaw)
  1388. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:16520 build_route: build_route: Contact hop: <sip:403@192.168.1.193:5060>
  1389. list_route: hop: <sip:403@192.168.1.193:5060>
  1390. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:11922 reqprep: Strict routing enforced for session 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1391. set_destination: Parsing <sip:403@192.168.1.193:5060> for address/port to send to
  1392. set_destination: set destination to 192.168.1.193:5060
  1393. Transmitting (NAT) to 192.168.1.193:5060:
  1394. ACK sip:403@192.168.1.193:5060 SIP/2.0
  1395. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK1d7ad7d3;rport
  1396. Max-Forwards: 70
  1397. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1398. To: <sip:403@192.168.1.193:5060>;tag=1809005087
  1399. Contact: <sip:125@192.168.1.251:5060>
  1400. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1401. CSeq: 102 ACK
  1402. User-Agent: FPBX-2.11.0(11.25.0)
  1403. Content-Length: 0
  1404.  
  1405.  
  1406. ---
  1407. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'ACK sip:403' onto UDP socket destined for 192.168.1.193:5060
  1408.  
  1409. host*CLI>
  1410.  -- Connected line update to SIP/125-00000009 prevented.
  1411. -- SIP/403-0000000a answered SIP/125-00000009
  1412. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:7147 sip_answer: SIP answering channel: SIP/125-00000009
  1413. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:13682 transmit_response_with_sdp: Setting framing from config on incoming call
  1414. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:13231 add_sdp: ** Our capability: (ulaw|alaw) Video flag: True Text flag: True
  1415. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:13232 add_sdp: ** Our prefcodec: (nothing)
  1416. Audio is at 15768
  1417. Adding codec 100003 (ulaw) to SDP
  1418. Adding codec 100004 (alaw) to SDP
  1419. Adding non-codec 0x1 (telephone-event) to SDP
  1420.  
  1421. <--- Reliably Transmitting (NAT) to 192.168.1.23:30652 --->
  1422. SIP/2.0 200 OK
  1423. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK379846103;received=192.168.1.23;rport=30652
  1424. From: <sip:125@192.168.1.251>;tag=139474981
  1425. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1426. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1427. CSeq: 261 INVITE
  1428. Server: FPBX-2.11.0(11.25.0)
  1429. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1430. Supported: replaces, timer
  1431. Session-Expires: 1800;refresher=uas
  1432. Contact: <sip:403@192.168.1.251:5060>
  1433. Content-Type: application/sdp
  1434. Require: timer
  1435. Content-Length: 262
  1436.  
  1437. v=0
  1438. o=root 1686773993 1686773993 IN IP4 192.168.1.251
  1439. s=Asterisk PBX 11.25.0
  1440. c=IN IP4 192.168.1.251
  1441. t=0 0
  1442. m=audio 15768 RTP/AVP 0 8 101
  1443. a=rtpmap:0 PCMU/8000
  1444. a=rtpmap:8 PCMA/8000
  1445. a=rtpmap:101 telephone-event/8000
  1446. a=fmtp:101 0-16
  1447. a=ptime:20
  1448. a=sendrecv
  1449.  
  1450. <------------>
  1451. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 200' onto UDP socket destined for 192.168.1.23:30652
  1452.  
  1453. host*CLI>
  1454. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: chan_sip.c:29582 start_session_timer: Session timer started: 52 - 1525902518-30652-27@BJC.BGI.B.CD 900000ms
  1455. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: features.c:4254 clear_dialed_interfaces: Removing dialed interfaces datastore on SIP/403-0000000a since we're bridging
  1456.  
  1457. host*CLI>
  1458. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4383 ast_rtp_read: 0x7f4a3802df70 -- Probation learning mode pass with source address 192.168.1.193:5004
  1459. > 0x7f4a3802df70 -- Probation passed - setting RTP source address to 192.168.1.193:5004
  1460.  
  1461. host*CLI>
  1462. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:3492 ast_rtp_write: Ooh, format changed from unknown to ulaw
  1463. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:3529 ast_rtp_write: Created smoother: format: ulaw ms: 20 len: 160
  1464.  
  1465. host*CLI>
  1466. [2017-11-07 17:11:41] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:3354 ast_rtp_raw_write: Starting RTCP transmission on RTP instance '0x7f4a1c02c4d8'
  1467.  
  1468. host*CLI>
  1469. 
  1470. <--- SIP read from UDP:192.168.1.23:30652 --->
  1471. ACK sip:403@192.168.1.251:5060 SIP/2.0
  1472. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK1647608668;rport
  1473. From: <sip:125@192.168.1.251>;tag=139474981
  1474. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1475. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1476. CSeq: 261 ACK
  1477. Contact: <sip:125@192.168.1.23:30652>
  1478. Max-Forwards: 70
  1479. Supported: replaces, path, timer, eventlist
  1480. User-Agent: Grandstream Wave 1.0.2.17
  1481. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1482. Content-Length: 0
  1483.  
  1484. <------------->
  1485. --- (12 headers 0 lines) ---
  1486. [2017-11-07 17:11:41] DEBUG[2062][C-00000007]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '1525902518-30652-27@BJC.BGI.B.CD' of Response 261: Match Found
  1487.  
  1488. host*CLI>
  1489. [2017-11-07 17:11:42] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4383 ast_rtp_read: 0x7f4a1c017a70 -- Probation learning mode pass with source address 192.168.1.23:43242
  1490. > 0x7f4a1c017a70 -- Probation passed - setting RTP source address to 192.168.1.23:43242
  1491. [2017-11-07 17:11:42] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:3492 ast_rtp_write: Ooh, format changed from unknown to ulaw
  1492. [2017-11-07 17:11:42] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:3529 ast_rtp_write: Created smoother: format: ulaw ms: 20 len: 160
  1493.  
  1494. host*CLI>
  1495. 
  1496. <--- SIP read from UDP:192.168.1.23:30652 --->
  1497. INVITE sip:403@192.168.1.251:5060 SIP/2.0
  1498. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK863811681;rport
  1499. From: <sip:125@192.168.1.251>;tag=139474981
  1500. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1501. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1502. CSeq: 262 INVITE
  1503. Contact: <sip:125@192.168.1.23:30652>
  1504. Max-Forwards: 70
  1505. Supported: replaces, path, timer, eventlist
  1506. User-Agent: Grandstream Wave 1.0.2.17
  1507. Session-Expires: 1800;refresher=uas
  1508. Min-SE: 1800
  1509. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1510. Content-Type: application/sdp
  1511. Accept: application/sdp, application/dtmf-relay
  1512. Content-Length: 435
  1513.  
  1514. v=0
  1515. o=125 8000 8001 IN IP4 192.168.1.23
  1516. s=SIP Call
  1517. c=IN IP4 192.168.1.23
  1518. t=0 0
  1519. m=audio 43242 RTP/AVP 0 8 101
  1520. a=sendrecv
  1521. a=rtcp:43243 IN IP4 192.168.1.23
  1522. a=rtpmap:0 PCMU/8000
  1523. a=ptime:20
  1524. a=rtpmap:8 PCMA/8000
  1525. a=rtpmap:101 telephone-event/8000
  1526. a=fmtp:101 0-15
  1527. m=video 48548 RTP/AVP 105
  1528. b=AS:576
  1529. a=sendrecv
  1530. a=rtcp:48549 IN IP4 192.168.1.23
  1531. a=rtpmap:105 H264/90000
  1532. a=fmtp:105 profile-level-id=428016; packetization-mode=1
  1533.  
  1534. <------------->
  1535. --- (16 headers 19 lines) ---
  1536. Sending to 192.168.1.23:30652 (NAT)
  1537. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:25822 handle_request_invite: Initializing initreq for method INVITE - callid 1525902518-30652-27@BJC.BGI.B.CD
  1538. Found RTP audio format 0
  1539. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 0 based on m type on 0x7f4a20192b70
  1540. Found RTP audio format 8
  1541. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 8 based on m type on 0x7f4a20192b70
  1542. Found RTP audio format 101
  1543. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 101 based on m type on 0x7f4a20192b70
  1544. Found audio description format PCMU for ID 0
  1545. Found audio description format PCMA for ID 8
  1546. Found audio description format telephone-event for ID 101
  1547. Found RTP video format 105
  1548. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:570 ast_rtp_codecs_payloads_set_m_type: Setting payload 105 based on m type on 0x7f4a20196ec0
  1549. Found video description format H264 for ID 105
  1550. Capabilities: us - (gsm|ulaw|alaw|h261|h263|h263p|h264|mpeg4|vp8), peer - audio=(ulaw|alaw)/video=(h264)/text=(nothing), combined - (ulaw|alaw|h264)
  1551. Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
  1552. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a1c02c4d8'
  1553. Peer audio RTP is at port 192.168.1.23:43242
  1554. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 0 from 0x7f4a20192b70 to 0x7f4a1c02c6a0
  1555. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 8 from 0x7f4a20192b70 to 0x7f4a1c02c6a0
  1556. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: rtp_engine.c:528 ast_rtp_codecs_payloads_copy: Copying payload 101 from 0x7f4a20192b70 to 0x7f4a1c02c6a0
  1557. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4715 ast_rtp_prop_set: Ignoring duplicate RTCP property on RTP instance '0x7f4a1c02c4d8'
  1558. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:10724 process_sdp: We're settling with these formats: (ulaw|alaw|h264)
  1559. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:10737 process_sdp: Setting native formats after processing SDP. peer joint formats (ulaw|alaw|h264), old nativeformats (ulaw)
  1560. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:26099 handle_request_invite: Got a SIP re-invite for call 1525902518-30652-27@BJC.BGI.B.CD
  1561. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:25407 handle_request_invite_st: Incoming INVITE with 'timer' option supported
  1562. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:25417 handle_request_invite_st: INVITE also has "Session-Expires" header.
  1563. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:29704 parse_session_expires: Session-Expires: 1800
  1564. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:29720 parse_session_expires: Refresher: UAS
  1565. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:25429 handle_request_invite_st: INVITE also has "Min-SE" header.
  1566. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:29674 parse_minse: Received Min-SE: 1800
  1567. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:25507 handle_request_invite_st: Restarting session-timers on a refresh - 1525902518-30652-27@BJC.BGI.B.CD
  1568. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:29526 restart_session_timer: Session timer stopped: 52 - 1525902518-30652-27@BJC.BGI.B.CD
  1569. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:29582 start_session_timer: Session timer started: 32 - 1525902518-30652-27@BJC.BGI.B.CD 900000ms
  1570. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:26255 handle_request_invite: SIP/125-00000009: This call is UP....
  1571.  
  1572. <--- Transmitting (NAT) to 192.168.1.23:30652 --->
  1573. SIP/2.0 100 Trying
  1574. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK863811681;received=192.168.1.23;rport=30652
  1575. From: <sip:125@192.168.1.251>;tag=139474981
  1576. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1577. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1578. CSeq: 262 INVITE
  1579. Server: FPBX-2.11.0(11.25.0)
  1580. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1581. Supported: replaces, timer
  1582. Session-Expires: 1800;refresher=uas
  1583. Contact: <sip:403@192.168.1.251:5060>
  1584. Content-Length: 0
  1585.  
  1586.  
  1587. <------------>
  1588. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 100' onto UDP socket destined for 192.168.1.23:30652
  1589. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:13682 transmit_response_with_sdp: Setting framing from config on incoming call
  1590. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:13183 add_sdp: This call needs video offers, but there's no video support enabled!
  1591. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:13231 add_sdp: ** Our capability: (ulaw|alaw|h264) Video flag: False Text flag: True
  1592. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:13232 add_sdp: ** Our prefcodec: (nothing)
  1593. Audio is at 15768
  1594. Adding codec 100003 (ulaw) to SDP
  1595. Adding codec 100004 (alaw) to SDP
  1596. Adding non-codec 0x1 (telephone-event) to SDP
  1597.  
  1598. <--- Reliably Transmitting (NAT) to 192.168.1.23:30652 --->
  1599. SIP/2.0 200 OK
  1600. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK863811681;received=192.168.1.23;rport=30652
  1601. From: <sip:125@192.168.1.251>;tag=139474981
  1602. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1603. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1604. CSeq: 262 INVITE
  1605. Server: FPBX-2.11.0(11.25.0)
  1606. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1607. Supported: replaces, timer
  1608. Session-Expires: 1800;refresher=uas
  1609. Contact: <sip:403@192.168.1.251:5060>
  1610. Content-Type: application/sdp
  1611. Require: timer
  1612. Content-Length: 285
  1613.  
  1614. v=0
  1615. o=root 1686773993 1686773994 IN IP4 192.168.1.251
  1616. s=Asterisk PBX 11.25.0
  1617. c=IN IP4 192.168.1.251
  1618. t=0 0
  1619. m=audio 15768 RTP/AVP 0 8 101
  1620. a=rtpmap:0 PCMU/8000
  1621. a=rtpmap:8 PCMA/8000
  1622. a=rtpmap:101 telephone-event/8000
  1623. a=fmtp:101 0-16
  1624. a=ptime:20
  1625. a=sendrecv
  1626. m=video 0 RTP/AVP 105
  1627.  
  1628. <------------>
  1629. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 200' onto UDP socket destined for 192.168.1.23:30652
  1630. [2017-11-07 17:11:44] DEBUG[3566][C-00000007]: channel.c:7697 ast_generic_bridge: Got a FRAME_CONTROL (32) frame on channel SIP/125-00000009
  1631. [2017-11-07 17:11:44] DEBUG[3566][C-00000007]: channel.c:8146 ast_channel_bridge: Bridge stops bridging channels SIP/125-00000009 and SIP/403-0000000a
  1632.  
  1633. host*CLI>
  1634. [2017-11-07 17:11:44] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4383 ast_rtp_read: 0x7f4a1c017a70 -- Probation learning mode pass with source address 192.168.1.23:43242
  1635. > 0x7f4a1c017a70 -- Probation passed - setting RTP source address to 192.168.1.23:43242
  1636.  
  1637. host*CLI>
  1638. 
  1639. <--- SIP read from UDP:192.168.1.23:30652 --->
  1640. ACK sip:403@192.168.1.251:5060 SIP/2.0
  1641. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK1215172812;rport
  1642. From: <sip:125@192.168.1.251>;tag=139474981
  1643. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1644. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1645. CSeq: 262 ACK
  1646. Contact: <sip:125@192.168.1.23:30652>
  1647. Max-Forwards: 70
  1648. Supported: replaces, path, timer, eventlist
  1649. User-Agent: Grandstream Wave 1.0.2.17
  1650. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1651. Content-Length: 0
  1652.  
  1653. <------------->
  1654. --- (12 headers 0 lines) ---
  1655.  
  1656. host*CLI>
  1657. [2017-11-07 17:11:44] DEBUG[2062][C-00000007]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '1525902518-30652-27@BJC.BGI.B.CD' of Response 262: Match Found
  1658.  
  1659. host*CLI>
  1660. [2017-11-07 17:11:44] DEBUG[2062]: chan_sip.c:8679 sip_alloc: Allocating new SIP dialog for 6d6bace760bd5afb50dca8ee71730fc5@127.0.0.1:5060 - OPTIONS (No RTP)
  1661. [2017-11-07 17:11:44] DEBUG[2062]: chan_sip.c:3498 obproxy_get: OBPROXY: Not applying OBproxy to this call
  1662. [2017-11-07 17:11:44] DEBUG[2062]: chan_sip.c:8465 change_callid_pvt: SIP call-id changed from '6d6bace760bd5afb50dca8ee71730fc5@127.0.0.1:5060' to '1c4814782d8f52e54951df6c66f4117e@192.168.1.251:5060'
  1663. [2017-11-07 17:11:44] DEBUG[2062]: chan_sip.c:3374 initialize_initreq: Initializing initreq for method OPTIONS - callid 1c4814782d8f52e54951df6c66f4117e@192.168.1.251:5060
  1664.  
  1665. host*CLI>
  1666. Reliably Transmitting (NAT) to 192.168.1.23:30652:
  1667. OPTIONS sip:125@192.168.1.23:30652 SIP/2.0
  1668. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK5b491eba;rport
  1669. Max-Forwards: 70
  1670. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as4bc0c759
  1671. To: <sip:125@192.168.1.23:30652>
  1672. Contact: <sip:Unknown@192.168.1.251:5060>
  1673. Call-ID: 1c4814782d8f52e54951df6c66f4117e@192.168.1.251:5060
  1674. CSeq: 102 OPTIONS
  1675. User-Agent: FPBX-2.11.0(11.25.0)
  1676. Date: Tue, 07 Nov 2017 22:11:44 GMT
  1677. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1678. Supported: replaces, timer
  1679. Content-Length: 0
  1680.  
  1681.  
  1682. ---
  1683. [2017-11-07 17:11:44] DEBUG[2062]: chan_sip.c:3731 __sip_xmit: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.23:30652
  1684.  
  1685. host*CLI>
  1686. 
  1687. <--- SIP read from UDP:192.168.1.23:30652 --->
  1688. SIP/2.0 200 OK
  1689. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK5b491eba;rport=5060
  1690. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as4bc0c759
  1691. To: <sip:125@192.168.1.23:30652>;tag=2073859469
  1692. Call-ID: 1c4814782d8f52e54951df6c66f4117e@192.168.1.251:5060
  1693. CSeq: 102 OPTIONS
  1694. Supported: replaces, path, eventlist
  1695. User-Agent: Grandstream Wave 1.0.2.17
  1696. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1697. Content-Length: 0
  1698.  
  1699. <------------->
  1700. --- (10 headers 0 lines) ---
  1701. [2017-11-07 17:11:44] DEBUG[2062]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '1c4814782d8f52e54951df6c66f4117e@192.168.1.251:5060' of Request 102: Match Found
  1702. Really destroying SIP dialog '1c4814782d8f52e54951df6c66f4117e@192.168.1.251:5060' Method: OPTIONS
  1703.  
  1704. host*CLI>
  1705. [2017-11-07 17:11:45] DEBUG[2062]: chan_sip.c:8679 sip_alloc: Allocating new SIP dialog for 184b9901421ea7a818ba5dcf028e3f61@127.0.0.1:5060 - OPTIONS (No RTP)
  1706. [2017-11-07 17:11:45] DEBUG[2062]: chan_sip.c:3498 obproxy_get: OBPROXY: Not applying OBproxy to this call
  1707. [2017-11-07 17:11:45] DEBUG[2062]: chan_sip.c:8465 change_callid_pvt: SIP call-id changed from '184b9901421ea7a818ba5dcf028e3f61@127.0.0.1:5060' to '39c2aee055f680ba58ffc1f551435ca9@192.168.1.251:5060'
  1708.  
  1709. host*CLI>
  1710. [2017-11-07 17:11:45] DEBUG[2062]: chan_sip.c:3374 initialize_initreq: Initializing initreq for method OPTIONS - callid 39c2aee055f680ba58ffc1f551435ca9@192.168.1.251:5060
  1711. Reliably Transmitting (NAT) to 192.168.1.150:5062:
  1712. OPTIONS sip:192.168.1.150 SIP/2.0
  1713. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK0d2a197f;rport
  1714. Max-Forwards: 70
  1715. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as429e8076
  1716. To: <sip:192.168.1.150>
  1717. Contact: <sip:Unknown@192.168.1.251:5060>
  1718. Call-ID: 39c2aee055f680ba58ffc1f551435ca9@192.168.1.251:5060
  1719. CSeq: 102 OPTIONS
  1720. User-Agent: FPBX-2.11.0(11.25.0)
  1721. Date: Tue, 07 Nov 2017 22:11:45 GMT
  1722. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1723. Supported: replaces, timer
  1724. Content-Length: 0
  1725.  
  1726.  
  1727. ---
  1728. [2017-11-07 17:11:45] DEBUG[2062]: chan_sip.c:3731 __sip_xmit: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.150:5062
  1729.  
  1730. host*CLI>
  1731. 
  1732. <--- SIP read from UDP:192.168.1.23:30652 --->
  1733. BYE sip:403@192.168.1.251:5060 SIP/2.0
  1734. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK123632637;rport
  1735. From: <sip:125@192.168.1.251>;tag=139474981
  1736. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1737. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1738. CSeq: 263 BYE
  1739. Contact: <sip:125@192.168.1.23:30652>
  1740. Max-Forwards: 70
  1741. Supported: replaces, path, timer, eventlist
  1742. User-Agent: Grandstream Wave 1.0.2.17
  1743. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1744. Content-Length: 0
  1745.  
  1746. <------------->
  1747. --- (12 headers 0 lines) ---
  1748. [2017-11-07 17:11:46] DEBUG[2062][C-00000007]: chan_sip.c:27139 handle_request_bye: Initializing initreq for method BYE - callid 1525902518-30652-27@BJC.BGI.B.CD
  1749. Sending to 192.168.1.23:30652 (NAT)
  1750.  
  1751. host*CLI>
  1752. [2017-11-07 17:11:46] DEBUG[2062][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a1c02c4d8'
  1753. [2017-11-07 17:11:46] DEBUG[2062][C-00000007]: chan_sip.c:29539 stop_session_timer: Session timer stopped: 32 - 1525902518-30652-27@BJC.BGI.B.CD
  1754. Scheduling destruction of SIP dialog '1525902518-30652-27@BJC.BGI.B.CD' in 6400 ms (Method: BYE)
  1755.  
  1756. <--- Transmitting (NAT) to 192.168.1.23:30652 --->
  1757. SIP/2.0 200 OK
  1758. Via: SIP/2.0/UDP 192.168.1.23:30652;branch=z9hG4bK123632637;received=192.168.1.23;rport=30652
  1759. From: <sip:125@192.168.1.251>;tag=139474981
  1760. To: <sip:403@192.168.1.251>;tag=as70a3ca86
  1761. Call-ID: 1525902518-30652-27@BJC.BGI.B.CD
  1762. CSeq: 263 BYE
  1763. Server: FPBX-2.11.0(11.25.0)
  1764. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  1765. Supported: replaces, timer
  1766. Content-Length: 0
  1767.  
  1768.  
  1769. <------------>
  1770. [2017-11-07 17:11:46] DEBUG[2062][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'SIP/2.0 200' onto UDP socket destined for 192.168.1.23:30652
  1771. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:7652 ast_generic_bridge: Didn't get a frame from channel: SIP/125-00000009
  1772. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:8146 ast_channel_bridge: Bridge stops bridging channels SIP/125-00000009 and SIP/403-0000000a
  1773.  
  1774. host*CLI>
  1775. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:2664 ast_softhangup_nolock: Soft-Hanging up channel 'SIP/125-00000009'
  1776. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Macro'
  1777. -- Executing [h@macro-dial-one:1] Macro("SIP/125-00000009", "hangupcall,") in new stack
  1778.  
  1779. host*CLI>
  1780. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(recordingfile) result is '(null)'
  1781. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1782. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1783. -- Executing [s@macro-hangupcall:1] GotoIf("SIP/125-00000009", "1?endmixmoncheck") in new stack
  1784. -- Goto (macro-hangupcall,s,20)
  1785. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1786. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1787. -- Executing [s@macro-hangupcall:20] NoOp("SIP/125-00000009", "End of MIXMON check") in new stack
  1788. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1789. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1790. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1791. -- Executing [s@macro-hangupcall:21] GotoIf("SIP/125-00000009", "1?nomeetmemon") in new stack
  1792. -- Goto (macro-hangupcall,s,39)
  1793. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1794. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1795. -- Executing [s@macro-hangupcall:39] NoOp("SIP/125-00000009", "End of MEETME check") in new stack
  1796. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1797. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1798. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1799. -- Executing [s@macro-hangupcall:40] GotoIf("SIP/125-00000009", "1?noautomon") in new stack
  1800. -- Goto (macro-hangupcall,s,45)
  1801. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1802. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1803. -- Executing [s@macro-hangupcall:45] NoOp("SIP/125-00000009", "TOUCH_MONITOR_OUTPUT=") in new stack
  1804. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1805.  
  1806. host*CLI>
  1807. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1808. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1809. -- Executing [s@macro-hangupcall:46] GotoIf("SIP/125-00000009", "1?noautomon2") in new stack
  1810. -- Goto (macro-hangupcall,s,52)
  1811. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1812. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1813. -- Executing [s@macro-hangupcall:52] NoOp("SIP/125-00000009", "MONITOR_FILENAME=") in new stack
  1814. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1815. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1816. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1817. -- Executing [s@macro-hangupcall:53] GotoIf("SIP/125-00000009", "1?noautomon3") in new stack
  1818. -- Goto (macro-hangupcall,s,59)
  1819. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1820. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1821. -- Executing [s@macro-hangupcall:59] NoOp("SIP/125-00000009", "MIXMONITOR_FILENAME=") in new stack
  1822. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1823. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1824. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1825. -- Executing [s@macro-hangupcall:60] GotoIf("SIP/125-00000009", "1?noautomon4") in new stack
  1826. -- Goto (macro-hangupcall,s,62)
  1827. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1828. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1829. -- Executing [s@macro-hangupcall:62] NoOp("SIP/125-00000009", "ONETOUCH_RECFILE=") in new stack
  1830. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1831. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(recordingfile) result is '(null)'
  1832. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'NoOp'
  1833. -- Executing [s@macro-hangupcall:63] NoOp("SIP/125-00000009", "CDR recordingfile set to: ") in new stack
  1834. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: Noop
  1835. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1836. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1837. -- Executing [s@macro-hangupcall:64] GotoIf("SIP/125-00000009", "1?skiprg") in new stack
  1838. -- Goto (macro-hangupcall,s,67)
  1839. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1840. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1841. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1842. -- Executing [s@macro-hangupcall:67] GotoIf("SIP/125-00000009", "1?skipblkvm") in new stack
  1843. -- Goto (macro-hangupcall,s,70)
  1844. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1845. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4905 pbx_substitute_variables_helper_full: Expression result is '1'
  1846. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'GotoIf'
  1847.  
  1848. host*CLI>
  1849.  -- Executing [s@macro-hangupcall:70] GotoIf("SIP/125-00000009", "1?theend") in new stack
  1850. -- Goto (macro-hangupcall,s,72)
  1851. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: GotoIf
  1852. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'AGI'
  1853. -- Executing [s@macro-hangupcall:72] AGI("SIP/125-00000009", "hangup.agi") in new stack
  1854. -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
  1855.  
  1856. host*CLI>
  1857.  -- <SIP/125-00000009>AGI Script hangup.agi completed, returning 0
  1858.  
  1859. host*CLI>
  1860. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:455 _macro_exec: Executed application: AGI
  1861. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:5005 pbx_extension_helper: Launching 'Hangup'
  1862. -- Executing [s@macro-hangupcall:73] Hangup("SIP/125-00000009", "") in new stack
  1863. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:2664 ast_softhangup_nolock: Soft-Hanging up channel 'SIP/125-00000009'
  1864.  
  1865. host*CLI>
  1866. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:449 _macro_exec: Spawn extension (macro-hangupcall,s,73) exited non-zero on 'SIP/125-00000009' in macro 'hangupcall'
  1867.  
  1868. host*CLI>
  1869.  == Spawn extension (macro-hangupcall, s, 73) exited non-zero on 'SIP/125-00000009' in macro 'hangupcall'
  1870.  
  1871. host*CLI>
  1872. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:6305 ast_pbx_h_exten_run: Spawn extension (macro-dial-one,h,1) exited non-zero on 'SIP/125-00000009'
  1873. == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/125-00000009'
  1874.  
  1875. host*CLI>
  1876. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: cdr_mysql.c:343 mysql_log: Inserting a CDR record.
  1877.  
  1878. host*CLI>
  1879. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: cdr_mysql.c:346 mysql_log: SQL command as follows: INSERT INTO cdr (`calldate`,`clid`,`src`,`dst`,`dcontext`,`channel`,`dstchannel`,`lastapp`,`lastdata`,`duration`,`billsec`,`disposition`,`amaflags`,`uniqueid`,`cnum`,`cnam`) VALUES ('2017-11-07 17:11:41','\"Jose\" <125>','125','403','from-internal','SIP/125-00000009','SIP/403-0000000a','Dial','SIP/403,,TtrI','5','5','ANSWERED','3','1510092701.9','125','Jose')
  1880.  
  1881. host*CLI>
  1882. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(start) result is '2017-11-07 17:11:41'
  1883. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(clid) result is '"Jose" <125>'
  1884. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(dcontext) result is 'from-internal'
  1885. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(channel) result is 'SIP/125-00000009'
  1886. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(dstchannel) result is 'SIP/403-0000000a'
  1887. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(lastapp) result is 'Dial'
  1888. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(lastdata) result is 'SIP/403,,TtrI'
  1889. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(duration) result is '5'
  1890. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(billsec) result is '5'
  1891. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(disposition) result is 'ANSWERED'
  1892. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(amaflags) result is 'DOCUMENTATION'
  1893. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(accountcode) result is '(null)'
  1894. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(uniqueid) result is '1510092701.9'
  1895. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(userfield) result is '(null)'
  1896. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(test) result is '(null)'
  1897. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(src) result is '125'
  1898. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:4837 pbx_substitute_variables_helper_full: Function CDR(dst) result is '403'
  1899. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: cdr_sqlite3_custom.c:261 write_cdr: About to log: INSERT INTO cdr (calldate,clid,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,test,src,dst) VALUES ('2017-11-07 17:11:41','"Jose" <125>','from-internal','SIP/125-00000009','SIP/403-0000000a','Dial','SIP/403,,TtrI','5','5','ANSWERED','DOCUMENTATION','','1510092701.9','','','125','403')
  1900.  
  1901. host*CLI>
  1902. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:2843 ast_hangup: Hanging up channel 'SIP/403-0000000a'
  1903.  
  1904. host*CLI>
  1905. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:6929 sip_hangup: Hangup call SIP/403-0000000a, SIP callid 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1906. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:6934 sip_hangup: update_call_counter(403) - decrement call limit counter on hangup
  1907.  
  1908. host*CLI>
  1909. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:6635 update_call_counter: Call to peer '403' removed from call limit 2147483647
  1910.  
  1911. host*CLI>
  1912. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a3803a458'
  1913.  
  1914. host*CLI>
  1915. Scheduling destruction of SIP dialog '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060' in 6400 ms (Method: INVITE)
  1916.  
  1917. host*CLI>
  1918. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:11922 reqprep: Strict routing enforced for session 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1919.  
  1920. host*CLI>
  1921. set_destination: Parsing <sip:403@192.168.1.193:5060> for address/port to send to
  1922. set_destination: set destination to 192.168.1.193:5060
  1923.  
  1924. host*CLI>
  1925. Reliably Transmitting (NAT) to 192.168.1.193:5060:
  1926. BYE sip:403@192.168.1.193:5060 SIP/2.0
  1927. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK54d90035;rport
  1928. Max-Forwards: 70
  1929. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1930. To: <sip:403@192.168.1.193:5060>;tag=1809005087
  1931. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1932. CSeq: 103 BYE
  1933. User-Agent: FPBX-2.11.0(11.25.0)
  1934. X-Asterisk-HangupCause: Normal Clearing
  1935. X-Asterisk-HangupCauseCode: 16
  1936. Content-Length: 0
  1937.  
  1938.  
  1939. ---
  1940.  
  1941. host*CLI>
  1942. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:3731 __sip_xmit: Trying to put 'BYE sip:403' onto UDP socket destined for 192.168.1.193:5060
  1943.  
  1944. host*CLI>
  1945. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_dial.c:3120 dial_exec_full: Exiting with DIALSTATUS=ANSWER.
  1946.  
  1947. host*CLI>
  1948. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:449 _macro_exec: Spawn extension (macro-dial-one,s,43) exited non-zero on 'SIP/125-00000009' in macro 'dial-one'
  1949. == Spawn extension (macro-dial-one, s, 43) exited non-zero on 'SIP/125-00000009' in macro 'dial-one'
  1950. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: app_macro.c:449 _macro_exec: Spawn extension (macro-exten-vm,s,7) exited non-zero on 'SIP/125-00000009' in macro 'exten-vm'
  1951.  
  1952. host*CLI>
  1953.  == Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'SIP/125-00000009' in macro 'exten-vm'
  1954. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: pbx.c:6789 __ast_pbx_run: Spawn extension (from-internal,403,2) exited non-zero on 'SIP/125-00000009'
  1955.  
  1956. host*CLI>
  1957.  == Spawn extension (from-internal, 403, 2) exited non-zero on 'SIP/125-00000009'
  1958. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:2664 ast_softhangup_nolock: Soft-Hanging up channel 'SIP/125-00000009'
  1959.  
  1960. host*CLI>
  1961. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: channel.c:2843 ast_hangup: Hanging up channel 'SIP/125-00000009'
  1962.  
  1963. host*CLI>
  1964. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:6929 sip_hangup: Hangup call SIP/125-00000009, SIP callid 1525902518-30652-27@BJC.BGI.B.CD
  1965. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:6934 sip_hangup: update_call_counter(125) - decrement call limit counter on hangup
  1966.  
  1967. host*CLI>
  1968. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: chan_sip.c:6635 update_call_counter: Call from peer '125' removed from call limit 2147483647
  1969.  
  1970. host*CLI>
  1971. [2017-11-07 17:11:46] DEBUG[3566][C-00000007]: res_rtp_asterisk.c:4805 ast_rtp_remote_address_set: Setting RTCP address on RTP instance '0x7f4a1c02c4d8'
  1972.  
  1973. host*CLI>
  1974. 
  1975. <--- SIP read from UDP:192.168.1.193:5060 --->
  1976. SIP/2.0 200 OK
  1977. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK54d90035;rport=5060
  1978. From: "Jose" <sip:125@192.168.1.251>;tag=as3bcba7d1
  1979. To: <sip:403@192.168.1.193:5060>;tag=1809005087
  1980. Call-ID: 7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060
  1981. CSeq: 103 BYE
  1982. Contact: <sip:403@192.168.1.193:5060>
  1983. Supported: replaces, path, timer, eventlist
  1984. User-Agent: Grandstream GXV3611IR_HD 1.0.3.13
  1985. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
  1986. Content-Length: 0
  1987.  
  1988. <------------->
  1989. --- (11 headers 0 lines) ---
  1990.  
  1991. host*CLI>
  1992. [2017-11-07 17:11:46] DEBUG[2062][C-00000007]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060' of Request 103: Match Found
  1993.  
  1994. host*CLI>
  1995. Really destroying SIP dialog '7e92efeb5e4d5d202aa311a059ca28f9@192.168.1.251:5060' Method: INVITE
  1996.  
  1997. host*CLI>
  1998. [2017-11-07 17:11:46] DEBUG[2062]: rtp_engine.c:232 instance_destructor: Destroyed RTP instance '0x7f4a3803a458'
  1999.  
  2000. host*CLI>
  2001. Retransmitting #1 (NAT) to 192.168.1.150:5062:
  2002. OPTIONS sip:192.168.1.150 SIP/2.0
  2003. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK0d2a197f;rport
  2004. Max-Forwards: 70
  2005. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as429e8076
  2006. To: <sip:192.168.1.150>
  2007. Contact: <sip:Unknown@192.168.1.251:5060>
  2008. Call-ID: 39c2aee055f680ba58ffc1f551435ca9@192.168.1.251:5060
  2009. CSeq: 102 OPTIONS
  2010. User-Agent: FPBX-2.11.0(11.25.0)
  2011. Date: Tue, 07 Nov 2017 22:11:45 GMT
  2012. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  2013. Supported: replaces, timer
  2014. Content-Length: 0
  2015.  
  2016.  
  2017. ---
  2018. [2017-11-07 17:11:46] DEBUG[2062]: chan_sip.c:3731 __sip_xmit: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.150:5062
  2019.  
  2020. host*CLI>
  2021. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:8679 sip_alloc: Allocating new SIP dialog for 194f92a144cc4dbc68a2bc4a76504de1@127.0.0.1:5060 - OPTIONS (No RTP)
  2022. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:3498 obproxy_get: OBPROXY: Not applying OBproxy to this call
  2023. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:8465 change_callid_pvt: SIP call-id changed from '194f92a144cc4dbc68a2bc4a76504de1@127.0.0.1:5060' to '1c9dc021750bbc002b61de144a62e810@192.168.1.251:5060'
  2024. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:3374 initialize_initreq: Initializing initreq for method OPTIONS - callid 1c9dc021750bbc002b61de144a62e810@192.168.1.251:5060
  2025. Reliably Transmitting (no NAT) to 192.168.1.152:5060:
  2026. OPTIONS sip:121@192.168.1.152:5060 SIP/2.0
  2027. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK334ef66b
  2028. Max-Forwards: 70
  2029. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as263bd287
  2030. To: <sip:121@192.168.1.152:5060>
  2031. Contact: <sip:Unknown@192.168.1.251:5060>
  2032. Call-ID: 1c9dc021750bbc002b61de144a62e810@192.168.1.251:5060
  2033. CSeq: 102 OPTIONS
  2034. User-Agent: FPBX-2.11.0(11.25.0)
  2035. Date: Tue, 07 Nov 2017 22:11:47 GMT
  2036. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  2037. Supported: replaces, timer
  2038. Content-Length: 0
  2039.  
  2040.  
  2041. ---
  2042.  
  2043. host*CLI>
  2044. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:3731 __sip_xmit: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.152:5060
  2045.  
  2046. host*CLI>
  2047. 
  2048. <--- SIP read from UDP:192.168.1.152:5060 --->
  2049. SIP/2.0 200 OK
  2050. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK334ef66b
  2051. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as263bd287
  2052. To: <sip:121@192.168.1.152:5060>;tag=1640760747
  2053. Call-ID: 1c9dc021750bbc002b61de144a62e810@192.168.1.251:5060
  2054. CSeq: 102 OPTIONS
  2055. Supported: replaces, path, timer, eventlist
  2056. User-Agent: Grandstream HT-503 V2.0A 1.0.15.5 chip V2.2
  2057. Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE
  2058. Content-Length: 0
  2059.  
  2060. <------------->
  2061. --- (10 headers 0 lines) ---
  2062. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:4429 __sip_ack: Stopping retransmission on '1c9dc021750bbc002b61de144a62e810@192.168.1.251:5060' of Request 102: Match Found
  2063. Really destroying SIP dialog '1c9dc021750bbc002b61de144a62e810@192.168.1.251:5060' Method: OPTIONS
  2064.  
  2065. host*CLI>
  2066. Retransmitting #2 (NAT) to 192.168.1.150:5062:
  2067. OPTIONS sip:192.168.1.150 SIP/2.0
  2068. Via: SIP/2.0/UDP 192.168.1.251:5060;branch=z9hG4bK0d2a197f;rport
  2069. Max-Forwards: 70
  2070. From: "Unknown" <sip:Unknown@192.168.1.251>;tag=as429e8076
  2071. To: <sip:192.168.1.150>
  2072. Contact: <sip:Unknown@192.168.1.251:5060>
  2073. Call-ID: 39c2aee055f680ba58ffc1f551435ca9@192.168.1.251:5060
  2074. CSeq: 102 OPTIONS
  2075. User-Agent: FPBX-2.11.0(11.25.0)
  2076. Date: Tue, 07 Nov 2017 22:11:45 GMT
  2077. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
  2078. Supported: replaces, timer
  2079. Content-Length: 0
  2080.  
  2081.  
  2082. ---
  2083. [2017-11-07 17:11:47] DEBUG[2062]: chan_sip.c:3731 __sip_xmit: Trying to put 'OPTIONS sip' onto UDP socket destined for 192.168.1.150:5062
  2084.  
  2085. host*CLI>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement