Type /help to see a list of commands +OK log level [7] freeswitch@ip-172-31-0-164> freeswitch@ip-172-31-0-164> freeswitch@ip-172-31-0-164> 2024-02-08 05:45:54.842439 96.23% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1007799@3.110.187.230 [9007c1a6-14f3-4b68-bf60-ec81d27e945c] 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_NEW (Cur 1 Tot 675) 2024-02-08 05:45:54.842439 96.23% [INFO] sofia.c:10459 sofia/default/1007799@3.110.187.230 receiving invite from 3.110.187.230:5077 version: 1.10.10-release 64bit call-id: 2ab85b63-40e8-123d-67ad-021eb38071a8 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 3.110.187.230:0. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:10582 IP 3.110.187.230 Approved by acl "default[]". Access Granted. 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:7493 Channel sofia/default/1007799@3.110.187.230 entering state [received][100] 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1707341172 1707341173 IN IP4 3.110.187.230 s=FreeSWITCH c=IN IP4 3.110.187.230 t=0 0 m=audio 29982 RTP/AVP 8 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1007799@3.110.187.230 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_codec.c:111 sofia/default/1007799@3.110.187.230 Original read codec set to PCMA:8 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_media.c:5856 sofia/default/1007799@3.110.187.230 Set 2833 dtmf send payload to 101 recv payload to 101 2024-02-08 05:45:54.842439 96.23% [DEBUG] sofia.c:7927 (sofia/default/1007799@3.110.187.230) State Change CS_NEW -> CS_INIT 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1007799@3.110.187.230) State NEW 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_INIT (Cur 1 Tot 675) 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1007799@3.110.187.230) State INIT 2024-02-08 05:45:54.842439 96.23% [DEBUG] mod_sofia.c:97 sofia/default/1007799@3.110.187.230 SOFIA INIT 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/1007799@3.110.187.230 Standard INIT 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1007799@3.110.187.230) State Change CS_INIT -> CS_ROUTING 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1007799@3.110.187.230) State INIT going to sleep 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_ROUTING (Cur 1 Tot 675) 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_channel.c:2399 (sofia/default/1007799@3.110.187.230) Callstate Change DOWN -> RINGING 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1007799@3.110.187.230) State ROUTING 2024-02-08 05:45:54.842439 96.23% [DEBUG] mod_sofia.c:158 sofia/default/1007799@3.110.187.230 SOFIA ROUTING 2024-02-08 05:45:54.842439 96.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/1007799@3.110.187.230 Standard ROUTING 2024-02-08 05:45:54.842439 96.23% [INFO] mod_dialplan_xml.c:639 Processing EX <1007799>->10077 in context default 2024-02-08 05:45:54.842439 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 10077 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+PKServerMaster 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '10077' limit 1 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : EX / 1007799 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("3.110.187.230") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "10077" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-02-08 05:45:54.862424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894] 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-02-08 05:45:54.862424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2 2024-02-08 05:45:54.862424 96.23% [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 = '^10077.*' OR patterns = '^1007.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-02-08 05:45:54.862424 96.23% [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 ="10077" AND A.accountid = '3' limit 1 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 10077 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '1007799' OR number = '100779' OR number = '10077' OR number = '1007' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '1007799*' OR number = '100779*' OR number = '10077*' OR number = '1007*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '10077' OR routing_prefix = '1007' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 962.4 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 2 and status = 0 limit 1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="10077" LIMIT 1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.20000 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 10077 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your962.4 balance Accountid 3 !!! 2024-02-08 05:45:54.882424 96.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-02-08 05:45:54.882424 96.23% [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 = 3 AND status=0 LIMIT 1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2" OR number = "2") AND deleted = 0 limit 1 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3 2024-02-08 05:45:54.882424 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-02-08 05:45:54.882424 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+PKServerMaster' and status = 0 limit 1 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_15 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] call_forwarding_group_id: 2 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET CALL_FORWARDING_GROUP_PRIORITY] Query :SELECT id,set_priority FROM call_forwarding_group WHERE id = '2' AND status = 0 LIMIT 1 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] set_priority: 0 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET cfg_dest] Query :SELECT * FROM cfg_dest WHERE call_forwarding_id = '2' AND status = 0 AND today_calls < daily_call_limit AND active_cc < maxchannels order by priority,id ASC LIMIT 1 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] forwarding_type: 0 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] destination: 107770088 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] cc: 6 2024-02-08 05:45:54.902426 96.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [CALL_FORWARDING_GROUP] priority: 1 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1007799" limit 1 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [active_cc] :1 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [update_active_cc] Query :update cfg_dest SET active_cc = '1', today_calls = today_calls + 1 where id = '4' AND destination = '107770088' 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/1007799@3.110.187.230 parsing [default->10077] continue=false Dialplan: sofia/default/1007799@3.110.187.230 Regex (PASS) [10077] destination_number(10077) =~ /10077/ break=on-false Dialplan: sofia/default/1007799@3.110.187.230 Action set(effective_destination_number=10077) Dialplan: sofia/default/1007799@3.110.187.230 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/1007799@3.110.187.230 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/1007799@3.110.187.230 Action set(notify_flag=0) Dialplan: sofia/default/1007799@3.110.187.230 Action set(notify_credit_limit=0.00000) Dialplan: sofia/default/1007799@3.110.187.230 Action set(type=3) Dialplan: sofia/default/1007799@3.110.187.230 Action set(callstart=2024-02-08 05:45:54) Dialplan: sofia/default/1007799@3.110.187.230 Action set(hangup_after_bridge=true) Dialplan: sofia/default/1007799@3.110.187.230 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/1007799@3.110.187.230 Action set(account_id=3) Dialplan: sofia/default/1007799@3.110.187.230 Action set(parent_id=0) Dialplan: sofia/default/1007799@3.110.187.230 Action set(entity_id=3) Dialplan: sofia/default/1007799@3.110.187.230 Action set(call_processed=internal) Dialplan: sofia/default/1007799@3.110.187.230 Action set(call_direction=inbound) Dialplan: sofia/default/1007799@3.110.187.230 Action set(accountname=Cummnity) Dialplan: sofia/default/1007799@3.110.187.230 Action set(origination_rates_did=ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3) Dialplan: sofia/default/1007799@3.110.187.230 Action set(origination_rates=0) Dialplan: sofia/default/1007799@3.110.187.230 Action set(original_caller_id_name=EX ) Dialplan: sofia/default/1007799@3.110.187.230 Action set(original_caller_id_number=1007799) Dialplan: sofia/default/1007799@3.110.187.230 Action export(is_recording=1) Dialplan: sofia/default/1007799@3.110.187.230 Action export(media_bug_answer_req=true) Dialplan: sofia/default/1007799@3.110.187.230 Action export(record_sample_rate=8000) Dialplan: sofia/default/1007799@3.110.187.230 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/1007799@3.110.187.230 Action set(effective_caller_id_name=EX ) Dialplan: sofia/default/1007799@3.110.187.230 Action set(effective_caller_id_number=1007799) Dialplan: sofia/default/1007799@3.110.187.230 Action set(receiver_accid=2) Dialplan: sofia/default/1007799@3.110.187.230 Action export(domain_name=) Dialplan: sofia/default/1007799@3.110.187.230 Action export(sip_to_host=) Dialplan: sofia/default/1007799@3.110.187.230 Action export(presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230) Dialplan: sofia/default/1007799@3.110.187.230 Action export(call_type=15) Dialplan: sofia/default/1007799@3.110.187.230 Action set(hangup_after_bridge=true) Dialplan: sofia/default/1007799@3.110.187.230 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/1007799@3.110.187.230 Action set(calltype=Call-Forwarding-Group) Dialplan: sofia/default/1007799@3.110.187.230 Action export(did_destination_forwarding_id=2) Dialplan: sofia/default/1007799@3.110.187.230 Action export(did_forwarding_answered_by=107770088) Dialplan: sofia/default/1007799@3.110.187.230 Action export(active_cc=1) Dialplan: sofia/default/1007799@3.110.187.230 Action export(today_calls=0) Dialplan: sofia/default/1007799@3.110.187.230 Action limit_execute(db 107770088 cfg_107770088 6 bridge [leg_timeout=0]sofia/${sofia_profile_name}/107770088@${domain_name}) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1007799@3.110.187.230) State Change CS_ROUTING -> CS_EXECUTE 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1007799@3.110.187.230) State ROUTING going to sleep 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_EXECUTE (Cur 1 Tot 675) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1007799@3.110.187.230) State EXECUTE 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:213 sofia/default/1007799@3.110.187.230 SOFIA EXECUTE 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:323 sofia/default/1007799@3.110.187.230 Standard EXECUTE EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(effective_destination_number=10077) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [effective_destination_number]=[10077] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(notify_flag=0) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(notify_credit_limit=0.00000) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [notify_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(type=3) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [type]=[3] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(callstart=2024-02-08 05:45:54) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [callstart]=[2024-02-08 05:45:54] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(hangup_after_bridge=true) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(continue_on_fail=TRUE) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(account_id=3) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [account_id]=[3] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(parent_id=0) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [parent_id]=[0] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(entity_id=3) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [entity_id]=[3] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(call_processed=internal) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(call_direction=inbound) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(accountname=Cummnity) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [accountname]=[Cummnity] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(origination_rates_did=ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [origination_rates_did]=[ID:1|CODE:^10077.*|DESTINATION:10077|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:15|COST:1.20000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(origination_rates=0) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(original_caller_id_name=EX ) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [original_caller_id_name]=[EX ] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(original_caller_id_number=1007799) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [original_caller_id_number]=[1007799] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(is_recording=1) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(media_bug_answer_req=true) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(record_sample_rate=8000) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/9007c1a6-14f3-4b68-bf60-ec81d27e945c.wav) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/9007c1a6-14f3-4b68-bf60-ec81d27e945c.wav] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(effective_caller_id_name=EX ) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [effective_caller_id_name]=[EX ] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(effective_caller_id_number=1007799) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [effective_caller_id_number]=[1007799] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(receiver_accid=2) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [receiver_accid]=[2] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(domain_name=) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(sip_to_host=) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(presence_data=x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(call_type=15) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[15] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(hangup_after_bridge=true) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(continue_on_fail=TRUE) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 set(calltype=Call-Forwarding-Group) 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_dptools.c:1671 SET sofia/default/1007799@3.110.187.230 [calltype]=[Call-Forwarding-Group] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(did_destination_forwarding_id=2) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_destination_forwarding_id]=[2] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(did_forwarding_answered_by=107770088) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_forwarding_answered_by]=[107770088] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(active_cc=1) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [active_cc]=[1] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 export(today_calls=0) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [today_calls]=[0] EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 limit_execute(db 107770088 cfg_107770088 6 bridge [leg_timeout=0]sofia/default/107770088@172.31.0.164) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_limit.c:124 incr called: 107770088_cfg_107770088 max:6, interval:0 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_db.c:194 Usage for 107770088_cfg_107770088 is now 1/6 EXECUTE [depth=0] sofia/default/1007799@3.110.187.230 bridge([leg_timeout=0]sofia/default/107770088@172.31.0.164) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [is_recording]=[1] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/9007c1a6-14f3-4b68-bf60-ec81d27e945c.wav] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^10077.* // 10077 // 1.20000|||||||||DID|||3.110.187.230] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [call_type]=[15] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [did_destination_forwarding_id]=[2] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [did_forwarding_answered_by]=[107770088] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [active_cc]=[1] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_channel.c:1288 sofia/default/1007799@3.110.187.230 EXPORTING[export_vars] [today_calls]=[0] to event 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-02-08 05:45:54.902426 96.23% [NOTICE] switch_channel.c:1142 New Channel sofia/default/107770088@172.31.0.164 [0a639977-f232-4eba-b5c4-109184e899b7] 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:5110 (sofia/default/107770088@172.31.0.164) State Change CS_NEW -> CS_INIT 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_INIT (Cur 2 Tot 676) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107770088@172.31.0.164) State INIT 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:97 sofia/default/107770088@172.31.0.164 SOFIA INIT 2024-02-08 05:45:54.902426 96.23% [INFO] sofia_glue.c:1659 sofia/default/107770088@172.31.0.164 sending invite call-id: (null) 2024-02-08 05:45:54.902426 96.23% [DEBUG] sofia_glue.c:1662 sofia/default/107770088@172.31.0.164 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1707349034 1707349035 IN IP4 172.31.0.164 s=FreeSWITCH c=IN IP4 172.31.0.164 t=0 0 m=audio 22120 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 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/107770088@172.31.0.164 Standard INIT 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/107770088@172.31.0.164) State Change CS_INIT -> CS_ROUTING 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/107770088@172.31.0.164) State INIT going to sleep 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_ROUTING (Cur 2 Tot 676) 2024-02-08 05:45:54.902426 96.23% [DEBUG] sofia.c:7493 Channel sofia/default/107770088@172.31.0.164 entering state [calling][0] 2024-02-08 05:45:54.902426 96.23% [DEBUG] sofia.c:7493 Channel sofia/default/107770088@172.31.0.164 entering state [terminated][503] 2024-02-08 05:45:54.902426 96.23% [NOTICE] sofia.c:8735 Hangup sofia/default/107770088@172.31.0.164 [CS_ROUTING] [NORMAL_TEMPORARY_FAILURE] 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107770088@172.31.0.164) State ROUTING 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:158 sofia/default/107770088@172.31.0.164 SOFIA ROUTING 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/107770088@172.31.0.164) State ROUTING going to sleep 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_HANGUP (Cur 2 Tot 676) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/107770088@172.31.0.164) Callstate Change DOWN -> HANGUP 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107770088@172.31.0.164) State HANGUP 2024-02-08 05:45:54.902426 96.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/107770088@172.31.0.164 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/107770088@172.31.0.164 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/107770088@172.31.0.164) State HANGUP going to sleep 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/107770088@172.31.0.164) State Change CS_HANGUP -> CS_REPORTING 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/107770088@172.31.0.164) Running State Change CS_REPORTING (Cur 2 Tot 676) 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107770088@172.31.0.164) State REPORTING 2024-02-08 05:45:54.902426 96.23% [INFO] mod_json_cdr.c:272 Process [0a639977-f232-4eba-b5c4-109184e899b7.cdr.json] 2024-02-08 05:45:54.902426 96.23% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE] 2024-02-08 05:45:54.902426 96.23% [INFO] mod_dptools.c:3635 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE 2024-02-08 05:45:54.902426 96.23% [INFO] mod_dptools.c:4906 immediately releasing 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_state_machine.c:382 sofia/default/1007799@3.110.187.230 has executed the last dialplan instruction, hanging up. 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1007799@3.110.187.230 [CS_EXECUTE] [NORMAL_CLEARING] 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1007799@3.110.187.230) State EXECUTE going to sleep 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_HANGUP (Cur 2 Tot 676) 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1007799@3.110.187.230) Callstate Change RINGING -> HANGUP 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1007799@3.110.187.230) State HANGUP 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:463 sofia/default/1007799@3.110.187.230 Overriding SIP cause 480 with 503 from the other leg 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:469 Channel sofia/default/1007799@3.110.187.230 hanging up, cause: NORMAL_CLEARING 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 503 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/1007799@3.110.187.230 Standard HANGUP, cause: NORMAL_CLEARING 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1007799@3.110.187.230) State HANGUP going to sleep 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1007799@3.110.187.230) State Change CS_HANGUP -> CS_REPORTING 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1007799@3.110.187.230) Running State Change CS_REPORTING (Cur 2 Tot 676) 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1007799@3.110.187.230) State REPORTING 2024-02-08 05:45:54.922422 96.23% [INFO] mod_json_cdr.c:272 Process [9007c1a6-14f3-4b68-bf60-ec81d27e945c.cdr.json] 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/107770088@172.31.0.164 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/107770088@172.31.0.164) State REPORTING going to sleep 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/107770088@172.31.0.164) State Change CS_REPORTING -> CS_DESTROY 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_session.c:1744 Session 676 (sofia/default/107770088@172.31.0.164) Locked, Waiting on external entities 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_session.c:1762 Session 676 (sofia/default/107770088@172.31.0.164) Ended 2024-02-08 05:45:54.922422 96.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/107770088@172.31.0.164 [CS_DESTROY] 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/107770088@172.31.0.164) Running State Change CS_DESTROY (Cur 1 Tot 676) 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107770088@172.31.0.164) State DESTROY 2024-02-08 05:45:54.922422 96.23% [DEBUG] mod_sofia.c:380 sofia/default/107770088@172.31.0.164 SOFIA DESTROY 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/107770088@172.31.0.164 Standard DESTROY 2024-02-08 05:45:54.922422 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/107770088@172.31.0.164) State DESTROY going to sleep 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/1007799@3.110.187.230 Standard REPORTING, cause: NORMAL_CLEARING 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1007799@3.110.187.230) State REPORTING going to sleep 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1007799@3.110.187.230) State Change CS_REPORTING -> CS_DESTROY 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_session.c:1744 Session 675 (sofia/default/1007799@3.110.187.230) Locked, Waiting on external entities 2024-02-08 05:45:54.942424 96.23% [NOTICE] switch_core_session.c:1762 Session 675 (sofia/default/1007799@3.110.187.230) Ended 2024-02-08 05:45:54.942424 96.23% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1007799@3.110.187.230 [CS_DESTROY] 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1007799@3.110.187.230) Running State Change CS_DESTROY (Cur 0 Tot 676) 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1007799@3.110.187.230) State DESTROY 2024-02-08 05:45:54.942424 96.23% [DEBUG] mod_sofia.c:380 sofia/default/1007799@3.110.187.230 SOFIA DESTROY 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/1007799@3.110.187.230 Standard DESTROY 2024-02-08 05:45:54.942424 96.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1007799@3.110.187.230) State DESTROY going to sleep 2024-02-08 05:46:03.882447 95.33% [WARNING] sofia_reg.c:1842 SIP auth challenge (REGISTER) on sofia profile 'default' for [5025730762@pk1betav602.astppbilling.org] from ip 3.110.187.230 2024-02-08 05:46:03.882447 95.33% [WARNING] sofia_reg.c:3210 Can't find user [5025730762@pk1betav602.astppbilling.org] from 3.110.187.230 You must define a domain called 'pk1betav602.astppbilling.org' in your directory and add a user with the id="5025730762" attribute and you must configure your device to use the proper domain in its authentication credentials. 2024-02-08 05:46:03.882447 95.33% [WARNING] sofia_reg.c:1787 SIP auth failure (REGISTER) on sofia profile 'default' for [5025730762@pk1betav602.astppbilling.org] from ip 3.110.187.230 freeswitch@ip-172-31-0-164>