span style="color: cornflowerblue; font-weight: bold;"> 2023-04-12 14:41:53.959785 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27210106462@196.31.25.88 [82b6da2d-be08-4415-b013-4eb902de587d]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27210106462@196.31.25.88) Running State Change CS_NEW (Cur 1 Tot 119318)
2023-04-12 14:41:53.959785 100.00% [INFO] sofia.c:10462 sofia/default/27210106462@196.31.25.88 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 3d701e34-53d2-123c-82b6-0024e83afa77
2023-04-12 14:41:53.959785 100.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0.
2023-04-12 14:41:53.959785 100.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted.
2023-04-12 14:41:53.959785 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/27210106462@196.31.25.88 entering state [received][100]
2023-04-12 14:41:53.959785 100.00% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=FreeSWITCH 1681270585 1681270586 IN IP4 196.31.25.88
s=FreeSWITCH
c=IN IP4 196.31.25.88
t=0 0
m=audio 32726 RTP/AVP 18 8 0 9 101
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27210106462@196.31.25.88 G729/8000 20 ms 160 samples 8000 bits 1 channels
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/27210106462@196.31.25.88 Original read codec set to G729:18
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_media.c:5973 sofia/default/27210106462@196.31.25.88 Set 2833 dtmf send payload to 101 recv payload to 101
2023-04-12 14:41:53.959785 100.00% [DEBUG] sofia.c:7933 (sofia/default/27210106462@196.31.25.88) State Change CS_NEW -> CS_INIT
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27210106462@196.31.25.88) State NEW
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27210106462@196.31.25.88) Running State Change CS_INIT (Cur 1 Tot 119318)
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27210106462@196.31.25.88) State INIT
2023-04-12 14:41:53.959785 100.00% [DEBUG] mod_sofia.c:97 sofia/default/27210106462@196.31.25.88 SOFIA INIT
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27210106462@196.31.25.88 Standard INIT
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27210106462@196.31.25.88) State Change CS_INIT -> CS_ROUTING
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27210106462@196.31.25.88) State INIT going to sleep
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27210106462@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 119318)
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_channel.c:2380 (sofia/default/27210106462@196.31.25.88) Callstate Change DOWN -> RINGING
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27210106462@196.31.25.88) State ROUTING
2023-04-12 14:41:53.959785 100.00% [DEBUG] mod_sofia.c:158 sofia/default/27210106462@196.31.25.88 SOFIA ROUTING
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27210106462@196.31.25.88 Standard ROUTING
2023-04-12 14:41:53.959785 100.00% [INFO] mod_dialplan_xml.c:639 Processing +27210106462 <27210106462>->27876304009 in context default
2023-04-12 14:41:53.959785 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')
2023-04-12 14:41:53.959785 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876304009
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876304009' AND status=0 limit 1
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876304009' limit 1
2023-04-12 14:41:53.979781 100.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "+27210106462" / 27210106462
2023-04-12 14:41:53.979781 100.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304009" LIMIT 1
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3786491283" AND deleted = 0 limit 1
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876304009" AND (accountid = 0 OR status = 1) LIMIT 1
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 161
2023-04-12 14:41:53.979781 100.00% [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 = '^27876304009.*' OR patterns = '^2787630400.*' OR patterns = '^278763040.*' OR patterns = '^27876304.*' OR patterns = '^2787630.*' OR patterns = '^278763.*' OR patterns = '^27876.*' OR patterns = '^2787.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 161 ORDER BY LENGTH(PKGPTR.patterns) DESC
2023-04-12 14:41:53.979781 100.00% [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 ="27876304009" AND A.accountid = '159' limit 1
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876304009
2023-04-12 14:41:53.979781 100.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304009" LIMIT 1
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
2023-04-12 14:41:53.979781 100.00% [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 = '27876304009' OR number = '2787630400' OR number = '278763040' OR number = '27876304' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876304009*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27210106462' OR number = '2721010646' OR number = '272101064' OR number = '27210106' OR number = '2721010' OR number = '272101' OR number = '27210' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27210106462*' OR number = '2721010646*' OR number = '272101064*' OR number = '27210106*' OR number = '2721010*' OR number = '272101*' OR number = '27210*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876304009' OR routing_prefix = '2787630400' OR routing_prefix = '278763040' OR routing_prefix = '27876304' OR routing_prefix = '2787630' OR routing_prefix = '278763' OR routing_prefix = '27876' OR routing_prefix = '2787' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2023-04-12 14:41:53.979781 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2023-04-12 14:41:53.979781 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
2023-04-12 14:41:53.999782 100.00% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304009" LIMIT 1
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 33
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 27876304009
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 159 !!!
2023-04-12 14:41:53.999782 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
2023-04-12 14:41:53.999782 100.00% [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 = 159 AND status=0 LIMIT 1
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "161" AND deleted = 0 limit 1
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Ashish account call balance :SELECT * FROM accounts WHERE id =161
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2023-04-12 14:41:53.999782 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6
2023-04-12 14:41:53.999782 100.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="27876304009">
<condition field="destination_number" expression="27876304009">
<action application="set" data="effective_destination_number=27876304009"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=1.00000"/>
<action application="set" data="type=3"/>
<action application="set" data="callstart=2023-04-12 12:41:54"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=159"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=3"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="export" data="t38_passthru=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="sleep" data="1000"/>
<action application="playback" data="/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav"/>
<action application="set" data="ringback=%(2000,4000,440.0,480.0)"/>
<action application="say" data="en name_spelled iterated 1001.95"/>
<action application="set" data="origination_rates_did=ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name="+27210106462""/>
<action application="set" data="original_caller_id_number=27210106462"/>
<action application="limit" data="db 3786491283 user_3786491283 10 "/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name="+27210106462""/>
<action application="set" data="effective_caller_id_number=27210106462"/>
<action application="set" data="receiver_accid=161"/>
<action application="export" data="domain_name="/>
<action application="export" data="sip_to_host="/>
<action application="export" data="presence_data=x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91"/>
<action application="export" data="call_type=6"/>
<action application="set" data="calltype=FAX"/>
<action application="answer"/>
<action application="set" data="callfax=true"/>
<action application="playback" data="silence_stream://2000"/>
<action application="set" data="fax_enable_t38_request=true"/>
<action application="set" data="sip_require_timer=false"/>
<action application="set" data="call_request=6"/>
<action application="set" data="module_name=apfax"/>
<action application="set" data="fax_transfer_rate=9600"/>
<action application="set" data="fax_use_ecm=false"/>
<action application="set" data="fax_v17_disabled=false"/>
<action application="set" data="fax_disable_v17=true"/>
<action application="set" data="fax_enable_t38=true"/>
<action application="set" data="api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/82b6da2d-be08-4415-b013-4eb902de587d-FAX.pdf tushar.makavana@inextrix.com 27876304009 27210106462"/>
<action application="rxfax" data="/var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif"/>
<action application="hangup"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/27210106462@196.31.25.88 parsing [default->27876304009] continue=false
Dialplan: sofia/default/27210106462@196.31.25.88 Regex (PASS) [27876304009] destination_number(27876304009) =~ /27876304009/ break=on-false
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(effective_destination_number=27876304009)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(notify_flag=0)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(notify_credit_limit=1.00000)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(type=3)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(callstart=2023-04-12 12:41:54)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(account_id=159)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(parent_id=0)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(entity_id=3)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(call_processed=internal)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(call_direction=inbound)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(accountname=default)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(t38_passthru=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_enable_t38=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/27210106462@196.31.25.88 Action sleep(1000)
Dialplan: sofia/default/27210106462@196.31.25.88 Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(ringback=%(2000,4000,440.0,480.0))
Dialplan: sofia/default/27210106462@196.31.25.88 Action say(en name_spelled iterated 1001.95)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(origination_rates_did=ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(origination_rates=0)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(original_caller_id_name=)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(original_caller_id_number=27210106462)
Dialplan: sofia/default/27210106462@196.31.25.88 Action limit(db 3786491283 user_3786491283 10 )
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(is_recording=1)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(record_sample_rate=8000)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(effective_caller_id_name=)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(effective_caller_id_number=27210106462)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(receiver_accid=161)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(domain_name=)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(sip_to_host=)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(presence_data=x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91)
Dialplan: sofia/default/27210106462@196.31.25.88 Action export(call_type=6)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(calltype=FAX)
Dialplan: sofia/default/27210106462@196.31.25.88 Action answer()
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(callfax=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action playback(silence_stream://2000)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_enable_t38_request=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(sip_require_timer=false)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(call_request=6)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(module_name=apfax)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_transfer_rate=9600)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_use_ecm=false)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_v17_disabled=false)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_disable_v17=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(fax_enable_t38=true)
Dialplan: sofia/default/27210106462@196.31.25.88 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/82b6da2d-be08-4415-b013-4eb902de587d-FAX.pdf tushar.makavana@inextrix.com 27876304009 27210106462)
Dialplan: sofia/default/27210106462@196.31.25.88 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif)
Dialplan: sofia/default/27210106462@196.31.25.88 Action hangup()
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27210106462@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27210106462@196.31.25.88) State ROUTING going to sleep
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27210106462@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 119318)
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27210106462@196.31.25.88) State EXECUTE
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_sofia.c:213 sofia/default/27210106462@196.31.25.88 SOFIA EXECUTE
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27210106462@196.31.25.88 Standard EXECUTE
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(effective_destination_number=27876304009)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [effective_destination_number]=[27876304009]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(bridge_pre_execute_bleg_app=sched_hangup)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(notify_flag=0)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(notify_credit_limit=1.00000)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [notify_credit_limit]=[1.00000]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(type=3)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [type]=[3]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(callstart=2023-04-12 12:41:54)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [callstart]=[2023-04-12 12:41:54]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(hangup_after_bridge=true)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(continue_on_fail=TRUE)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(account_id=159)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [account_id]=[159]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(parent_id=0)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(entity_id=3)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(call_processed=internal)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(call_direction=inbound)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(accountname=default)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [accountname]=[default]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(t38_passthru=true)
2023-04-12 14:41:53.999782 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [t38_passthru]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_enable_t38=true)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_enable_t38]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_enable_t38_request=true)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_enable_t38_request]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(filename1=astpp.pbx.lua)
2023-04-12 14:41:53.999782 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 sleep(1000)
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/27210106462@196.31.25.88
2023-04-12 14:41:54.999785 99.97% [INFO] switch_core_session.c:2797 Sending early media
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27210106462@196.31.25.88] 102.220.232.19 port 23276 -> 196.31.25.88 port 32726 codec: 18 ms: 20
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_core_media.c:9089 sofia/default/27210106462@196.31.25.88 Set 2833 dtmf send payload to 101
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_core_media.c:9096 sofia/default/27210106462@196.31.25.88 Set 2833 dtmf receive payload to 101
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_core_media.c:9119 sofia/default/27210106462@196.31.25.88 Set rtp dtmf delay to 40
2023-04-12 14:41:54.999785 99.97% [DEBUG] mod_sofia.c:2610 Ring SDP:
v=0
o=FreeSWITCH 1681280038 1681280039 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=audio 23276 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-04-12 14:41:54.999785 99.97% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27210106462@196.31.25.88!
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_channel.c:3622 (sofia/default/27210106462@196.31.25.88) Callstate Change RINGING -> EARLY
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav)
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 16000 doesn't match requested rate 8000
2023-04-12 14:41:54.999785 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2023-04-12 14:41:54.999785 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27210106462@196.31.25.88 entering state [early][183]
2023-04-12 14:41:56.319786 99.97% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(ringback=%(2000,4000,440.0,480.0))
2023-04-12 14:41:56.319786 99.97% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [ringback]=[%(2000,4000,440.0,480.0)]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 say(en name_spelled iterated 1001.95)
2023-04-12 14:41:56.339787 99.97% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file file_string://digits/1.wav!digits/0.wav!digits/0.wav!digits/1.wav!ascii/46.wav!digits/9.wav!digits/5.wav
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(origination_rates_did=ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [origination_rates_did]=[ID:33|CODE:^27876304009.*|DESTINATION:27876304009|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:171|ACCID:161]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(origination_rates=0)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(original_caller_id_name=)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [original_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(original_caller_id_number=27210106462)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [original_caller_id_number]=[27210106462]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 limit(db 3786491283 user_3786491283 10 )
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(is_recording=1)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(media_bug_answer_req=true)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(record_sample_rate=8000)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/82b6da2d-be08-4415-b013-4eb902de587d.wav)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/82b6da2d-be08-4415-b013-4eb902de587d.wav]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(effective_caller_id_name=)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [effective_caller_id_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(effective_caller_id_number=27210106462)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [effective_caller_id_number]=[27210106462]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(receiver_accid=161)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [receiver_accid]=[161]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(domain_name=)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(sip_to_host=)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(presence_data=x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dimension Data(3786491283)|||^27876304009.* // 27876304009 // 0.00000|||||||||DID|||196.31.25.91]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 export(call_type=6)
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(calltype=FAX)
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [calltype]=[FAX]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 answer()
2023-04-12 14:41:59.779786 99.93% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27210106462@196.31.25.88.
2023-04-12 14:41:59.779786 99.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27210106462@196.31.25.88:
v=0
o=FreeSWITCH 1681280038 1681280040 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=audio 23276 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2023-04-12 14:41:59.779786 99.93% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27210106462@196.31.25.88] has been answered
2023-04-12 14:41:59.779786 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27210106462@196.31.25.88 entering state [completed][200]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 record_session(/usr/local/freeswitch/recordings/82b6da2d-be08-4415-b013-4eb902de587d.wav)
2023-04-12 14:41:59.799781 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
2023-04-12 14:41:59.799781 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27210106462@196.31.25.88
2023-04-12 14:41:59.799781 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27210106462@196.31.25.88) Callstate Change EARLY -> ACTIVE
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(callfax=true)
2023-04-12 14:41:59.799781 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [callfax]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 playback(silence_stream://2000)
2023-04-12 14:41:59.799781 99.93% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2023-04-12 14:41:59.799781 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
2023-04-12 14:41:59.979785 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2023-04-12 14:41:59.979785 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
2023-04-12 14:42:01.779782 99.93% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_enable_t38_request=true)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_enable_t38_request]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(sip_require_timer=false)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [sip_require_timer]=[false]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(call_request=6)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [call_request]=[6]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(module_name=apfax)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [module_name]=[apfax]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_transfer_rate=9600)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_transfer_rate]=[9600]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_use_ecm=false)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_use_ecm]=[false]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_v17_disabled=false)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_v17_disabled]=[false]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_disable_v17=true)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_disable_v17]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(fax_enable_t38=true)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [fax_enable_t38]=[true]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/82b6da2d-be08-4415-b013-4eb902de587d-FAX.pdf tushar.makavana@inextrix.com 27876304009 27210106462)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/default/27210106462@196.31.25.88 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/82b6da2d-be08-4415-b013-4eb902de587d-FAX.pdf tushar.makavana@inextrix.com 27876304009 27210106462]
EXECUTE [depth=0] sofia/default/27210106462@196.31.25.88 rxfax(/var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif)
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000
2023-04-12 14:42:01.779782 99.93% [DEBUG] switch_core_codec.c:223 sofia/default/27210106462@196.31.25.88 Push codec L16:100
2023-04-12 14:42:01.779782 99.93% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16
2023-04-12 14:42:03.039786 99.90% [DEBUG] switch_core_media.c:12065 sofia/default/27210106462@196.31.25.88 image media sdp:
v=0
o=FreeSWITCH 1681280038 1681280041 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=image 23276 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:2000
a=T38FaxMaxDatagram:400
a=T38FaxUdpEC:t38UDPRedundancy
2023-04-12 14:42:03.039786 99.90% [INFO] sofia_glue.c:1651 sofia/default/27210106462@196.31.25.88 sending invite call-id: (null)
2023-04-12 14:42:03.039786 99.90% [DEBUG] sofia_glue.c:1654 sofia/default/27210106462@196.31.25.88 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1681280038 1681280041 IN IP4 102.220.232.19
s=FreeSWITCH
c=IN IP4 102.220.232.19
t=0 0
m=image 23276 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxFillBitRemoval
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:2000
a=T38FaxMaxDatagram:400
a=T38FaxUdpEC:t38UDPRedundancy
2023-04-12 14:42:03.059786 99.90% [DEBUG] sofia.c:7499 Channel sofia/default/27210106462@196.31.25.88 entering state [calling][0]
2023-04-12 14:42:03.439786 99.87% [DEBUG] sofia.c:6706 sofia/default/27210106462@196.31.25.88 T38 invite failed
2023-04-12 14:42:03.439786 99.87% [DEBUG] sofia.c:7499 Channel sofia/default/27210106462@196.31.25.88 entering state [terminated][488]
2023-04-12 14:42:03.439786 99.87% [NOTICE] sofia.c:8738 Hangup sofia/default/27210106462@196.31.25.88 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
2023-04-12 14:42:03.439786 99.87% [INFO] mod_spandsp_fax.c:596 ==============================================================================
Fax processing not successful - result (49) The call dropped prematurely.
Remote station id:
Local station id: SpanDSP Fax Ident
Pages transferred: 0
Total fax pages: 0
Image resolution: 0x0
Transfer Rate: 14400
ECM status off
T38 status requested
remote country:
remote vendor:
remote model:
==============================================================================
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_codec.c:248 sofia/default/27210106462@196.31.25.88 Restore previous codec G729:18.
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_session.c:2983 sofia/default/27210106462@196.31.25.88 skip receive message [PHONE_EVENT] (channel is hungup already)
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27210106462@196.31.25.88) State EXECUTE going to sleep
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27210106462@196.31.25.88) Running State Change CS_HANGUP (Cur 1 Tot 119318)
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/82b6da2d-be08-4415-b013-4eb902de587d.wav
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27210106462@196.31.25.88
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27210106462@196.31.25.88) Callstate Change ACTIVE -> HANGUP
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27210106462@196.31.25.88) State HANGUP
2023-04-12 14:42:03.439786 99.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/27210106462@196.31.25.88 hanging up, cause: INCOMPATIBLE_DESTINATION
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/27210106462@196.31.25.88 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2023-04-12 14:42:03.439786 99.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27210106462@196.31.25.88) State HANGUP going to sleep
2023-04-12 14:42:03.479782 99.87% [DEBUG] switch_core_state_machine.c:777 Hangup Command with no Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com /var/www/html/astpp/attachments/82b6da2d-be08-4415-b013-4eb902de587d-FAX.pdf tushar.makavana@inextrix.com 27876304009 27210106462):
HERE
/usr/bin/php /var/www/html/astpp/FAX/scripts/emailfax.php /var/www/html/astpp/FAX/receive_fax_files/82b6da2d-be08-4415-b013-4eb902de587d-FAX.tif 6613105314 Dimension+Data_ tushar.makavana@inextrix.com 27876304009 /var/www/html/astpp/attachments/82b6da2d-be08-4415-b013-4eb902de587d-FAX.pdf 27210106462
HERE
2023-04-12 14:42:03.479782 99.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27210106462@196.31.25.88) State Change CS_HANGUP -> CS_REPORTING
2023-04-12 14:42:03.479782 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27210106462@196.31.25.88) Running State Change CS_REPORTING (Cur 1 Tot 119318)
2023-04-12 14:42:03.479782 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27210106462@196.31.25.88) State REPORTING
2023-04-12 14:42:03.479782 99.87% [INFO] mod_json_cdr.c:271 Process [82b6da2d-be08-4415-b013-4eb902de587d.cdr.json]
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/27210106462@196.31.25.88 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27210106462@196.31.25.88) State REPORTING going to sleep
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27210106462@196.31.25.88) State Change CS_REPORTING -> CS_DESTROY
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_session.c:1753 Session 119318 (sofia/default/27210106462@196.31.25.88) Locked, Waiting on external entities
2023-04-12 14:42:03.499782 99.87% [NOTICE] switch_core_session.c:1771 Session 119318 (sofia/default/27210106462@196.31.25.88) Ended
2023-04-12 14:42:03.499782 99.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27210106462@196.31.25.88 [CS_DESTROY]
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27210106462@196.31.25.88) Running State Change CS_DESTROY (Cur 0 Tot 119318)
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27210106462@196.31.25.88) State DESTROY
2023-04-12 14:42:03.499782 99.87% [DEBUG] mod_sofia.c:379 sofia/default/27210106462@196.31.25.88 SOFIA DESTROY
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/27210106462@196.31.25.88 Standard DESTROY
2023-04-12 14:42:03.499782 99.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27210106462@196.31.25.88) State DESTROY going to sleep