freeswitch@ip-172-31-14-218>
freeswitch@ip-172-31-14-218>
2022-03-10 13:58:52.876684 98.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 [e819bf38-a22c-4f3a-935d-b9a88c63bee1]
2022-03-10 13:58:52.876684 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_NEW (Cur 1 Tot 15)
2022-03-10 13:58:52.876684 98.33% [INFO] sofia.c:10462 sofia/default/9191680902@w07version61.astppbilling.org:5074 receiving invite from 117.247.91.162:63505 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MWIxNDA2Y2IxMDY1NDg1N2ViMGFhOTUwNGQzNWJmZGM.
2022-03-10 13:58:52.876684 98.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2022-03-10 13:58:52.876684 98.33% [DEBUG] sofia.c:2419 detaching session e819bf38-a22c-4f3a-935d-b9a88c63bee1
2022-03-10 13:58:52.876684 98.33% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [100303030@w07version61.astppbilling.org] from ip 117.247.91.162
2022-03-10 13:58:52.876684 98.33% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State NEW
2022-03-10 13:58:52.996664 98.33% [DEBUG] sofia.c:2532 Re-attaching to session e819bf38-a22c-4f3a-935d-b9a88c63bee1
2022-03-10 13:58:52.996664 98.33% [INFO] sofia.c:10462 sofia/default/9191680902@w07version61.astppbilling.org:5074 receiving invite from 117.247.91.162:63505 version: 1.10.7 -release-19-883d2cb662 64bit call-id: MWIxNDA2Y2IxMDY1NDg1N2ViMGFhOTUwNGQzNWJmZGM.
2022-03-10 13:58:52.996664 98.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2022-03-10 13:58:53.016667 98.33% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-03-10 13:58:53.016667 98.33% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [received][100]
2022-03-10 13:58:53.016667 98.33% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=3cxVCE 376979265 69625800 IN IP4 192.168.1.13
s=3cxVCE Audio Call
c=IN IP4 192.168.1.13
t=0 0
m=audio 40044 RTP/AVP 0 8 3 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
m=video 40046 RTP/AVP 34
c=IN IP4 192.168.1.13
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9191680902@w07version61.astppbilling.org:5074 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_codec.c:111 sofia/default/9191680902@w07version61.astppbilling.org:5074 Original read codec set to PCMU:0
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:5973 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101 recv payload to 101
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:6301 No matches with FTMP, fallback to ignoring FMTP
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_media.c:6309 No matches with inherit_codec, fallback to ignoring PT
2022-03-10 13:58:53.016667 98.33% [DEBUG] sofia.c:7933 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_NEW -> CS_INIT
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_INIT (Cur 1 Tot 15)
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State INIT
2022-03-10 13:58:53.016667 98.33% [DEBUG] mod_sofia.c:97 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA INIT
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard INIT
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_INIT -> CS_ROUTING
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State INIT going to sleep
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_ROUTING (Cur 1 Tot 15)
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_channel.c:2380 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change DOWN -> RINGING
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State ROUTING
2022-03-10 13:58:53.016667 98.33% [DEBUG] mod_sofia.c:158 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA ROUTING
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_core_state_machine.c:230 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard ROUTING
2022-03-10 13:58:53.016667 98.33% [INFO] mod_dialplan_xml.c:639 Processing 9191680902 <9191680902>->100303030 in context default
2022-03-10 13:58:53.016667 98.33% [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')
2022-03-10 13:58:53.016667 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 100303030
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '100303030' limit 1
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '100303030' AND status=0 limit 1
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '100303030' and status=0 LIMIT 1
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9191680902
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'w07version61.astppbilling.org' limit 1
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '7' and username = '100303030' limit 1
2022-03-10 13:58:53.036663 98.33% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9191680902 / 9191680902
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 030
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 100303 AND status=0 limit 1
2022-03-10 13:58:53.036663 98.33% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100303030" LIMIT 1
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100303030" AND domains.domain="w07version61.astppbilling.org" limit 1
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9191680902]
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9191680902" AND deleted = 0 limit 1
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^100303030.*' OR blocked_patterns = '^10030303.*' OR blocked_patterns = '^1003030.*' OR blocked_patterns = '^100303.*' OR blocked_patterns = '^10030.*' OR blocked_patterns = '^1003.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2022-03-10 13:58:53.036663 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="100303030" AND (accountid = 0 OR status = 1) LIMIT 1
2022-03-10 13:58:53.036663 98.33% [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 = '^100303030.*' OR patterns = '^10030303.*' OR patterns = '^1003030.*' OR patterns = '^100303.*' OR patterns = '^10030.*' OR patterns = '^1003.*' OR patterns = '^100.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-03-10 13:58:53.036663 98.33% [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 ="100303030" AND A.accountid = '7' limit 1
2022-03-10 13:58:53.036663 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 100303030
2022-03-10 13:58:53.036663 98.33% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100303030" LIMIT 1
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="100303030" AND domains.domain="w07version61.astppbilling.org" limit 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-03-10 13:58:53.056668 98.33% [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 = '100303030' OR number = '10030303' OR number = '1003030' OR number = '100303' OR number = '10030' OR number = '1003' OR number = '100' OR number = '10' OR number = '1' OR number ='--') OR (number = '100303030*' OR number = '10030303*' OR number = '1003030*' OR number = '100303*' OR number = '10030*' OR number = '1003*' OR number = '100*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '9191680902' OR number = '919168090' OR number = '91916809' OR number = '9191680' OR number = '919168' OR number = '91916' OR number = '9191' OR number = '919' OR number = '91' OR number = '9' OR number ='--') OR (number = '9191680902*' OR number = '919168090*' OR number = '91916809*' OR number = '9191680*' OR number = '919168*' OR number = '91916*' OR number = '9191*' OR number = '919*' OR number = '91*' OR number = '9*' OR number ='--')) AND status=0 AND accountid = 0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '100303030' OR routing_prefix = '10030303' OR routing_prefix = '1003030' OR routing_prefix = '100303' OR routing_prefix = '10030' OR routing_prefix = '1003' OR routing_prefix = '100' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 4 limit 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9191680902
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 39989.8
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 17
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 17 AND status = 0
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^100303030.*' OR pattern = '^10030303.*' OR pattern = '^1003030.*' OR pattern = '^100303.*' OR pattern = '^10030.*' OR pattern = '^1003.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9191680902.*' OR caller_id_pattern = '^919168090.*' OR caller_id_pattern = '^91916809.*' OR caller_id_pattern = '^9191680.*' OR caller_id_pattern = '^919168.*' OR caller_id_pattern = '^91916.*' OR caller_id_pattern = '^9191.*' OR caller_id_pattern = '^919.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 17 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.60000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:17
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '17' and status=0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] today_date :10-3
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_time :13.58
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :5
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match for priority :1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.9
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.9
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Reseller
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your39989.8 balance Accountid 7 !!!
2022-03-10 13:58:53.056668 98.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-03-10 13:58:53.056668 98.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 4
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "4" AND deleted = 0 limit 1
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^100303030.*' OR blocked_patterns = '^10030303.*' OR blocked_patterns = '^1003030.*' OR blocked_patterns = '^100303.*' OR blocked_patterns = '^10030.*' OR blocked_patterns = '^1003.*' OR blocked_patterns = '^100.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 4 limit 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9104408877
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19997.1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^100303030.*' OR pattern = '^10030303.*' OR pattern = '^1003030.*' OR pattern = '^100303.*' OR pattern = '^10030.*' OR pattern = '^1003.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^9191680902.*' OR caller_id_pattern = '^919168090.*' OR caller_id_pattern = '^91916809.*' OR caller_id_pattern = '^9191680.*' OR caller_id_pattern = '^919168.*' OR caller_id_pattern = '^91916.*' OR caller_id_pattern = '^9191.*' OR caller_id_pattern = '^919.*' OR caller_id_pattern = '^91.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=4) ORDER BY accountid DESC,LENGTH(pattern),LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:0.20000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday from demand_based_routing where pricelist_id = '1' and status=0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:0.20000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.20000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : USA
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19997.1 balance Accountid 4 !!!
2022-03-10 13:58:53.056668 98.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.9|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :0
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^100303030.*' OR pattern = '^10030303.*' OR pattern = '^1003030.*' OR pattern = '^100303.*' OR pattern = '^10030.*' OR pattern = '^1003.*' OR pattern = '^100.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (1) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.*
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : USA
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.*
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : YourProvider
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : YourTrunk
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-03-10 13:58:53.056668 98.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 3) AND status=0 limit 1
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 1) AND status=0 limit 1
2022-03-10 13:58:53.056668 98.33% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="100303030" LIMIT 1
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-03-10 13:58:53.056668 98.33% [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="100303030">
<condition field="destination_number" expression="100303030">
<action application="set" data="effective_destination_number=100303030"/>
<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="callstart=2022-03-10 13:58:53"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=7"/>
<action application="set" data="parent_id=4"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:3|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.9|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4"/>
<action application="set" data="original_caller_id_name=9191680902"/>
<action application="set" data="original_caller_id_number=9191680902"/>
<action application="set" data="effective_caller_id_name=9191680902"/>
<action application="set" data="effective_caller_id_number=9191680902"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3"/>
<action application="set" data="trunk_id=1"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=3"/>
<action application="export" data="presence_data=trunk_id=1"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=100303030"/>
<action application="export" data="presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.9 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/100303030"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 parsing [default->100303030] continue=false
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Regex (PASS) [100303030] destination_number(100303030) =~ /100303030/ break=on-false
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_destination_number=100303030)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(callstart=2022-03-10 13:58:53)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(account_id=7)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(parent_id=4)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(entity_id=0)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(call_processed=internal)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(call_direction=outbound)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(accountname=default)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(origination_rates=ID:3|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.9|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(original_caller_id_name=9191680902)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(original_caller_id_number=9191680902)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_caller_id_name=9191680902)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(effective_caller_id_number=9191680902)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(calltype=STANDARD)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(trunk_id=1)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(provider_id=3)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(rate_flag=0)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(force_trunk_flag=3)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action set(intcall=0)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_id=100303030)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action export(presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.9 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA)
Dialplan: sofia/default/9191680902@w07version61.astppbilling.org:5074 Action bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/100303030)
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_ROUTING -> CS_EXECUTE
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State ROUTING going to sleep
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_EXECUTE (Cur 1 Tot 15)
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State EXECUTE
2022-03-10 13:58:53.056668 98.33% [DEBUG] mod_sofia.c:213 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA EXECUTE
2022-03-10 13:58:53.056668 98.33% [DEBUG] switch_core_state_machine.c:323 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_destination_number=100303030)
2022-03-10 13:58:53.056668 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_destination_number]=[100303030]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(callstart=2022-03-10 13:58:53)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [callstart]=[2022-03-10 13:58:53]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(hangup_after_bridge=true)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(continue_on_fail=TRUE)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(account_id=7)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [account_id]=[7]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(parent_id=4)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [parent_id]=[4]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(entity_id=0)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(call_processed=internal)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(call_direction=outbound)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(accountname=default)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(filename1=astpp.pbx.lua)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(origination_rates=ID:3|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.9|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [origination_rates]=[ID:3|CODE:^1.*|DESTINATION:Reseller|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.9|INC:60|INITIALBLOCK:60|RATEGROUP:17|MARKUP:0|CI:0|ACCID:7||ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.20000|INC:60|INITIALBLOCK:30|RATEGROUP:1|MARKUP:0|CI:0|ACCID:4]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(original_caller_id_name=9191680902)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [original_caller_id_name]=[9191680902]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(original_caller_id_number=9191680902)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [original_caller_id_number]=[9191680902]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_caller_id_name=9191680902)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_caller_id_name]=[9191680902]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(effective_caller_id_number=9191680902)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [effective_caller_id_number]=[9191680902]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(calltype=STANDARD)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(termination_rates=ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [termination_rates]=[ID:1|CODE:^1.*|DESTINATION:USA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.10000|INC:60|INITIALBLOCK:30|TRUNK:1|PROVIDER:3]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(trunk_id=1)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [trunk_id]=[1]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(provider_id=3)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [provider_id]=[3]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(rate_flag=0)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(force_trunk_flag=3)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [force_trunk_flag]=[3]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_data=trunk_id=1)
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 set(intcall=0)
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/9191680902@w07version61.astppbilling.org:5074 [intcall]=[0]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_id=100303030)
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[100303030]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 export(presence_data=x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.9 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA)
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.9 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA]
EXECUTE [depth=0] sofia/default/9191680902@w07version61.astppbilling.org:5074 bridge({sip_cid_type=none}[leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/100303030)
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.9 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA] to event
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_id]=[100303030] to event
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_channel.c:1269 sofia/default/9191680902@w07version61.astppbilling.org:5074 EXPORTING[export_vars] [presence_data]=[x//4|||Reseller's cust(9191680902)|||^1.* // Reseller // 0.9 |||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||117.247.91.162|||0.20000 // ^1.* // USA] to event
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-03-10 13:58:53.076665 98.33% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100303030 [f6ef8c20-3b54-486f-b332-ba64acfaf876]
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_sofia.c:5121 (sofia/default/100303030) State Change CS_NEW -> CS_INIT
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_ivr_originate.c:3151 sofia/default/100303030 Setting leg timeout to 30
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100303030) Running State Change CS_INIT (Cur 2 Tot 16)
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100303030) State INIT
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_sofia.c:97 sofia/default/100303030 SOFIA INIT
2022-03-10 13:58:53.076665 98.33% [INFO] sofia_glue.c:1651 sofia/default/100303030 sending invite call-id: (null)
2022-03-10 13:58:53.076665 98.33% [DEBUG] sofia_glue.c:1654 sofia/default/100303030 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
Local SDP:
v=0
o=FreeSWITCH 1646893163 1646893164 IN IP4 3.7.66.233
s=FreeSWITCH
c=IN IP4 3.7.66.233
t=0 0
m=audio 27570 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:40 sofia/default/100303030 Standard INIT
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100303030) State Change CS_INIT -> CS_ROUTING
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100303030) State INIT going to sleep
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100303030) Running State Change CS_ROUTING (Cur 2 Tot 16)
2022-03-10 13:58:53.076665 98.33% [DEBUG] sofia.c:7499 Channel sofia/default/100303030 entering state [calling][0]
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100303030) State ROUTING
2022-03-10 13:58:53.076665 98.33% [DEBUG] mod_sofia.c:158 sofia/default/100303030 SOFIA ROUTING
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_ivr_originate.c:67 (sofia/default/100303030) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100303030) State ROUTING going to sleep
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100303030) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 16)
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100303030) State CONSUME_MEDIA
2022-03-10 13:58:53.076665 98.33% [DEBUG] switch_core_state_machine.c:659 (sofia/default/100303030) State CONSUME_MEDIA going to sleep
2022-03-10 13:58:53.276668 98.33% [DEBUG] sofia.c:7499 Channel sofia/default/100303030 entering state [proceeding][180]
2022-03-10 13:58:53.276668 98.33% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/100303030!
2022-03-10 13:58:53.276668 98.33% [DEBUG] switch_channel.c:3494 (sofia/default/100303030) Callstate Change DOWN -> RINGING
2022-03-10 13:58:53.276668 98.33% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/9191680902@w07version61.astppbilling.org:5074!
2022-03-10 13:58:53.276668 98.33% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [early][180]
2022-03-10 13:58:53.276668 98.33% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/9191680902@w07version61.astppbilling.org:5074!
2022-03-10 13:59:03.276697 95.57% [DEBUG] sofia.c:7499 Channel sofia/default/100303030 entering state [completing][200]
2022-03-10 13:59:03.276697 95.57% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 434935610 434935610 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 15280 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-03-10 13:59:03.276697 95.57% [DEBUG] sofia.c:7499 Channel sofia/default/100303030 entering state [ready][200]
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/100303030 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_codec.c:111 sofia/default/100303030 Original read codec set to PCMA:8
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:5973 sofia/default/100303030 Set 2833 dtmf send payload to 101 recv payload to 101
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/100303030] 172.31.14.218 port 27570 -> 159.203.131.36 port 15280 codec: 8 ms: 20
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:9089 sofia/default/100303030 Set 2833 dtmf send payload to 101
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:9096 sofia/default/100303030 Set 2833 dtmf receive payload to 101
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:9119 sofia/default/100303030 Set rtp dtmf delay to 40
2022-03-10 13:59:03.276697 95.57% [NOTICE] sofia.c:8683 Channel [sofia/default/100303030] has been answered
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_channel.c:3950 (sofia/default/100303030) Callstate Change RINGING -> ACTIVE
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9191680902@w07version61.astppbilling.org:5074] 172.31.14.218 port 26696 -> 192.168.1.13 port 40044 codec: 0 ms: 20
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:9089 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf send payload to 101
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:9096 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set 2833 dtmf receive payload to 101
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_media.c:9119 sofia/default/9191680902@w07version61.astppbilling.org:5074 Set rtp dtmf delay to 40
2022-03-10 13:59:03.276697 95.57% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9191680902@w07version61.astppbilling.org:5074:
v=0
o=FreeSWITCH 1646894047 1646894048 IN IP4 3.7.66.233
s=FreeSWITCH
c=IN IP4 3.7.66.233
t=0 0
m=audio 26696 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
m=video 0 RTP/AVP 19
2022-03-10 13:59:03.276697 95.57% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [completed][200]
2022-03-10 13:59:03.276697 95.57% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9191680902@w07version61.astppbilling.org:5074] has been answered
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_channel.c:3950 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change RINGING -> ACTIVE
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/100303030] Peer UUID: f6ef8c20-3b54-486f-b332-ba64acfaf876
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/100303030) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100303030) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 16)
2022-03-10 13:59:03.276697 95.57% [DEBUG] switch_core_state_machine.c:650 (sofia/default/100303030) State EXCHANGE_MEDIA
2022-03-10 13:59:03.276697 95.57% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-03-10 13:59:03.396686 95.57% [DEBUG] sofia.c:7499 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 entering state [ready][200]
2022-03-10 13:59:03.476667 95.57% [DEBUG] switch_ivr_bridge.c:655 sofia/default/100303030 Bridge execute app sched_hangup(+6000 normal_clearing)
2022-03-10 13:59:03.496701 95.57% [DEBUG] switch_ivr.c:632 sofia/default/100303030 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/100303030 sched_hangup(+6000 normal_clearing)
2022-03-10 13:59:03.496701 95.57% [DEBUG] switch_scheduler.c:263 Added task 11 switch_ivr_schedule_hangup (f6ef8c20-3b54-486f-b332-ba64acfaf876) to run at 1646926743
2022-03-10 13:59:03.556689 95.57% [INFO] switch_rtp.c:7894 Auto Changing audio port from 192.168.1.13:40044 to 117.247.91.162:40044
2022-03-10 13:59:03.576689 95.57% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-03-10 13:59:18.096685 94.73% [NOTICE] sofia.c:1065 Hangup sofia/default/9191680902@w07version61.astppbilling.org:5074 [CS_EXECUTE] [NORMAL_CLEARING]
2022-03-10 13:59:18.096685 94.73% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9191680902@w07version61.astppbilling.org:5074]
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9191680902@w07version61.astppbilling.org:5074 ending bridge by request from write function
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/100303030]
2022-03-10 13:59:18.116687 94.73% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/100303030 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:650 (sofia/default/100303030) State EXCHANGE_MEDIA going to sleep
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100303030) Running State Change CS_HANGUP (Cur 2 Tot 16)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100303030) Callstate Change ACTIVE -> HANGUP
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100303030) State HANGUP
2022-03-10 13:59:18.116687 94.73% [DEBUG] mod_sofia.c:462 sofia/default/100303030 Overriding SIP cause 480 with 200 from the other leg
2022-03-10 13:59:18.116687 94.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/100303030 hanging up, cause: NORMAL_CLEARING
2022-03-10 13:59:18.116687 94.73% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/100303030
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/100303030 Standard HANGUP, cause: NORMAL_CLEARING
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100303030) State HANGUP going to sleep
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100303030) State Change CS_HANGUP -> CS_REPORTING
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100303030) Running State Change CS_REPORTING (Cur 2 Tot 16)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100303030) State REPORTING
2022-03-10 13:59:18.116687 94.73% [INFO] mod_json_cdr.c:271 Process [f6ef8c20-3b54-486f-b332-ba64acfaf876.cdr.json]
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/100303030 skip receive message [UNBRIDGE] (channel is hungup already)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9191680902@w07version61.astppbilling.org:5074 skip receive message [UNBRIDGE] (channel is hungup already)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_session.c:2983 sofia/default/9191680902@w07version61.astppbilling.org:5074 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State EXECUTE going to sleep
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_HANGUP (Cur 2 Tot 16)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Callstate Change ACTIVE -> HANGUP
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State HANGUP
2022-03-10 13:59:18.116687 94.73% [DEBUG] mod_sofia.c:468 Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 hanging up, cause: NORMAL_CLEARING
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:59 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard HANGUP, cause: NORMAL_CLEARING
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State HANGUP going to sleep
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_HANGUP -> CS_REPORTING
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_REPORTING (Cur 2 Tot 16)
2022-03-10 13:59:18.116687 94.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State REPORTING
2022-03-10 13:59:18.116687 94.73% [INFO] mod_json_cdr.c:271 Process [e819bf38-a22c-4f3a-935d-b9a88c63bee1.cdr.json]
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/100303030 Standard REPORTING, cause: NORMAL_CLEARING
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100303030) State REPORTING going to sleep
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100303030) State Change CS_REPORTING -> CS_DESTROY
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_session.c:1753 Session 16 (sofia/default/100303030) Locked, Waiting on external entities
2022-03-10 13:59:18.136671 94.73% [NOTICE] switch_core_session.c:1771 Session 16 (sofia/default/100303030) Ended
2022-03-10 13:59:18.136671 94.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100303030 [CS_DESTROY]
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100303030) Running State Change CS_DESTROY (Cur 1 Tot 16)
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100303030) State DESTROY
2022-03-10 13:59:18.136671 94.73% [DEBUG] mod_sofia.c:379 sofia/default/100303030 SOFIA DESTROY
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/100303030 Standard DESTROY
2022-03-10 13:59:18.136671 94.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100303030) State DESTROY going to sleep
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:168 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard REPORTING, cause: NORMAL_CLEARING
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State REPORTING going to sleep
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State Change CS_REPORTING -> CS_DESTROY
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_session.c:1753 Session 15 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Locked, Waiting on external entities
2022-03-10 13:59:18.176746 94.73% [NOTICE] switch_core_session.c:1771 Session 15 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Ended
2022-03-10 13:59:18.176746 94.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9191680902@w07version61.astppbilling.org:5074 [CS_DESTROY]
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9191680902@w07version61.astppbilling.org:5074) Running State Change CS_DESTROY (Cur 0 Tot 16)
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State DESTROY
2022-03-10 13:59:18.176746 94.73% [DEBUG] mod_sofia.c:379 sofia/default/9191680902@w07version61.astppbilling.org:5074 SOFIA DESTROY
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:175 sofia/default/9191680902@w07version61.astppbilling.org:5074 Standard DESTROY
2022-03-10 13:59:18.176746 94.73% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9191680902@w07version61.astppbilling.org:5074) State DESTROY going to sleep
2022-03-10 13:59:18.496702 94.73% [DEBUG] switch_scheduler.c:147 Deleting task 11 switch_ivr_schedule_hangup (f6ef8c20-3b54-486f-b332-ba64acfaf876)
freeswitch@ip-172-31-14-218>
freeswitch@ip-172-31-14-218>
freeswitch@ip-172-31-14-218>
freeswitch@ip-172-31-14-218> /exit
root@ip-172-31-14-218:/home/admin#
You have new mail in /var/mail/roo