2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-07-26 09:34:16.924386 85.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100512@172.31.38.162:5060 [35547fc9-5f98-43e3-8688-432068373b31] 2023-07-26 09:34:16.924386 85.70% [DEBUG] mod_sofia.c:5121 (sofia/default/100512@172.31.38.162:5060) State Change CS_NEW -> CS_INIT 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_INIT (Cur 1 Tot 76) 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162:5060) State INIT 2023-07-26 09:34:16.924386 85.70% [DEBUG] mod_sofia.c:97 sofia/default/100512@172.31.38.162:5060 SOFIA INIT 2023-07-26 09:34:16.924386 85.70% [INFO] sofia_glue.c:1651 sofia/default/100512@172.31.38.162:5060 sending invite call-id: (null) 2023-07-26 09:34:16.924386 85.70% [DEBUG] sofia_glue.c:1654 sofia/default/100512@172.31.38.162:5060 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1690344926 1690344927 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=audio 19130 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-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/100512@172.31.38.162:5060 Standard INIT 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100512@172.31.38.162:5060) State Change CS_INIT -> CS_ROUTING 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162:5060) State INIT going to sleep 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_ROUTING (Cur 1 Tot 76) 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162:5060) State ROUTING 2023-07-26 09:34:16.924386 85.70% [DEBUG] mod_sofia.c:158 sofia/default/100512@172.31.38.162:5060 SOFIA ROUTING 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100512@172.31.38.162:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162:5060) State ROUTING going to sleep 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 76) 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100512@172.31.38.162:5060) State CONSUME_MEDIA 2023-07-26 09:34:16.924386 85.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100512@172.31.38.162:5060) State CONSUME_MEDIA going to sleep 2023-07-26 09:34:16.963947 85.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100512@172.31.38.162 [faabe4bc-bcca-4a8e-a4bb-1b6336cef263] 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_NEW (Cur 2 Tot 77) 2023-07-26 09:34:16.963947 85.70% [INFO] sofia.c:10462 sofia/default/100512@172.31.38.162 receiving invite from 172.31.38.162:5060 version: 1.10.7 -release 64bit call-id: 6e6e632b-a63a-123c-c085-02ba0d891d22 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 172.31.38.162:0. 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [calling][0] 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [received][100] 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1690344926 1690344927 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=audio 19130 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100512@172.31.38.162 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_codec.c:111 sofia/default/100512@172.31.38.162 Original read codec set to PCMA:8 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_media.c:5973 sofia/default/100512@172.31.38.162 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-26 09:34:16.963947 85.70% [DEBUG] sofia.c:7933 (sofia/default/100512@172.31.38.162) State Change CS_NEW -> CS_INIT 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100512@172.31.38.162) State NEW 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_INIT (Cur 2 Tot 77) 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162) State INIT 2023-07-26 09:34:16.963947 85.70% [DEBUG] mod_sofia.c:97 sofia/default/100512@172.31.38.162 SOFIA INIT 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/100512@172.31.38.162 Standard INIT 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100512@172.31.38.162) State Change CS_INIT -> CS_ROUTING 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100512@172.31.38.162) State INIT going to sleep 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_ROUTING (Cur 2 Tot 77) 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_channel.c:2380 (sofia/default/100512@172.31.38.162) Callstate Change DOWN -> RINGING 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162) State ROUTING 2023-07-26 09:34:16.963947 85.70% [DEBUG] mod_sofia.c:158 sofia/default/100512@172.31.38.162 SOFIA ROUTING 2023-07-26 09:34:16.963947 85.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/100512@172.31.38.162 Standard ROUTING 2023-07-26 09:34:16.963947 85.70% [INFO] mod_dialplan_xml.c:639 Processing 100512 <100512>->100512 in context default 2023-07-26 09:34:17.063923 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-26 09:34:17.103917 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-07-26 09:34:17.103917 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100512 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100512' limit 1 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-07-26 09:34:17.103917 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100512' and status=0 LIMIT 1 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = '172.31.38.162' limit 1 2023-07-26 09:34:17.123925 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 52970 / 52970 2023-07-26 09:34:17.123925 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX 2023-07-26 09:34:17.123925 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :52970 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100512 AND status=0 limit 1 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2023-07-26 09:34:17.123925 85.70% [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 ="100512" LIMIT 1 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2023-07-26 09:34:17.123925 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 52970] 2023-07-26 09:34:17.123925 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "52970" OR id = "52970") AND deleted = 0 limit 1 2023-07-26 09:34:17.323916 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 2705 2023-07-26 09:34:17.343915 85.70% [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 = '^100512.*' OR patterns = '^10051.*' OR patterns = '^1005.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 2705 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-26 09:34:17.343915 85.70% [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 ="100512" AND A.accountid = '2705' limit 1 2023-07-26 09:34:17.343915 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100512 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2023-07-26 09:34:17.343915 85.70% [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 ="100512" LIMIT 1 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-26 09:34:17.343915 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2023-07-26 09:34:17.343915 85.70% [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 = '100512' OR number = '10051' OR number = '1005' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100512*' OR number = '10051*' OR number = '1005*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '52970' OR number = '5297' OR number = '529' OR number = '52' OR number = '5' OR number ='--') OR (number = '52970*' OR number = '5297*' OR number = '529*' OR number = '52*' OR number = '5*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-26 09:34:17.343915 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100512' OR routing_prefix = '10051' OR routing_prefix = '1005' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 2705 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 52970 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 493.7 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 69 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::69 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2023-07-26 09:34:17.363927 85.70% [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 ="100512" LIMIT 1 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 600 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 100512 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 203 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 2705 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your493.7 balance Accountid 2705 !!! 2023-07-26 09:34:17.363927 85.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2023-07-26 09:34:17.363927 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2023-07-26 09:34:17.363927 85.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 = 2705 AND status=0 LIMIT 1 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "2705" OR number = "2705") AND deleted = 0 limit 1 2023-07-26 09:34:17.363927 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =2705 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:2705 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:2705 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 2705 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2705 limit 1 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : automation6betav601.astppbilling.org 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Outbound Dialplan 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2023-07-26 09:34:17.383922 85.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "yash.shah@inextrix.com" AND accounts.status = 0 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as redial] destination_number :100512 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Set number as return] destination_number :100512 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 2705 limit 1 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : automation6betav601.astppbilling.org 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6 2023-07-26 09:34:17.383922 85.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/100512@172.31.38.162 parsing [default->100512] continue=false Dialplan: sofia/default/100512@172.31.38.162 Regex (PASS) [100512] destination_number(100512) =~ /100512/ break=on-false Dialplan: sofia/default/100512@172.31.38.162 Action set(effective_destination_number=100512) Dialplan: sofia/default/100512@172.31.38.162 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/100512@172.31.38.162 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing) Dialplan: sofia/default/100512@172.31.38.162 Action set(notify_flag=0) Dialplan: sofia/default/100512@172.31.38.162 Action set(notify_credit_limit=5.00000) Dialplan: sofia/default/100512@172.31.38.162 Action set(type=0) Dialplan: sofia/default/100512@172.31.38.162 Action set(callstart=2023-07-26 09:34:17) Dialplan: sofia/default/100512@172.31.38.162 Action set(hangup_after_bridge=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/100512@172.31.38.162 Action set(account_id=2705) Dialplan: sofia/default/100512@172.31.38.162 Action set(parent_id=0) Dialplan: sofia/default/100512@172.31.38.162 Action set(entity_id=0) Dialplan: sofia/default/100512@172.31.38.162 Action set(call_processed=internal) Dialplan: sofia/default/100512@172.31.38.162 Action set(call_direction=inbound) Dialplan: sofia/default/100512@172.31.38.162 Action set(accountname=default) Dialplan: sofia/default/100512@172.31.38.162 Action export(t38_passthru=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/100512@172.31.38.162 Action export(t38_passthru=true) Dialplan: sofia/default/100512@172.31.38.162 Action playback(silence_stream://2000) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(sip_require_timer=false) Dialplan: sofia/default/100512@172.31.38.162 Action set(call_request=3) Dialplan: sofia/default/100512@172.31.38.162 Action set(module_name=apfax) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_use_ecm=false) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_v17_disabled=false) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_disable_v17=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(origination_rates_did=ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705) Dialplan: sofia/default/100512@172.31.38.162 Action set(origination_rates=0) Dialplan: sofia/default/100512@172.31.38.162 Action set(original_caller_id_name=52970) Dialplan: sofia/default/100512@172.31.38.162 Action set(original_caller_id_number=52970) Dialplan: sofia/default/100512@172.31.38.162 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/default/100512@172.31.38.162 Action hash(insert/${domain_name}-call_return/${destination_number}/${caller_id_number}) Dialplan: sofia/default/100512@172.31.38.162 Action set(effective_caller_id_name=52970) Dialplan: sofia/default/100512@172.31.38.162 Action set(effective_caller_id_number=52970) Dialplan: sofia/default/100512@172.31.38.162 Action set(receiver_accid=2705) Dialplan: sofia/default/100512@172.31.38.162 Action export(domain_name=automation6betav601.astppbilling.org) Dialplan: sofia/default/100512@172.31.38.162 Action export(sip_to_host=automation6betav601.astppbilling.org) Dialplan: sofia/default/100512@172.31.38.162 Action export(presence_data=x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162) Dialplan: sofia/default/100512@172.31.38.162 Action export(call_type=6) Dialplan: sofia/default/100512@172.31.38.162 Action set(calltype=FAX) Dialplan: sofia/default/100512@172.31.38.162 Action answer() Dialplan: sofia/default/100512@172.31.38.162 Action set(callfax=true) Dialplan: sofia/default/100512@172.31.38.162 Action playback(silence_stream://2000) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(sip_require_timer=false) Dialplan: sofia/default/100512@172.31.38.162 Action set(call_request=6) Dialplan: sofia/default/100512@172.31.38.162 Action set(module_name=apfax) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_transfer_rate=9600) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_use_ecm=false) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_v17_disabled=false) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_disable_v17=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(fax_enable_t38=true) Dialplan: sofia/default/100512@172.31.38.162 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970) Dialplan: sofia/default/100512@172.31.38.162 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif) Dialplan: sofia/default/100512@172.31.38.162 Action hangup() 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100512@172.31.38.162) State Change CS_ROUTING -> CS_EXECUTE 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100512@172.31.38.162) State ROUTING going to sleep 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_EXECUTE (Cur 2 Tot 77) 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162) State EXECUTE 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_sofia.c:213 sofia/default/100512@172.31.38.162 SOFIA EXECUTE 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/100512@172.31.38.162 Standard EXECUTE EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(effective_destination_number=100512) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [effective_destination_number]=[100512] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(bridge_pre_execute_bleg_app=sched_hangup) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(bridge_pre_execute_bleg_data=+6000 normal_clearing) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(notify_flag=0) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(notify_credit_limit=5.00000) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [notify_credit_limit]=[5.00000] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(type=0) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [type]=[0] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(callstart=2023-07-26 09:34:17) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [callstart]=[2023-07-26 09:34:17] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(hangup_after_bridge=true) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(continue_on_fail=TRUE) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(account_id=2705) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [account_id]=[2705] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(parent_id=0) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [parent_id]=[0] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(entity_id=0) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [entity_id]=[0] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_processed=internal) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_direction=inbound) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(accountname=default) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [accountname]=[default] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(t38_passthru=true) 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38=true) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38_request=true) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(filename1=astpp.pbx.lua) 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [filename1]=[astpp.pbx.lua] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(t38_passthru=true) 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true] 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/100512@172.31.38.162 2023-07-26 09:34:17.383922 85.70% [INFO] switch_core_session.c:2797 Sending early media 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100512@172.31.38.162] 172.31.38.162 port 25404 -> 172.31.38.162 port 19130 codec: 8 ms: 20 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:9089 sofia/default/100512@172.31.38.162 Set 2833 dtmf send payload to 101 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:9096 sofia/default/100512@172.31.38.162 Set 2833 dtmf receive payload to 101 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_core_media.c:9119 sofia/default/100512@172.31.38.162 Set rtp dtmf delay to 40 2023-07-26 09:34:17.383922 85.70% [DEBUG] mod_sofia.c:2610 Ring SDP: v=0 o=FreeSWITCH 1690338653 1690338654 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=audio 25404 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-07-26 09:34:17.383922 85.70% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/100512@172.31.38.162! 2023-07-26 09:34:17.383922 85.70% [DEBUG] switch_channel.c:3622 (sofia/default/100512@172.31.38.162) Callstate Change RINGING -> EARLY 2023-07-26 09:34:17.383922 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [early][183] 2023-07-26 09:34:17.383922 85.70% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [proceeding][183] 2023-07-26 09:34:17.383922 85.70% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1690338653 1690338654 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=audio 25404 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-07-26 09:34:17.383922 85.70% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/100512@172.31.38.162:5060! 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_channel.c:3622 (sofia/default/100512@172.31.38.162:5060) Callstate Change DOWN -> EARLY 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100512@172.31.38.162:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_codec.c:111 sofia/default/100512@172.31.38.162:5060 Original read codec set to PCMA:8 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:5973 sofia/default/100512@172.31.38.162:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100512@172.31.38.162:5060] 172.31.38.162 port 19130 -> 172.31.38.162 port 25404 codec: 8 ms: 20 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms EXECUTE [depth=0] sofia/default/100512@172.31.38.162 playback(silence_stream://2000) 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:9089 sofia/default/100512@172.31.38.162:5060 Set 2833 dtmf send payload to 101 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:9096 sofia/default/100512@172.31.38.162:5060 Set 2833 dtmf receive payload to 101 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_core_media.c:9119 sofia/default/100512@172.31.38.162:5060 Set rtp dtmf delay to 40 2023-07-26 09:34:17.403919 85.70% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000 EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38_request=true) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(sip_require_timer=false) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [sip_require_timer]=[false] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_request=3) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_request]=[3] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(module_name=apfax) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [module_name]=[apfax] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_use_ecm=false) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_use_ecm]=[false] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_v17_disabled=false) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_v17_disabled]=[false] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_disable_v17=true) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_disable_v17]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38=true) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(session_in_hangup_hook=true) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [session_in_hangup_hook]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(origination_rates_did=ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [origination_rates_did]=[ID:600|CODE:^100512.*|DESTINATION:100512|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:203|ACCID:2705] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(origination_rates=0) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(original_caller_id_name=52970) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [original_caller_id_name]=[52970] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(original_caller_id_number=52970) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [original_caller_id_number]=[52970] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 hash(insert/172.31.38.162-last_dial/100512/100512) EXECUTE [depth=0] sofia/default/100512@172.31.38.162 hash(insert/172.31.38.162-call_return/100512/100512) EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(effective_caller_id_name=52970) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [effective_caller_id_name]=[52970] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(effective_caller_id_number=52970) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [effective_caller_id_number]=[52970] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(receiver_accid=2705) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [receiver_accid]=[2705] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(domain_name=automation6betav601.astppbilling.org) 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[automation6betav601.astppbilling.org] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(sip_to_host=automation6betav601.astppbilling.org) 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[automation6betav601.astppbilling.org] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(presence_data=x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162) 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Yash(52970)|||^100512.* // 100512 // 0.00000|||||||||DID|||172.31.38.162] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 export(call_type=6) 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(calltype=FAX) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [calltype]=[FAX] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 answer() 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/100512@172.31.38.162. 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/100512@172.31.38.162: v=0 o=FreeSWITCH 1690338653 1690338655 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=audio 25404 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-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [completed][200] 2023-07-26 09:34:19.383967 83.73% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/100512@172.31.38.162] has been answered 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:3950 (sofia/default/100512@172.31.38.162) Callstate Change EARLY -> ACTIVE EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(callfax=true) 2023-07-26 09:34:19.383967 83.73% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [callfax]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 playback(silence_stream://2000) 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [completing][200] 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7506 Duplicate SDP v=0 o=FreeSWITCH 1690338653 1690338654 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=audio 25404 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [ready][200] 2023-07-26 09:34:19.383967 83.73% [NOTICE] sofia.c:8624 Channel [sofia/default/100512@172.31.38.162:5060] has been answered 2023-07-26 09:34:19.383967 83.73% [DEBUG] switch_channel.c:3950 (sofia/default/100512@172.31.38.162:5060) Callstate Change EARLY -> ACTIVE 2023-07-26 09:34:19.383967 83.73% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [ready][200] 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/100512@172.31.38.162:5060] Peer UUID: 35547fc9-5f98-43e3-8688-432068373b31 2023-07-26 09:34:19.423929 83.73% [INFO] switch_channel.c:3270 sofia/default/100512@172.31.38.162:5060 Flipping CID from "" <100512> to "Outbound Call" <100512> 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_commands.c:5169 (sofia/default/100512@172.31.38.162:5060) State Change CS_CONSUME_MEDIA -> CS_EXECUTE 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_EXECUTE (Cur 2 Tot 77) 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162:5060) State EXECUTE 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_sofia.c:213 sofia/default/100512@172.31.38.162:5060 SOFIA EXECUTE 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/100512@172.31.38.162:5060 Standard EXECUTE EXECUTE [depth=0] sofia/default/100512@172.31.38.162:5060 txfax(/opt/ASTPP/web_interface/astpp/FAX/send_fax_files/20230726093322.tiff) 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000 2023-07-26 09:34:19.423929 83.73% [DEBUG] switch_core_codec.c:223 sofia/default/100512@172.31.38.162:5060 Push codec L16:100 2023-07-26 09:34:19.423929 83.73% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16 2023-07-26 09:34:19.443923 83.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-07-26 09:34:19.683946 84.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-07-26 09:34:21.383939 83.43% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000 EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38_request=true) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(sip_require_timer=false) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [sip_require_timer]=[false] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(call_request=6) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [call_request]=[6] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(module_name=apfax) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [module_name]=[apfax] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_transfer_rate=9600) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_transfer_rate]=[9600] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_use_ecm=false) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_use_ecm]=[false] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_v17_disabled=false) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_v17_disabled]=[false] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_disable_v17=true) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_disable_v17]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(fax_enable_t38=true) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970) 2023-07-26 09:34:21.383939 83.43% [DEBUG] mod_dptools.c:1685 SET sofia/default/100512@172.31.38.162 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970] EXECUTE [depth=0] sofia/default/100512@172.31.38.162 rxfax(/var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif) 2023-07-26 09:34:21.403927 83.43% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000 2023-07-26 09:34:21.403927 83.43% [DEBUG] switch_core_codec.c:223 sofia/default/100512@172.31.38.162 Push codec L16:100 2023-07-26 09:34:21.403927 83.43% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16 2023-07-26 09:34:22.643949 83.07% [DEBUG] switch_core_media.c:12065 sofia/default/100512@172.31.38.162 image media sdp: v=0 o=FreeSWITCH 1690338653 1690338656 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=image 25404 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2023-07-26 09:34:22.643949 83.07% [INFO] sofia_glue.c:1651 sofia/default/100512@172.31.38.162 sending invite call-id: (null) 2023-07-26 09:34:22.643949 83.07% [DEBUG] sofia_glue.c:1654 sofia/default/100512@172.31.38.162 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1690338653 1690338656 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=image 25404 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2023-07-26 09:34:22.643949 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [calling][0] 2023-07-26 09:34:22.683930 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [received][100] 2023-07-26 09:34:22.683930 83.07% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1690338653 1690338656 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=image 25404 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2023-07-26 09:34:22.683930 83.07% [DEBUG] switch_core_media.c:5241 sofia/default/100512@172.31.38.162:5060 T38 ACCEPT on request 2023-07-26 09:34:22.683930 83.07% [DEBUG] switch_core_media.c:5345 sofia/default/100512@172.31.38.162:5060 T38 IS POSSIBLE on request 2023-07-26 09:34:22.703921 83.07% [INFO] mod_spandsp_fax.c:1159 T38 SDP Origin = FreeSWITCH T38FaxVersion = 0 T38MaxBitRate = 9600 T38FaxFillBitRemoval = 1 T38FaxTranscodingMMR = 0 T38FaxTranscodingJBIG = 0 T38FaxRateManagement = 'transferredTCF' T38FaxMaxBuffer = 2000 T38FaxMaxDatagram = 400 T38FaxUdpEC = 't38UDPRedundancy' T38VendorInfo = '' ip = '172.31.38.162' port = 25404 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:25404] has not changed. 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:12065 sofia/default/100512@172.31.38.162:5060 image media sdp: v=0 o=FreeSWITCH 1690344926 1690344928 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=image 19130 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [completed][200] 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:25404] has not changed. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [completing][200] 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1690344926 1690344928 IN IP4 172.31.38.162 s=FreeSWITCH c=IN IP4 172.31.38.162 t=0 0 m=image 19130 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162 entering state [ready][200] 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:5241 sofia/default/100512@172.31.38.162 T38 ACCEPT on response 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:5345 sofia/default/100512@172.31.38.162 T38 IS POSSIBLE on response 2023-07-26 09:34:22.703921 83.07% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/100512@172.31.38.162. 2023-07-26 09:34:22.703921 83.07% [DEBUG] sofia.c:7499 Channel sofia/default/100512@172.31.38.162:5060 entering state [ready][200] 2023-07-26 09:34:22.723928 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:19130] has not changed. 2023-07-26 09:34:22.723928 83.07% [DEBUG] switch_core_media.c:12494 Remote address:port [172.31.38.162:19130] has not changed. 2023-07-26 09:34:28.123950 84.23% [INFO] mod_spandsp_fax.c:360 === Negotiation Result ======================================================= Remote station id: SpanDSP Fax Ident Local station id: 52970 Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: Total fax pages: 0 ============================================================================== 2023-07-26 09:34:30.143950 84.27% [INFO] mod_spandsp_fax.c:360 === Negotiation Result ======================================================= Remote station id: 52970 Local station id: SpanDSP Fax Ident Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2023-07-26 09:34:38.843922 92.33% [INFO] mod_spandsp_fax.c:496 ==== Page Received =========================================================== Page no = 1 Image type = bi-level (bi-level in the file) Image size = 1728 x 1202 pixels (1728 x 1202 pixels in the file) Image resolution = 8040/m x 3850/m (8040/m x 3850/m in the file) Compression = T.4 2-D (4) Compressed image size = 4270 bytes Bad rows = 0 Longest bad row run = 0 ============================================================================== 2023-07-26 09:34:40.023946 92.37% [INFO] mod_spandsp_fax.c:496 ==== Page Sent =============================================================== Page no = 1 Total fax pages: 1 Image type = bi-level (bi-level in the file) Image size = 1728 x 1202 pixels (1728 x 1186 pixels in the file) Image resolution = 8040/m x 3850/m (8031/m x 3858/m in the file) Compression = T.4 2-D (4) Compressed image size = 4270 bytes Bad rows = 0 Longest bad row run = 0 ============================================================================== 2023-07-26 09:34:41.203949 92.37% [INFO] mod_spandsp_fax.c:596 ============================================================================== Fax successfully received. Remote station id: 52970 Local station id: SpanDSP Fax Ident Pages transferred: 1 Total fax pages: 1 Image resolution: 8040x3850 Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_codec.c:248 sofia/default/100512@172.31.38.162 Restore previous codec PCMA:8. EXECUTE [depth=0] sofia/default/100512@172.31.38.162 hangup() 2023-07-26 09:34:41.203949 92.37% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/100512@172.31.38.162 [CS_EXECUTE] [NORMAL_CLEARING] 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_session.c:2983 sofia/default/100512@172.31.38.162 skip receive message [PHONE_EVENT] (channel is hungup already) 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162) State EXECUTE going to sleep 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_HANGUP (Cur 2 Tot 77) 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100512@172.31.38.162) Callstate Change ACTIVE -> HANGUP 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162) State HANGUP 2023-07-26 09:34:41.203949 92.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/100512@172.31.38.162 hanging up, cause: NORMAL_CLEARING 2023-07-26 09:34:41.203949 92.37% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100512@172.31.38.162 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/100512@172.31.38.162 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162) State HANGUP going to sleep 2023-07-26 09:34:41.203949 92.37% [NOTICE] sofia.c:1065 Hangup sofia/default/100512@172.31.38.162:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2023-07-26 09:34:41.203949 92.37% [INFO] mod_spandsp_fax.c:596 ============================================================================== Fax successfully sent. Remote station id: SpanDSP Fax Ident Local station id: 52970 Pages transferred: 1 Total fax pages: 1 Image resolution: 8040x3850 Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_codec.c:248 sofia/default/100512@172.31.38.162:5060 Restore previous codec PCMA:8. 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_session.c:2983 sofia/default/100512@172.31.38.162:5060 skip receive message [PHONE_EVENT] (channel is hungup already) 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100512@172.31.38.162:5060) State EXECUTE going to sleep 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_HANGUP (Cur 2 Tot 77) 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100512@172.31.38.162:5060) Callstate Change ACTIVE -> HANGUP 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162:5060) State HANGUP 2023-07-26 09:34:41.203949 92.37% [DEBUG] mod_sofia.c:468 Channel sofia/default/100512@172.31.38.162:5060 hanging up, cause: NORMAL_CLEARING 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:59 sofia/default/100512@172.31.38.162:5060 Standard HANGUP, cause: NORMAL_CLEARING 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100512@172.31.38.162:5060) State HANGUP going to sleep 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100512@172.31.38.162:5060) State Change CS_HANGUP -> CS_REPORTING 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_REPORTING (Cur 2 Tot 77) 2023-07-26 09:34:41.203949 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162:5060) State REPORTING 2023-07-26 09:34:41.203949 92.37% [INFO] mod_json_cdr.c:271 Process [35547fc9-5f98-43e3-8688-432068373b31.cdr.json] 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:777 Hangup Command with Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.tif 52970 Yash_Shah yash.shah@inextrix.com /var/www/html/astpp/attachments/faabe4bc-bcca-4a8e-a4bb-1b6336cef263-FAX.pdf yash.shah@inextrix.com 100512 52970): 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100512@172.31.38.162) State Change CS_HANGUP -> CS_REPORTING 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100512@172.31.38.162) Running State Change CS_REPORTING (Cur 2 Tot 77) 2023-07-26 09:34:41.243922 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162) State REPORTING 2023-07-26 09:34:41.243922 92.37% [INFO] mod_json_cdr.c:271 Process [faabe4bc-bcca-4a8e-a4bb-1b6336cef263.cdr.json] 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/100512@172.31.38.162:5060 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162:5060) State REPORTING going to sleep 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100512@172.31.38.162:5060) State Change CS_REPORTING -> CS_DESTROY 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_session.c:1753 Session 76 (sofia/default/100512@172.31.38.162:5060) Locked, Waiting on external entities 2023-07-26 09:34:41.263963 92.37% [NOTICE] switch_core_session.c:1771 Session 76 (sofia/default/100512@172.31.38.162:5060) Ended 2023-07-26 09:34:41.263963 92.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100512@172.31.38.162:5060 [CS_DESTROY] 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100512@172.31.38.162:5060) Running State Change CS_DESTROY (Cur 1 Tot 77) 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162:5060) State DESTROY 2023-07-26 09:34:41.263963 92.37% [DEBUG] mod_sofia.c:379 sofia/default/100512@172.31.38.162:5060 SOFIA DESTROY 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/100512@172.31.38.162:5060 Standard DESTROY 2023-07-26 09:34:41.263963 92.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162:5060) State DESTROY going to sleep 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:168 sofia/default/100512@172.31.38.162 Standard REPORTING, cause: NORMAL_CLEARING 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100512@172.31.38.162) State REPORTING going to sleep 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100512@172.31.38.162) State Change CS_REPORTING -> CS_DESTROY 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_session.c:1753 Session 77 (sofia/default/100512@172.31.38.162) Locked, Waiting on external entities 2023-07-26 09:34:41.863921 91.37% [NOTICE] switch_core_session.c:1771 Session 77 (sofia/default/100512@172.31.38.162) Ended 2023-07-26 09:34:41.863921 91.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100512@172.31.38.162 [CS_DESTROY] 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100512@172.31.38.162) Running State Change CS_DESTROY (Cur 0 Tot 77) 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162) State DESTROY 2023-07-26 09:34:41.863921 91.37% [DEBUG] mod_sofia.c:379 sofia/default/100512@172.31.38.162 SOFIA DESTROY 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:175 sofia/default/100512@172.31.38.162 Standard DESTROY 2023-07-26 09:34:41.863921 91.37% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100512@172.31.38.162) State DESTROY going to sleep