From Recording, 1 Month ago, written in Lua.
- go back
Embed
Viewing differences between and Recording
  1. 2024-11-13 09:59:49.893492 96.40% [NOTICE] switch_channel.c:1142 New Channel sofia/default/3055794593@gohil.astppbilling.org:5067 [340a12da-b8ad-4cdc-9779-f59e86059cc0]
  2. 2024-11-13 09:59:49.893492 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_NEW (Cur 1 Tot 3684)
  3. 2024-11-13 09:59:49.893492 96.40% [INFO] sofia.c:10459 sofia/default/3055794593@gohil.astppbilling.org:5067 receiving invite from 103.240.76.66:23696 version: 1.10.10-release  64bit call-id: OGQ5MWFkMjYxOWQ2MjI1MTIyODhkMzNjODhmM2YyMjg.
  4. 2024-11-13 09:59:49.893492 96.40% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.76.66:0.
  5. 2024-11-13 09:59:49.893492 96.40% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [1233232@gohil.astppbilling.org] from ip 103.240.76.66
  6. 2024-11-13 09:59:49.893492 96.40% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3055794593@gohil.astppbilling.org:5067) State NEW
  7. 2024-11-13 09:59:49.893492 96.40% [DEBUG] sofia.c:2419 detaching session 340a12da-b8ad-4cdc-9779-f59e86059cc0
  8. 2024-11-13 09:59:50.233485 96.40% [DEBUG] sofia.c:2532 Re-attaching to session 340a12da-b8ad-4cdc-9779-f59e86059cc0
  9. 2024-11-13 09:59:50.233485 96.40% [INFO] sofia.c:10459 sofia/default/3055794593@gohil.astppbilling.org:5067 receiving invite from 103.240.76.66:23696 version: 1.10.10-release  64bit call-id: OGQ5MWFkMjYxOWQ2MjI1MTIyODhkMzNjODhmM2YyMjg.
  10. 2024-11-13 09:59:50.233485 96.40% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.240.76.66:0.
  11. 2024-11-13 09:59:50.273443 96.40% [DEBUG] sofia.c:11674 Setting NAT mode based on via received
  12. 2024-11-13 09:59:50.273443 96.40% [DEBUG] sofia.c:7493 Channel sofia/default/3055794593@gohil.astppbilling.org:5067 entering state [received][100]
  13. 2024-11-13 09:59:50.273443 96.40% [DEBUG] sofia.c:7503 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.240.76.66
  16. s=Z
  17. c=IN IP4 103.240.76.66
  18. t=0 0
  19. m=audio 24192 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. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  39. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/3055794593@gohil.astppbilling.org:5067 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_codec.c:111 sofia/default/3055794593@gohil.astppbilling.org:5067 Original read codec set to PCMA:8
  41. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  42. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_media.c:5856 sofia/default/3055794593@gohil.astppbilling.org:5067 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2024-11-13 09:59:50.273443 96.40% [DEBUG] sofia.c:7927 (sofia/default/3055794593@gohil.astppbilling.org:5067) State Change CS_NEW -> CS_INIT
  44. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_INIT (Cur 1 Tot 3684)
  45. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3055794593@gohil.astppbilling.org:5067) State INIT
  46. 2024-11-13 09:59:50.273443 96.40% [DEBUG] mod_sofia.c:97 sofia/default/3055794593@gohil.astppbilling.org:5067 SOFIA INIT
  47. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:40 sofia/default/3055794593@gohil.astppbilling.org:5067 Standard INIT
  48. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3055794593@gohil.astppbilling.org:5067) State Change CS_INIT -> CS_ROUTING
  49. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3055794593@gohil.astppbilling.org:5067) State INIT going to sleep
  50. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_ROUTING (Cur 1 Tot 3684)
  51. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_channel.c:2399 (sofia/default/3055794593@gohil.astppbilling.org:5067) Callstate Change DOWN -> RINGING
  52. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3055794593@gohil.astppbilling.org:5067) State ROUTING
  53. 2024-11-13 09:59:50.273443 96.40% [DEBUG] mod_sofia.c:158 sofia/default/3055794593@gohil.astppbilling.org:5067 SOFIA ROUTING
  54. 2024-11-13 09:59:50.273443 96.40% [DEBUG] switch_core_state_machine.c:230 sofia/default/3055794593@gohil.astppbilling.org:5067 Standard ROUTING
  55. 2024-11-13 09:59:50.273443 96.40% [INFO] mod_dialplan_xml.c:639 Processing 3055794593 <3055794593>->1233232 in context default
  56. 2024-11-13 09:59:50.293459 96.40% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2024-11-13 09:59:50.313472 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2024-11-13 09:59:50.313472 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code','vanity_number')
  59. 2024-11-13 09:59:50.313472 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2024-11-13 09:59:50.333498 96.20% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  61. Event-Name: REQUEST_PARAMS
  62. Core-UUID: 268ca514-b253-4173-ae77-aae417b194b3
  63. FreeSWITCH-Hostname: debian-4gb-hel1-1
  64. FreeSWITCH-Switchname: debian-4gb-hel1-1
  65. FreeSWITCH-IPv4: 95.217.157.72
  66. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac012%3Ae10e%3A%3A1
  67. Event-Date-Local: 2024-11-13%2009%3A59%3A50
  68. Event-Date-GMT: Wed,%2013%20Nov%202024%2009%3A59%3A50%20GMT
  69. Event-Date-Timestamp: 1731491990273443
  70. Event-Calling-File: mod_dialplan_xml.c
  71. Event-Calling-Function: dialplan_xml_locate
  72. Event-Calling-Line-Number: 610
  73. Event-Sequence: 641379
  74. Channel-State: CS_ROUTING
  75. Channel-Call-State: RINGING
  76. Channel-State-Number: 2
  77. Channel-Name: sofia/default/3055794593%40gohil.astppbilling.org%3A5067
  78. Unique-ID: 340a12da-b8ad-4cdc-9779-f59e86059cc0
  79. Call-Direction: inbound
  80. Presence-Call-Direction: inbound
  81. Channel-HIT-Dialplan: true
  82. Channel-Presence-ID: 3055794593%40gohil.astppbilling.org
  83. Channel-Call-UUID: 340a12da-b8ad-4cdc-9779-f59e86059cc0
  84. Answer-State: ringing
  85. Channel-Read-Codec-Name: PCMA
  86. Channel-Read-Codec-Rate: 8000
  87. Channel-Read-Codec-Bit-Rate: 64000
  88. Channel-Write-Codec-Name: PCMA
  89. Channel-Write-Codec-Rate: 8000
  90. Channel-Write-Codec-Bit-Rate: 64000
  91. Caller-Direction: inbound
  92. Caller-Logical-Direction: inbound
  93. Caller-Username: 3055794593
  94. Caller-Dialplan: XML
  95. Caller-Caller-ID-Name: 3055794593
  96. Caller-Caller-ID-Number: 3055794593
  97. Caller-Orig-Caller-ID-Name: 3055794593
  98. Caller-Orig-Caller-ID-Number: 3055794593
  99. Caller-Network-Addr: 103.240.76.66
  100. Caller-ANI: 3055794593
  101. Caller-Destination-Number: 1233232
  102. Caller-Unique-ID: 340a12da-b8ad-4cdc-9779-f59e86059cc0
  103. Caller-Source: mod_sofia
  104. Caller-Context: default
  105. Caller-Channel-Name: sofia/default/3055794593%40gohil.astppbilling.org%3A5067
  106. Caller-Profile-Index: 1
  107. Caller-Profile-Created-Time: 1731491990273443
  108. Caller-Channel-Created-Time: 1731491990273443
  109. Caller-Channel-Answered-Time: 0
  110. Caller-Channel-Progress-Time: 0
  111. Caller-Channel-Progress-Media-Time: 0
  112. Caller-Channel-Hangup-Time: 0
  113. Caller-Channel-Transfer-Time: 0
  114. Caller-Channel-Resurrect-Time: 0
  115. Caller-Channel-Bridged-Time: 0
  116. Caller-Channel-Last-Hold: 0
  117. Caller-Channel-Hold-Accum: 0
  118. Caller-Screen-Bit: true
  119. Caller-Privacy-Hide-Name: false
  120. Caller-Privacy-Hide-Number: false
  121. variable_direction: inbound
  122. variable_uuid: 340a12da-b8ad-4cdc-9779-f59e86059cc0
  123. variable_session_id: 3684
  124. variable_sip_from_params: transport%3DTCP
  125. variable_sip_from_user: 3055794593
  126. variable_sip_from_port: 5067
  127. variable_sip_from_uri: 3055794593%40gohil.astppbilling.org%3A5067
  128. variable_sip_from_host: gohil.astppbilling.org
  129. variable_video_media_flow: disabled
  130. variable_text_media_flow: disabled
  131. variable_channel_name: sofia/default/3055794593%40gohil.astppbilling.org%3A5067
  132. variable_sip_call_id: OGQ5MWFkMjYxOWQ2MjI1MTIyODhkMzNjODhmM2YyMjg.
  133. variable_sip_local_network_addr: 95.217.157.72
  134. variable_sip_network_ip: 103.240.76.66
  135. variable_sip_network_port: 23696
  136. variable_sip_invite_stamp: 1731491990233485
  137. variable_sip_received_ip: 103.240.76.66
  138. variable_sip_received_port: 23696
  139. variable_sip_via_protocol: tcp
  140. variable_sip_authorized: true
  141. variable_Event-Name: REQUEST_PARAMS
  142. variable_Core-UUID: 268ca514-b253-4173-ae77-aae417b194b3
  143. variable_FreeSWITCH-Hostname: debian-4gb-hel1-1
  144. variable_FreeSWITCH-Switchname: debian-4gb-hel1-1
  145. variable_FreeSWITCH-IPv4: 95.217.157.72
  146. variable_FreeSWITCH-IPv6: 2a01%3A4f9%3Ac012%3Ae10e%3A%3A1
  147. variable_Event-Date-Local: 2024-11-13%2009%3A59%3A50
  148. variable_Event-Date-GMT: Wed,%2013%20Nov%202024%2009%3A59%3A50%20GMT
  149. variable_Event-Date-Timestamp: 1731491990233485
  150. variable_Event-Calling-File: sofia.c
  151. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  152. variable_Event-Calling-Line-Number: 10722
  153. variable_Event-Sequence: 641370
  154. variable_sip_number_alias: 3055794593
  155. variable_sip_auth_username: 3055794593
  156. variable_sip_auth_realm: gohil.astppbilling.org
  157. variable_number_alias: 3055794593
  158. variable_requested_user_name: 3055794593
  159. variable_requested_domain_name: gohil.astppbilling.org
  160. variable_privacy: 1
  161. variable_sip-force-expires: 1800
  162. variable_sipcall: true
  163. variable_sip_user: 3055794593
  164. variable_accountcode: 4727985745
  165. variable_reseller_id: 0
  166. variable_accountid: 2
  167. variable_sipStatus: 1
  168. variable_user_name: 3055794593
  169. variable_domain_name: gohil.astppbilling.org
  170. variable_sip_from_user_stripped: 3055794593
  171. variable_sip_from_tag: 1b6a9568
  172. variable_sofia_profile_name: default
  173. variable_sofia_profile_url: sip%3Amod_sofia%4095.217.157.72%3A5067
  174. variable_recovery_profile_name: default
  175. variable_sip_full_via: SIP/2.0/TCP%20192.168.0.108%3A47884%3Bbranch%3Dz9hG4bK-d8754z-2d5b138ab48c9af8-1---d8754z-%3Breceived%3D103.240.76.66%3Brport%3D23696
  176. variable_sip_recover_via: SIP/2.0/TCP%20192.168.0.108%3A47884%3Bbranch%3Dz9hG4bK-d8754z-2d5b138ab48c9af8-1---d8754z-%3Breceived%3D103.240.76.66%3Brport%3D23696
  177. variable_sip_full_from: %3Csip%3A3055794593%40gohil.astppbilling.org%3A5067%3Btransport%3DTCP%3E%3Btag%3D1b6a9568
  178. variable_sip_full_to: %3Csip%3A1233232%40gohil.astppbilling.org%3A5067%3Btransport%3DTCP%3E
  179. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  180. variable_sip_req_params: transport%3DTCP
  181. variable_sip_req_user: 1233232
  182. variable_sip_req_port: 5067
  183. variable_sip_req_uri: 1233232%40gohil.astppbilling.org%3A5067
  184. variable_sip_req_host: gohil.astppbilling.org
  185. variable_sip_to_params: transport%3DTCP
  186. variable_sip_to_user: 1233232
  187. variable_sip_to_port: 5067
  188. variable_sip_to_uri: 1233232%40gohil.astppbilling.org%3A5067
  189. variable_sip_to_host: gohil.astppbilling.org
  190. variable_sip_contact_params: transport%3DTCP
  191. variable_sip_contact_user: 3055794593
  192. variable_sip_contact_port: 23658
  193. variable_sip_contact_uri: 3055794593%40103.240.76.66%3A23658
  194. variable_sip_contact_host: 103.240.76.66
  195. variable_sip_user_agent: Z%203.3.25608%20r25552
  196. variable_sip_via_host: 192.168.0.108
  197. variable_sip_via_port: 47884
  198. variable_sip_via_rport: 23696
  199. variable_max_forwards: 70
  200. variable_presence_id: 3055794593%40gohil.astppbilling.org
  201. variable_sip_nat_detected: true
  202. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.240.76.66%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.240.76.66%0D%0At%3D0%200%0D%0Am%3Daudio%2024192%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
  203. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  204. variable_rtp_use_codec_string: PCMA,PCMU
  205. variable_remote_video_media_flow: inactive
  206. variable_remote_text_media_flow: inactive
  207. variable_remote_audio_media_flow: sendrecv
  208. variable_audio_media_flow: sendrecv
  209. variable_remote_media_ip: 103.240.76.66
  210. variable_remote_media_port: 24192
  211. variable_rtp_audio_recv_pt: 8
  212. variable_rtp_use_codec_name: PCMA
  213. variable_rtp_use_codec_rate: 8000
  214. variable_rtp_use_codec_ptime: 20
  215. variable_rtp_use_codec_channels: 1
  216. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  217. variable_read_codec: PCMA
  218. variable_original_read_codec: PCMA
  219. variable_read_rate: 8000
  220. variable_original_read_rate: 8000
  221. variable_write_codec: PCMA
  222. variable_write_rate: 8000
  223. variable_dtmf_type: rfc2833
  224. variable_endpoint_disposition: RECEIVED
  225. variable_call_uuid: 340a12da-b8ad-4cdc-9779-f59e86059cc0
  226. Hunt-Direction: inbound
  227. Hunt-Logical-Direction: inbound
  228. Hunt-Username: 3055794593
  229. Hunt-Dialplan: XML
  230. Hunt-Caller-ID-Name: 3055794593
  231. Hunt-Caller-ID-Number: 3055794593
  232. Hunt-Orig-Caller-ID-Name: 3055794593
  233. Hunt-Orig-Caller-ID-Number: 3055794593
  234. Hunt-Network-Addr: 103.240.76.66
  235. Hunt-ANI: 3055794593
  236. Hunt-Destination-Number: 1233232
  237. Hunt-Unique-ID: 340a12da-b8ad-4cdc-9779-f59e86059cc0
  238. Hunt-Source: mod_sofia
  239. Hunt-Context: default
  240. Hunt-Channel-Name: sofia/default/3055794593%40gohil.astppbilling.org%3A5067
  241. Hunt-Profile-Index: 1
  242. Hunt-Profile-Created-Time: 1731491990273443
  243. Hunt-Channel-Created-Time: 1731491990273443
  244. Hunt-Channel-Answered-Time: 0
  245. Hunt-Channel-Progress-Time: 0
  246. Hunt-Channel-Progress-Media-Time: 0
  247. Hunt-Channel-Hangup-Time: 0
  248. Hunt-Channel-Transfer-Time: 0
  249. Hunt-Channel-Resurrect-Time: 0
  250. Hunt-Channel-Bridged-Time: 0
  251. Hunt-Channel-Last-Hold: 0
  252. Hunt-Channel-Hold-Accum: 0
  253. Hunt-Screen-Bit: true
  254. Hunt-Privacy-Hide-Name: false
  255. Hunt-Privacy-Hide-Number: false
  256.  
  257.  
  258. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  259. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  260. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  261. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  262. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  263. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1233232
  264. 2024-11-13 09:59:50.333498 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1233232' limit 1
  265. 2024-11-13 09:59:50.333498 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1233232' AND status=0 limit 1
  266. 2024-11-13 09:59:50.333498 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1233232' and status=0 LIMIT 1
  267. 2024-11-13 09:59:50.333498 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER3055794593
  268. 2024-11-13 09:59:50.333498 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  269. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'gohil.astppbilling.org' limit 1
  270. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '2' and username = '1233232' limit 1
  271. 2024-11-13 09:59:50.353449 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 3055794593 / 3055794593
  272. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2
  273. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 123323 AND status=0 limit 1
  274. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 1233232 ORDER BY LENGTH(A.number) DESC LIMIT 1
  275. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  276. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="1233232"  AND domains.domain="gohil.astppbilling.org" limit 1
  277. 2024-11-13 09:59:50.353449 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  278. 2024-11-13 09:59:50.353449 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4727985745]
  279. 2024-11-13 09:59:50.353449 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "4727985745" OR id = "4727985745") AND deleted = 0 limit 1
  280. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1233232.*' OR blocked_patterns = '^123323.*' OR blocked_patterns = '^12332.*' OR blocked_patterns = '^1233.*' OR blocked_patterns = '^123.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 2 limit 1
  281. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number = 1233232 AND (accountid = 0 OR status = 1) LIMIT 1
  282. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [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 P.is_terminated = 0 AND (patterns = '^1233232.*' OR patterns = '^123323.*' OR patterns = '^12332.*' OR patterns = '^1233.*' OR patterns = '^123.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC
  283. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [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 ="1233232" AND A.accountid = '2' limit 1
  284. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 1233232
  285. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 1233232 ORDER BY LENGTH(A.number) DESC LIMIT 1
  286. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  287. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [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,sip_devices.codec as sip_codec 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="1233232"  AND domains.domain="gohil.astppbilling.org" limit 1
  288. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  289. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '1233232' OR number = '123323' OR number = '12332' OR number = '1233' OR number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '1233232*' OR number = '123323*' OR number = '12332*' OR number = '1233*' OR number = '123*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '3055794593' OR number = '305579459' OR number = '30557945' OR number = '3055794' OR number = '305579' OR number = '30557' OR number = '3055' OR number = '305' OR number = '30' OR number = '3' OR number ='--') OR (number = '3055794593*' OR number = '305579459*' OR number = '30557945*' OR number = '3055794*' OR number = '305579*' OR number = '30557*' OR number = '3055*' OR number = '305*' OR number = '30*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  290. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  291. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '1233232' OR routing_prefix = '123323' OR routing_prefix = '12332' OR routing_prefix = '1233' OR routing_prefix = '123' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  292. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  293. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2
  294. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4727985745
  295. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 486.6666
  296. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  297. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
  298. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  299. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  300. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  301. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  302. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  303. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^1233232.*' OR pattern = '^123323.*' OR pattern = '^12332.*' OR pattern = '^1233.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^3055794593.*' OR caller_id_pattern = '^305579459.*' OR caller_id_pattern = '^30557945.*' OR caller_id_pattern = '^3055794.*' OR caller_id_pattern = '^305579.*' OR caller_id_pattern = '^30557.*' OR caller_id_pattern = '^3055.*' OR caller_id_pattern = '^305.*' OR caller_id_pattern = '^30.*' OR caller_id_pattern = '^3.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=2)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  304. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  305. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  306. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  307. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  308. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  309. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 40.0000000000
  310. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
  311. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  312. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2
  313. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  314. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  315. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  316. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your486.6666 balance Accountid 2 !!!
  317. 2024-11-13 09:59:50.393482 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 12.166665 minutes
  318. 2024-11-13 09:59:50.393482 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] rate_carrier_id:
  319. 2024-11-13 09:59:50.393482 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate country_id: 0
  320. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
  321. 2024-11-13 09:59:50.393482 96.20% [WARNING] switch_cpp.cpp:1465 [ASTPP] or_country_id :0
  322. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS from routing] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
  323. 2024-11-13 09:59:50.393482 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^1233232.*' OR pattern = '^123323.*' OR pattern = '^12332.*' OR pattern = '^1233.*' OR pattern = '^123.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  324. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  325. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  326. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
  327. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
  328. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  329. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  330. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
  331. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  332. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  333. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
  334. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
  335. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  336. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  337. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
  338. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  339. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  340. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2 AND status=0 LIMIT 1
  341. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 12.166665
  342. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '3055794593' and status = 0 limit 1
  343. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  344. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
  345. 2024-11-13 09:59:50.413476 96.20% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  346. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  347. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [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
  348. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
  349. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  350. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number = 1233232 ORDER BY LENGTH(A.number) DESC LIMIT 1
  351. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  352. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  353. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  354. <document type="freeswitch/xml">
  355. <section name="dialplan" description="ASTPP Dialplan">
  356. <context name="default">
  357. <extension name="1233232">
  358. <condition field="destination_number" expression="1233232">
  359. <action application="set" data="effective_destination_number=1233232"/>
  360. <action application="set" data="execute_on_answer_1=sched_hangup +729.9999 normal_clearing"/>
  361. <action application="set" data="type=0"/>
  362. <action application="set" data="callstart=2024-11-13 09:59:50"/>
  363. <action application="set" data="hangup_after_bridge=true"/>
  364. <action application="set" data="continue_on_fail=TRUE"/>
  365. <action application="set" data="account_id=2"/>
  366. <action application="set" data="parent_id=0"/>
  367. <action application="set" data="entity_id=0"/>
  368. <action application="set" data="call_processed=internal"/>
  369. <action application="set" data="call_direction=outbound"/>
  370. <action application="set" data="accountname=default"/>
  371. <action application="set" data="origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:40.0000000000|INC:60|INITIALBLOCK:10|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2"/>
  372. <action application="set" data="original_caller_id_name=3055794593"/>
  373. <action application="set" data="original_caller_id_number=3055794593"/>
  374.  
  375. <action application="export" data="is_recording=1"/>
  376. <action application="export" data="media_bug_answer_req=true"/>
  377. <action application="export" data="RECORD_STEREO=true"/>
  378. <action application="export" data="record_sample_rate=8000"/>
  379. <action application="export" data="execute_on_pre_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>
  380. <action application="set" data="effective_caller_id_name=3055794593"/>
  381. <action application="set" data="effective_caller_id_number=3055794593"/>
  382. <action application="set" data="calltype=STANDARD"/>
  383. <action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:20.0000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
  384. <action application="set" data="trunk_id=1"/>
  385. <action application="set" data="provider_id=3"/>
  386. <action application="set" data="rate_flag=0"/>
  387. <action application="set" data="daily_call_credit_limit=0.00000"/>
  388. <action application="set" data="monthly_call_credit_limit=0.00000"/>
  389. <action application="set" data="daily_call_used_limit=0.00000"/>
  390. <action application="set" data="monthly_call_used_limit=0.00000"/>
  391. <action application="set" data="quality_trunk_seq=1"/>
  392. <action application="set" data="force_trunk_flag=0"/>
  393. <action application="export" data="presence_data=trunk_id=1"/>
  394. <action application="set" data="intcall=0"/>
  395. <action application="export" data="presence_id=1233232"/>
  396. <action application="export" data="presence_data=x|||ASTPP(4727985745)|||^1.* // USA // 40.0000000000|||YourTrunk // ^1.* // USA // 20.0000000000 // trunk_id=1|||STD|||103.240.76.66"/>
  397. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1233232"/>
  398. </condition>
  399. </extension>
  400. </context>
  401. </section>
  402. </document>
  403. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 parsing [default->1233232] continue=false
  404. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Regex (PASS) [1233232] destination_number(1233232) =~ /1233232/ break=on-false
  405. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(effective_destination_number=1233232)
  406. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(execute_on_answer_1=sched_hangup +729.9999 normal_clearing)
  407. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(type=0)
  408. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(callstart=2024-11-13 09:59:50)
  409. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(hangup_after_bridge=true)
  410. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(continue_on_fail=TRUE)
  411. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(account_id=2)
  412. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(parent_id=0)
  413. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(entity_id=0)
  414. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(call_processed=internal)
  415. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(call_direction=outbound)
  416. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(accountname=default)
  417. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:40.0000000000|INC:60|INITIALBLOCK:10|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  418. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(original_caller_id_name=3055794593)
  419. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(original_caller_id_number=3055794593)
  420. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(is_recording=1)
  421. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(media_bug_answer_req=true)
  422. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(RECORD_STEREO=true)
  423. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(record_sample_rate=8000)
  424. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(execute_on_pre_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  425. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(effective_caller_id_name=3055794593)
  426. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(effective_caller_id_number=3055794593)
  427. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(calltype=STANDARD)
  428. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:20.0000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  429. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(trunk_id=1)
  430. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(provider_id=3)
  431. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(rate_flag=0)
  432. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(daily_call_credit_limit=0.00000)
  433. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(monthly_call_credit_limit=0.00000)
  434. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(daily_call_used_limit=0.00000)
  435. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(monthly_call_used_limit=0.00000)
  436. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(quality_trunk_seq=1)
  437. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(force_trunk_flag=0)
  438. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(presence_data=trunk_id=1)
  439. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action set(intcall=0)
  440. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(presence_id=1233232)
  441. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action export(presence_data=x|||ASTPP(4727985745)|||^1.* // USA // 40.0000000000|||YourTrunk // ^1.* // USA // 20.0000000000 // trunk_id=1|||STD|||103.240.76.66)
  442. Dialplan: sofia/default/3055794593@gohil.astppbilling.org:5067 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1233232)
  443. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3055794593@gohil.astppbilling.org:5067) State Change CS_ROUTING -> CS_EXECUTE
  444. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3055794593@gohil.astppbilling.org:5067) State ROUTING going to sleep
  445. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_EXECUTE (Cur 1 Tot 3684)
  446. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3055794593@gohil.astppbilling.org:5067) State EXECUTE
  447. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_sofia.c:213 sofia/default/3055794593@gohil.astppbilling.org:5067 SOFIA EXECUTE
  448. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_core_state_machine.c:323 sofia/default/3055794593@gohil.astppbilling.org:5067 Standard EXECUTE
  449. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(effective_destination_number=1233232)
  450. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [effective_destination_number]=[1233232]
  451. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(execute_on_answer_1=sched_hangup +729.9999 normal_clearing)
  452. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [execute_on_answer_1]=[sched_hangup +729.9999 normal_clearing]
  453. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(type=0)
  454. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [type]=[0]
  455. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(callstart=2024-11-13 09:59:50)
  456. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [callstart]=[2024-11-13 09:59:50]
  457. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(hangup_after_bridge=true)
  458. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [hangup_after_bridge]=[true]
  459. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(continue_on_fail=TRUE)
  460. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [continue_on_fail]=[TRUE]
  461. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(account_id=2)
  462. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [account_id]=[2]
  463. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(parent_id=0)
  464. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [parent_id]=[0]
  465. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(entity_id=0)
  466. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [entity_id]=[0]
  467. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(call_processed=internal)
  468. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [call_processed]=[internal]
  469. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(call_direction=outbound)
  470. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [call_direction]=[outbound]
  471. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(accountname=default)
  472. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [accountname]=[default]
  473. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(origination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:40.0000000000|INC:60|INITIALBLOCK:10|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2)
  474. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [origination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:40.0000000000|INC:60|INITIALBLOCK:10|RATEGROUP:1|MARKUP:0|CI:0|ACCID:2]
  475. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(original_caller_id_name=3055794593)
  476. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [original_caller_id_name]=[3055794593]
  477. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(original_caller_id_number=3055794593)
  478. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [original_caller_id_number]=[3055794593]
  479. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(is_recording=1)
  480. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1]
  481. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(media_bug_answer_req=true)
  482. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true]
  483. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(RECORD_STEREO=true)
  484. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [RECORD_STEREO]=[true]
  485. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(record_sample_rate=8000)
  486. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000]
  487. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(execute_on_pre_answer_2=record_session /usr/local/freeswitch/recordings/340a12da-b8ad-4cdc-9779-f59e86059cc0.wav)
  488. 2024-11-13 09:59:50.413476 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_pre_answer_2]=[record_session /usr/local/freeswitch/recordings/340a12da-b8ad-4cdc-9779-f59e86059cc0.wav]
  489. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(effective_caller_id_name=3055794593)
  490. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [effective_caller_id_name]=[3055794593]
  491. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(effective_caller_id_number=3055794593)
  492. 2024-11-13 09:59:50.413476 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [effective_caller_id_number]=[3055794593]
  493. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(calltype=STANDARD)
  494. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [calltype]=[STANDARD]
  495. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:20.0000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
  496. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:20.0000000000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
  497. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(trunk_id=1)
  498. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [trunk_id]=[1]
  499. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(provider_id=3)
  500. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [provider_id]=[3]
  501. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(rate_flag=0)
  502. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [rate_flag]=[0]
  503. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(daily_call_credit_limit=0.00000)
  504. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [daily_call_credit_limit]=[0.00000]
  505. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(monthly_call_credit_limit=0.00000)
  506. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [monthly_call_credit_limit]=[0.00000]
  507. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(daily_call_used_limit=0.00000)
  508. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [daily_call_used_limit]=[0.00000]
  509. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(monthly_call_used_limit=0.00000)
  510. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [monthly_call_used_limit]=[0.00000]
  511. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(quality_trunk_seq=1)
  512. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [quality_trunk_seq]=[1]
  513. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(force_trunk_flag=0)
  514. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [force_trunk_flag]=[0]
  515. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(presence_data=trunk_id=1)
  516. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[trunk_id=1]
  517. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 set(intcall=0)
  518. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_dptools.c:1671 SET sofia/default/3055794593@gohil.astppbilling.org:5067 [intcall]=[0]
  519. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(presence_id=1233232)
  520. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_id]=[1233232]
  521. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 export(presence_data=x|||ASTPP(4727985745)|||^1.* // USA // 40.0000000000|||YourTrunk // ^1.* // USA // 20.0000000000 // trunk_id=1|||STD|||103.240.76.66)
  522. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||ASTPP(4727985745)|||^1.* // USA // 40.0000000000|||YourTrunk // ^1.* // USA // 20.0000000000 // trunk_id=1|||STD|||103.240.76.66]
  523. EXECUTE [depth=0] sofia/default/3055794593@gohil.astppbilling.org:5067 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/1233232)
  524. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [is_recording]=[1] to event
  525. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  526. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  527. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  528. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [execute_on_pre_answer_2]=[record_session /usr/local/freeswitch/recordings/340a12da-b8ad-4cdc-9779-f59e86059cc0.wav] to event
  529. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [presence_data]=[x|||ASTPP(4727985745)|||^1.* // USA // 40.0000000000|||YourTrunk // ^1.* // USA // 20.0000000000 // trunk_id=1|||STD|||103.240.76.66] to event
  530. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [presence_id]=[1233232] to event
  531. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:1288 sofia/default/3055794593@gohil.astppbilling.org:5067 EXPORTING[export_vars] [presence_data]=[x|||ASTPP(4727985745)|||^1.* // USA // 40.0000000000|||YourTrunk // ^1.* // USA // 20.0000000000 // trunk_id=1|||STD|||103.240.76.66] to event
  532. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  533. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  534. 2024-11-13 09:59:50.433447 96.20% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1233232 [56510c49-ddcc-4734-814c-447a53cb85db]
  535. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_sofia.c:5110 (sofia/default/1233232) State Change CS_NEW -> CS_INIT
  536. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_ivr_originate.c:3167 sofia/default/1233232 Setting leg timeout to 30
  537. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1233232) Running State Change CS_INIT (Cur 2 Tot 3685)
  538. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1233232) State INIT
  539. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_sofia.c:97 sofia/default/1233232 SOFIA INIT
  540. 2024-11-13 09:59:50.433447 96.20% [INFO] sofia_glue.c:1659 sofia/default/1233232 sending invite call-id: (null)
  541. 2024-11-13 09:59:50.433447 96.20% [DEBUG] sofia_glue.c:1662 sofia/default/1233232 sending invite version: 1.10.10-release  64bit
  542. Local SDP:
  543. v=0
  544. o=FreeSWITCH 1731470626 1731470627 IN IP4 95.217.157.72
  545. s=FreeSWITCH
  546. c=IN IP4 95.217.157.72
  547. t=0 0
  548. m=audio 21364 RTP/AVP 8 18 101
  549. a=rtpmap:8 PCMA/8000
  550. a=rtpmap:18 G729/8000
  551. a=rtpmap:101 telephone-event/8000
  552. a=fmtp:101 0-15
  553. a=ptime:20
  554. a=sendrecv
  555.  
  556. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:40 sofia/default/1233232 Standard INIT
  557. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1233232) State Change CS_INIT -> CS_ROUTING
  558. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1233232) State INIT going to sleep
  559. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1233232) Running State Change CS_ROUTING (Cur 2 Tot 3685)
  560. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1233232) State ROUTING
  561. 2024-11-13 09:59:50.433447 96.20% [DEBUG] mod_sofia.c:158 sofia/default/1233232 SOFIA ROUTING
  562. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_ivr_originate.c:67 (sofia/default/1233232) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  563. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1233232) State ROUTING going to sleep
  564. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1233232) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 3685)
  565. 2024-11-13 09:59:50.433447 96.20% [DEBUG] sofia.c:7493 Channel sofia/default/1233232 entering state [calling][0]
  566. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1233232) State CONSUME_MEDIA
  567. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_core_state_machine.c:659 (sofia/default/1233232) State CONSUME_MEDIA going to sleep
  568. 2024-11-13 09:59:50.433447 96.20% [DEBUG] sofia.c:7493 Channel sofia/default/1233232 entering state [proceeding][180]
  569. 2024-11-13 09:59:50.433447 96.20% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/1233232!
  570. 2024-11-13 09:59:50.433447 96.20% [DEBUG] switch_channel.c:3513 (sofia/default/1233232) Callstate Change DOWN -> RINGING
  571. 2024-11-13 09:59:50.453451 96.20% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/3055794593@gohil.astppbilling.org:5067!
  572. 2024-11-13 09:59:50.453451 96.20% [DEBUG] sofia.c:7493 Channel sofia/default/3055794593@gohil.astppbilling.org:5067 entering state [early][180]
  573. 2024-11-13 09:59:50.453451 96.20% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/3055794593@gohil.astppbilling.org:5067!
  574. 2024-11-13 09:59:53.513490 96.07% [DEBUG] sofia.c:7493 Channel sofia/default/3055794593@gohil.astppbilling.org:5067 entering state [terminated][487]
  575. 2024-11-13 09:59:53.513490 96.07% [NOTICE] sofia.c:8735 Hangup sofia/default/3055794593@gohil.astppbilling.org:5067 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  576. 2024-11-13 09:59:53.533473 96.07% [NOTICE] switch_ivr_originate.c:3816 Hangup sofia/default/1233232 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  577. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_ivr_originate.c:4041 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  578. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1233232) Running State Change CS_HANGUP (Cur 2 Tot 3685)
  579. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1233232) Callstate Change RINGING -> HANGUP
  580. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1233232) State HANGUP
  581. 2024-11-13 09:59:53.533473 96.07% [DEBUG] mod_sofia.c:463 sofia/default/1233232 Overriding SIP cause 487 with 487 from the other leg
  582. 2024-11-13 09:59:53.533473 96.07% [DEBUG] mod_sofia.c:469 Channel sofia/default/1233232 hanging up, cause: ORIGINATOR_CANCEL
  583. 2024-11-13 09:59:53.533473 96.07% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: ORIGINATOR_CANCEL
  584. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_session.c:2979 sofia/default/3055794593@gohil.astppbilling.org:5067 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  585. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3055794593@gohil.astppbilling.org:5067) State EXECUTE going to sleep
  586. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_HANGUP (Cur 2 Tot 3685)
  587. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3055794593@gohil.astppbilling.org:5067) Callstate Change RINGING -> HANGUP
  588. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3055794593@gohil.astppbilling.org:5067) State HANGUP
  589. 2024-11-13 09:59:53.533473 96.07% [DEBUG] mod_sofia.c:469 Channel sofia/default/3055794593@gohil.astppbilling.org:5067 hanging up, cause: ORIGINATOR_CANCEL
  590. 2024-11-13 09:59:53.533473 96.07% [DEBUG] mod_sofia.c:537 Sending CANCEL to sofia/default/1233232
  591. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/1233232 Standard HANGUP, cause: ORIGINATOR_CANCEL
  592. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1233232) State HANGUP going to sleep
  593. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1233232) State Change CS_HANGUP -> CS_REPORTING
  594. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1233232) Running State Change CS_REPORTING (Cur 2 Tot 3685)
  595. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1233232) State REPORTING
  596. 2024-11-13 09:59:53.533473 96.07% [INFO] mod_json_cdr.c:272 Process [56510c49-ddcc-4734-814c-447a53cb85db.cdr.json]
  597. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:59 sofia/default/3055794593@gohil.astppbilling.org:5067 Standard HANGUP, cause: ORIGINATOR_CANCEL
  598. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3055794593@gohil.astppbilling.org:5067) State HANGUP going to sleep
  599. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3055794593@gohil.astppbilling.org:5067) State Change CS_HANGUP -> CS_REPORTING
  600. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_REPORTING (Cur 2 Tot 3685)
  601. 2024-11-13 09:59:53.533473 96.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3055794593@gohil.astppbilling.org:5067) State REPORTING
  602. 2024-11-13 09:59:53.533473 96.07% [INFO] mod_json_cdr.c:272 Process [340a12da-b8ad-4cdc-9779-f59e86059cc0.cdr.json]
  603. 2024-11-13 09:59:53.553452 96.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/1233232 Standard REPORTING, cause: ORIGINATOR_CANCEL
  604. 2024-11-13 09:59:53.553452 96.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1233232) State REPORTING going to sleep
  605. 2024-11-13 09:59:53.553452 96.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1233232) State Change CS_REPORTING -> CS_DESTROY
  606. 2024-11-13 09:59:53.553452 96.07% [DEBUG] switch_core_session.c:1744 Session 3685 (sofia/default/1233232) Locked, Waiting on external entities
  607. 2024-11-13 09:59:53.553452 96.07% [NOTICE] switch_core_session.c:1762 Session 3685 (sofia/default/1233232) Ended
  608. 2024-11-13 09:59:53.553452 96.07% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1233232 [CS_DESTROY]
  609. 2024-11-13 09:59:53.553452 96.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1233232) Running State Change CS_DESTROY (Cur 1 Tot 3685)
  610. 2024-11-13 09:59:53.553452 96.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1233232) State DESTROY
  611. 2024-11-13 09:59:53.573454 96.07% [DEBUG] mod_sofia.c:380 sofia/default/1233232 SOFIA DESTROY
  612. 2024-11-13 09:59:53.573454 96.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/1233232 Standard DESTROY
  613. 2024-11-13 09:59:53.573454 96.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1233232) State DESTROY going to sleep
  614. 2024-11-13 09:59:53.573454 96.07% [DEBUG] switch_core_state_machine.c:168 sofia/default/3055794593@gohil.astppbilling.org:5067 Standard REPORTING, cause: ORIGINATOR_CANCEL
  615. 2024-11-13 09:59:53.573454 96.07% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3055794593@gohil.astppbilling.org:5067) State REPORTING going to sleep
  616. 2024-11-13 09:59:53.593465 96.07% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3055794593@gohil.astppbilling.org:5067) State Change CS_REPORTING -> CS_DESTROY
  617. 2024-11-13 09:59:53.593465 96.07% [DEBUG] switch_core_session.c:1744 Session 3684 (sofia/default/3055794593@gohil.astppbilling.org:5067) Locked, Waiting on external entities
  618. 2024-11-13 09:59:53.593465 96.07% [NOTICE] switch_core_session.c:1762 Session 3684 (sofia/default/3055794593@gohil.astppbilling.org:5067) Ended
  619. 2024-11-13 09:59:53.593465 96.07% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/3055794593@gohil.astppbilling.org:5067 [CS_DESTROY]
  620. 2024-11-13 09:59:53.593465 96.07% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3055794593@gohil.astppbilling.org:5067) Running State Change CS_DESTROY (Cur 0 Tot 3685)
  621. 2024-11-13 09:59:53.593465 96.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3055794593@gohil.astppbilling.org:5067) State DESTROY
  622. 2024-11-13 09:59:53.593465 96.07% [DEBUG] mod_sofia.c:380 sofia/default/3055794593@gohil.astppbilling.org:5067 SOFIA DESTROY
  623. 2024-11-13 09:59:53.593465 96.07% [DEBUG] switch_core_state_machine.c:175 sofia/default/3055794593@gohil.astppbilling.org:5067 Standard DESTROY
  624. 2024-11-13 09:59:53.593465 96.07% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3055794593@gohil.astppbilling.org:5067) State DESTROY going to sleep
  625.