From Sahil, 1 Month ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-07-29 07:18:18.669579 [NOTICE] switch_channel.c:1118 New Channel sofia/default/505@test-tls.astppbilling.org:7777 [1e8cd357-5a57-4272-9a36-2de6ee3912c6]
  2. 2021-07-29 07:18:18.669579 [DEBUG] switch_core_state_machine.c:585 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_NEW (Cur 1 Tot 12)
  3. 2021-07-29 07:18:18.669579 [DEBUG] sofia.c:10280 sofia/default/505@test-tls.astppbilling.org:7777 receiving invite from 117.247.91.162:40006 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2021-07-29 07:18:18.669579 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  5. 2021-07-29 07:18:18.669579 [DEBUG] sofia.c:2434 detaching session 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  6. 2021-07-29 07:18:18.669579 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [12344@test-tls.astppbilling.org] from ip 117.247.91.162
  7. 2021-07-29 07:18:18.669579 [DEBUG] switch_core_state_machine.c:604 (sofia/default/505@test-tls.astppbilling.org:7777) State NEW
  8. 2021-07-29 07:18:18.809563 [DEBUG] sofia.c:2544 Re-attaching to session 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  9. 2021-07-29 07:18:18.829557 [DEBUG] sofia.c:10280 sofia/default/505@test-tls.astppbilling.org:7777 receiving invite from 117.247.91.162:40006 version: 1.10.5 -release-17-25569c1631 64bit
  10. 2021-07-29 07:18:18.829557 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
  11. 2021-07-29 07:18:18.829557 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
  12. 2021-07-29 07:18:18.829557 [DEBUG] sofia.c:7326 Channel sofia/default/505@test-tls.astppbilling.org:7777 entering state [received][100]
  13. 2021-07-29 07:18:18.829557 [DEBUG] sofia.c:7336 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 117.247.91.162
  16. s=Z
  17. c=IN IP4 117.247.91.162
  18. t=0 0
  19. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  39. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/505@test-tls.astppbilling.org:7777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_codec.c:111 sofia/default/505@test-tls.astppbilling.org:7777 Original read codec set to PCMA:8
  41. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  42. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_media.c:5911 sofia/default/505@test-tls.astppbilling.org:7777 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2021-07-29 07:18:18.829557 [DEBUG] sofia.c:7760 (sofia/default/505@test-tls.astppbilling.org:7777) State Change CS_NEW -> CS_INIT
  44. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:585 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_INIT (Cur 1 Tot 12)
  45. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:628 (sofia/default/505@test-tls.astppbilling.org:7777) State INIT
  46. 2021-07-29 07:18:18.829557 [DEBUG] mod_sofia.c:93 sofia/default/505@test-tls.astppbilling.org:7777 SOFIA INIT
  47. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:40 sofia/default/505@test-tls.astppbilling.org:7777 Standard INIT
  48. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:48 (sofia/default/505@test-tls.astppbilling.org:7777) State Change CS_INIT -> CS_ROUTING
  49. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:628 (sofia/default/505@test-tls.astppbilling.org:7777) State INIT going to sleep
  50. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:585 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_ROUTING (Cur 1 Tot 12)
  51. 2021-07-29 07:18:18.829557 [DEBUG] switch_channel.c:2332 (sofia/default/505@test-tls.astppbilling.org:7777) Callstate Change DOWN -> RINGING
  52. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:644 (sofia/default/505@test-tls.astppbilling.org:7777) State ROUTING
  53. 2021-07-29 07:18:18.829557 [DEBUG] mod_sofia.c:154 sofia/default/505@test-tls.astppbilling.org:7777 SOFIA ROUTING
  54. 2021-07-29 07:18:18.829557 [DEBUG] switch_core_state_machine.c:236 sofia/default/505@test-tls.astppbilling.org:7777 Standard ROUTING
  55. 2021-07-29 07:18:18.829557 [INFO] mod_dialplan_xml.c:637 Processing 505 <505>->12344 in context default
  56. 2021-07-29 07:18:18.829557 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  57. 2021-07-29 07:18:18.829557 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2021-07-29 07:18:18.849567 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
  59. Event-Name: REQUEST_PARAMS
  60. Core-UUID: aa5f78b3-2e05-4f6b-a835-2d410e4d0f4d
  61. FreeSWITCH-Hostname: ip-172-31-5-221
  62. FreeSWITCH-Switchname: ip-172-31-5-221
  63. FreeSWITCH-IPv4: 172.31.5.221
  64. FreeSWITCH-IPv6: %3A%3A1
  65. Event-Date-Local: 2021-07-29%2007%3A18%3A18
  66. Event-Date-GMT: Thu,%2029%20Jul%202021%2007%3A18%3A18%20GMT
  67. Event-Date-Timestamp: 1627543098829557
  68. Event-Calling-File: mod_dialplan_xml.c
  69. Event-Calling-Function: dialplan_xml_locate
  70. Event-Calling-Line-Number: 608
  71. Event-Sequence: 38630
  72. Channel-State: CS_ROUTING
  73. Channel-Call-State: RINGING
  74. Channel-State-Number: 2
  75. Channel-Name: sofia/default/505%40test-tls.astppbilling.org%3A7777
  76. Unique-ID: 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  77. Call-Direction: inbound
  78. Presence-Call-Direction: inbound
  79. Channel-HIT-Dialplan: true
  80. Channel-Presence-ID: 505%40test-tls.astppbilling.org
  81. Channel-Call-UUID: 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  82. Answer-State: ringing
  83. Channel-Read-Codec-Name: PCMA
  84. Channel-Read-Codec-Rate: 8000
  85. Channel-Read-Codec-Bit-Rate: 64000
  86. Channel-Write-Codec-Name: PCMA
  87. Channel-Write-Codec-Rate: 8000
  88. Channel-Write-Codec-Bit-Rate: 64000
  89. Caller-Direction: inbound
  90. Caller-Logical-Direction: inbound
  91. Caller-Username: 505
  92. Caller-Dialplan: XML
  93. Caller-Caller-ID-Name: 505
  94. Caller-Caller-ID-Number: 505
  95. Caller-Orig-Caller-ID-Name: 505
  96. Caller-Orig-Caller-ID-Number: 505
  97. Caller-Network-Addr: 117.247.91.162
  98. Caller-ANI: 505
  99. Caller-Destination-Number: 12344
  100. Caller-Unique-ID: 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  101. Caller-Source: mod_sofia
  102. Caller-Context: default
  103. Caller-Channel-Name: sofia/default/505%40test-tls.astppbilling.org%3A7777
  104. Caller-Profile-Index: 1
  105. Caller-Profile-Created-Time: 1627543098829557
  106. Caller-Channel-Created-Time: 1627543098829557
  107. Caller-Channel-Answered-Time: 0
  108. Caller-Channel-Progress-Time: 0
  109. Caller-Channel-Progress-Media-Time: 0
  110. Caller-Channel-Hangup-Time: 0
  111. Caller-Channel-Transfer-Time: 0
  112. Caller-Channel-Resurrect-Time: 0
  113. Caller-Channel-Bridged-Time: 0
  114. Caller-Channel-Last-Hold: 0
  115. Caller-Channel-Hold-Accum: 0
  116. Caller-Screen-Bit: true
  117. Caller-Privacy-Hide-Name: false
  118. Caller-Privacy-Hide-Number: false
  119. variable_direction: inbound
  120. variable_uuid: 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  121. variable_session_id: 12
  122. variable_sip_from_params: transport%3DTCP
  123. variable_sip_from_user: 505
  124. variable_sip_from_port: 7777
  125. variable_sip_from_uri: 505%40test-tls.astppbilling.org%3A7777
  126. variable_sip_from_host: test-tls.astppbilling.org
  127. variable_video_media_flow: disabled
  128. variable_text_media_flow: disabled
  129. variable_channel_name: sofia/default/505%40test-tls.astppbilling.org%3A7777
  130. variable_sip_call_id: ZTFkZmEzNGY2ZmQ3M2RkNjE1NTZjMDE5MGZjNzdiOTA.
  131. variable_sip_local_network_addr: 13.232.140.73
  132. variable_sip_network_ip: 117.247.91.162
  133. variable_sip_network_port: 40006
  134. variable_sip_invite_stamp: 1627543098829557
  135. variable_sip_received_ip: 117.247.91.162
  136. variable_sip_received_port: 40006
  137. variable_sip_via_protocol: tcp
  138. variable_sip_authorized: true
  139. variable_Event-Name: REQUEST_PARAMS
  140. variable_Core-UUID: aa5f78b3-2e05-4f6b-a835-2d410e4d0f4d
  141. variable_FreeSWITCH-Hostname: ip-172-31-5-221
  142. variable_FreeSWITCH-Switchname: ip-172-31-5-221
  143. variable_FreeSWITCH-IPv4: 172.31.5.221
  144. variable_FreeSWITCH-IPv6: %3A%3A1
  145. variable_Event-Date-Local: 2021-07-29%2007%3A18%3A18
  146. variable_Event-Date-GMT: Thu,%2029%20Jul%202021%2007%3A18%3A18%20GMT
  147. variable_Event-Date-Timestamp: 1627543098829557
  148. variable_Event-Calling-File: sofia.c
  149. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  150. variable_Event-Calling-Line-Number: 10542
  151. variable_Event-Sequence: 38621
  152. variable_sip_number_alias: 505
  153. variable_sip_auth_username: 505
  154. variable_sip_auth_realm: test-tls.astppbilling.org
  155. variable_number_alias: 505
  156. variable_requested_user_name: 505
  157. variable_requested_domain_name: test-tls.astppbilling.org
  158. variable_user_context: default
  159. variable_sipcall: true
  160. variable_sip_user: 505
  161. variable_accountcode: 4585185001
  162. variable_user_name: 505
  163. variable_domain_name: test-tls.astppbilling.org
  164. variable_sip_from_user_stripped: 505
  165. variable_sip_from_tag: d23bba43
  166. variable_sofia_profile_name: default
  167. variable_sofia_profile_url: sip%3Amod_sofia%4013.232.140.73%3A7777
  168. variable_recovery_profile_name: default
  169. variable_sip_full_via: SIP/2.0/TCP%20192.168.1.50%3A59931%3Bbranch%3Dz9hG4bK-d8754z-a13e6b0d562ce70d-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D40006
  170. variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.50%3A59931%3Bbranch%3Dz9hG4bK-d8754z-a13e6b0d562ce70d-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D40006
  171. variable_sip_full_from: %3Csip%3A505%40test-tls.astppbilling.org%3A7777%3Btransport%3DTCP%3E%3Btag%3Dd23bba43
  172. variable_sip_full_to: %3Csip%3A12344%40test-tls.astppbilling.org%3A7777%3Btransport%3DTCP%3E
  173. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  174. variable_sip_req_params: transport%3DTCP
  175. variable_sip_req_user: 12344
  176. variable_sip_req_port: 7777
  177. variable_sip_req_uri: 12344%40test-tls.astppbilling.org%3A7777
  178. variable_sip_req_host: test-tls.astppbilling.org
  179. variable_sip_to_params: transport%3DTCP
  180. variable_sip_to_user: 12344
  181. variable_sip_to_port: 7777
  182. variable_sip_to_uri: 12344%40test-tls.astppbilling.org%3A7777
  183. variable_sip_to_host: test-tls.astppbilling.org
  184. variable_sip_contact_params: transport%3DTCP
  185. variable_sip_contact_user: 505
  186. variable_sip_contact_port: 59931
  187. variable_sip_contact_uri: 505%40117.247.91.162%3A59931
  188. variable_sip_contact_host: 117.247.91.162
  189. variable_sip_user_agent: Z%203.3.25608%20r25552
  190. variable_sip_via_host: 192.168.1.50
  191. variable_sip_via_port: 59931
  192. variable_sip_via_rport: 40006
  193. variable_max_forwards: 70
  194. variable_presence_id: 505%40test-tls.astppbilling.org
  195. variable_sip_nat_detected: true
  196. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20117.247.91.162%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20117.247.91.162%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A
  197. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  198. variable_rtp_use_codec_string: PCMA,PCMU
  199. variable_remote_video_media_flow: inactive
  200. variable_remote_text_media_flow: inactive
  201. variable_remote_audio_media_flow: sendrecv
  202. variable_audio_media_flow: sendrecv
  203. variable_remote_media_ip: 117.247.91.162
  204. variable_remote_media_port: 8000
  205. variable_rtp_audio_recv_pt: 8
  206. variable_rtp_use_codec_name: PCMA
  207. variable_rtp_use_codec_rate: 8000
  208. variable_rtp_use_codec_ptime: 20
  209. variable_rtp_use_codec_channels: 1
  210. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  211. variable_read_codec: PCMA
  212. variable_original_read_codec: PCMA
  213. variable_read_rate: 8000
  214. variable_original_read_rate: 8000
  215. variable_write_codec: PCMA
  216. variable_write_rate: 8000
  217. variable_dtmf_type: rfc2833
  218. variable_endpoint_disposition: RECEIVED
  219. variable_call_uuid: 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  220. Hunt-Direction: inbound
  221. Hunt-Logical-Direction: inbound
  222. Hunt-Username: 505
  223. Hunt-Dialplan: XML
  224. Hunt-Caller-ID-Name: 505
  225. Hunt-Caller-ID-Number: 505
  226. Hunt-Orig-Caller-ID-Name: 505
  227. Hunt-Orig-Caller-ID-Number: 505
  228. Hunt-Network-Addr: 117.247.91.162
  229. Hunt-ANI: 505
  230. Hunt-Destination-Number: 12344
  231. Hunt-Unique-ID: 1e8cd357-5a57-4272-9a36-2de6ee3912c6
  232. Hunt-Source: mod_sofia
  233. Hunt-Context: default
  234. Hunt-Channel-Name: sofia/default/505%40test-tls.astppbilling.org%3A7777
  235. Hunt-Profile-Index: 1
  236. Hunt-Profile-Created-Time: 1627543098829557
  237. Hunt-Channel-Created-Time: 1627543098829557
  238. Hunt-Channel-Answered-Time: 0
  239. Hunt-Channel-Progress-Time: 0
  240. Hunt-Channel-Progress-Media-Time: 0
  241. Hunt-Channel-Hangup-Time: 0
  242. Hunt-Channel-Transfer-Time: 0
  243. Hunt-Channel-Resurrect-Time: 0
  244. Hunt-Channel-Bridged-Time: 0
  245. Hunt-Channel-Last-Hold: 0
  246. Hunt-Channel-Hold-Accum: 0
  247. Hunt-Screen-Bit: true
  248. Hunt-Privacy-Hide-Name: false
  249. Hunt-Privacy-Hide-Number: false
  250.  
  251.  
  252. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
  253. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
  254. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
  255. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
  256. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
  257. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 12344
  258. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '12344' limit 1
  259. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '12344' AND status=0 limit 1
  260. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '12344' and status=0 LIMIT 1
  261. 2021-07-29 07:18:18.849567 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] in custom Caller ID
  262. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 505 / 505
  263. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12344" LIMIT 1
  264. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12344"  AND domains.domain="any" limit 1
  265. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  266. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 4585185001]
  267. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4585185001" AND deleted = 0 limit 1
  268. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^12344.*' OR blocked_patterns = '^1234.*' OR blocked_patterns = '^123.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  269. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="12344" AND A.accountid = '7' limit 1
  270. 2021-07-29 07:18:18.849567 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 12344
  271. 2021-07-29 07:18:18.849567 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12344" LIMIT 1
  272. 2021-07-29 07:18:18.869531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="12344"  AND domains.domain="any" limit 1
  273. 2021-07-29 07:18:18.869531 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound
  274. 2021-07-29 07:18:18.869531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="12344" AND (accountid = 0 OR status = 1) LIMIT 1
  275. 2021-07-29 07:18:18.869531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^12344.*' OR patterns = '^1234.*' OR patterns = '^123.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  276. 2021-07-29 07:18:18.869531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '12344' OR number = '1234' OR number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '12344*' OR number = '1234*' OR number = '123*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '505' OR number = '50' OR number = '5' OR number ='--') OR (number = '505*' OR number = '50*' OR number = '5*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  277. 2021-07-29 07:18:18.869531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  278. 2021-07-29 07:18:18.869531 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '12344' OR routing_prefix = '1234' OR routing_prefix = '123' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  279. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  280. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7
  281. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 4585185001
  282. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 46.4643
  283. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  284. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
  285. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  286. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  287. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  288. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  289. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  290. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^12344.*' OR pattern = '^1234.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  291. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
  292. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  293. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 13
  294. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  295. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  296. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.02000
  297. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] comment :
  298. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  299. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 7
  300. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 1
  301. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  302. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  303. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your46.4643 balance Accountid 7 !!!
  304. 2021-07-29 07:18:18.889559 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins!
  305. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
  306. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 13
  307. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :1
  308. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^12344.*' OR pattern = '^1234.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1)  ORDER by FIELD(TR.trunk_id,1),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC
  309. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  310. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 19
  311. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^12344.*
  312. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination :
  313. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  314. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  315. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^12344.*
  316. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  317. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  318. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 1
  319. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : YourProvider
  320. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  321. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
  322. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
  323. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  324. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : YourTrunk
  325. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  326. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  327. 2021-07-29 07:18:18.889559 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
  328. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  329. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
  330. 2021-07-29 07:18:18.889559 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  331. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  332. <document type="freeswitch/xml">
  333. <section name="dialplan" description="ASTPP Dialplan">
  334. <action application="set" data="timezone=America/New_York" inline="true"/>
  335. <context name="default">
  336. <extension name="12344">
  337. <condition field="destination_number" expression="12344">
  338. <action application="set" data="effective_destination_number=12344"/>
  339. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  340. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  341. <action application="set" data="callstart=2021-07-29 07:18:18"/>
  342. <action application="set" data="hangup_after_bridge=true"/>
  343. <action application="set" data="continue_on_fail=TRUE"/>
  344. <action application="set" data="account_id=7"/>
  345. <action application="set" data="parent_id=0"/>
  346. <action application="set" data="entity_id=0"/>
  347. <action application="set" data="call_processed=internal"/>
  348. <action application="set" data="call_direction=outbound"/>
  349. <action application="set" data="accountname=default"/>
  350. <action application="set" data="filename1=astpp.pbx.lua"/>
  351. <action application="set" data="origination_rates=ID:13|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7"/>
  352. <action application="set" data="original_caller_id_name=505"/>
  353. <action application="set" data="original_caller_id_number=505"/>
  354.  
  355. <action application="set" data="effective_caller_id_name=505"/>
  356. <action application="set" data="effective_caller_id_number=505"/>
  357. <action application="set" data="calltype=STANDARD"/>
  358. <action application="set" data="termination_rates=ID:19|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3"/>
  359. <action application="set" data="trunk_id=1"/>
  360. <action application="set" data="provider_id=3"/>
  361. <action application="set" data="rate_flag=0"/>
  362. <action application="set" data="force_trunk_flag=13"/>
  363. <action application="export" data="presence_data=trunk_id=1"/>
  364. <action application="set" data="intcall=0"/>
  365. <action application="export" data="presence_data=x|||sahil(4585185001)|||^12344.* //  // 0.02000 // trunk_id=1|||YourTrunk // ^12344.* //  // 0.01000 // trunk_id=1|||STD|||117.247.91.162"/>
  366. <action application="bridge" data="[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/12344"/>
  367. </condition>
  368. </extension>
  369. </context>
  370. </section>
  371. </document>
  372. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 parsing [default->12344] continue=false
  373. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Regex (PASS) [12344] destination_number(12344) =~ /12344/ break=on-false
  374. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(effective_destination_number=12344)
  375. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  376. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  377. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(callstart=2021-07-29 07:18:18)
  378. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(hangup_after_bridge=true)
  379. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(continue_on_fail=TRUE)
  380. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(account_id=7)
  381. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(parent_id=0)
  382. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(entity_id=0)
  383. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(call_processed=internal)
  384. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(call_direction=outbound)
  385. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(accountname=default)
  386. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(filename1=astpp.pbx.lua)
  387. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(origination_rates=ID:13|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7)
  388. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(original_caller_id_name=505)
  389. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(original_caller_id_number=505)
  390. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(effective_caller_id_name=505)
  391. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(effective_caller_id_number=505)
  392. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(calltype=STANDARD)
  393. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(termination_rates=ID:19|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  394. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(trunk_id=1)
  395. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(provider_id=3)
  396. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(rate_flag=0)
  397. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(force_trunk_flag=13)
  398. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action export(presence_data=trunk_id=1)
  399. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action set(intcall=0)
  400. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action export(presence_data=x|||sahil(4585185001)|||^12344.* //  // 0.02000 // trunk_id=1|||YourTrunk // ^12344.* //  // 0.01000 // trunk_id=1|||STD|||117.247.91.162)
  401. Dialplan: sofia/default/505@test-tls.astppbilling.org:7777 Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/12344)
  402. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:287 (sofia/default/505@test-tls.astppbilling.org:7777) State Change CS_ROUTING -> CS_EXECUTE
  403. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:644 (sofia/default/505@test-tls.astppbilling.org:7777) State ROUTING going to sleep
  404. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:585 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_EXECUTE (Cur 1 Tot 12)
  405. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:651 (sofia/default/505@test-tls.astppbilling.org:7777) State EXECUTE
  406. 2021-07-29 07:18:18.889559 [DEBUG] mod_sofia.c:209 sofia/default/505@test-tls.astppbilling.org:7777 SOFIA EXECUTE
  407. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:329 sofia/default/505@test-tls.astppbilling.org:7777 Standard EXECUTE
  408. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(effective_destination_number=12344)
  409. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [effective_destination_number]=[12344]
  410. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(bridge_pre_execute_bleg_app=sched_hangup)
  411. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [bridge_pre_execute_bleg_app]=[sched_hangup]
  412. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  413. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  414. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(callstart=2021-07-29 07:18:18)
  415. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [callstart]=[2021-07-29 07:18:18]
  416. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(hangup_after_bridge=true)
  417. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [hangup_after_bridge]=[true]
  418. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(continue_on_fail=TRUE)
  419. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [continue_on_fail]=[TRUE]
  420. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(account_id=7)
  421. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [account_id]=[7]
  422. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(parent_id=0)
  423. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [parent_id]=[0]
  424. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(entity_id=0)
  425. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [entity_id]=[0]
  426. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(call_processed=internal)
  427. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [call_processed]=[internal]
  428. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(call_direction=outbound)
  429. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [call_direction]=[outbound]
  430. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(accountname=default)
  431. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [accountname]=[default]
  432. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(filename1=astpp.pbx.lua)
  433. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [filename1]=[astpp.pbx.lua]
  434. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(origination_rates=ID:13|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7)
  435. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [origination_rates]=[ID:13|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7]
  436. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(original_caller_id_name=505)
  437. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [original_caller_id_name]=[505]
  438. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(original_caller_id_number=505)
  439. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [original_caller_id_number]=[505]
  440. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(effective_caller_id_name=505)
  441. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [effective_caller_id_name]=[505]
  442. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(effective_caller_id_number=505)
  443. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [effective_caller_id_number]=[505]
  444. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(calltype=STANDARD)
  445. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [calltype]=[STANDARD]
  446. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(termination_rates=ID:19|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3)
  447. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [termination_rates]=[ID:19|CODE:^12344.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01000|INC:0|INITIALBLOCK:0|TRUNK:1|PROVIDER:3]
  448. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(trunk_id=1)
  449. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [trunk_id]=[1]
  450. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(provider_id=3)
  451. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [provider_id]=[3]
  452. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(rate_flag=0)
  453. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [rate_flag]=[0]
  454. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(force_trunk_flag=13)
  455. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [force_trunk_flag]=[13]
  456. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 export(presence_data=trunk_id=1)
  457. 2021-07-29 07:18:18.889559 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  458. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 set(intcall=0)
  459. 2021-07-29 07:18:18.889559 [DEBUG] mod_dptools.c:1672 SET sofia/default/505@test-tls.astppbilling.org:7777 [intcall]=[0]
  460. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 export(presence_data=x|||sahil(4585185001)|||^12344.* //  // 0.02000 // trunk_id=1|||YourTrunk // ^12344.* //  // 0.01000 // trunk_id=1|||STD|||117.247.91.162)
  461. 2021-07-29 07:18:18.889559 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||sahil(4585185001)|||^12344.* //  // 0.02000 // trunk_id=1|||YourTrunk // ^12344.* //  // 0.01000 // trunk_id=1|||STD|||117.247.91.162]
  462. EXECUTE [depth=0] sofia/default/505@test-tls.astppbilling.org:7777 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/12344)
  463. 2021-07-29 07:18:18.889559 [DEBUG] switch_channel.c:1264 sofia/default/505@test-tls.astppbilling.org:7777 EXPORTING[export_vars] [presence_data]=[x|||sahil(4585185001)|||^12344.* //  // 0.02000 // trunk_id=1|||YourTrunk // ^12344.* //  // 0.01000 // trunk_id=1|||STD|||117.247.91.162] to event
  464. 2021-07-29 07:18:18.889559 [DEBUG] switch_channel.c:1264 sofia/default/505@test-tls.astppbilling.org:7777 EXPORTING[export_vars] [presence_data]=[x|||sahil(4585185001)|||^12344.* //  // 0.02000 // trunk_id=1|||YourTrunk // ^12344.* //  // 0.01000 // trunk_id=1|||STD|||117.247.91.162] to event
  465. 2021-07-29 07:18:18.889559 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  466. 2021-07-29 07:18:18.889559 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  467. 2021-07-29 07:18:18.889559 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12344 [d419dc8a-1e11-40ed-b0d1-7c7533dafdbf]
  468. 2021-07-29 07:18:18.889559 [DEBUG] mod_sofia.c:5089 (sofia/default/12344) State Change CS_NEW -> CS_INIT
  469. 2021-07-29 07:18:18.889559 [DEBUG] switch_ivr_originate.c:3111 sofia/default/12344 Setting leg timeout to 30
  470. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12344) Running State Change CS_INIT (Cur 2 Tot 13)
  471. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12344) State INIT
  472. 2021-07-29 07:18:18.889559 [DEBUG] mod_sofia.c:93 sofia/default/12344 SOFIA INIT
  473. 2021-07-29 07:18:18.889559 [DEBUG] sofia_glue.c:1618 sofia/default/12344 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  474. Local SDP:
  475. v=0
  476. o=FreeSWITCH 1627525594 1627525595 IN IP4 13.232.140.73
  477. s=FreeSWITCH
  478. c=IN IP4 13.232.140.73
  479. t=0 0
  480. m=audio 17504 RTP/AVP 8 18 101
  481. a=rtpmap:8 PCMA/8000
  482. a=rtpmap:18 G729/8000
  483. a=rtpmap:101 telephone-event/8000
  484. a=fmtp:101 0-16
  485. a=ptime:20
  486. a=sendrecv
  487.  
  488. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:40 sofia/default/12344 Standard INIT
  489. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12344) State Change CS_INIT -> CS_ROUTING
  490. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12344) State INIT going to sleep
  491. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12344) Running State Change CS_ROUTING (Cur 2 Tot 13)
  492. 2021-07-29 07:18:18.889559 [DEBUG] sofia.c:7326 Channel sofia/default/12344 entering state [calling][0]
  493. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12344) State ROUTING
  494. 2021-07-29 07:18:18.889559 [DEBUG] mod_sofia.c:154 sofia/default/12344 SOFIA ROUTING
  495. 2021-07-29 07:18:18.889559 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12344) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  496. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12344) State ROUTING going to sleep
  497. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12344) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 13)
  498. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12344) State CONSUME_MEDIA
  499. 2021-07-29 07:18:18.889559 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12344) State CONSUME_MEDIA going to sleep
  500. 2021-07-29 07:18:19.649581 [DEBUG] sofia.c:7326 Channel sofia/default/12344 entering state [proceeding][180]
  501. 2021-07-29 07:18:19.649581 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/12344!
  502. 2021-07-29 07:18:19.649581 [DEBUG] switch_channel.c:3437 (sofia/default/12344) Callstate Change DOWN -> RINGING
  503. 2021-07-29 07:18:19.669575 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/505@test-tls.astppbilling.org:7777!
  504. 2021-07-29 07:18:19.669575 [DEBUG] sofia.c:7326 Channel sofia/default/505@test-tls.astppbilling.org:7777 entering state [early][180]
  505. 2021-07-29 07:18:19.669575 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/505@test-tls.astppbilling.org:7777!
  506. 2021-07-29 07:18:24.229556 [DEBUG] sofia.c:7326 Channel sofia/default/12344 entering state [completing][200]
  507. 2021-07-29 07:18:24.229556 [DEBUG] sofia.c:7336 Remote SDP:
  508. v=0
  509. o=root 623069609 623069609 IN IP4 159.203.131.36
  510. s=Asterisk PBX 16.4.0
  511. c=IN IP4 159.203.131.36
  512. t=0 0
  513. m=audio 18922 RTP/AVP 8 101
  514. a=rtpmap:8 PCMA/8000
  515. a=rtpmap:101 telephone-event/8000
  516. a=fmtp:101 0-16
  517. a=maxptime:150
  518.  
  519. 2021-07-29 07:18:24.229556 [DEBUG] sofia.c:7326 Channel sofia/default/12344 entering state [ready][200]
  520. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
  521. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  522. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
  523. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  524. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/12344 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  525. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_codec.c:111 sofia/default/12344 Original read codec set to PCMA:8
  526. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  527. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:5911 sofia/default/12344 Set 2833 dtmf send payload to 101 recv payload to 101
  528. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/12344] 172.31.5.221 port 17504 -> 159.203.131.36 port 18922 codec: 8 ms: 20
  529. 2021-07-29 07:18:24.229556 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  530. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:8977 sofia/default/12344 Set 2833 dtmf send payload to 101
  531. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:8984 sofia/default/12344 Set 2833 dtmf receive payload to 101
  532. 2021-07-29 07:18:24.229556 [DEBUG] switch_core_media.c:9007 sofia/default/12344 Set rtp dtmf delay to 40
  533. 2021-07-29 07:18:24.229556 [NOTICE] sofia.c:8504 Channel [sofia/default/12344] has been answered
  534. 2021-07-29 07:18:24.249555 [DEBUG] switch_channel.c:3865 (sofia/default/12344) Callstate Change RINGING -> ACTIVE
  535. 2021-07-29 07:18:24.249555 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/505@test-tls.astppbilling.org:7777] 172.31.5.221 port 18520 -> 117.247.91.162 port 8000 codec: 8 ms: 20
  536. 2021-07-29 07:18:24.249555 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  537. 2021-07-29 07:18:24.249555 [DEBUG] switch_core_media.c:8977 sofia/default/505@test-tls.astppbilling.org:7777 Set 2833 dtmf send payload to 101
  538. 2021-07-29 07:18:24.249555 [DEBUG] switch_core_media.c:8984 sofia/default/505@test-tls.astppbilling.org:7777 Set 2833 dtmf receive payload to 101
  539. 2021-07-29 07:18:24.249555 [DEBUG] switch_core_media.c:9007 sofia/default/505@test-tls.astppbilling.org:7777 Set rtp dtmf delay to 40
  540. 2021-07-29 07:18:24.249555 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/505@test-tls.astppbilling.org:7777:
  541. v=0
  542. o=FreeSWITCH 1627524584 1627524585 IN IP4 13.232.140.73
  543. s=FreeSWITCH
  544. c=IN IP4 13.232.140.73
  545. t=0 0
  546. m=audio 18520 RTP/AVP 8 101
  547. a=rtpmap:8 PCMA/8000
  548. a=rtpmap:101 telephone-event/8000
  549. a=fmtp:101 0-16
  550. a=ptime:20
  551. a=sendrecv
  552.  
  553. 2021-07-29 07:18:24.249555 [DEBUG] sofia.c:7326 Channel sofia/default/505@test-tls.astppbilling.org:7777 entering state [completed][200]
  554. 2021-07-29 07:18:24.249555 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/505@test-tls.astppbilling.org:7777] has been answered
  555. 2021-07-29 07:18:24.249555 [DEBUG] switch_channel.c:3865 (sofia/default/505@test-tls.astppbilling.org:7777) Callstate Change RINGING -> ACTIVE
  556. 2021-07-29 07:18:24.249555 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/12344]
  557. 2021-07-29 07:18:24.249555 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/12344) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  558. 2021-07-29 07:18:24.249555 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12344) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 13)
  559. 2021-07-29 07:18:24.249555 [DEBUG] switch_core_state_machine.c:654 (sofia/default/12344) State EXCHANGE_MEDIA
  560. 2021-07-29 07:18:24.249555 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  561. 2021-07-29 07:18:24.289580 [DEBUG] sofia.c:7326 Channel sofia/default/505@test-tls.astppbilling.org:7777 entering state [ready][200]
  562. 2021-07-29 07:18:24.369555 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  563. 2021-07-29 07:18:24.429579 [DEBUG] switch_ivr_bridge.c:655 sofia/default/12344 Bridge execute app sched_hangup(+6000 normal_clearing)
  564. 2021-07-29 07:18:24.449540 [DEBUG] switch_ivr.c:632 sofia/default/12344 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  565. EXECUTE [depth=0] sofia/default/12344 sched_hangup(+6000 normal_clearing)
  566. 2021-07-29 07:18:24.449540 [DEBUG] switch_scheduler.c:252 Added task 6 switch_ivr_schedule_hangup (d419dc8a-1e11-40ed-b0d1-7c7533dafdbf) to run at 1627549104
  567. 2021-07-29 07:18:24.509582 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  568. 2021-07-29 07:18:27.189627 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF *:1600
  569. 2021-07-29 07:18:27.189627 [INFO] switch_channel.c:522 RECV DTMF *:1600
  570. 2021-07-29 07:18:27.229556 [DEBUG] switch_rtp.c:5585 Send start packet for [*] ts=723202672 dur=160/160/1600 seq=39598 lw=723202672
  571. 2021-07-29 07:18:27.249555 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=320/320/1600 seq=39599 lw=723202832
  572. 2021-07-29 07:18:27.269591 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=480/480/1600 seq=39600 lw=723202992
  573. 2021-07-29 07:18:27.289595 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=640/640/1600 seq=39601 lw=723203152
  574. 2021-07-29 07:18:27.309560 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=800/800/1600 seq=39602 lw=723203312
  575. 2021-07-29 07:18:27.329560 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=960/960/1600 seq=39603 lw=723203472
  576. 2021-07-29 07:18:27.349558 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=1120/1120/1600 seq=39604 lw=723203632
  577. 2021-07-29 07:18:27.369556 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=1280/1280/1600 seq=39605 lw=723203792
  578. 2021-07-29 07:18:27.389580 [DEBUG] switch_rtp.c:5484 Send middle packet for [*] ts=723202672 dur=1440/1440/1600 seq=39606 lw=723203952
  579. 2021-07-29 07:18:27.409575 [DEBUG] switch_rtp.c:5484 Send end packet for [*] ts=723202672 dur=1600/1600/1600 seq=39607 lw=723203952
  580. 2021-07-29 07:18:27.409575 [DEBUG] switch_rtp.c:5484 Send end packet for [*] ts=723202672 dur=1600/1600/1600 seq=39608 lw=723203952
  581. 2021-07-29 07:18:27.409575 [DEBUG] switch_rtp.c:5484 Send end packet for [*] ts=723202672 dur=1600/1600/1600 seq=39609 lw=723203952
  582. 2021-07-29 07:18:27.409575 [DEBUG] switch_rtp.c:5432 Queue digit delay of 40ms
  583. 2021-07-29 07:18:28.149603 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 3:1440
  584. 2021-07-29 07:18:28.149603 [INFO] switch_channel.c:522 RECV DTMF 3:1440
  585. 2021-07-29 07:18:28.169560 [DEBUG] switch_rtp.c:5585 Send start packet for [3] ts=723210832 dur=160/160/1440 seq=39639 lw=723210832
  586. 2021-07-29 07:18:28.189575 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=320/320/1440 seq=39640 lw=723210992
  587. 2021-07-29 07:18:28.209581 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=480/480/1440 seq=39641 lw=723211152
  588. 2021-07-29 07:18:28.229560 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=640/640/1440 seq=39642 lw=723211312
  589. 2021-07-29 07:18:28.249561 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=800/800/1440 seq=39643 lw=723211472
  590. 2021-07-29 07:18:28.269577 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=960/960/1440 seq=39644 lw=723211632
  591. 2021-07-29 07:18:28.289599 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=1120/1120/1440 seq=39645 lw=723211792
  592. 2021-07-29 07:18:28.309581 [DEBUG] switch_rtp.c:5484 Send middle packet for [3] ts=723210832 dur=1280/1280/1440 seq=39646 lw=723211952
  593. 2021-07-29 07:18:28.329592 [DEBUG] switch_rtp.c:5484 Send end packet for [3] ts=723210832 dur=1440/1440/1440 seq=39647 lw=723211952
  594. 2021-07-29 07:18:28.329592 [DEBUG] switch_rtp.c:5484 Send end packet for [3] ts=723210832 dur=1440/1440/1440 seq=39648 lw=723211952
  595. 2021-07-29 07:18:28.329592 [DEBUG] switch_rtp.c:5484 Send end packet for [3] ts=723210832 dur=1440/1440/1440 seq=39649 lw=723211952
  596. 2021-07-29 07:18:28.329592 [DEBUG] switch_rtp.c:5432 Queue digit delay of 40ms
  597. 2021-07-29 07:18:32.349576 [NOTICE] sofia.c:1089 Hangup sofia/default/505@test-tls.astppbilling.org:7777 [CS_EXECUTE] [NORMAL_CLEARING]
  598. 2021-07-29 07:18:32.349576 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/505@test-tls.astppbilling.org:7777]
  599. 2021-07-29 07:18:32.349576 [DEBUG] switch_ivr_bridge.c:820 sofia/default/505@test-tls.astppbilling.org:7777 ending bridge by request from write function
  600. 2021-07-29 07:18:32.349576 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/12344]
  601. 2021-07-29 07:18:32.349576 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/12344 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  602. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:654 (sofia/default/12344) State EXCHANGE_MEDIA going to sleep
  603. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12344) Running State Change CS_HANGUP (Cur 2 Tot 13)
  604. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12344) Callstate Change ACTIVE -> HANGUP
  605. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12344) State HANGUP
  606. 2021-07-29 07:18:32.349576 [DEBUG] mod_sofia.c:447 sofia/default/12344 Overriding SIP cause 480 with 200 from the other leg
  607. 2021-07-29 07:18:32.349576 [DEBUG] mod_sofia.c:453 Channel sofia/default/12344 hanging up, cause: NORMAL_CLEARING
  608. 2021-07-29 07:18:32.349576 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/12344
  609. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:60 sofia/default/12344 Standard HANGUP, cause: NORMAL_CLEARING
  610. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12344) State HANGUP going to sleep
  611. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12344) State Change CS_HANGUP -> CS_REPORTING
  612. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12344) Running State Change CS_REPORTING (Cur 2 Tot 13)
  613. 2021-07-29 07:18:32.349576 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12344) State REPORTING
  614. 2021-07-29 07:18:32.349576 [INFO] mod_json_cdr.c:271 Process [d419dc8a-1e11-40ed-b0d1-7c7533dafdbf.cdr.json]
  615. 2021-07-29 07:18:32.369555 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/12344 skip receive message [UNBRIDGE] (channel is hungup already)
  616. 2021-07-29 07:18:32.369555 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/505@test-tls.astppbilling.org:7777 skip receive message [UNBRIDGE] (channel is hungup already)
  617. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_session.c:2905 sofia/default/505@test-tls.astppbilling.org:7777 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  618. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:651 (sofia/default/505@test-tls.astppbilling.org:7777) State EXECUTE going to sleep
  619. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:585 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_HANGUP (Cur 2 Tot 13)
  620. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:848 (sofia/default/505@test-tls.astppbilling.org:7777) Callstate Change ACTIVE -> HANGUP
  621. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:850 (sofia/default/505@test-tls.astppbilling.org:7777) State HANGUP
  622. 2021-07-29 07:18:32.369555 [DEBUG] mod_sofia.c:453 Channel sofia/default/505@test-tls.astppbilling.org:7777 hanging up, cause: NORMAL_CLEARING
  623. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:60 sofia/default/505@test-tls.astppbilling.org:7777 Standard HANGUP, cause: NORMAL_CLEARING
  624. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:850 (sofia/default/505@test-tls.astppbilling.org:7777) State HANGUP going to sleep
  625. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:620 (sofia/default/505@test-tls.astppbilling.org:7777) State Change CS_HANGUP -> CS_REPORTING
  626. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:585 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_REPORTING (Cur 2 Tot 13)
  627. 2021-07-29 07:18:32.369555 [DEBUG] switch_core_state_machine.c:936 (sofia/default/505@test-tls.astppbilling.org:7777) State REPORTING
  628. 2021-07-29 07:18:32.369555 [INFO] mod_json_cdr.c:271 Process [1e8cd357-5a57-4272-9a36-2de6ee3912c6.cdr.json]
  629. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:174 sofia/default/12344 Standard REPORTING, cause: NORMAL_CLEARING
  630. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12344) State REPORTING going to sleep
  631. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12344) State Change CS_REPORTING -> CS_DESTROY
  632. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_session.c:1726 Session 13 (sofia/default/12344) Locked, Waiting on external entities
  633. 2021-07-29 07:18:32.389592 [NOTICE] switch_core_session.c:1744 Session 13 (sofia/default/12344) Ended
  634. 2021-07-29 07:18:32.389592 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/12344 [CS_DESTROY]
  635. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12344) Running State Change CS_DESTROY (Cur 1 Tot 13)
  636. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12344) State DESTROY
  637. 2021-07-29 07:18:32.389592 [DEBUG] mod_sofia.c:364 sofia/default/12344 SOFIA DESTROY
  638. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:181 sofia/default/12344 Standard DESTROY
  639. 2021-07-29 07:18:32.389592 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12344) State DESTROY going to sleep
  640. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:174 sofia/default/505@test-tls.astppbilling.org:7777 Standard REPORTING, cause: NORMAL_CLEARING
  641. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:936 (sofia/default/505@test-tls.astppbilling.org:7777) State REPORTING going to sleep
  642. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:611 (sofia/default/505@test-tls.astppbilling.org:7777) State Change CS_REPORTING -> CS_DESTROY
  643. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_session.c:1726 Session 12 (sofia/default/505@test-tls.astppbilling.org:7777) Locked, Waiting on external entities
  644. 2021-07-29 07:18:32.409552 [NOTICE] switch_core_session.c:1744 Session 12 (sofia/default/505@test-tls.astppbilling.org:7777) Ended
  645. 2021-07-29 07:18:32.409552 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/505@test-tls.astppbilling.org:7777 [CS_DESTROY]
  646. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:739 (sofia/default/505@test-tls.astppbilling.org:7777) Running State Change CS_DESTROY (Cur 0 Tot 13)
  647. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:749 (sofia/default/505@test-tls.astppbilling.org:7777) State DESTROY
  648. 2021-07-29 07:18:32.409552 [DEBUG] mod_sofia.c:364 sofia/default/505@test-tls.astppbilling.org:7777 SOFIA DESTROY
  649. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:181 sofia/default/505@test-tls.astppbilling.org:7777 Standard DESTROY
  650. 2021-07-29 07:18:32.409552 [DEBUG] switch_core_state_machine.c:749 (sofia/default/505@test-tls.astppbilling.org:7777) State DESTROY going to sleep
  651. 2021-07-29 07:18:32.469578 [DEBUG] switch_scheduler.c:147 Deleting task 6 switch_ivr_schedule_hangup (d419dc8a-1e11-40ed-b0d1-7c7533dafdbf)
  652.