From Reliable Giraffe, 1 Year ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: green; font-weight: bold;"> 2023-06-28 05:26:07.280617 99.90% [INFO] mod_dialplan_xml.c:639 Processing anonymous <anonymous>->972526972194 in context default
  2. 2023-06-28 05:26:07.480612 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  3. 2023-06-28 05:26:07.580611 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4. 2023-06-28 05:26:07.640611 99.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  5. Event-Name: REQUEST_PARAMS
  6. Core-UUID: a26464fc-9fc1-4b2f-89a6-e13cd05ba342
  7. FreeSWITCH-Hostname: fs-slave
  8. FreeSWITCH-Switchname: fs-slave
  9. FreeSWITCH-IPv4: 95.217.164.101
  10. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac011%3A94fe%3A%3A1
  11. Event-Date-Local: 2023-06-28%2005%3A26%3A07
  12. Event-Date-GMT: Wed,%2028%20Jun%202023%2005%3A26%3A07%20GMT
  13. Event-Date-Timestamp: 1687929967280617
  14. Event-Calling-File: mod_dialplan_xml.c
  15. Event-Calling-Function: dialplan_xml_locate
  16. Event-Calling-Line-Number: 610
  17. Event-Sequence: 1172580
  18. Channel-State: CS_ROUTING
  19. Channel-Call-State: RINGING
  20. Channel-State-Number: 2
  21. Channel-Name: sofia/default/anonymous%40pstn.twilio.com
  22. Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  23. Call-Direction: inbound
  24. Presence-Call-Direction: inbound
  25. Channel-HIT-Dialplan: true
  26. Channel-Presence-ID: anonymous%40pstn.twilio.com
  27. Channel-Call-UUID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  28. Answer-State: ringing
  29. Channel-Read-Codec-Name: PCMU
  30. Channel-Read-Codec-Rate: 8000
  31. Channel-Read-Codec-Bit-Rate: 64000
  32. Channel-Write-Codec-Name: PCMU
  33. Channel-Write-Codec-Rate: 8000
  34. Channel-Write-Codec-Bit-Rate: 64000
  35. Caller-Direction: inbound
  36. Caller-Logical-Direction: inbound
  37. Caller-Username: anonymous
  38. Caller-Dialplan: XML
  39. Caller-Caller-ID-Name: anonymous
  40. Caller-Caller-ID-Number: anonymous
  41. Caller-Orig-Caller-ID-Name: anonymous
  42. Caller-Orig-Caller-ID-Number: anonymous
  43. Caller-Network-Addr: 195.201.136.94
  44. Caller-ANI: anonymous
  45. Caller-Destination-Number: 972526972194
  46. Caller-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  47. Caller-Source: mod_sofia
  48. Caller-Context: default
  49. Caller-Channel-Name: sofia/default/anonymous%40pstn.twilio.com
  50. Caller-Profile-Index: 1
  51. Caller-Profile-Created-Time: 1687929967280617
  52. Caller-Channel-Created-Time: 1687929967280617
  53. Caller-Channel-Answered-Time: 0
  54. Caller-Channel-Progress-Time: 0
  55. Caller-Channel-Progress-Media-Time: 0
  56. Caller-Channel-Hangup-Time: 0
  57. Caller-Channel-Transfer-Time: 0
  58. Caller-Channel-Resurrect-Time: 0
  59. Caller-Channel-Bridged-Time: 0
  60. Caller-Channel-Last-Hold: 0
  61. Caller-Channel-Hold-Accum: 0
  62. Caller-Screen-Bit: true
  63. Caller-Privacy-Hide-Name: true
  64. Caller-Privacy-Hide-Number: true
  65. variable_direction: inbound
  66. variable_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  67. variable_session_id: 8971
  68. variable_sip_from_user: anonymous
  69. variable_sip_from_uri: anonymous%40pstn.twilio.com
  70. variable_sip_from_host: pstn.twilio.com
  71. variable_video_media_flow: disabled
  72. variable_text_media_flow: disabled
  73. variable_channel_name: sofia/default/anonymous%40pstn.twilio.com
  74. variable_sip_call_id: f595544e72ca4065aa6fba5813c95f2e%400.0.0.0
  75. variable_sip_local_network_addr: 95.217.164.101
  76. variable_sip_network_ip: 195.201.136.94
  77. variable_sip_network_port: 5060
  78. variable_sip_invite_stamp: 1687929967280617
  79. variable_sip_received_ip: 195.201.136.94
  80. variable_sip_received_port: 5060
  81. variable_sip_via_protocol: udp
  82. variable_sip_authorized: true
  83. variable_sip_acl_authed_by: default
  84. variable_sip_from_user_stripped: anonymous
  85. variable_sip_from_tag: 82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276
  86. variable_sofia_profile_name: default
  87. variable_sofia_profile_url: sip%3Amod_sofia%4095.217.164.101%3A5060
  88. variable_recovery_profile_name: default
  89. variable_sip_invite_route_uri: %3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E,%3Csip%3A54.171.127.193%3Blr%3E
  90. variable_sip_invite_record_route: %3Csip%3A54.171.127.193%3Blr%3E,%3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E
  91. variable_sip_full_via: SIP/2.0/UDP%20195.201.136.94%3A5060%3Bbranch%3Dz9hG4bK802a.79f5b253.0,SIP/2.0/UDP%2054.171.127.193%3A5060%3Bbranch%3Dz9hG4bK802a.701f07c8b75cdb8442b219173781c33c.0,SIP/2.0/UDP%20172.18.206.146%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bK7a8896ba-f4bb-48a2-b7d9-da4532941276_c3356d0b_484-7857123805333217524
  92. variable_sip_full_from: %3Csip%3Aanonymous%40pstn.twilio.com%3E%3Btag%3D82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276
  93. variable_sip_full_to: %3Csip%3A972526972194%40newsip.israelnumber.com%3E
  94. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20OPTIONS,%20REFER
  95. variable_sip_req_user: 972526972194
  96. variable_sip_req_uri: 972526972194%40newsip.israelnumber.com
  97. variable_sip_req_host: newsip.israelnumber.com
  98. variable_sip_to_user: 972526972194
  99. variable_sip_to_uri: 972526972194%40newsip.israelnumber.com
  100. variable_sip_to_host: newsip.israelnumber.com
  101. variable_sip_contact_params: transport%3Dudp
  102. variable_sip_contact_user: anonymous
  103. variable_sip_contact_port: 5060
  104. variable_sip_contact_uri: anonymous%40172.18.206.146%3A5060
  105. variable_sip_contact_host: 172.18.206.146
  106. variable_sip_user_agent: Twilio%20Gateway
  107. variable_sip_via_host: 195.201.136.94
  108. variable_sip_via_port: 5060
  109. variable_max_forwards: 30
  110. variable_presence_id: anonymous%40pstn.twilio.com
  111. variable_sip_Privacy: id
  112. variable_sip_h_Diversion: %3Csip%3A972526972194%40twilio.com%3E%3Breason%3Dunconditional
  113. variable_sip_h_X-Twilio-AccountSid: ACf63690ee5079d2bd49e4e97cd92e2868
  114. variable_sip_h_X-Twilio-CallSid: CA56bb6d100ee02791f536c222ae33600f
  115. variable_sip_h_X-AUTH-IP: 54.171.127.193
  116. variable_sip_h_P-Accountcode: 273681788501
  117. variable_sip_h_P-effective_caller_id_name: anonymous
  118. variable_sip_h_P-effective_caller_id_number: anonymous
  119. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20376551355%20376551355%20IN%20IP4%20172.18.238.142%0D%0As%3DTwilio%20Media%20Gateway%0D%0Ac%3DIN%20IP4%2052.215.127.141%0D%0At%3D0%200%0D%0Am%3Daudio%2019688%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A20%0D%0A
  120. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  121. variable_rtp_use_codec_string: PCMA,PCMU
  122. variable_remote_video_media_flow: inactive
  123. variable_remote_text_media_flow: inactive
  124. variable_remote_audio_media_flow: sendrecv
  125. variable_audio_media_flow: sendrecv
  126. variable_remote_media_ip: 52.215.127.141
  127. variable_remote_media_port: 19688
  128. variable_rtp_audio_recv_pt: 0
  129. variable_rtp_use_codec_name: PCMU
  130. variable_rtp_use_codec_rate: 8000
  131. variable_rtp_use_codec_ptime: 20
  132. variable_rtp_use_codec_channels: 1
  133. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  134. variable_read_codec: PCMU
  135. variable_original_read_codec: PCMU
  136. variable_read_rate: 8000
  137. variable_original_read_rate: 8000
  138. variable_write_codec: PCMU
  139. variable_write_rate: 8000
  140. variable_dtmf_type: rfc2833
  141. variable_endpoint_disposition: RECEIVED
  142. variable_call_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  143. Hunt-Direction: inbound
  144. Hunt-Logical-Direction: inbound
  145. Hunt-Username: anonymous
  146. Hunt-Dialplan: XML
  147. Hunt-Caller-ID-Name: anonymous
  148. Hunt-Caller-ID-Number: anonymous
  149. Hunt-Orig-Caller-ID-Name: anonymous
  150. Hunt-Orig-Caller-ID-Number: anonymous
  151. Hunt-Network-Addr: 195.201.136.94
  152. Hunt-ANI: anonymous
  153. Hunt-Destination-Number: 972526972194
  154. Hunt-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  155. Hunt-Source: mod_sofia
  156. Hunt-Context: default
  157. Hunt-Channel-Name: sofia/default/anonymous%40pstn.twilio.com
  158. Hunt-Profile-Index: 1
  159. Hunt-Profile-Created-Time: 1687929967280617
  160. Hunt-Channel-Created-Time: 1687929967280617
  161. Hunt-Channel-Answered-Time: 0
  162. Hunt-Channel-Progress-Time: 0
  163. Hunt-Channel-Progress-Media-Time: 0
  164. Hunt-Channel-Hangup-Time: 0
  165. Hunt-Channel-Transfer-Time: 0
  166. Hunt-Channel-Resurrect-Time: 0
  167. Hunt-Channel-Bridged-Time: 0
  168. Hunt-Channel-Last-Hold: 0
  169. Hunt-Channel-Hold-Accum: 0
  170. Hunt-Screen-Bit: true
  171. Hunt-Privacy-Hide-Name: true
  172. Hunt-Privacy-Hide-Number: true
  173.  
  174.  
  175. 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  176. 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  177. 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  178. 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  179. 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] blind_flag: 0
  180. 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 972526972194
  181. 2023-06-28 05:26:07.640611 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '972526972194' limit 1
  182. 2023-06-28 05:26:07.720613 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '972526972194' AND status=0 limit 1
  183. 2023-06-28 05:26:07.800613 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'pstn.twilio.com' limit 1
  184. 2023-06-28 05:26:07.860614 99.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] in custom Caller ID
  185. 2023-06-28 05:26:07.860614 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : anonymous / anonymous
  186. 2023-06-28 05:26:07.860614 99.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  187. 2023-06-28 05:26:07.860614 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  188. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  189. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  190. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  191. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  192. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  193. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  194. 2023-06-28 05:26:07.940626 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  195. 2023-06-28 05:26:07.940626 99.90% [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.buy_minutes,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.call_type_callerid_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972526972194" LIMIT 1
  196. 2023-06-28 05:26:08.000612 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  197. 2023-06-28 05:26:08.000612 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 273681788501]
  198. 2023-06-28 05:26:08.000612 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "273681788501" AND deleted = 0 limit 1
  199. 2023-06-28 05:26:08.080620 99.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  200. 2023-06-28 05:26:08.080620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  201. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  202. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  203. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  204. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  205. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  206. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  207. 2023-06-28 05:26:08.160620 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  208. 2023-06-28 05:26:08.160620 99.90% [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.buy_minutes,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.call_type_callerid_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972526972194" LIMIT 1
  209. 2023-06-28 05:26:08.220613 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "256506493170" AND deleted = 0 limit 1
  210. 2023-06-28 05:26:08.300622 99.87% [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 ="972526972194" AND A.accountid = '583' limit 1
  211. 2023-06-28 05:26:08.360622 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972526972194
  212. 2023-06-28 05:26:08.360622 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  213. 2023-06-28 05:26:08.360622 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  214. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  215. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  216. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  217. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  218. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  219. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  220. 2023-06-28 05:26:08.440621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  221. 2023-06-28 05:26:08.440621 99.87% [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.buy_minutes,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.call_type_callerid_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972526972194" LIMIT 1
  222. 2023-06-28 05:26:08.520624 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound
  223. 2023-06-28 05:26:08.520624 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  224. 2023-06-28 05:26:08.520624 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  225. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  226. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  227. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  228. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  229. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  230. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  231. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  232. 2023-06-28 05:26:08.580611 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="972526972194" AND (accountid = 0 OR status = 1) LIMIT 1
  233. 2023-06-28 05:26:08.660623 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5
  234. 2023-06-28 05:26:08.660623 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
  235. 2023-06-28 05:26:08.720620 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  236. 2023-06-28 05:26:08.720620 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :583
  237. 2023-06-28 05:26:08.720620 99.87% [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 (patterns = '^972526972194.*' OR patterns = '^97252697219.*' OR patterns = '^9725269721.*' OR patterns = '^972526972.*' OR patterns = '^97252697.*' OR patterns = '^9725269.*' OR patterns = '^972526.*' OR patterns = '^97252.*' OR patterns = '^9725.*' OR patterns = '^972.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 583 ORDER BY LENGTH(PKGPTR.patterns) DESC
  238. 2023-06-28 05:26:08.800621 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '972526972194' OR number = '97252697219' OR number = '9725269721' OR number = '972526972' OR number = '97252697' OR number = '9725269' OR number = '972526' OR number = '97252' OR number = '9725' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '972526972194*' OR number = '97252697219*' OR number = '9725269721*' OR number = '972526972*' OR number = '97252697*' OR number = '9725269*' OR number = '972526*' OR number = '97252*' OR number = '9725*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = 'anonymous' OR number = 'anonymou' OR number = 'anonymo' OR number = 'anonym' OR number = 'anony' OR number = 'anon' OR number = 'ano' OR number = 'an' OR number = 'a' OR number ='--') OR (number = 'anonymous*' OR number = 'anonymou*' OR number = 'anonymo*' OR number = 'anonym*' OR number = 'anony*' OR number = 'anon*' OR number = 'ano*' OR number = 'an*' OR number = 'a*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  239. 2023-06-28 05:26:08.880615 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  240. 2023-06-28 05:26:08.880615 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '972526972194' OR routing_prefix = '97252697219' OR routing_prefix = '9725269721' OR routing_prefix = '972526972' OR routing_prefix = '97252697' OR routing_prefix = '9725269' OR routing_prefix = '972526' OR routing_prefix = '97252' OR routing_prefix = '9725' OR routing_prefix = '972' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  241. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  242. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 583
  243. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 256506493170
  244. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 23.71916
  245. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  246. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23
  247. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  248. 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  249. 2023-06-28 05:26:08.940618 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  250. 2023-06-28 05:26:09.020613 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  251. 2023-06-28 05:26:09.020613 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  252. 2023-06-28 05:26:09.020613 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  253. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  254. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  255. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  256. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  257. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  258. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  259. 2023-06-28 05:26:09.080616 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972526972194
  260. 2023-06-28 05:26:09.080616 99.87% [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.buy_minutes,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.call_type_callerid_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972526972194" LIMIT 1
  261. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound
  262. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  263. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16687
  264. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  265. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  266. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  267. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 972526972194
  268. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 93
  269. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 583
  270. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  271. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your23.71916 balance Accountid 583 !!!
  272. 2023-06-28 05:26:09.160625 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  273. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 180 minutes
  274. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  275. 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  276. 2023-06-28 05:26:09.160625 99.87% [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 = 583 AND status= '0' LIMIT 1
  277. 2023-06-28 05:26:09.240628 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "583" AND deleted = 0 limit 1
  278. 2023-06-28 05:26:09.300614 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:583
  279. 2023-06-28 05:26:09.300614 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:583
  280. 2023-06-28 05:26:09.300614 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 583
  281. 2023-06-28 05:26:09.300614 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 583 limit 1
  282. 2023-06-28 05:26:09.380615 99.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com
  283. 2023-06-28 05:26:09.380615 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] condition working
  284. 2023-06-28 05:26:09.380615 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 180
  285. 2023-06-28 05:26:09.380615 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_direction : inbound
  286. 2023-06-28 05:26:09.380615 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....972526972194
  287. 2023-06-28 05:26:09.380615 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....972526972194
  288. 2023-06-28 05:26:09.380615 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 583 limit 1
  289. 2023-06-28 05:26:09.440618 99.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com
  290. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4
  291. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  292. <document type="freeswitch/xml">
  293. <section name="dialplan" description="ASTPP Dialplan">
  294. <context name="default">
  295. <extension name="972526972194">
  296. <condition field="destination_number" expression="972526972194">
  297. <action application="set" data="effective_destination_number=972526972194"/>
  298. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  299. <action application="set" data="callstart=2023-06-28 05:26:11"/>
  300. <action application="set" data="hangup_after_bridge=true"/>
  301. <action application="set" data="continue_on_fail=TRUE"/>
  302. <action application="set" data="account_id=583"/>
  303. <action application="set" data="parent_id=0"/>
  304. <action application="set" data="entity_id=0"/>
  305. <action application="set" data="call_processed=internal"/>
  306. <action application="set" data="call_direction=inbound"/>
  307. <action application="set" data="accountname=default"/>
  308. <action application="set" data="filename1=astpp.pbx.lua"/>
  309. <action application="set" data="origination_rates_did=ID:16687|CODE:^972526972194.*|DESTINATION:972526972194|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:93|ACCID:583"/>
  310. <action application="set" data="origination_rates=0"/>
  311. <action application="set" data="original_caller_id_name=972526972194"/>
  312. <action application="set" data="original_caller_id_number=972526972194"/>
  313. <action application="set" data="effective_caller_id_name=972526972194"/>
  314. <action application="set" data="effective_caller_id_number=972526972194"/>
  315. <action application="set" data="receiver_accid=583"/>
  316. <action application="export" data="domain_name=Amir550.newsip.israelnumber.com"/>
  317. <action application="export" data="sip_to_host=Amir550.newsip.israelnumber.com"/>
  318. <action application="export" data="presence_data=x|||Amir(256506493170)|||^972526972194.* // 972526972194 // 0.00000||||||DID|||54.171.127.193"/>
  319. <action application="export" data="call_type=4"/>
  320. <action application="set" data="calltype=STANDARD"/>
  321. <action application="set" data="accountcode=256506493170"/>
  322. <action application="set" data="caller_did_account_id=583"/>
  323. <action application="set" data="did_cost=0.00000"/>
  324. <action application="set" data="did_connectcost=0.00000"/>
  325. <action application="set" data="origination_rates_did=0"/>
  326. <action application="transfer" data="972546322423 XML default"/>
  327. </condition>
  328. </extension>
  329. </context>
  330. </section>
  331. </document>
  332. Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972526972194] continue=false
  333. Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972526972194] destination_number(972526972194) =~ /972526972194/ break=on-false
  334. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972526972194)
  335. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  336. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2023-06-28 05:26:11)
  337. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
  338. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
  339. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=583)
  340. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
  341. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
  342. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
  343. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=inbound)
  344. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
  345. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
  346. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=ID:16687|CODE:^972526972194.*|DESTINATION:972526972194|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:93|ACCID:583)
  347. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=0)
  348. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=972526972194)
  349. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=972526972194)
  350. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194)
  351. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194)
  352. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(receiver_accid=583)
  353. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(domain_name=Amir550.newsip.israelnumber.com)
  354. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(sip_to_host=Amir550.newsip.israelnumber.com)
  355. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Amir(256506493170)|||^972526972194.* // 972526972194 // 0.00000||||||DID|||54.171.127.193)
  356. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(call_type=4)
  357. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  358. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountcode=256506493170)
  359. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(caller_did_account_id=583)
  360. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_cost=0.00000)
  361. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_connectcost=0.00000)
  362. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=0)
  363. Dialplan: sofia/default/anonymous@pstn.twilio.com Action transfer(972546322423 XML default)
  364. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:281 (sofia/default/anonymous@pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE
  365. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/anonymous@pstn.twilio.com) State ROUTING going to sleep
  366. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_EXECUTE (Cur 3 Tot 8971)
  367. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
  368. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_sofia.c:213 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
  369. 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:323 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
  370. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972526972194)
  371. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[972526972194]
  372. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  373. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
  374. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(callstart=2023-06-28 05:26:11)
  375. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [callstart]=[2023-06-28 05:26:11]
  376. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
  377. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
  378. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
  379. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
  380. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(account_id=583)
  381. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[583]
  382. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
  383. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
  384. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
  385. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
  386. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
  387. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
  388. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_direction=inbound)
  389. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[inbound]
  390. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(accountname=default)
  391. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
  392. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
  393. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
  394. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=ID:16687|CODE:^972526972194.*|DESTINATION:972526972194|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:93|ACCID:583)
  395. 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[ID:16687|CODE:^972526972194.*|DESTINATION:972526972194|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:93|ACCID:583]
  396. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(origination_rates=0)
  397. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[0]
  398. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=972526972194)
  399. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[972526972194]
  400. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=972526972194)
  401. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[972526972194]
  402. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=972526972194)
  403. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[972526972194]
  404. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=972526972194)
  405. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[972526972194]
  406. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(receiver_accid=583)
  407. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [receiver_accid]=[583]
  408. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(domain_name=Amir550.newsip.israelnumber.com)
  409. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[Amir550.newsip.israelnumber.com]
  410. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(sip_to_host=Amir550.newsip.israelnumber.com)
  411. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[Amir550.newsip.israelnumber.com]
  412. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Amir(256506493170)|||^972526972194.* // 972526972194 // 0.00000||||||DID|||54.171.127.193)
  413. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Amir(256506493170)|||^972526972194.* // 972526972194 // 0.00000||||||DID|||54.171.127.193]
  414. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(call_type=4)
  415. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  416. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
  417. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
  418. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(accountcode=256506493170)
  419. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [accountcode]=[256506493170]
  420. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(caller_did_account_id=583)
  421. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [caller_did_account_id]=[583]
  422. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(did_cost=0.00000)
  423. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [did_cost]=[0.00000]
  424. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(did_connectcost=0.00000)
  425. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [did_connectcost]=[0.00000]
  426. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=0)
  427. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[0]
  428. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com transfer(972546322423 XML default)
  429. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_ivr.c:2289 (sofia/default/anonymous@pstn.twilio.com) State Change CS_EXECUTE -> CS_ROUTING
  430. 2023-06-28 05:26:09.460613 99.83% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/anonymous@pstn.twilio.com to XML[972546322423@default]
  431. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE going to sleep
  432. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_core_state_machine.c:581 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_ROUTING (Cur 3 Tot 8971)
  433. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
  434. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  435. 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_sofia.c:158 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
  436. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
  437. 2023-06-28 05:26:09.460613 99.83% [INFO] mod_dialplan_xml.c:639 Processing anonymous <anonymous>->972546322423 in context default
  438. 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  439. 2023-06-28 05:26:09.540613 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  440. 2023-06-28 05:26:09.600618 99.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  441. Event-Name: REQUEST_PARAMS
  442. Core-UUID: a26464fc-9fc1-4b2f-89a6-e13cd05ba342
  443. FreeSWITCH-Hostname: fs-slave
  444. FreeSWITCH-Switchname: fs-slave
  445. FreeSWITCH-IPv4: 95.217.164.101
  446. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac011%3A94fe%3A%3A1
  447. Event-Date-Local: 2023-06-28%2005%3A26%3A09
  448. Event-Date-GMT: Wed,%2028%20Jun%202023%2005%3A26%3A09%20GMT
  449. Event-Date-Timestamp: 1687929969460613
  450. Event-Calling-File: mod_dialplan_xml.c
  451. Event-Calling-Function: dialplan_xml_locate
  452. Event-Calling-Line-Number: 610
  453. Event-Sequence: 1172646
  454. Channel-State: CS_ROUTING
  455. Channel-Call-State: RINGING
  456. Channel-State-Number: 2
  457. Channel-Name: sofia/default/anonymous%40pstn.twilio.com
  458. Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  459. Call-Direction: inbound
  460. Presence-Call-Direction: inbound
  461. Channel-HIT-Dialplan: true
  462. Channel-Presence-ID: anonymous%40pstn.twilio.com
  463. Channel-Presence-Data: x%7C%7C%7CAmir(256506493170)%7C%7C%7C%5E972526972194.*%20//%20972526972194%20//%200.00000%7C%7C%7C%7C%7C%7CDID%7C%7C%7C54.171.127.193
  464. Channel-Call-UUID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  465. Answer-State: ringing
  466. Channel-Read-Codec-Name: PCMU
  467. Channel-Read-Codec-Rate: 8000
  468. Channel-Read-Codec-Bit-Rate: 64000
  469. Channel-Write-Codec-Name: PCMU
  470. Channel-Write-Codec-Rate: 8000
  471. Channel-Write-Codec-Bit-Rate: 64000
  472. Caller-Direction: inbound
  473. Caller-Logical-Direction: inbound
  474. Caller-Username: anonymous
  475. Caller-Dialplan: XML
  476. Caller-Caller-ID-Name: anonymous
  477. Caller-Caller-ID-Number: anonymous
  478. Caller-Orig-Caller-ID-Name: anonymous
  479. Caller-Orig-Caller-ID-Number: anonymous
  480. Caller-Network-Addr: 195.201.136.94
  481. Caller-ANI: anonymous
  482. Caller-Destination-Number: 972546322423
  483. Caller-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  484. Caller-Source: mod_sofia
  485. Caller-Transfer-Source: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML
  486. Caller-Context: default
  487. Caller-RDNIS: 972526972194
  488. Caller-Channel-Name: sofia/default/anonymous%40pstn.twilio.com
  489. Caller-Profile-Index: 2
  490. Caller-Profile-Created-Time: 1687929969460613
  491. Caller-Channel-Created-Time: 1687929967280617
  492. Caller-Channel-Answered-Time: 0
  493. Caller-Channel-Progress-Time: 0
  494. Caller-Channel-Progress-Media-Time: 0
  495. Caller-Channel-Hangup-Time: 0
  496. Caller-Channel-Transfer-Time: 0
  497. Caller-Channel-Resurrect-Time: 0
  498. Caller-Channel-Bridged-Time: 0
  499. Caller-Channel-Last-Hold: 0
  500. Caller-Channel-Hold-Accum: 0
  501. Caller-Screen-Bit: true
  502. Caller-Privacy-Hide-Name: true
  503. Caller-Privacy-Hide-Number: true
  504. variable_direction: inbound
  505. variable_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  506. variable_session_id: 8971
  507. variable_sip_from_user: anonymous
  508. variable_sip_from_uri: anonymous%40pstn.twilio.com
  509. variable_sip_from_host: pstn.twilio.com
  510. variable_video_media_flow: disabled
  511. variable_text_media_flow: disabled
  512. variable_channel_name: sofia/default/anonymous%40pstn.twilio.com
  513. variable_sip_call_id: f595544e72ca4065aa6fba5813c95f2e%400.0.0.0
  514. variable_sip_local_network_addr: 95.217.164.101
  515. variable_sip_network_ip: 195.201.136.94
  516. variable_sip_network_port: 5060
  517. variable_sip_invite_stamp: 1687929967280617
  518. variable_sip_received_ip: 195.201.136.94
  519. variable_sip_received_port: 5060
  520. variable_sip_via_protocol: udp
  521. variable_sip_authorized: true
  522. variable_sip_acl_authed_by: default
  523. variable_sip_from_user_stripped: anonymous
  524. variable_sip_from_tag: 82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276
  525. variable_sofia_profile_name: default
  526. variable_sofia_profile_url: sip%3Amod_sofia%4095.217.164.101%3A5060
  527. variable_recovery_profile_name: default
  528. variable_sip_invite_route_uri: %3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E,%3Csip%3A54.171.127.193%3Blr%3E
  529. variable_sip_invite_record_route: %3Csip%3A54.171.127.193%3Blr%3E,%3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E
  530. variable_sip_full_via: SIP/2.0/UDP%20195.201.136.94%3A5060%3Bbranch%3Dz9hG4bK802a.79f5b253.0,SIP/2.0/UDP%2054.171.127.193%3A5060%3Bbranch%3Dz9hG4bK802a.701f07c8b75cdb8442b219173781c33c.0,SIP/2.0/UDP%20172.18.206.146%3A5060%3Brport%3D5060%3Bbranch%3Dz9hG4bK7a8896ba-f4bb-48a2-b7d9-da4532941276_c3356d0b_484-7857123805333217524
  531. variable_sip_full_from: %3Csip%3Aanonymous%40pstn.twilio.com%3E%3Btag%3D82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276
  532. variable_sip_full_to: %3Csip%3A972526972194%40newsip.israelnumber.com%3E
  533. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20OPTIONS,%20REFER
  534. variable_sip_req_user: 972526972194
  535. variable_sip_req_uri: 972526972194%40newsip.israelnumber.com
  536. variable_sip_req_host: newsip.israelnumber.com
  537. variable_sip_to_user: 972526972194
  538. variable_sip_to_uri: 972526972194%40newsip.israelnumber.com
  539. variable_sip_contact_params: transport%3Dudp
  540. variable_sip_contact_user: anonymous
  541. variable_sip_contact_port: 5060
  542. variable_sip_contact_uri: anonymous%40172.18.206.146%3A5060
  543. variable_sip_contact_host: 172.18.206.146
  544. variable_sip_user_agent: Twilio%20Gateway
  545. variable_sip_via_host: 195.201.136.94
  546. variable_sip_via_port: 5060
  547. variable_presence_id: anonymous%40pstn.twilio.com
  548. variable_sip_Privacy: id
  549. variable_sip_h_Diversion: %3Csip%3A972526972194%40twilio.com%3E%3Breason%3Dunconditional
  550. variable_sip_h_X-Twilio-AccountSid: ACf63690ee5079d2bd49e4e97cd92e2868
  551. variable_sip_h_X-Twilio-CallSid: CA56bb6d100ee02791f536c222ae33600f
  552. variable_sip_h_X-AUTH-IP: 54.171.127.193
  553. variable_sip_h_P-Accountcode: 273681788501
  554. variable_sip_h_P-effective_caller_id_name: anonymous
  555. variable_sip_h_P-effective_caller_id_number: anonymous
  556. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20376551355%20376551355%20IN%20IP4%20172.18.238.142%0D%0As%3DTwilio%20Media%20Gateway%0D%0Ac%3DIN%20IP4%2052.215.127.141%0D%0At%3D0%200%0D%0Am%3Daudio%2019688%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dmaxptime%3A20%0D%0A
  557. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  558. variable_rtp_use_codec_string: PCMA,PCMU
  559. variable_remote_video_media_flow: inactive
  560. variable_remote_text_media_flow: inactive
  561. variable_remote_audio_media_flow: sendrecv
  562. variable_audio_media_flow: sendrecv
  563. variable_remote_media_ip: 52.215.127.141
  564. variable_remote_media_port: 19688
  565. variable_rtp_audio_recv_pt: 0
  566. variable_rtp_use_codec_name: PCMU
  567. variable_rtp_use_codec_rate: 8000
  568. variable_rtp_use_codec_ptime: 20
  569. variable_rtp_use_codec_channels: 1
  570. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  571. variable_read_codec: PCMU
  572. variable_original_read_codec: PCMU
  573. variable_read_rate: 8000
  574. variable_original_read_rate: 8000
  575. variable_write_codec: PCMU
  576. variable_write_rate: 8000
  577. variable_dtmf_type: rfc2833
  578. variable_endpoint_disposition: RECEIVED
  579. variable_effective_destination_number: 972526972194
  580. variable_execute_on_answer: sched_hangup%20%2B10800%20normal_clearing
  581. variable_callstart: 2023-06-28%2005%3A26%3A11
  582. variable_hangup_after_bridge: true
  583. variable_continue_on_fail: TRUE
  584. variable_account_id: 583
  585. variable_parent_id: 0
  586. variable_entity_id: 0
  587. variable_call_processed: internal
  588. variable_call_direction: inbound
  589. variable_accountname: default
  590. variable_filename1: astpp.pbx.lua
  591. variable_origination_rates: 0
  592. variable_original_caller_id_name: 972526972194
  593. variable_original_caller_id_number: 972526972194
  594. variable_effective_caller_id_name: 972526972194
  595. variable_effective_caller_id_number: 972526972194
  596. variable_receiver_accid: 583
  597. variable_domain_name: Amir550.newsip.israelnumber.com
  598. variable_sip_to_host: Amir550.newsip.israelnumber.com
  599. variable_presence_data: x%7C%7C%7CAmir(256506493170)%7C%7C%7C%5E972526972194.*%20//%20972526972194%20//%200.00000%7C%7C%7C%7C%7C%7CDID%7C%7C%7C54.171.127.193
  600. variable_call_type: 4
  601. variable_export_vars: domain_name,sip_to_host,presence_data,call_type
  602. variable_calltype: STANDARD
  603. variable_accountcode: 256506493170
  604. variable_caller_did_account_id: 583
  605. variable_did_cost: 0.00000
  606. variable_did_connectcost: 0.00000
  607. variable_origination_rates_did: 0
  608. variable_current_application_data: 972546322423%20XML%20default
  609. variable_current_application: transfer
  610. variable_max_forwards: 29
  611. variable_transfer_history: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML
  612. variable_transfer_source: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML
  613. variable_call_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  614. Hunt-Direction: inbound
  615. Hunt-Logical-Direction: inbound
  616. Hunt-Username: anonymous
  617. Hunt-Dialplan: XML
  618. Hunt-Caller-ID-Name: anonymous
  619. Hunt-Caller-ID-Number: anonymous
  620. Hunt-Orig-Caller-ID-Name: anonymous
  621. Hunt-Orig-Caller-ID-Number: anonymous
  622. Hunt-Network-Addr: 195.201.136.94
  623. Hunt-ANI: anonymous
  624. Hunt-Destination-Number: 972546322423
  625. Hunt-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1
  626. Hunt-Source: mod_sofia
  627. Hunt-Transfer-Source: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML
  628. Hunt-Context: default
  629. Hunt-RDNIS: 972526972194
  630. Hunt-Channel-Name: sofia/default/anonymous%40pstn.twilio.com
  631. Hunt-Profile-Index: 2
  632. Hunt-Profile-Created-Time: 1687929969460613
  633. Hunt-Channel-Created-Time: 1687929967280617
  634. Hunt-Channel-Answered-Time: 0
  635. Hunt-Channel-Progress-Time: 0
  636. Hunt-Channel-Progress-Media-Time: 0
  637. Hunt-Channel-Hangup-Time: 0
  638. Hunt-Channel-Transfer-Time: 0
  639. Hunt-Channel-Resurrect-Time: 0
  640. Hunt-Channel-Bridged-Time: 0
  641. Hunt-Channel-Last-Hold: 0
  642. Hunt-Channel-Hold-Accum: 0
  643. Hunt-Screen-Bit: true
  644. Hunt-Privacy-Hide-Name: true
  645. Hunt-Privacy-Hide-Number: true
  646.  
  647.  
  648. 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  649. 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  650. 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  651. 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  652. 2023-06-28 05:26:09.620619 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] blind_flag: 0
  653. 2023-06-28 05:26:09.620619 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 972546322423
  654. 2023-06-28 05:26:09.620619 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '972546322423' limit 1
  655. 2023-06-28 05:26:09.680614 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '972546322423' AND status=0 limit 1
  656. 2023-06-28 05:26:09.760616 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'pstn.twilio.com' limit 1
  657. 2023-06-28 05:26:09.820613 99.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] in custom Caller ID
  658. 2023-06-28 05:26:09.820613 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 972526972194 / 972526972194
  659. 2023-06-28 05:26:09.820613 99.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  660. 2023-06-28 05:26:09.820613 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  661. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  662. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  663. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  664. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  665. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  666. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  667. 2023-06-28 05:26:09.900612 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  668. 2023-06-28 05:26:09.900612 99.83% [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.buy_minutes,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.call_type_callerid_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972546322423" LIMIT 1
  669. 2023-06-28 05:26:09.960610 99.83% [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 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="972546322423"  AND domains.domain="Amir550.newsip.israelnumber.com" limit 1
  670. 2023-06-28 05:26:10.040611 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  671. 2023-06-28 05:26:10.040611 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 256506493170]
  672. 2023-06-28 05:26:10.040611 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "256506493170" AND deleted = 0 limit 1
  673. 2023-06-28 05:26:10.120614 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^972546322423.*' OR blocked_patterns = '^97254632242.*' OR blocked_patterns = '^9725463224.*' OR blocked_patterns = '^972546322.*' OR blocked_patterns = '^97254632.*' OR blocked_patterns = '^9725463.*' OR blocked_patterns = '^972546.*' OR blocked_patterns = '^97254.*' OR blocked_patterns = '^9725.*' OR blocked_patterns = '^972.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 583 limit 1
  674. 2023-06-28 05:26:10.180608 99.83% [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 ="972546322423" AND A.accountid = '583' limit 1
  675. 2023-06-28 05:26:10.260611 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972546322423
  676. 2023-06-28 05:26:10.260611 99.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  677. 2023-06-28 05:26:10.260611 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  678. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  679. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  680. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  681. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  682. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  683. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  684. 2023-06-28 05:26:10.320609 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  685. 2023-06-28 05:26:10.320609 99.73% [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.buy_minutes,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.call_type_callerid_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972546322423" LIMIT 1
  686. 2023-06-28 05:26:10.400611 99.73% [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 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="972546322423"  AND domains.domain="Amir550.newsip.israelnumber.com" limit 1
  687. 2023-06-28 05:26:10.460610 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound
  688. 2023-06-28 05:26:10.480612 99.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13
  689. 2023-06-28 05:26:10.480612 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
  690. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  691. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  692. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  693. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  694. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  695. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  696. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
  697. 2023-06-28 05:26:10.540611 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="972546322423" AND (accountid = 0 OR status = 1) LIMIT 1
  698. 2023-06-28 05:26:10.620630 99.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5
  699. 2023-06-28 05:26:10.620630 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
  700. 2023-06-28 05:26:10.680619 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  701. 2023-06-28 05:26:10.680619 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  702. 2023-06-28 05:26:10.680619 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  703. 2023-06-28 05:26:10.680619 99.73% [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 (patterns = '^972546322423.*' OR patterns = '^97254632242.*' OR patterns = '^9725463224.*' OR patterns = '^972546322.*' OR patterns = '^97254632.*' OR patterns = '^9725463.*' OR patterns = '^972546.*' OR patterns = '^97254.*' OR patterns = '^9725.*' OR patterns = '^972.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 583 ORDER BY LENGTH(PKGPTR.patterns) DESC
  704. 2023-06-28 05:26:10.760623 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '972546322423' OR number = '97254632242' OR number = '9725463224' OR number = '972546322' OR number = '97254632' OR number = '9725463' OR number = '972546' OR number = '97254' OR number = '9725' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '972546322423*' OR number = '97254632242*' OR number = '9725463224*' OR number = '972546322*' OR number = '97254632*' OR number = '9725463*' OR number = '972546*' OR number = '97254*' OR number = '9725*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '972526972194' OR number = '97252697219' OR number = '9725269721' OR number = '972526972' OR number = '97252697' OR number = '9725269' OR number = '972526' OR number = '97252' OR number = '9725' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '972526972194*' OR number = '97252697219*' OR number = '9725269721*' OR number = '972526972*' OR number = '97252697*' OR number = '9725269*' OR number = '972526*' OR number = '97252*' OR number = '9725*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  705. 2023-06-28 05:26:10.840620 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  706. 2023-06-28 05:26:10.840620 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '972546322423' OR routing_prefix = '97254632242' OR routing_prefix = '9725463224' OR routing_prefix = '972546322' OR routing_prefix = '97254632' OR routing_prefix = '9725463' OR routing_prefix = '972546' OR routing_prefix = '97254' OR routing_prefix = '9725' OR routing_prefix = '972' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  707. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  708. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 583
  709. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 256506493170
  710. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 23.71916
  711. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  712. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23
  713. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  714. 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  715. 2023-06-28 05:26:10.900630 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  716. 2023-06-28 05:26:10.980621 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  717. 2023-06-28 05:26:10.980621 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  718. 2023-06-28 05:26:11.040620 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^972546322423.*' OR pattern = '^97254632242.*' OR pattern = '^9725463224.*' OR pattern = '^972546322.*' OR pattern = '^97254632.*' OR pattern = '^9725463.*' OR pattern = '^972546.*' OR pattern = '^97254.*' OR pattern = '^9725.*' OR pattern = '^972.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 23 OR accountid=583)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
  719. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound
  720. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  721. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 46241155
  722. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0
  723. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  724. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1825
  725. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : IsraelMobile
  726. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  727. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 583
  728. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  729. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  730. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  731. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your23.71916 balance Accountid 583 !!!
  732. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 129.968 minutes
  733. 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 46241155
  734. 2023-06-28 05:26:11.120617 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id   :0
  735. 2023-06-28 05:26:11.120617 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=23 ORDER by id asc
  736. 2023-06-28 05:26:11.180623 99.73% [DEBUG] switch_cpp.cpp:1465 [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 = '^972546322423.*' OR pattern = '^97254632242.*' OR pattern = '^9725463224.*' OR pattern = '^972546322.*' OR pattern = '^97254632.*' OR pattern = '^9725463.*' OR pattern = '^972546.*' OR pattern = '^97254.*' OR pattern = '^9725.*' OR pattern = '^972.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (25,27,33) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
  737. 2023-06-28 05:26:11.340613 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  738. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  739. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 28239383
  740. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9725.*
  741. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : IsraelMobile
  742. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  743. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  744. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9725.*
  745. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
  746. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0
  747. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 33
  748. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : tata3
  749. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  750. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : tata4
  751. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 587
  752. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  753. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Low_Tata_38986
  754. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  755. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  756. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 28031783
  757. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9725.*
  758. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : IsraelMobile
  759. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  760. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  761. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9725.*
  762. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
  763. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0
  764. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 25
  765. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : tata3
  766. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  767. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : tata4
  768. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 587
  769. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  770. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : high_tata_37113_prime_1-1
  771. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  772. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  773. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22293245
  774. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97254.*
  775. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : ISRAEL - MOBILE
  776. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  777. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  778. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97254.*
  779. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0
  780. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0
  781. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 27
  782. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Telia_GW
  783. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  784. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  785. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 1017
  786. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  787. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : high_telia_prime_1-1
  788. 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  789. 2023-06-28 05:26:11.340613 99.70% [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 = 583 AND status= '0' LIMIT 1
  790. 2023-06-28 05:26:11.400694 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 129.968
  791. 2023-06-28 05:26:11.400694 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_direction : outbound
  792. 2023-06-28 05:26:11.400694 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  793. 2023-06-28 05:26:11.480611 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  794. 2023-06-28 05:26:11.540612 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  795. 2023-06-28 05:26:11.540612 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  796. 2023-06-28 05:26:11.620612 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1
  797. 2023-06-28 05:26:11.700611 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  798. 2023-06-28 05:26:11.700611 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
  799. 2023-06-28 05:26:11.760614 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1
  800. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  801. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  802. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  803. <document type="freeswitch/xml">
  804. <section name="dialplan" description="ASTPP Dialplan">
  805. <context name="default">
  806. <extension name="972546322423">
  807. <condition field="destination_number" expression="972546322423">
  808. <action application="set" data="effective_destination_number=972546322423"/>
  809. <action application="set" data="execute_on_answer=sched_hangup +7798.08 normal_clearing"/>
  810. <action application="set" data="callstart=2023-06-28 05:26:13"/>
  811. <action application="set" data="hangup_after_bridge=true"/>
  812. <action application="set" data="continue_on_fail=TRUE"/>
  813. <action application="set" data="account_id=583"/>
  814. <action application="set" data="parent_id=0"/>
  815. <action application="set" data="entity_id=0"/>
  816. <action application="set" data="call_processed=internal"/>
  817. <action application="set" data="call_direction=outbound"/>
  818. <action application="set" data="accountname=default"/>
  819. <action application="set" data="filename1=astpp.pbx.lua"/>
  820. <action application="set" data="origination_rates=ID:46241155|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:583"/>
  821. <action application="set" data="original_caller_id_name=972526972194"/>
  822. <action application="set" data="original_caller_id_number=972526972194"/>
  823.  
  824. <action application="export" data="is_recording=1"/>
  825. <action application="export" data="media_bug_answer_req=true"/>
  826. <action application="export" data="RECORD_STEREO=true"/>
  827. <action application="export" data="record_sample_rate=8000"/>
  828. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  829. <action application="set" data="effective_caller_id_name=972526972194"/>
  830. <action application="set" data="effective_caller_id_number=972526972194"/>
  831. <action application="set" data="calltype=STANDARD"/>
  832. <action application="set" data="termination_rates=ID:28239383|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07300|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587"/>
  833. <action application="set" data="trunk_id=33"/>
  834. <action application="set" data="provider_id=587"/>
  835. <action application="set" data="rate_flag=0"/>
  836. <action application="set" data="force_trunk_flag=46241155"/>
  837. <action application="export" data="presence_data=trunk_id=33"/>
  838. <action application="set" data="intcall=0"/>
  839. <action application="export" data="presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193"/>
  840. <action application="bridge" data="{sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata3/972546322423;fs_path=sip:195.201.136.94:5060"/>
  841. <action application="bridge" data="{sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata4/972546322423;fs_path=sip:195.201.136.94:5060"/>
  842. <action application="set" data="effective_caller_id_name=972526972194"/>
  843. <action application="set" data="effective_caller_id_number=972526972194"/>
  844. <action application="set" data="calltype=STANDARD"/>
  845. <action application="set" data="termination_rates=ID:28031783|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07300|INC:1|INITIALBLOCK:1|TRUNK:25|PROVIDER:587"/>
  846. <action application="set" data="trunk_id=25"/>
  847. <action application="set" data="provider_id=587"/>
  848. <action application="set" data="rate_flag=0"/>
  849. <action application="set" data="force_trunk_flag=46241155"/>
  850. <action application="export" data="presence_data=trunk_id=25"/>
  851. <action application="set" data="intcall=0"/>
  852. <action application="export" data="presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_tata_37113_prime_1-1 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=25|||STD|||54.171.127.193"/>
  853. <action application="bridge" data="{sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata3/972546322423;fs_path=sip:195.201.136.94:5060"/>
  854. <action application="bridge" data="{sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata4/972546322423;fs_path=sip:195.201.136.94:5060"/>
  855. <action application="set" data="effective_caller_id_name=972526972194"/>
  856. <action application="set" data="effective_caller_id_number=972526972194"/>
  857. <action application="set" data="calltype=STANDARD"/>
  858. <action application="set" data="termination_rates=ID:22293245|CODE:^97254.*|DESTINATION:ISRAEL - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09350|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017"/>
  859. <action application="set" data="trunk_id=27"/>
  860. <action application="set" data="provider_id=1017"/>
  861. <action application="set" data="rate_flag=0"/>
  862. <action application="set" data="force_trunk_flag=46241155"/>
  863. <action application="export" data="presence_data=trunk_id=27"/>
  864. <action application="set" data="intcall=0"/>
  865. <action application="export" data="presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_telia_prime_1-1 // ^97254.* // ISRAEL - MOBILE // 0.09350 // trunk_id=27|||STD|||54.171.127.193"/>
  866. <action application="bridge" data="{sip_cid_type=pid}[leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:195.201.136.94:5060"/>
  867. </condition>
  868. </extension>
  869. </context>
  870. </section>
  871. </document>
  872. Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972546322423] continue=false
  873. Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972546322423] destination_number(972546322423) =~ /972546322423/ break=on-false
  874. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972546322423)
  875. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +7798.08 normal_clearing)
  876. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2023-06-28 05:26:13)
  877. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
  878. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
  879. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=583)
  880. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
  881. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
  882. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
  883. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=outbound)
  884. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
  885. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
  886. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=ID:46241155|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:583)
  887. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=972526972194)
  888. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=972526972194)
  889. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(is_recording=1)
  890. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(media_bug_answer_req=true)
  891. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(RECORD_STEREO=true)
  892. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(record_sample_rate=8000)
  893. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  894. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194)
  895. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194)
  896. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  897. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:28239383|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07300|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587)
  898. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=33)
  899. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=587)
  900. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  901. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=46241155)
  902. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=33)
  903. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  904. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193)
  905. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge({sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata3/972546322423;fs_path=sip:195.201.136.94:5060)
  906. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge({sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata4/972546322423;fs_path=sip:195.201.136.94:5060)
  907. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194)
  908. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194)
  909. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  910. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:28031783|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07300|INC:1|INITIALBLOCK:1|TRUNK:25|PROVIDER:587)
  911. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=25)
  912. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=587)
  913. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  914. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=46241155)
  915. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=25)
  916. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  917. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_tata_37113_prime_1-1 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=25|||STD|||54.171.127.193)
  918. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge({sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata3/972546322423;fs_path=sip:195.201.136.94:5060)
  919. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge({sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata4/972546322423;fs_path=sip:195.201.136.94:5060)
  920. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194)
  921. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194)
  922. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  923. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:22293245|CODE:^97254.*|DESTINATION:ISRAEL - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09350|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017)
  924. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=27)
  925. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=1017)
  926. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  927. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=46241155)
  928. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=27)
  929. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  930. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_telia_prime_1-1 // ^97254.* // ISRAEL - MOBILE // 0.09350 // trunk_id=27|||STD|||54.171.127.193)
  931. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge({sip_cid_type=pid}[leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:195.201.136.94:5060)
  932. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/anonymous@pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE
  933. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/anonymous@pstn.twilio.com) State ROUTING going to sleep
  934. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_EXECUTE (Cur 3 Tot 8971)
  935. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
  936. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:213 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
  937. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
  938. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972546322423)
  939. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[972546322423]
  940. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +7798.08 normal_clearing)
  941. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [execute_on_answer]=[sched_hangup +7798.08 normal_clearing]
  942. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(callstart=2023-06-28 05:26:13)
  943. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [callstart]=[2023-06-28 05:26:13]
  944. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
  945. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
  946. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
  947. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
  948. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(account_id=583)
  949. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[583]
  950. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
  951. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
  952. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
  953. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
  954. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
  955. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
  956. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_direction=outbound)
  957. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[outbound]
  958. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(accountname=default)
  959. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
  960. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
  961. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
  962. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(origination_rates=ID:46241155|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:583)
  963. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[ID:46241155|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:583]
  964. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=972526972194)
  965. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[972526972194]
  966. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=972526972194)
  967. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[972526972194]
  968. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(is_recording=1)
  969. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  970. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(media_bug_answer_req=true)
  971. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  972. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(RECORD_STEREO=true)
  973. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true]
  974. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(record_sample_rate=8000)
  975. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  976. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(execute_on_answer=record_session /var/lib/freeswitch/recordings/f54e334c-db7a-4468-a3a2-1d05aa6d1da1.wav)
  977. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/f54e334c-db7a-4468-a3a2-1d05aa6d1da1.wav]
  978. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=972526972194)
  979. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[972526972194]
  980. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=972526972194)
  981. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[972526972194]
  982. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
  983. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
  984. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(termination_rates=ID:28239383|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07300|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587)
  985. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [termination_rates]=[ID:28239383|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.07300|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587]
  986. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(trunk_id=33)
  987. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [trunk_id]=[33]
  988. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(provider_id=587)
  989. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [provider_id]=[587]
  990. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(rate_flag=0)
  991. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [rate_flag]=[0]
  992. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(force_trunk_flag=46241155)
  993. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [force_trunk_flag]=[46241155]
  994. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(presence_data=trunk_id=33)
  995. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=33]
  996. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(intcall=0)
  997. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [intcall]=[0]
  998. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193)
  999. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193]
  1000. EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com bridge({sip_cid_type=pid}[leg_timeout=0]sofia/gateway/tata3/972546322423;fs_path=sip:195.201.136.94:5060)
  1001. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [domain_name]=[Amir550.newsip.israelnumber.com] to event
  1002. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [sip_to_host]=[Amir550.newsip.israelnumber.com] to event
  1003. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193] to event
  1004. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [call_type]=[4] to event
  1005. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [is_recording]=[1] to event
  1006. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  1007. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
  1008. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  1009. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/f54e334c-db7a-4468-a3a2-1d05aa6d1da1.wav] to event
  1010. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193] to event
  1011. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1269 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Amir(256506493170)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||Low_Tata_38986 // ^9725.* // IsraelMobile // 0.07300 // trunk_id=33|||STD|||54.171.127.193] to event
  1012. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1013. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1014. 2023-06-28 05:26:11.840620 99.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/972546322423 [ddbb6dde-0e7a-402f-8e4a-be124446e726]
  1015. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:5121 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
  1016. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/972546322423) Running State Change CS_INIT (Cur 4 Tot 8972)
  1017. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/972546322423) State INIT
  1018. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:97 sofia/default/972546322423 SOFIA INIT
  1019. 2023-06-28 05:26:11.840620 99.70% [DEBUG] sofia_glue.c:1620 sip:195.201.136.94:5060 Setting proxy route to sofia/default/972546322423
  1020. 2023-06-28 05:26:11.840620 99.70% [INFO] sofia_glue.c:1651 sofia/default/972546322423 sending invite call-id: (null)
  1021. 2023-06-28 05:26:11.840620 99.70% [DEBUG] sofia_glue.c:1654 sofia/default/972546322423 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1022. Local SDP:
  1023. v=0
  1024. o=FreeSWITCH 1687902039 1687902040 IN IP4 95.217.164.101
  1025. s=FreeSWITCH
  1026. c=IN IP4 95.217.164.101
  1027. t=0 0
  1028. m=audio 27932 RTP/AVP 0 101
  1029. a=rtpmap:0 PCMU/8000
  1030. a=rtpmap:101 telephone-event/8000
  1031. a=fmtp:101 0-15
  1032. a=ptime:20
  1033. a=sendrecv
  1034.  
  1035. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
  1036. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
  1037. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/972546322423) State INIT going to sleep
  1038. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/972546322423) Running State Change CS_ROUTING (Cur 4 Tot 8972)
  1039. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/972546322423) State ROUTING
  1040. 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:158 sofia/default/972546322423 SOFIA ROUTING
  1041. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1042. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/972546322423) State ROUTING going to sleep
  1043. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/972546322423) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 8972)
  1044. 2023-06-28 05:26:11.840620 99.70% [DEBUG] sofia.c:7499 Channel sofia/default/972546322423 entering state [calling][0]
  1045. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/972546322423) State CONSUME_MEDIA
  1046. 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
  1047. 2023-06-28 05:26:16.480623 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/972546322423 entering state [proceeding][183]
  1048. 2023-06-28 05:26:16.480623 99.63% [DEBUG] sofia.c:7509 Remote SDP:
  1049. v=0
  1050. o=Sonus_UAC 28583 27414 IN IP4 209.58.46.110
  1051. s=SIP Media Capabilities
  1052. c=IN IP4 209.58.46.103
  1053. t=0 0
  1054. m=audio 15550 RTP/AVP 0 101
  1055. a=rtpmap:0 PCMU/8000
  1056. a=rtpmap:101 telephone-event/8000
  1057. a=fmtp:101 0-15
  1058. a=ptime:20
  1059.  
  1060. 2023-06-28 05:26:16.480623 99.63% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/972546322423!
  1061. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_channel.c:3622 (sofia/default/972546322423) Callstate Change DOWN -> EARLY
  1062. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1063. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1064. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  1065. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/972546322423 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1066. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_codec.c:111 sofia/default/972546322423 Original read codec set to PCMU:0
  1067. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  1068. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5973 sofia/default/972546322423 Set 2833 dtmf send payload to 101 recv payload to 101
  1069. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/972546322423] 95.217.164.101 port 27932 -> 209.58.46.103 port 15550 codec: 0 ms: 20
  1070. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1071. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:9089 sofia/default/972546322423 Set 2833 dtmf send payload to 101
  1072. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:9096 sofia/default/972546322423 Set 2833 dtmf receive payload to 101
  1073. 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:9119 sofia/default/972546322423 Set rtp dtmf delay to 40
  1074. 2023-06-28 05:26:16.500618 99.63% [INFO] switch_ivr_originate.c:3841 Sending early media
  1075. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/anonymous@pstn.twilio.com] 95.217.164.101 port 19828 -> 52.215.127.141 port 19688 codec: 0 ms: 20
  1076. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  1077. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_media.c:9089 sofia/default/anonymous@pstn.twilio.com Set 2833 dtmf send payload to 101
  1078. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_media.c:9096 sofia/default/anonymous@pstn.twilio.com Set 2833 dtmf receive payload to 101
  1079. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_media.c:9119 sofia/default/anonymous@pstn.twilio.com Set rtp dtmf delay to 40
  1080. 2023-06-28 05:26:16.500618 99.63% [DEBUG] mod_sofia.c:2610 Ring SDP:
  1081. v=0
  1082. o=FreeSWITCH 1687910148 1687910149 IN IP4 95.217.164.101
  1083. s=FreeSWITCH
  1084. c=IN IP4 95.217.164.101
  1085. t=0 0
  1086. m=audio 19828 RTP/AVP 0 101
  1087. a=rtpmap:0 PCMU/8000
  1088. a=rtpmap:101 telephone-event/8000
  1089. a=fmtp:101 0-15
  1090. a=ptime:20
  1091. a=sendrecv
  1092.  
  1093. 2023-06-28 05:26:16.500618 99.63% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/anonymous@pstn.twilio.com!
  1094. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_channel.c:3622 (sofia/default/anonymous@pstn.twilio.com) Callstate Change RINGING -> EARLY
  1095. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/972546322423] Peer UUID: ddbb6dde-0e7a-402f-8e4a-be124446e726
  1096. 2023-06-28 05:26:16.500618 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/anonymous@pstn.twilio.com entering state [early][183]
  1097. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/972546322423) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1098. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/972546322423) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 8972)
  1099. 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/972546322423) State EXCHANGE_MEDIA
  1100. 2023-06-28 05:26:16.500618 99.63% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  1101. 2023-06-28 05:26:16.540611 99.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1102. 2023-06-28 05:26:16.680610 99.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  1103. 2023-06-28 05:26:17.120620 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/972546322423 entering state [proceeding][180]
  1104. 2023-06-28 05:26:17.120620 99.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/972546322423!
  1105. 2023-06-28 05:26:17.120620 99.63% [DEBUG] switch_channel.c:3494 (sofia/default/972546322423) Callstate Change EARLY -> RINGING
  1106. 2023-06-28 05:26:21.600614 99.60% [DEBUG] sofia.c:7499 Channel sofia/default/anonymous@pstn.twilio.com entering state [terminated][487]
  1107. 2023-06-28 05:26:21.600614 99.60% [NOTICE] sofia.c:8738 Hangup sofia/default/anonymous@pstn.twilio.com [CS_EXECUTE] [ORIGINATOR_CANCEL]
  1108. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:826 sofia/default/anonymous@pstn.twilio.com ending bridge by request from read function
  1109. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/anonymous@pstn.twilio.com]
  1110. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:820 sofia/default/anonymous@pstn.twilio.com ending bridge by request from write function
  1111. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/972546322423]
  1112. 2023-06-28 05:26:21.600614 99.60% [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/972546322423 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  1113. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:650 (sofia/default/972546322423) State EXCHANGE_MEDIA going to sleep
  1114. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/972546322423) Running State Change CS_HANGUP (Cur 4 Tot 8972)
  1115. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/972546322423) Callstate Change RINGING -> HANGUP
  1116. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/972546322423) State HANGUP
  1117. 2023-06-28 05:26:21.600614 99.60% [DEBUG] mod_sofia.c:462 sofia/default/972546322423 Overriding SIP cause 487 with 487 from the other leg
  1118. 2023-06-28 05:26:21.600614 99.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/972546322423 hanging up, cause: ORIGINATOR_CANCEL
  1119. 2023-06-28 05:26:21.600614 99.60% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/972546322423
  1120. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/972546322423 Standard HANGUP, cause: ORIGINATOR_CANCEL
  1121. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/972546322423) State HANGUP going to sleep
  1122. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
  1123. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/972546322423) Running State Change CS_REPORTING (Cur 4 Tot 8972)
  1124. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/972546322423) State REPORTING
  1125. 2023-06-28 05:26:21.600614 99.60% [INFO] mod_json_cdr.c:271 Process [ddbb6dde-0e7a-402f-8e4a-be124446e726.cdr.json]
  1126. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/972546322423 skip receive message [UNBRIDGE] (channel is hungup already)
  1127. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/anonymous@pstn.twilio.com skip receive message [UNBRIDGE] (channel is hungup already)
  1128. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_session.c:2983 sofia/default/anonymous@pstn.twilio.com skip receive message [PHONE_EVENT] (channel is hungup already)
  1129. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE going to sleep
  1130. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_HANGUP (Cur 4 Tot 8972)
  1131. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/anonymous@pstn.twilio.com) Callstate Change EARLY -> HANGUP
  1132. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/anonymous@pstn.twilio.com) State HANGUP
  1133. 2023-06-28 05:26:21.600614 99.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/anonymous@pstn.twilio.com hanging up, cause: ORIGINATOR_CANCEL
  1134. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/anonymous@pstn.twilio.com Standard HANGUP, cause: ORIGINATOR_CANCEL
  1135. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/anonymous@pstn.twilio.com) State HANGUP going to sleep
  1136. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:616 (sofia/default/anonymous@pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
  1137. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_REPORTING (Cur 4 Tot 8972)
  1138. 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/anonymous@pstn.twilio.com) State REPORTING
  1139. 2023-06-28 05:26:21.600614 99.60% [INFO] mod_json_cdr.c:271 Process [f54e334c-db7a-4468-a3a2-1d05aa6d1da1.cdr.json]
  1140. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/972546322423 Standard REPORTING, cause: ORIGINATOR_CANCEL
  1141. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/972546322423) State REPORTING going to sleep
  1142. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
  1143. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_session.c:1753 Session 8972 (sofia/default/972546322423) Locked, Waiting on external entities
  1144. 2023-06-28 05:26:21.680628 99.60% [NOTICE] switch_core_session.c:1771 Session 8972 (sofia/default/972546322423) Ended
  1145. 2023-06-28 05:26:21.680628 99.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/972546322423 [CS_DESTROY]
  1146. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/972546322423) Running State Change CS_DESTROY (Cur 3 Tot 8972)
  1147. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/972546322423) State DESTROY
  1148. 2023-06-28 05:26:21.680628 99.60% [DEBUG] mod_sofia.c:379 sofia/default/972546322423 SOFIA DESTROY
  1149. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/972546322423 Standard DESTROY
  1150. 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/972546322423) State DESTROY going to sleep
  1151. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/anonymous@pstn.twilio.com Standard REPORTING, cause: ORIGINATOR_CANCEL
  1152. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/anonymous@pstn.twilio.com) State REPORTING going to sleep
  1153. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:607 (sofia/default/anonymous@pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
  1154. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_session.c:1753 Session 8971 (sofia/default/anonymous@pstn.twilio.com) Locked, Waiting on external entities
  1155. 2023-06-28 05:26:21.800616 99.60% [NOTICE] switch_core_session.c:1771 Session 8971 (sofia/default/anonymous@pstn.twilio.com) Ended
  1156. 2023-06-28 05:26:21.800616 99.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/anonymous@pstn.twilio.com [CS_DESTROY]
  1157. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:735 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_DESTROY (Cur 2 Tot 8972)
  1158. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/anonymous@pstn.twilio.com) State DESTROY
  1159. 2023-06-28 05:26:21.800616 99.60% [DEBUG] mod_sofia.c:379 sofia/default/anonymous@pstn.twilio.com SOFIA DESTROY
  1160. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/anonymous@pstn.twilio.com Standard DESTROY
  1161. 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/anonymous@pstn.twilio.com) State DESTROY going to sleep
  1162. 2023-06-28 05:26:32.580623 99.57% [NOTICE] sofia_reg.c:459 Registering didlogicin1gtw
  1163.