2023-06-28 05:26:07.280617 99.90% [INFO] mod_dialplan_xml.c:639 Processing anonymous ->972526972194 in context default 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') 2023-06-28 05:26:07.580611 99.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-06-28 05:26:07.640611 99.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: a26464fc-9fc1-4b2f-89a6-e13cd05ba342 FreeSWITCH-Hostname: fs-slave FreeSWITCH-Switchname: fs-slave FreeSWITCH-IPv4: 95.217.164.101 FreeSWITCH-IPv6: 2a01%3A4f9%3Ac011%3A94fe%3A%3A1 Event-Date-Local: 2023-06-28%2005%3A26%3A07 Event-Date-GMT: Wed,%2028%20Jun%202023%2005%3A26%3A07%20GMT Event-Date-Timestamp: 1687929967280617 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 1172580 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/anonymous%40pstn.twilio.com Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: anonymous%40pstn.twilio.com Channel-Call-UUID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: anonymous Caller-Dialplan: XML Caller-Caller-ID-Name: anonymous Caller-Caller-ID-Number: anonymous Caller-Orig-Caller-ID-Name: anonymous Caller-Orig-Caller-ID-Number: anonymous Caller-Network-Addr: 195.201.136.94 Caller-ANI: anonymous Caller-Destination-Number: 972526972194 Caller-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/anonymous%40pstn.twilio.com Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1687929967280617 Caller-Channel-Created-Time: 1687929967280617 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: true Caller-Privacy-Hide-Number: true variable_direction: inbound variable_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 variable_session_id: 8971 variable_sip_from_user: anonymous variable_sip_from_uri: anonymous%40pstn.twilio.com variable_sip_from_host: pstn.twilio.com variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/anonymous%40pstn.twilio.com variable_sip_call_id: f595544e72ca4065aa6fba5813c95f2e%400.0.0.0 variable_sip_local_network_addr: 95.217.164.101 variable_sip_network_ip: 195.201.136.94 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1687929967280617 variable_sip_received_ip: 195.201.136.94 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: anonymous variable_sip_from_tag: 82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276 variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4095.217.164.101%3A5060 variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E,%3Csip%3A54.171.127.193%3Blr%3E variable_sip_invite_record_route: %3Csip%3A54.171.127.193%3Blr%3E,%3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E 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 variable_sip_full_from: %3Csip%3Aanonymous%40pstn.twilio.com%3E%3Btag%3D82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276 variable_sip_full_to: %3Csip%3A972526972194%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20OPTIONS,%20REFER variable_sip_req_user: 972526972194 variable_sip_req_uri: 972526972194%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 972526972194 variable_sip_to_uri: 972526972194%40newsip.israelnumber.com variable_sip_to_host: newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: anonymous variable_sip_contact_port: 5060 variable_sip_contact_uri: anonymous%40172.18.206.146%3A5060 variable_sip_contact_host: 172.18.206.146 variable_sip_user_agent: Twilio%20Gateway variable_sip_via_host: 195.201.136.94 variable_sip_via_port: 5060 variable_max_forwards: 30 variable_presence_id: anonymous%40pstn.twilio.com variable_sip_Privacy: id variable_sip_h_Diversion: %3Csip%3A972526972194%40twilio.com%3E%3Breason%3Dunconditional variable_sip_h_X-Twilio-AccountSid: ACf63690ee5079d2bd49e4e97cd92e2868 variable_sip_h_X-Twilio-CallSid: CA56bb6d100ee02791f536c222ae33600f variable_sip_h_X-AUTH-IP: 54.171.127.193 variable_sip_h_P-Accountcode: 273681788501 variable_sip_h_P-effective_caller_id_name: anonymous variable_sip_h_P-effective_caller_id_number: anonymous 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 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 52.215.127.141 variable_remote_media_port: 19688 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: anonymous Hunt-Dialplan: XML Hunt-Caller-ID-Name: anonymous Hunt-Caller-ID-Number: anonymous Hunt-Orig-Caller-ID-Name: anonymous Hunt-Orig-Caller-ID-Number: anonymous Hunt-Network-Addr: 195.201.136.94 Hunt-ANI: anonymous Hunt-Destination-Number: 972526972194 Hunt-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/anonymous%40pstn.twilio.com Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1687929967280617 Hunt-Channel-Created-Time: 1687929967280617 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: true Hunt-Privacy-Hide-Number: true 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] blind_flag: 0 2023-06-28 05:26:07.640611 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 972526972194 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 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 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 2023-06-28 05:26:07.860614 99.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] in custom Caller ID 2023-06-28 05:26:07.860614 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : anonymous / anonymous 2023-06-28 05:26:07.860614 99.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:08.000612 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-06-28 05:26:08.000612 99.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 273681788501] 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 2023-06-28 05:26:08.080620 99.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:08.360622 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972526972194 2023-06-28 05:26:08.360622 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:08.520624 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : inbound 2023-06-28 05:26:08.520624 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:08.660623 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5 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 2023-06-28 05:26:08.720620 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2023-06-28 05:26:08.720620 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :583 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 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 2023-06-28 05:26:08.880615 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 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 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 583 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 256506493170 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 23.71916 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-06-28 05:26:08.940618 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 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 2023-06-28 05:26:09.020613 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-06-28 05:26:09.020613 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: inbound 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16687 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 972526972194 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 93 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 583 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your23.71916 balance Accountid 583 !!! 2023-06-28 05:26:09.160625 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 180 minutes 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-06-28 05:26:09.160625 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 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 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 2023-06-28 05:26:09.300614 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:583 2023-06-28 05:26:09.300614 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:583 2023-06-28 05:26:09.300614 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 583 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 2023-06-28 05:26:09.380615 99.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com 2023-06-28 05:26:09.380615 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] condition working 2023-06-28 05:26:09.380615 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 180 2023-06-28 05:26:09.380615 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_direction : inbound 2023-06-28 05:26:09.380615 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....972526972194 2023-06-28 05:26:09.380615 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....972526972194 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 2023-06-28 05:26:09.440618 99.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] user_domainAmir550.newsip.israelnumber.com 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972526972194] continue=false Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972526972194] destination_number(972526972194) =~ /972526972194/ break=on-false Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2023-06-28 05:26:11) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=583) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=inbound) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(receiver_accid=583) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(domain_name=Amir550.newsip.israelnumber.com) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(sip_to_host=Amir550.newsip.israelnumber.com) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Amir(256506493170)|||^972526972194.* // 972526972194 // 0.00000||||||DID|||54.171.127.193) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(call_type=4) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountcode=256506493170) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(caller_did_account_id=583) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_cost=0.00000) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_connectcost=0.00000) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action transfer(972546322423 XML default) 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 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 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) 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:647 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_sofia.c:213 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE 2023-06-28 05:26:09.440618 99.83% [DEBUG] switch_core_state_machine.c:323 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(callstart=2023-06-28 05:26:11) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(account_id=583) 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[583] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(parent_id=0) 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(entity_id=0) 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_processed=internal) 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_direction=inbound) 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(accountname=default) 2023-06-28 05:26:09.440618 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua) 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] 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) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(origination_rates=0) 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[0] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(receiver_accid=583) 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [receiver_accid]=[583] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(domain_name=Amir550.newsip.israelnumber.com) 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[Amir550.newsip.israelnumber.com] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(sip_to_host=Amir550.newsip.israelnumber.com) 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[Amir550.newsip.israelnumber.com] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Amir(256506493170)|||^972526972194.* // 972526972194 // 0.00000||||||DID|||54.171.127.193) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(call_type=4) 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD) 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(accountcode=256506493170) 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [accountcode]=[256506493170] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(caller_did_account_id=583) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(did_cost=0.00000) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(did_connectcost=0.00000) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=0) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com transfer(972546322423 XML default) 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 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] 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 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) 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_core_state_machine.c:640 (sofia/default/anonymous@pstn.twilio.com) State ROUTING 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged 2023-06-28 05:26:09.460613 99.83% [DEBUG] mod_sofia.c:158 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING 2023-06-28 05:26:09.460613 99.83% [DEBUG] switch_core_state_machine.c:230 sofia/default/anonymous@pstn.twilio.com Standard ROUTING 2023-06-28 05:26:09.460613 99.83% [INFO] mod_dialplan_xml.c:639 Processing anonymous ->972546322423 in context default 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') 2023-06-28 05:26:09.540613 99.83% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-06-28 05:26:09.600618 99.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: a26464fc-9fc1-4b2f-89a6-e13cd05ba342 FreeSWITCH-Hostname: fs-slave FreeSWITCH-Switchname: fs-slave FreeSWITCH-IPv4: 95.217.164.101 FreeSWITCH-IPv6: 2a01%3A4f9%3Ac011%3A94fe%3A%3A1 Event-Date-Local: 2023-06-28%2005%3A26%3A09 Event-Date-GMT: Wed,%2028%20Jun%202023%2005%3A26%3A09%20GMT Event-Date-Timestamp: 1687929969460613 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 1172646 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/anonymous%40pstn.twilio.com Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: anonymous%40pstn.twilio.com 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 Channel-Call-UUID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Answer-State: ringing Channel-Read-Codec-Name: PCMU Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMU Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: anonymous Caller-Dialplan: XML Caller-Caller-ID-Name: anonymous Caller-Caller-ID-Number: anonymous Caller-Orig-Caller-ID-Name: anonymous Caller-Orig-Caller-ID-Number: anonymous Caller-Network-Addr: 195.201.136.94 Caller-ANI: anonymous Caller-Destination-Number: 972546322423 Caller-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Caller-Source: mod_sofia Caller-Transfer-Source: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML Caller-Context: default Caller-RDNIS: 972526972194 Caller-Channel-Name: sofia/default/anonymous%40pstn.twilio.com Caller-Profile-Index: 2 Caller-Profile-Created-Time: 1687929969460613 Caller-Channel-Created-Time: 1687929967280617 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: true Caller-Privacy-Hide-Number: true variable_direction: inbound variable_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 variable_session_id: 8971 variable_sip_from_user: anonymous variable_sip_from_uri: anonymous%40pstn.twilio.com variable_sip_from_host: pstn.twilio.com variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/anonymous%40pstn.twilio.com variable_sip_call_id: f595544e72ca4065aa6fba5813c95f2e%400.0.0.0 variable_sip_local_network_addr: 95.217.164.101 variable_sip_network_ip: 195.201.136.94 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1687929967280617 variable_sip_received_ip: 195.201.136.94 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: anonymous variable_sip_from_tag: 82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276 variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4095.217.164.101%3A5060 variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E,%3Csip%3A54.171.127.193%3Blr%3E variable_sip_invite_record_route: %3Csip%3A54.171.127.193%3Blr%3E,%3Csip%3A195.201.136.94%3Blr%3Bdid%3D2d1.e95cc087%3E 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 variable_sip_full_from: %3Csip%3Aanonymous%40pstn.twilio.com%3E%3Btag%3D82800196_c3356d0b_7a8896ba-f4bb-48a2-b7d9-da4532941276 variable_sip_full_to: %3Csip%3A972526972194%40newsip.israelnumber.com%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20OPTIONS,%20REFER variable_sip_req_user: 972526972194 variable_sip_req_uri: 972526972194%40newsip.israelnumber.com variable_sip_req_host: newsip.israelnumber.com variable_sip_to_user: 972526972194 variable_sip_to_uri: 972526972194%40newsip.israelnumber.com variable_sip_contact_params: transport%3Dudp variable_sip_contact_user: anonymous variable_sip_contact_port: 5060 variable_sip_contact_uri: anonymous%40172.18.206.146%3A5060 variable_sip_contact_host: 172.18.206.146 variable_sip_user_agent: Twilio%20Gateway variable_sip_via_host: 195.201.136.94 variable_sip_via_port: 5060 variable_presence_id: anonymous%40pstn.twilio.com variable_sip_Privacy: id variable_sip_h_Diversion: %3Csip%3A972526972194%40twilio.com%3E%3Breason%3Dunconditional variable_sip_h_X-Twilio-AccountSid: ACf63690ee5079d2bd49e4e97cd92e2868 variable_sip_h_X-Twilio-CallSid: CA56bb6d100ee02791f536c222ae33600f variable_sip_h_X-AUTH-IP: 54.171.127.193 variable_sip_h_P-Accountcode: 273681788501 variable_sip_h_P-effective_caller_id_name: anonymous variable_sip_h_P-effective_caller_id_number: anonymous 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 variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 52.215.127.141 variable_remote_media_port: 19688 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_effective_destination_number: 972526972194 variable_execute_on_answer: sched_hangup%20%2B10800%20normal_clearing variable_callstart: 2023-06-28%2005%3A26%3A11 variable_hangup_after_bridge: true variable_continue_on_fail: TRUE variable_account_id: 583 variable_parent_id: 0 variable_entity_id: 0 variable_call_processed: internal variable_call_direction: inbound variable_accountname: default variable_filename1: astpp.pbx.lua variable_origination_rates: 0 variable_original_caller_id_name: 972526972194 variable_original_caller_id_number: 972526972194 variable_effective_caller_id_name: 972526972194 variable_effective_caller_id_number: 972526972194 variable_receiver_accid: 583 variable_domain_name: Amir550.newsip.israelnumber.com variable_sip_to_host: Amir550.newsip.israelnumber.com 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 variable_call_type: 4 variable_export_vars: domain_name,sip_to_host,presence_data,call_type variable_calltype: STANDARD variable_accountcode: 256506493170 variable_caller_did_account_id: 583 variable_did_cost: 0.00000 variable_did_connectcost: 0.00000 variable_origination_rates_did: 0 variable_current_application_data: 972546322423%20XML%20default variable_current_application: transfer variable_max_forwards: 29 variable_transfer_history: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML variable_transfer_source: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML variable_call_uuid: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: anonymous Hunt-Dialplan: XML Hunt-Caller-ID-Name: anonymous Hunt-Caller-ID-Number: anonymous Hunt-Orig-Caller-ID-Name: anonymous Hunt-Orig-Caller-ID-Number: anonymous Hunt-Network-Addr: 195.201.136.94 Hunt-ANI: anonymous Hunt-Destination-Number: 972546322423 Hunt-Unique-ID: f54e334c-db7a-4468-a3a2-1d05aa6d1da1 Hunt-Source: mod_sofia Hunt-Transfer-Source: 1687929969%3A85e5e001-9b38-4301-b884-129974ee7cae%3Abl_xfer%3A972546322423/default/XML Hunt-Context: default Hunt-RDNIS: 972526972194 Hunt-Channel-Name: sofia/default/anonymous%40pstn.twilio.com Hunt-Profile-Index: 2 Hunt-Profile-Created-Time: 1687929969460613 Hunt-Channel-Created-Time: 1687929967280617 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: true Hunt-Privacy-Hide-Number: true 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2023-06-28 05:26:09.600618 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2023-06-28 05:26:09.620619 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] blind_flag: 0 2023-06-28 05:26:09.620619 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 972546322423 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 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 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 2023-06-28 05:26:09.820613 99.83% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] in custom Caller ID 2023-06-28 05:26:09.820613 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 972526972194 / 972526972194 2023-06-28 05:26:09.820613 99.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:10.040611 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-06-28 05:26:10.040611 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 256506493170] 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 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 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 2023-06-28 05:26:10.260611 99.83% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972546322423 2023-06-28 05:26:10.260611 99.83% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:10.460610 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound 2023-06-28 05:26:10.480612 99.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID global translation id: 13 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:10.620630 99.73% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 5 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 2023-06-28 05:26:10.680619 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423 2023-06-28 05:26:10.680619 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423 2023-06-28 05:26:10.680619 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423 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 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 2023-06-28 05:26:10.840620 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 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 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 583 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 256506493170 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 23.71916 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 23 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-06-28 05:26:10.900630 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 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 2023-06-28 05:26:10.980621 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 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 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 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 46241155 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1825 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : IsraelMobile 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 583 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your23.71916 balance Accountid 583 !!! 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max length duration : 129.968 minutes 2023-06-28 05:26:11.120617 99.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 46241155 2023-06-28 05:26:11.120617 99.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 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 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 2023-06-28 05:26:11.340613 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 28239383 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9725.* 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : IsraelMobile 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9725.* 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 33 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : tata3 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : tata4 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 587 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : Low_Tata_38986 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 28031783 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^9725.* 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : IsraelMobile 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^9725.* 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 25 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : tata3 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : tata4 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 587 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : high_tata_37113_prime_1-1 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22293245 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^97254.* 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : ISRAEL - MOBILE 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^97254.* 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 27 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Telia_GW 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 1017 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : high_telia_prime_1-1 2023-06-28 05:26:11.340613 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 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 2023-06-28 05:26:11.400694 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] maxlength::::::::: 129.968 2023-06-28 05:26:11.400694 99.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] call_direction : outbound 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 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 2023-06-28 05:26:11.540612 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423 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 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 2023-06-28 05:26:11.700611 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423 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 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 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972546322423] continue=false Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972546322423] destination_number(972546322423) =~ /972546322423/ break=on-false Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972546322423) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +7798.08 normal_clearing) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2023-06-28 05:26:13) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=583) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=outbound) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(is_recording=1) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(media_bug_answer_req=true) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(RECORD_STEREO=true) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(record_sample_rate=8000) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=33) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=587) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=46241155) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=33) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0) 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) 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) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=25) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=587) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=46241155) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=25) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0) 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) 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) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=972526972194) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD) 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) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=27) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=1017) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=46241155) Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=27) Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0) 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) 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) 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 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 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) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:213 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972546322423) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +7798.08 normal_clearing) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(callstart=2023-06-28 05:26:13) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(account_id=583) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[583] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(parent_id=0) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(entity_id=0) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_processed=internal) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(call_direction=outbound) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(accountname=default) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua) 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] 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) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(is_recording=1) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(media_bug_answer_req=true) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(RECORD_STEREO=true) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [RECORD_STEREO]=[true] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(record_sample_rate=8000) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] 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) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=972526972194) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD] 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) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(trunk_id=33) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [trunk_id]=[33] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(provider_id=587) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [provider_id]=[587] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(rate_flag=0) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [rate_flag]=[0] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(force_trunk_flag=46241155) 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] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com export(presence_data=trunk_id=33) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=33] EXECUTE [depth=0] sofia/default/anonymous@pstn.twilio.com set(intcall=0) 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/anonymous@pstn.twilio.com [intcall]=[0] 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) 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] 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) 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 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 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 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 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 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 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 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 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 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 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 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2023-06-28 05:26:11.840620 99.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/972546322423 [ddbb6dde-0e7a-402f-8e4a-be124446e726] 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:5121 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT 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) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/972546322423) State INIT 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:97 sofia/default/972546322423 SOFIA INIT 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 2023-06-28 05:26:11.840620 99.70% [INFO] sofia_glue.c:1651 sofia/default/972546322423 sending invite call-id: (null) 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 Local SDP: v=0 o=FreeSWITCH 1687902039 1687902040 IN IP4 95.217.164.101 s=FreeSWITCH c=IN IP4 95.217.164.101 t=0 0 m=audio 27932 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT 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 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/972546322423) State INIT going to sleep 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) 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/972546322423) State ROUTING 2023-06-28 05:26:11.840620 99.70% [DEBUG] mod_sofia.c:158 sofia/default/972546322423 SOFIA ROUTING 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 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/972546322423) State ROUTING going to sleep 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) 2023-06-28 05:26:11.840620 99.70% [DEBUG] sofia.c:7499 Channel sofia/default/972546322423 entering state [calling][0] 2023-06-28 05:26:11.840620 99.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/972546322423) State CONSUME_MEDIA 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 2023-06-28 05:26:16.480623 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/972546322423 entering state [proceeding][183] 2023-06-28 05:26:16.480623 99.63% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Sonus_UAC 28583 27414 IN IP4 209.58.46.110 s=SIP Media Capabilities c=IN IP4 209.58.46.103 t=0 0 m=audio 15550 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-06-28 05:26:16.480623 99.63% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/972546322423! 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_channel.c:3622 (sofia/default/972546322423) Callstate Change DOWN -> EARLY 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] 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 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 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 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 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 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 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 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 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 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 2023-06-28 05:26:16.480623 99.63% [DEBUG] switch_core_media.c:9119 sofia/default/972546322423 Set rtp dtmf delay to 40 2023-06-28 05:26:16.500618 99.63% [INFO] switch_ivr_originate.c:3841 Sending early media 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 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 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 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 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 2023-06-28 05:26:16.500618 99.63% [DEBUG] mod_sofia.c:2610 Ring SDP: v=0 o=FreeSWITCH 1687910148 1687910149 IN IP4 95.217.164.101 s=FreeSWITCH c=IN IP4 95.217.164.101 t=0 0 m=audio 19828 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-06-28 05:26:16.500618 99.63% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/anonymous@pstn.twilio.com! 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_channel.c:3622 (sofia/default/anonymous@pstn.twilio.com) Callstate Change RINGING -> EARLY 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 2023-06-28 05:26:16.500618 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/anonymous@pstn.twilio.com entering state [early][183] 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 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) 2023-06-28 05:26:16.500618 99.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/972546322423) State EXCHANGE_MEDIA 2023-06-28 05:26:16.500618 99.63% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-06-28 05:26:16.540611 99.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-06-28 05:26:16.680610 99.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-06-28 05:26:17.120620 99.63% [DEBUG] sofia.c:7499 Channel sofia/default/972546322423 entering state [proceeding][180] 2023-06-28 05:26:17.120620 99.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/972546322423! 2023-06-28 05:26:17.120620 99.63% [DEBUG] switch_channel.c:3494 (sofia/default/972546322423) Callstate Change EARLY -> RINGING 2023-06-28 05:26:21.600614 99.60% [DEBUG] sofia.c:7499 Channel sofia/default/anonymous@pstn.twilio.com entering state [terminated][487] 2023-06-28 05:26:21.600614 99.60% [NOTICE] sofia.c:8738 Hangup sofia/default/anonymous@pstn.twilio.com [CS_EXECUTE] [ORIGINATOR_CANCEL] 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 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/anonymous@pstn.twilio.com] 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 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/972546322423] 2023-06-28 05:26:21.600614 99.60% [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/972546322423 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 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 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) 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:844 (sofia/default/972546322423) Callstate Change RINGING -> HANGUP 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/972546322423) State HANGUP 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 2023-06-28 05:26:21.600614 99.60% [DEBUG] mod_sofia.c:468 Channel sofia/default/972546322423 hanging up, cause: ORIGINATOR_CANCEL 2023-06-28 05:26:21.600614 99.60% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/972546322423 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:59 sofia/default/972546322423 Standard HANGUP, cause: ORIGINATOR_CANCEL 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/972546322423) State HANGUP going to sleep 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 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) 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/972546322423) State REPORTING 2023-06-28 05:26:21.600614 99.60% [INFO] mod_json_cdr.c:271 Process [ddbb6dde-0e7a-402f-8e4a-be124446e726.cdr.json] 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) 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) 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) 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 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) 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 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:846 (sofia/default/anonymous@pstn.twilio.com) State HANGUP 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 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 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 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 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) 2023-06-28 05:26:21.600614 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/anonymous@pstn.twilio.com) State REPORTING 2023-06-28 05:26:21.600614 99.60% [INFO] mod_json_cdr.c:271 Process [f54e334c-db7a-4468-a3a2-1d05aa6d1da1.cdr.json] 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:168 sofia/default/972546322423 Standard REPORTING, cause: ORIGINATOR_CANCEL 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:932 (sofia/default/972546322423) State REPORTING going to sleep 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 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 2023-06-28 05:26:21.680628 99.60% [NOTICE] switch_core_session.c:1771 Session 8972 (sofia/default/972546322423) Ended 2023-06-28 05:26:21.680628 99.60% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/972546322423 [CS_DESTROY] 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) 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/972546322423) State DESTROY 2023-06-28 05:26:21.680628 99.60% [DEBUG] mod_sofia.c:379 sofia/default/972546322423 SOFIA DESTROY 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/972546322423 Standard DESTROY 2023-06-28 05:26:21.680628 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/972546322423) State DESTROY going to sleep 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 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 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 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 2023-06-28 05:26:21.800616 99.60% [NOTICE] switch_core_session.c:1771 Session 8971 (sofia/default/anonymous@pstn.twilio.com) Ended 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] 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) 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:745 (sofia/default/anonymous@pstn.twilio.com) State DESTROY 2023-06-28 05:26:21.800616 99.60% [DEBUG] mod_sofia.c:379 sofia/default/anonymous@pstn.twilio.com SOFIA DESTROY 2023-06-28 05:26:21.800616 99.60% [DEBUG] switch_core_state_machine.c:175 sofia/default/anonymous@pstn.twilio.com Standard DESTROY 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 2023-06-28 05:26:32.580623 99.57% [NOTICE] sofia_reg.c:459 Registering didlogicin1gtw