2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/911096046@51.91.247.55 Standard REPORTING, cause: UNALLOCATED_NUMBER 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/911096046@51.91.247.55) State REPORTING going to sleep 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/911096046@51.91.247.55) State Change CS_REPORTING -> CS_DESTROY 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_session.c:1753 Session 9763 (sofia/default/911096046@51.91.247.55) Locked, Waiting on external entities 2023-06-28 07:00:37.878652 99.50% [NOTICE] switch_core_session.c:1771 Session 9763 (sofia/default/911096046@51.91.247.55) Ended 2023-06-28 07:00:37.878652 99.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/911096046@51.91.247.55 [CS_DESTROY] 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/911096046@51.91.247.55) Running State Change CS_DESTROY (Cur 15 Tot 9763) 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/911096046@51.91.247.55) State DESTROY 2023-06-28 07:00:37.878652 99.50% [DEBUG] mod_sofia.c:379 sofia/default/911096046@51.91.247.55 SOFIA DESTROY 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/911096046@51.91.247.55 Standard DESTROY 2023-06-28 07:00:37.878652 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/911096046@51.91.247.55) State DESTROY going to sleep 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:168 sofia/default/608627716@52.17.186.54 Standard REPORTING, cause: NORMAL_CLEARING 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/608627716@52.17.186.54) State REPORTING going to sleep 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:607 (sofia/default/608627716@52.17.186.54) State Change CS_REPORTING -> CS_DESTROY 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_session.c:1753 Session 9762 (sofia/default/608627716@52.17.186.54) Locked, Waiting on external entities 2023-06-28 07:00:37.898649 99.50% [NOTICE] switch_core_session.c:1771 Session 9762 (sofia/default/608627716@52.17.186.54) Ended 2023-06-28 07:00:37.898649 99.50% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/608627716@52.17.186.54 [CS_DESTROY] 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:735 (sofia/default/608627716@52.17.186.54) Running State Change CS_DESTROY (Cur 14 Tot 9763) 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/608627716@52.17.186.54) State DESTROY 2023-06-28 07:00:37.898649 99.50% [DEBUG] mod_sofia.c:379 sofia/default/608627716@52.17.186.54 SOFIA DESTROY 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:175 sofia/default/608627716@52.17.186.54 Standard DESTROY 2023-06-28 07:00:37.898649 99.50% [DEBUG] switch_core_state_machine.c:745 (sofia/default/608627716@52.17.186.54) State DESTROY going to sleep 2023-06-28 07:00:37.998648 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/608627716@52.17.186.54 [f5ad97d2-458f-4d59-88b1-e39e7a4db8ff] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/608627716@52.17.186.54) Running State Change CS_NEW (Cur 15 Tot 9764) 2023-06-28 07:00:37.998648 99.50% [INFO] sofia.c:10462 sofia/default/608627716@52.17.186.54 receiving invite from 34.243.39.183:5060 version: 1.10.7 -release 64bit call-id: 61a4018207ecfed449427514669c2a5f@52.17.186.54:5060 2023-06-28 07:00:37.998648 99.50% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 34.243.39.183:0. 2023-06-28 07:00:37.998648 99.50% [DEBUG] sofia.c:10585 IP 34.243.39.183 Approved by acl "default[]". Access Granted. 2023-06-28 07:00:37.998648 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/608627716@52.17.186.54 entering state [received][100] 2023-06-28 07:00:37.998648 99.50% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=root 954717988 954717988 IN IP4 52.17.186.54 s=Asterisk PBX 1.8.32.3 c=IN IP4 52.17.186.54 t=0 0 m=audio 18166 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/608627716@52.17.186.54 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_codec.c:111 sofia/default/608627716@52.17.186.54 Original read codec set to PCMA:8 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_media.c:5973 sofia/default/608627716@52.17.186.54 Set 2833 dtmf send payload to 101 recv payload to 101 2023-06-28 07:00:37.998648 99.50% [DEBUG] sofia.c:7933 (sofia/default/608627716@52.17.186.54) State Change CS_NEW -> CS_INIT 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:600 (sofia/default/608627716@52.17.186.54) State NEW 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/608627716@52.17.186.54) Running State Change CS_INIT (Cur 15 Tot 9764) 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/608627716@52.17.186.54) State INIT 2023-06-28 07:00:37.998648 99.50% [DEBUG] mod_sofia.c:97 sofia/default/608627716@52.17.186.54 SOFIA INIT 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/608627716@52.17.186.54 Standard INIT 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/608627716@52.17.186.54) State Change CS_INIT -> CS_ROUTING 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/608627716@52.17.186.54) State INIT going to sleep 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/608627716@52.17.186.54) Running State Change CS_ROUTING (Cur 15 Tot 9764) 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_channel.c:2380 (sofia/default/608627716@52.17.186.54) Callstate Change DOWN -> RINGING 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/608627716@52.17.186.54) State ROUTING 2023-06-28 07:00:37.998648 99.50% [DEBUG] mod_sofia.c:158 sofia/default/608627716@52.17.186.54 SOFIA ROUTING 2023-06-28 07:00:37.998648 99.50% [DEBUG] switch_core_state_machine.c:230 sofia/default/608627716@52.17.186.54 Standard ROUTING 2023-06-28 07:00:37.998648 99.50% [INFO] mod_dialplan_xml.c:639 Processing 608627716 <608627716>->911096046 in context default 2023-06-28 07:00:37.998648 99.50% [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 07:00:37.998648 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-06-28 07:00:37.998648 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 167a46b1-cb6e-4303-ae1e-3e2da2ee66eb FreeSWITCH-Hostname: ip-10-0-2-92 FreeSWITCH-Switchname: ip-10-0-2-92 FreeSWITCH-IPv4: 10.0.2.92 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2023-06-28%2007%3A00%3A37 Event-Date-GMT: Wed,%2028%20Jun%202023%2007%3A00%3A37%20GMT Event-Date-Timestamp: 1687935637998648 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 561250 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/608627716%4052.17.186.54 Unique-ID: f5ad97d2-458f-4d59-88b1-e39e7a4db8ff Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 608627716%4052.17.186.54 Channel-Call-UUID: f5ad97d2-458f-4d59-88b1-e39e7a4db8ff Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 608627716 Caller-Dialplan: XML Caller-Caller-ID-Name: 608627716 Caller-Caller-ID-Number: 608627716 Caller-Orig-Caller-ID-Name: 608627716 Caller-Orig-Caller-ID-Number: 608627716 Caller-Network-Addr: 34.243.39.183 Caller-ANI: 608627716 Caller-Destination-Number: 911096046 Caller-Unique-ID: f5ad97d2-458f-4d59-88b1-e39e7a4db8ff Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/608627716%4052.17.186.54 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1687935637998648 Caller-Channel-Created-Time: 1687935637998648 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: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: f5ad97d2-458f-4d59-88b1-e39e7a4db8ff variable_session_id: 9764 variable_sip_from_user: 608627716 variable_sip_from_uri: 608627716%4052.17.186.54 variable_sip_from_host: 52.17.186.54 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/608627716%4052.17.186.54 variable_sip_call_id: 61a4018207ecfed449427514669c2a5f%4052.17.186.54%3A5060 variable_sip_local_network_addr: 54.220.206.86 variable_sip_network_ip: 34.243.39.183 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1687935637998648 variable_sip_received_ip: 34.243.39.183 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: 608627716 variable_sip_from_tag: as69d53950 variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4054.220.206.86%3A7777 variable_recovery_profile_name: default variable_sip_invite_route_uri: %3Csip%3A34.243.39.183%3Blr%3Bftag%3Das69d53950%3Bdid%3D422.163bf707%3E variable_sip_invite_record_route: %3Csip%3A34.243.39.183%3Blr%3Bftag%3Das69d53950%3Bdid%3D422.163bf707%3E variable_sip_full_via: SIP/2.0/UDP%2034.243.39.183%3A5060%3Bbranch%3Dz9hG4bK5f.ebf1e037.0,SIP/2.0/UDP%2052.17.186.54%3A5060%3Breceived%3D52.17.186.54%3Bbranch%3Dz9hG4bK77a195a6%3Brport%3D5060 variable_sip_from_display: 608627716 variable_sip_full_from: %22608627716%22%20%3Csip%3A608627716%4052.17.186.54%3E%3Btag%3Das69d53950 variable_sip_full_to: %3Csip%3A911096046%4034.243.39.183%3A5060%3E variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE variable_sip_req_user: 911096046 variable_sip_req_port: 5060 variable_sip_req_uri: 911096046%4034.243.39.183%3A5060 variable_sip_req_host: 34.243.39.183 variable_sip_to_user: 911096046 variable_sip_to_port: 5060 variable_sip_to_uri: 911096046%4034.243.39.183%3A5060 variable_sip_to_host: 34.243.39.183 variable_sip_contact_user: 608627716 variable_sip_contact_port: 5060 variable_sip_contact_uri: 608627716%4052.17.186.54%3A5060 variable_sip_contact_host: 52.17.186.54 variable_sip_user_agent: MASIP%20PBX variable_sip_via_host: 34.243.39.183 variable_sip_via_port: 5060 variable_max_forwards: 69 variable_presence_id: 608627716%4052.17.186.54 variable_sip_date_epoch_time: 1687935638 variable_sip_h_Diversion: %3Csip%3A621296078%4052.17.186.54%3E%3Breason%3Dunconditional variable_sip_h_X-AUTH-IP: 52.17.186.54 variable_sip_h_P-Accountcode: 2189415096 variable_sip_h_P-effective_caller_id_name: %22608627716%22 variable_sip_h_P-effective_caller_id_number: 608627716 variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%20954717988%20954717988%20IN%20IP4%2052.17.186.54%0D%0As%3DAsterisk%20PBX%201.8.32.3%0D%0Ac%3DIN%20IP4%2052.17.186.54%0D%0At%3D0%200%0D%0Am%3Daudio%2018166%20RTP/AVP%208%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_com_g729.G729%408000h%4020i%408000b variable_rtp_use_codec_string: G729,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.17.186.54 variable_remote_media_port: 18166 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: f5ad97d2-458f-4d59-88b1-e39e7a4db8ff Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 608627716 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 608627716 Hunt-Caller-ID-Number: 608627716 Hunt-Orig-Caller-ID-Name: 608627716 Hunt-Orig-Caller-ID-Number: 608627716 Hunt-Network-Addr: 34.243.39.183 Hunt-ANI: 608627716 Hunt-Destination-Number: 911096046 Hunt-Unique-ID: f5ad97d2-458f-4d59-88b1-e39e7a4db8ff Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/608627716%4052.17.186.54 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1687935637998648 Hunt-Channel-Created-Time: 1687935637998648 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: false Hunt-Privacy-Hide-Number: false 2023-06-28 07:00:37.998648 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value: 2023-06-28 07:00:37.998648 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name: 2023-06-28 07:00:37.998648 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name: 2023-06-28 07:00:37.998648 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan 2023-06-28 07:00:38.018651 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 911096046 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '911096046' AND status=0 limit 1 2023-06-28 07:00:38.018651 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "608627716" / 608627716 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="911096046" LIMIT 1 2023-06-28 07:00:38.018651 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-06-28 07:00:38.018651 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2189415096] 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2189415096" AND deleted = 0 limit 1 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="911096046" AND (accountid = 0 OR status = 1) LIMIT 1 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 107 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^911096046.*' OR patterns = '^91109604.*' OR patterns = '^9110960.*' OR patterns = '^911096.*' OR patterns = '^91109.*' OR patterns = '^9110.*' OR patterns = '^911.*' OR patterns = '^91.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 107 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-06-28 07:00:38.018651 99.50% [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 ="911096046" AND A.accountid = '7' limit 1 2023-06-28 07:00:38.018651 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 911096046 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="911096046" LIMIT 1 2023-06-28 07:00:38.018651 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-06-28 07:00:38.018651 99.50% [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 = '911096046' OR number = '91109604' OR number = '9110960' OR number = '911096' OR number = '91109' OR number = '9110' OR number = '911' OR number = '91' OR number = '9' OR number ='--') OR (number = '911096046*' OR number = '91109604*' OR number = '9110960*' OR number = '911096*' OR number = '91109*' OR number = '9110*' OR number = '911*' OR number = '91*' OR number = '9*' OR number ='--') OR (number = '608627716' OR number = '60862771' OR number = '6086277' OR number = '608627' OR number = '60862' OR number = '6086' OR number = '608' OR number = '60' OR number = '6' OR number ='--') OR (number = '608627716*' OR number = '60862771*' OR number = '6086277*' OR number = '608627*' OR number = '60862*' OR number = '6086*' OR number = '608*' OR number = '60*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-06-28 07:00:38.018651 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '911096046' OR routing_prefix = '91109604' OR routing_prefix = '9110960' OR routing_prefix = '911096' OR routing_prefix = '91109' OR routing_prefix = '9110' OR routing_prefix = '911' OR routing_prefix = '91' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2189415096 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 15 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="911096046" LIMIT 1 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 25 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Spain Spain 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 7 !!! 2023-06-28 07:00:38.038654 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-06-28 07:00:38.038654 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0 2023-06-28 07:00:38.038654 99.50% [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 = 7 AND status=0 LIMIT 1 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "107" AND deleted = 0 limit 1 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 15 AND status = 0 2023-06-28 07:00:38.038654 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^911096046.*' OR pattern = '^91109604.*' OR pattern = '^9110960.*' OR pattern = '^911096.*' OR pattern = '^91109.*' OR pattern = '^9110.*' OR pattern = '^911.*' OR pattern = '^91.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 15 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 87838 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : EDIM Prov MOR 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 174 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 7 !!! 2023-06-28 07:00:38.058663 99.50% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:7 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:7 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 7 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-06-28 07:00:38.058663 99.50% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 107 and status = 0 limit 1 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_2 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/608627716@52.17.186.54 parsing [default->911096046] continue=false Dialplan: sofia/default/608627716@52.17.186.54 Regex (PASS) [911096046] destination_number(911096046) =~ /911096046/ break=on-false Dialplan: sofia/default/608627716@52.17.186.54 Action set(effective_destination_number=911096046) Dialplan: sofia/default/608627716@52.17.186.54 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/608627716@52.17.186.54 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/608627716@52.17.186.54 Action set(callstart=2023-06-28 07:00:38) Dialplan: sofia/default/608627716@52.17.186.54 Action set(hangup_after_bridge=true) Dialplan: sofia/default/608627716@52.17.186.54 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/608627716@52.17.186.54 Action set(account_id=7) Dialplan: sofia/default/608627716@52.17.186.54 Action set(parent_id=0) Dialplan: sofia/default/608627716@52.17.186.54 Action set(entity_id=3) Dialplan: sofia/default/608627716@52.17.186.54 Action set(call_processed=internal) Dialplan: sofia/default/608627716@52.17.186.54 Action set(call_direction=inbound) Dialplan: sofia/default/608627716@52.17.186.54 Action set(accountname=default) Dialplan: sofia/default/608627716@52.17.186.54 Action set(origination_rates_did=ID:25|CODE:^911096046.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:107) Dialplan: sofia/default/608627716@52.17.186.54 Action set(origination_rates=ID:87838|CODE:^911096046.*|DESTINATION:EDIM Prov MOR|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:15|MARKUP:0|CI:174|ACCID:7) Dialplan: sofia/default/608627716@52.17.186.54 Action set(original_caller_id_name=608627716) Dialplan: sofia/default/608627716@52.17.186.54 Action set(original_caller_id_number=608627716) Dialplan: sofia/default/608627716@52.17.186.54 Action set(effective_caller_id_name=) Dialplan: sofia/default/608627716@52.17.186.54 Action set(effective_caller_id_number=608627716) Dialplan: sofia/default/608627716@52.17.186.54 Action set(receiver_accid=107) Dialplan: sofia/default/608627716@52.17.186.54 Action export(domain_name=) Dialplan: sofia/default/608627716@52.17.186.54 Action export(sip_to_host=) Dialplan: sofia/default/608627716@52.17.186.54 Action export(presence_data=x|||EDIM(437146)|||||||||DID|||52.17.186.54) Dialplan: sofia/default/608627716@52.17.186.54 Action export(call_type=2) Dialplan: sofia/default/608627716@52.17.186.54 Action set(calltype=DIRECT-IP) Dialplan: sofia/default/608627716@52.17.186.54 Action bridge([leg_timeout=0]sofia/${sofia_profile_name}/911096046@51.91.247.55;fs_path=sip:34.243.39.183:5060) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:281 (sofia/default/608627716@52.17.186.54) State Change CS_ROUTING -> CS_EXECUTE 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/608627716@52.17.186.54) State ROUTING going to sleep 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/608627716@52.17.186.54) Running State Change CS_EXECUTE (Cur 15 Tot 9764) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:647 (sofia/default/608627716@52.17.186.54) State EXECUTE 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_sofia.c:213 sofia/default/608627716@52.17.186.54 SOFIA EXECUTE 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:323 sofia/default/608627716@52.17.186.54 Standard EXECUTE EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(effective_destination_number=911096046) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [effective_destination_number]=[911096046] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(callstart=2023-06-28 07:00:38) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [callstart]=[2023-06-28 07:00:38] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(hangup_after_bridge=true) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(continue_on_fail=TRUE) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(account_id=7) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [account_id]=[7] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(parent_id=0) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [parent_id]=[0] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(entity_id=3) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [entity_id]=[3] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(call_processed=internal) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(call_direction=inbound) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(accountname=default) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [accountname]=[default] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(origination_rates_did=ID:25|CODE:^911096046.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:107) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [origination_rates_did]=[ID:25|CODE:^911096046.*|DESTINATION:Spain Spain|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:174|ACCID:107] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(origination_rates=ID:87838|CODE:^911096046.*|DESTINATION:EDIM Prov MOR|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:15|MARKUP:0|CI:174|ACCID:7) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [origination_rates]=[ID:87838|CODE:^911096046.*|DESTINATION:EDIM Prov MOR|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:15|MARKUP:0|CI:174|ACCID:7] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(original_caller_id_name=608627716) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [original_caller_id_name]=[608627716] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(original_caller_id_number=608627716) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [original_caller_id_number]=[608627716] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(effective_caller_id_name=) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [effective_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(effective_caller_id_number=608627716) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [effective_caller_id_number]=[608627716] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(receiver_accid=107) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [receiver_accid]=[107] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 export(domain_name=) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 export(sip_to_host=) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 export(presence_data=x|||EDIM(437146)|||||||||DID|||52.17.186.54) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||EDIM(437146)|||||||||DID|||52.17.186.54] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 export(call_type=2) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[2] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 set(calltype=DIRECT-IP) 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_dptools.c:1685 SET sofia/default/608627716@52.17.186.54 [calltype]=[DIRECT-IP] EXECUTE [depth=0] sofia/default/608627716@52.17.186.54 bridge([leg_timeout=0]sofia/default/911096046@51.91.247.55;fs_path=sip:34.243.39.183:5060) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_channel.c:1269 sofia/default/608627716@52.17.186.54 EXPORTING[export_vars] [presence_data]=[x|||EDIM(437146)|||||||||DID|||52.17.186.54] to event 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_channel.c:1269 sofia/default/608627716@52.17.186.54 EXPORTING[export_vars] [call_type]=[2] to event 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2023-06-28 07:00:38.058663 99.50% [NOTICE] switch_channel.c:1123 New Channel sofia/default/911096046@51.91.247.55 [dc2519a5-18d3-449a-9553-5b4f59620041] 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_sofia.c:5121 (sofia/default/911096046@51.91.247.55) State Change CS_NEW -> CS_INIT 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911096046@51.91.247.55) Running State Change CS_INIT (Cur 16 Tot 9765) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/911096046@51.91.247.55) State INIT 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_sofia.c:97 sofia/default/911096046@51.91.247.55 SOFIA INIT 2023-06-28 07:00:38.058663 99.50% [DEBUG] sofia_glue.c:1620 sip:34.243.39.183:5060 Setting proxy route to sofia/default/911096046@51.91.247.55 2023-06-28 07:00:38.058663 99.50% [INFO] sofia_glue.c:1651 sofia/default/911096046@51.91.247.55 sending invite call-id: (null) 2023-06-28 07:00:38.058663 99.50% [DEBUG] sofia_glue.c:1654 sofia/default/911096046@51.91.247.55 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1687916278 1687916279 IN IP4 54.220.206.86 s=FreeSWITCH c=IN IP4 54.220.206.86 t=0 0 m=audio 19360 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:40 sofia/default/911096046@51.91.247.55 Standard INIT 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:48 (sofia/default/911096046@51.91.247.55) State Change CS_INIT -> CS_ROUTING 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:624 (sofia/default/911096046@51.91.247.55) State INIT going to sleep 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911096046@51.91.247.55) Running State Change CS_ROUTING (Cur 16 Tot 9765) 2023-06-28 07:00:38.058663 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/911096046@51.91.247.55 entering state [calling][0] 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/911096046@51.91.247.55) State ROUTING 2023-06-28 07:00:38.058663 99.50% [DEBUG] mod_sofia.c:158 sofia/default/911096046@51.91.247.55 SOFIA ROUTING 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_ivr_originate.c:67 (sofia/default/911096046@51.91.247.55) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:640 (sofia/default/911096046@51.91.247.55) State ROUTING going to sleep 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911096046@51.91.247.55) Running State Change CS_CONSUME_MEDIA (Cur 16 Tot 9765) 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/911096046@51.91.247.55) State CONSUME_MEDIA 2023-06-28 07:00:38.058663 99.50% [DEBUG] switch_core_state_machine.c:659 (sofia/default/911096046@51.91.247.55) State CONSUME_MEDIA going to sleep 2023-06-28 07:00:38.078652 99.50% [DEBUG] sofia.c:7499 Channel sofia/default/911096046@51.91.247.55 entering state [terminated][404] 2023-06-28 07:00:38.078652 99.50% [NOTICE] sofia.c:8738 Hangup sofia/default/911096046@51.91.247.55 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER] 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911096046@51.91.247.55) Running State Change CS_HANGUP (Cur 16 Tot 9765) 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:844 (sofia/default/911096046@51.91.247.55) Callstate Change DOWN -> HANGUP 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/911096046@51.91.247.55) State HANGUP 2023-06-28 07:00:38.078652 99.50% [DEBUG] mod_sofia.c:468 Channel sofia/default/911096046@51.91.247.55 hanging up, cause: UNALLOCATED_NUMBER 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:59 sofia/default/911096046@51.91.247.55 Standard HANGUP, cause: UNALLOCATED_NUMBER 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:846 (sofia/default/911096046@51.91.247.55) State HANGUP going to sleep 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:616 (sofia/default/911096046@51.91.247.55) State Change CS_HANGUP -> CS_REPORTING 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:581 (sofia/default/911096046@51.91.247.55) Running State Change CS_REPORTING (Cur 16 Tot 9765) 2023-06-28 07:00:38.078652 99.50% [DEBUG] switch_core_state_machine.c:932 (sofia/default/911096046@51.91.247.55) State REPORTING 2023-06-28 07:00:38.078652 99.50% [INFO] mod_json_cdr.c:271 Process [dc2519a5-18d3-449a-9553-5b4f59620041.cdr.json]