freeswitch@devangASTPP>
freeswitch@devangASTPP>
2022-05-20 12:48:58.576818 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 [c346d05b-cae0-4f90-9990-55a636b94f25]
2022-05-20 12:48:58.576818 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_NEW (Cur 1 Tot 26)
2022-05-20 12:48:58.576818 98.47% [INFO] sofia.c:10462 sofia/default/9148867339@astppqa606.astppbilling.org:5064 receiving invite from 117.247.91.162:64371 version: 1.10.7 -release 64bit call-id: FwwIkoygqYWw-GziSSb-yQ..
2022-05-20 12:48:58.576818 98.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2022-05-20 12:48:58.576818 98.47% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [110540540540@astppqa606.astppbilling.org] from ip 117.247.91.162
2022-05-20 12:48:58.576818 98.47% [DEBUG] switch_core_state_machine.c:600 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State NEW
2022-05-20 12:48:58.576818 98.47% [DEBUG] sofia.c:2419 detaching session c346d05b-cae0-4f90-9990-55a636b94f25
2022-05-20 12:48:59.056800 98.47% [DEBUG] sofia.c:2532 Re-attaching to session c346d05b-cae0-4f90-9990-55a636b94f25
2022-05-20 12:48:59.076792 98.47% [INFO] sofia.c:10462 sofia/default/9148867339@astppqa606.astppbilling.org:5064 receiving invite from 117.247.91.162:64371 version: 1.10.7 -release 64bit call-id: FwwIkoygqYWw-GziSSb-yQ..
2022-05-20 12:48:59.076792 98.47% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 117.247.91.162:0.
2022-05-20 12:48:59.076792 98.47% [DEBUG] sofia.c:11672 Setting NAT mode based on via port
2022-05-20 12:48:59.076792 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 entering state [received][100]
2022-05-20 12:48:59.076792 98.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Z 0 0 IN IP4 117.247.91.162
s=Z
c=IN IP4 117.247.91.162
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 97 101
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/9148867339@astppqa606.astppbilling.org:5064 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Original read codec set to PCMA:8
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-20 12:48:59.076792 98.47% [DEBUG] sofia.c:7933 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_NEW -> CS_INIT
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_INIT (Cur 1 Tot 26)
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State INIT
2022-05-20 12:48:59.076792 98.47% [DEBUG] mod_sofia.c:97 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA INIT
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard INIT
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_INIT -> CS_ROUTING
2022-05-20 12:48:59.076792 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State INIT going to sleep
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_ROUTING (Cur 1 Tot 26)
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_channel.c:2380 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Callstate Change DOWN -> RINGING
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State ROUTING
2022-05-20 12:48:59.096785 98.47% [DEBUG] mod_sofia.c:158 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA ROUTING
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_core_state_machine.c:230 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard ROUTING
2022-05-20 12:48:59.096785 98.47% [INFO] mod_dialplan_xml.c:639 Processing 9148867339 <9148867339>->110540540540 in context default
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 110540540540
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '110540540540' limit 1
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '110540540540' and status=0 LIMIT 1
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER9148867339
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT domain,accountid FROM domains WHERE domain = 'astppqa606.astppbilling.org' limit 1
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '8' and username = '110540540540' limit 1
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9148867339 / 9148867339
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2022-05-20 12:48:59.096785 98.47% [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="110540540540" AND domains.domain="astppqa606.astppbilling.org" limit 1
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
2022-05-20 12:48:59.096785 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9148867339]
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "9148867339" AND deleted = 0 limit 1
2022-05-20 12:48:59.096785 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^110540540540.*' OR blocked_patterns = '^11054054054.*' OR blocked_patterns = '^1105405405.*' OR blocked_patterns = '^110540540.*' OR blocked_patterns = '^11054054.*' OR blocked_patterns = '^1105405.*' OR blocked_patterns = '^110540.*' OR blocked_patterns = '^11054.*' OR blocked_patterns = '^1105.*' OR blocked_patterns = '^110.*' OR blocked_patterns = '^11.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0
2022-05-20 12:48:59.116791 98.47% [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 = '^110540540540.*' OR patterns = '^11054054054.*' OR patterns = '^1105405405.*' OR patterns = '^110540540.*' OR patterns = '^11054054.*' OR patterns = '^1105405.*' OR patterns = '^110540.*' OR patterns = '^11054.*' OR patterns = '^1105.*' OR patterns = '^110.*' OR patterns = '^11.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 8 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-05-20 12:48:59.116791 98.47% [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 ="110540540540" AND A.accountid = '8' limit 1
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 110540540540
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0
2022-05-20 12:48:59.116791 98.47% [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="110540540540" AND domains.domain="astppqa606.astppbilling.org" limit 1
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
2022-05-20 12:48:59.116791 98.47% [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 = '110540540540' OR number = '11054054054' OR number = '1105405405' OR number = '110540540' OR number = '11054054' OR number = '1105405' OR number = '110540' OR number = '11054' OR number = '1105' OR number = '110' OR number = '11' OR number = '1' OR number ='--') OR (number = '110540540540*' OR number = '11054054054*' OR number = '1105405405*' OR number = '110540540*' OR number = '11054054*' OR number = '1105405*' OR number = '110540*' OR number = '11054*' OR number = '1105*' OR number = '110*' OR number = '11*' OR number = '1*' OR number ='--') OR (number = '9148867339' OR number = '914886733' OR number = '91488673' OR number = '9148867' OR number = '914886' OR number = '91488' OR number = '9148' OR number = '914' OR number = '91' OR number = '9' OR number ='--') OR (number = '9148867339*' OR number = '914886733*' OR number = '91488673*' OR number = '9148867*' OR number = '914886*' OR number = '91488*' OR number = '9148*' OR number = '914*' 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-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '110540540540' OR routing_prefix = '11054054054' OR routing_prefix = '1105405405' OR routing_prefix = '110540540' OR routing_prefix = '11054054' OR routing_prefix = '1105405' OR routing_prefix = '110540' OR routing_prefix = '11054' OR routing_prefix = '1105' OR routing_prefix = '110' OR routing_prefix = '11' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9148867339
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1946.55
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 7
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :my-rates-7
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-20 12:48:59
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^44.*
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-20 12:48:59
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]0 GOT___SUCCESS2022-05-20 12:48:59
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=pattern::^11.*
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [ROUTES_CACHING]1=GOT___SUCCESS=caller_id_pattern::^.*
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 30
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Going For Check Demand Base Routing
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] OLD COST:1.3
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]pricelist_id:7
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT demand_based_condition,holiday,timezone_name from demand_based_routing where pricelist_id = '7' and status=0
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] holiday_based_routing :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Query :SELECT gmttime from timezone where id = '282'
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Data :GMT+12:00
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Holiday Plus timezone
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If Holiday timezone like = -05:00 :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_date:21
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted Holiday current_time_month:May
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :21-5
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Hliday today_date :2
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] demand_based_condition :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Query :SELECT gmttime from timezone where id = '282'
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Data :GMT+12:00
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Plus timezone
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]If timezone like = +05:00 :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing]Converted current_time: 00.48
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] current_wday :Fri
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Current Day Number6
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :4-5
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :7-7
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] Demand based routing Match emand_based_condition_value['wday'][1] :6-6
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [Demand_Base_Routing] NEW COST:1.3
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 16
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 1.3
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Admin-India
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 98
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1946.55 balance Accountid 8 !!!
2022-05-20 12:48:59.116791 98.47% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 424 mins!
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 424 minutes
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=7 ORDER by id asc
2022-05-20 12:48:59.116791 98.47% [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 = '^110540540540.*' OR pattern = '^11054054054.*' OR pattern = '^1105405405.*' OR pattern = '^110540540.*' OR pattern = '^11054054.*' OR pattern = '^1105405.*' OR pattern = '^110540.*' OR pattern = '^11054.*' OR pattern = '^1105.*' OR pattern = '^110.*' OR pattern = '^11.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (5) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 12
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^11.*
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Bhopal
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^11.*
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 5
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : PK_GW
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 3
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-05-20 12:48:59.116791 98.47% [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 = 8 AND status=0 LIMIT 1
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 424
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
2022-05-20 12:48:59.116791 98.47% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::7
2022-05-20 12:48:59.116791 98.47% [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-05-20 12:48:59.116791 98.47% [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 = 5) AND status=0 limit 1
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="9148867339" AND domains.domain="astppqa606.astppbilling.org" limit 1
2022-05-20 12:48:59.116791 98.47% [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 ="110540540540" LIMIT 1
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-05-20 12:48:59.116791 98.47% [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="110540540540">
<condition field="destination_number" expression="110540540540">
<action application="set" data="effective_destination_number=110540540540"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+25440 normal_clearing"/>
<action application="set" data="notify_flag=0"/>
<action application="set" data="notify_credit_limit=5.00000"/>
<action application="set" data="type=0"/>
<action application="set" data="callstart=2022-05-20 12:48:59"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=8"/>
<action application="set" data="parent_id=0"/>
<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="origination_rates=ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:30|CI:98|ACCID:8"/>
<action application="set" data="original_caller_id_name=9148867339"/>
<action application="set" data="original_caller_id_number=9148867339"/>
<action application="set" data="effective_caller_id_name=9148867339"/>
<action application="set" data="effective_caller_id_number=9148867339"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.50000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3"/>
<action application="set" data="trunk_id=5"/>
<action application="set" data="provider_id=3"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=0"/>
<action application="export" data="presence_data=trunk_id=5"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_id=110540540540"/>
<action application="export" data="presence_data=x|||Admin's cust(9148867339)|||^11.* // Admin-India // 1.3 |||PK-Default-Trunk // ^11.* // Bhopal // 0.50000 // trunk_id=5|||STD|||117.247.91.162"/>
<action application="bridge" data="{sip_cid_type=none}[leg_timeout=0]sofia/gateway/PK_GW/110540540540"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 parsing [default->110540540540] continue=false
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Regex (PASS) [110540540540] destination_number(110540540540) =~ /110540540540/ break=on-false
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(effective_destination_number=110540540540)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(bridge_pre_execute_bleg_data=+25440 normal_clearing)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(notify_flag=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(notify_credit_limit=5.00000)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(type=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(callstart=2022-05-20 12:48:59)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(account_id=8)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(parent_id=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(entity_id=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(call_processed=internal)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(call_direction=outbound)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(accountname=default)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(origination_rates=ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:30|CI:98|ACCID:8)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(original_caller_id_name=9148867339)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(original_caller_id_number=9148867339)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(effective_caller_id_name=9148867339)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(effective_caller_id_number=9148867339)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(calltype=STANDARD)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(termination_rates=ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.50000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(trunk_id=5)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(provider_id=3)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(rate_flag=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(force_trunk_flag=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(presence_data=trunk_id=5)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action set(intcall=0)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(presence_id=110540540540)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action export(presence_data=x|||Admin's cust(9148867339)|||^11.* // Admin-India // 1.3 |||PK-Default-Trunk // ^11.* // Bhopal // 0.50000 // trunk_id=5|||STD|||117.247.91.162)
Dialplan: sofia/default/9148867339@astppqa606.astppbilling.org:5064 Action bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PK_GW/110540540540)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:281 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_ROUTING -> CS_EXECUTE
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State ROUTING going to sleep
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_EXECUTE (Cur 1 Tot 26)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State EXECUTE
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_sofia.c:213 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA EXECUTE
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:323 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard EXECUTE
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(effective_destination_number=110540540540)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [effective_destination_number]=[110540540540]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(bridge_pre_execute_bleg_app=sched_hangup)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(bridge_pre_execute_bleg_data=+25440 normal_clearing)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [bridge_pre_execute_bleg_data]=[+25440 normal_clearing]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(notify_flag=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [notify_flag]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(notify_credit_limit=5.00000)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [notify_credit_limit]=[5.00000]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(type=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [type]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(callstart=2022-05-20 12:48:59)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [callstart]=[2022-05-20 12:48:59]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(hangup_after_bridge=true)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(continue_on_fail=TRUE)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(account_id=8)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [account_id]=[8]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(parent_id=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(entity_id=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(call_processed=internal)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(call_direction=outbound)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(accountname=default)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [accountname]=[default]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(origination_rates=ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:30|CI:98|ACCID:8)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [origination_rates]=[ID:16|CODE:^11.*|DESTINATION:Admin-India|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:1.3|INC:60|INITIALBLOCK:60|RATEGROUP:7|MARKUP:30|CI:98|ACCID:8]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(original_caller_id_name=9148867339)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [original_caller_id_name]=[9148867339]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(original_caller_id_number=9148867339)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [original_caller_id_number]=[9148867339]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(effective_caller_id_name=9148867339)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [effective_caller_id_name]=[9148867339]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(effective_caller_id_number=9148867339)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [effective_caller_id_number]=[9148867339]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(calltype=STANDARD)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(termination_rates=ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.50000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [termination_rates]=[ID:12|CODE:^11.*|DESTINATION:Bhopal|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.50000|INC:60|INITIALBLOCK:60|TRUNK:5|PROVIDER:3]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(trunk_id=5)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [trunk_id]=[5]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(provider_id=3)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [provider_id]=[3]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(rate_flag=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(force_trunk_flag=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [force_trunk_flag]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(presence_data=trunk_id=5)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=5]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 set(intcall=0)
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_dptools.c:1685 SET sofia/default/9148867339@astppqa606.astppbilling.org:5064 [intcall]=[0]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(presence_id=110540540540)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[110540540540]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 export(presence_data=x|||Admin's cust(9148867339)|||^11.* // Admin-India // 1.3 |||PK-Default-Trunk // ^11.* // Bhopal // 0.50000 // trunk_id=5|||STD|||117.247.91.162)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Admin's cust(9148867339)|||^11.* // Admin-India // 1.3 |||PK-Default-Trunk // ^11.* // Bhopal // 0.50000 // trunk_id=5|||STD|||117.247.91.162]
EXECUTE [depth=0] sofia/default/9148867339@astppqa606.astppbilling.org:5064 bridge({sip_cid_type=none}[leg_timeout=0]sofia/gateway/PK_GW/110540540540)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust(9148867339)|||^11.* // Admin-India // 1.3 |||PK-Default-Trunk // ^11.* // Bhopal // 0.50000 // trunk_id=5|||STD|||117.247.91.162] to event
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [presence_id]=[110540540540] to event
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_channel.c:1269 sofia/default/9148867339@astppqa606.astppbilling.org:5064 EXPORTING[export_vars] [presence_data]=[x|||Admin's cust(9148867339)|||^11.* // Admin-India // 1.3 |||PK-Default-Trunk // ^11.* // Bhopal // 0.50000 // trunk_id=5|||STD|||117.247.91.162] to event
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
2022-05-20 12:48:59.116791 98.47% [NOTICE] switch_channel.c:1123 New Channel sofia/default/110540540540 [cce4db6b-bdf7-48c7-b2ac-c5fea55130eb]
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_sofia.c:5121 (sofia/default/110540540540) State Change CS_NEW -> CS_INIT
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/110540540540) Running State Change CS_INIT (Cur 2 Tot 27)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/110540540540) State INIT
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_sofia.c:97 sofia/default/110540540540 SOFIA INIT
2022-05-20 12:48:59.116791 98.47% [INFO] sofia_glue.c:1651 sofia/default/110540540540 sending invite call-id: (null)
2022-05-20 12:48:59.116791 98.47% [DEBUG] sofia_glue.c:1654 sofia/default/110540540540 sending invite version: 1.10.7 -release 64bit
Local SDP:
v=0
o=FreeSWITCH 1653020147 1653020148 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 30792 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:40 sofia/default/110540540540 Standard INIT
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:48 (sofia/default/110540540540) State Change CS_INIT -> CS_ROUTING
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:624 (sofia/default/110540540540) State INIT going to sleep
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/110540540540) Running State Change CS_ROUTING (Cur 2 Tot 27)
2022-05-20 12:48:59.116791 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/110540540540 entering state [calling][0]
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/110540540540) State ROUTING
2022-05-20 12:48:59.116791 98.47% [DEBUG] mod_sofia.c:158 sofia/default/110540540540 SOFIA ROUTING
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_ivr_originate.c:67 (sofia/default/110540540540) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:640 (sofia/default/110540540540) State ROUTING going to sleep
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/110540540540) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 27)
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/110540540540) State CONSUME_MEDIA
2022-05-20 12:48:59.116791 98.47% [DEBUG] switch_core_state_machine.c:659 (sofia/default/110540540540) State CONSUME_MEDIA going to sleep
2022-05-20 12:48:59.216789 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/110540540540 entering state [completing][200]
2022-05-20 12:48:59.216789 98.47% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=root 1207073088 1207073088 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 13252 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2022-05-20 12:48:59.216789 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/110540540540 entering state [ready][200]
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/110540540540 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_codec.c:111 sofia/default/110540540540 Original read codec set to PCMA:8
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:5973 sofia/default/110540540540 Set 2833 dtmf send payload to 101 recv payload to 101
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/110540540540] 142.132.184.134 port 30792 -> 159.203.131.36 port 13252 codec: 8 ms: 20
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/110540540540 Set 2833 dtmf send payload to 101
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/110540540540 Set 2833 dtmf receive payload to 101
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/110540540540 Set rtp dtmf delay to 40
2022-05-20 12:48:59.216789 98.47% [NOTICE] sofia.c:8683 Channel [sofia/default/110540540540] has been answered
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_channel.c:3950 (sofia/default/110540540540) Callstate Change DOWN -> ACTIVE
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/9148867339@astppqa606.astppbilling.org:5064] 142.132.184.134 port 23460 -> 117.247.91.162 port 8000 codec: 8 ms: 20
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:9089 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set 2833 dtmf send payload to 101
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:9096 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set 2833 dtmf receive payload to 101
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_media.c:9119 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Set rtp dtmf delay to 40
2022-05-20 12:48:59.216789 98.47% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/9148867339@astppqa606.astppbilling.org:5064:
v=0
o=FreeSWITCH 1653027479 1653027480 IN IP4 142.132.184.134
s=FreeSWITCH
c=IN IP4 142.132.184.134
t=0 0
m=audio 23460 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-05-20 12:48:59.216789 98.47% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/9148867339@astppqa606.astppbilling.org:5064] has been answered
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_channel.c:3950 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Callstate Change RINGING -> ACTIVE
2022-05-20 12:48:59.216789 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 entering state [completed][200]
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/110540540540] Peer UUID: cce4db6b-bdf7-48c7-b2ac-c5fea55130eb
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/110540540540) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/110540540540) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 27)
2022-05-20 12:48:59.216789 98.47% [DEBUG] switch_core_state_machine.c:650 (sofia/default/110540540540) State EXCHANGE_MEDIA
2022-05-20 12:48:59.216789 98.47% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
2022-05-20 12:48:59.416812 98.47% [DEBUG] switch_ivr_bridge.c:655 sofia/default/110540540540 Bridge execute app sched_hangup(+25440 normal_clearing)
2022-05-20 12:48:59.436797 98.47% [DEBUG] switch_ivr.c:632 sofia/default/110540540540 Command Execute [depth=0] sched_hangup(+25440 normal_clearing)
EXECUTE [depth=0] sofia/default/110540540540 sched_hangup(+25440 normal_clearing)
2022-05-20 12:48:59.436797 98.47% [DEBUG] switch_scheduler.c:263 Added task 14 switch_ivr_schedule_hangup (cce4db6b-bdf7-48c7-b2ac-c5fea55130eb) to run at 1653076379
2022-05-20 12:48:59.456812 98.47% [DEBUG] sofia.c:7499 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 entering state [ready][200]
2022-05-20 12:48:59.596803 98.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-05-20 12:48:59.716817 98.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-05-20 12:49:05.776801 96.43% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3899518948@astppqa605.astppbilling.org] from ip 157.32.111.225
2022-05-20 12:49:05.976804 96.43% [WARNING] sofia_reg.c:3223 Can't find user [3899518948@astppqa605.astppbilling.org] from 157.32.111.225
You must define a domain called 'astppqa605.astppbilling.org' in your directory and add a user with the id="3899518948" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-05-20 12:49:05.976804 96.43% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [3899518948@astppqa605.astppbilling.org] from ip 157.32.111.225
2022-05-20 12:49:13.116801 96.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [2365136129@astppqa604.astppbilling.org] from ip 117.247.91.162
2022-05-20 12:49:13.356815 96.70% [WARNING] sofia_reg.c:3223 Can't find user [2365136129@astppqa604.astppbilling.org] from 117.247.91.162
You must define a domain called 'astppqa604.astppbilling.org' in your directory and add a user with the id="2365136129" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-05-20 12:49:13.356815 96.70% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [2365136129@astppqa604.astppbilling.org] from ip 117.247.91.162
2022-05-20 12:49:16.836801 96.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9095175867@astppqa605.astppbilling.org] from ip 150.129.107.251
2022-05-20 12:49:16.996798 96.67% [WARNING] sofia_reg.c:3223 Can't find user [9095175867@astppqa605.astppbilling.org] from 150.129.107.251
You must define a domain called 'astppqa605.astppbilling.org' in your directory and add a user with the id="9095175867" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-05-20 12:49:38.156787 98.77% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [3899518948@astppqa605.astppbilling.org] from ip 157.32.111.225
2022-05-20 12:49:38.336797 98.77% [WARNING] sofia_reg.c:3223 Can't find user [3899518948@astppqa605.astppbilling.org] from 157.32.111.225
You must define a domain called 'astppqa605.astppbilling.org' in your directory and add a user with the id="3899518948" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2022-05-20 12:49:38.336797 98.77% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [3899518948@astppqa605.astppbilling.org] from ip 157.32.111.225
2022-05-20 12:49:48.636794 98.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [2276576399@astppqa603.astppbilling.org] from ip 117.247.91.162
2022-05-20 12:49:49.436800 98.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [9148867339@astppqa606.astppbilling.org] from ip 117.247.91.162
2022-05-20 12:49:57.736792 98.70% [NOTICE] sofia.c:1065 Hangup sofia/default/9148867339@astppqa606.astppbilling.org:5064 [CS_EXECUTE] [NORMAL_CLEARING]
2022-05-20 12:49:57.736792 98.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/9148867339@astppqa606.astppbilling.org:5064]
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_ivr_bridge.c:820 sofia/default/9148867339@astppqa606.astppbilling.org:5064 ending bridge by request from write function
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/110540540540]
2022-05-20 12:49:57.756792 98.70% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/110540540540 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:650 (sofia/default/110540540540) State EXCHANGE_MEDIA going to sleep
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/110540540540) Running State Change CS_HANGUP (Cur 2 Tot 27)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/110540540540) Callstate Change ACTIVE -> HANGUP
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/110540540540) State HANGUP
2022-05-20 12:49:57.756792 98.70% [DEBUG] mod_sofia.c:462 sofia/default/110540540540 Overriding SIP cause 480 with 200 from the other leg
2022-05-20 12:49:57.756792 98.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/110540540540 hanging up, cause: NORMAL_CLEARING
2022-05-20 12:49:57.756792 98.70% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/110540540540
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/110540540540 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/9148867339@astppqa606.astppbilling.org:5064 skip receive message [UNBRIDGE] (channel is hungup already)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/110540540540 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/110540540540) State HANGUP going to sleep
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/110540540540) State Change CS_HANGUP -> CS_REPORTING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_session.c:2983 sofia/default/9148867339@astppqa606.astppbilling.org:5064 skip receive message [PHONE_EVENT] (channel is hungup already)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State EXECUTE going to sleep
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_HANGUP (Cur 2 Tot 27)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/110540540540) Running State Change CS_REPORTING (Cur 2 Tot 27)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/110540540540) State REPORTING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Callstate Change ACTIVE -> HANGUP
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State HANGUP
2022-05-20 12:49:57.756792 98.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 hanging up, cause: NORMAL_CLEARING
2022-05-20 12:49:57.756792 98.70% [INFO] mod_json_cdr.c:271 Process [cce4db6b-bdf7-48c7-b2ac-c5fea55130eb.cdr.json]
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard HANGUP, cause: NORMAL_CLEARING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State HANGUP going to sleep
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_HANGUP -> CS_REPORTING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_REPORTING (Cur 2 Tot 27)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State REPORTING
2022-05-20 12:49:57.756792 98.70% [INFO] mod_json_cdr.c:271 Process [c346d05b-cae0-4f90-9990-55a636b94f25.cdr.json]
2022-05-20 12:49:57.756792 98.70% [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
2022-05-20 12:49:57.756792 98.70% [ERR] mod_json_cdr.c:415 Unable to post to web server
2022-05-20 12:49:57.756792 98.70% [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/cce4db6b-bdf7-48c7-b2ac-c5fea55130eb.cdr.json
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/110540540540 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/110540540540) State REPORTING going to sleep
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/110540540540) State Change CS_REPORTING -> CS_DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_session.c:1753 Session 27 (sofia/default/110540540540) Locked, Waiting on external entities
2022-05-20 12:49:57.756792 98.70% [NOTICE] switch_core_session.c:1771 Session 27 (sofia/default/110540540540) Ended
2022-05-20 12:49:57.756792 98.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/110540540540 [CS_DESTROY]
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/110540540540) Running State Change CS_DESTROY (Cur 1 Tot 27)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/110540540540) State DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] mod_sofia.c:379 sofia/default/110540540540 SOFIA DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/110540540540 Standard DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/110540540540) State DESTROY going to sleep
2022-05-20 12:49:57.756792 98.70% [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost:8735/cdr.php]
2022-05-20 12:49:57.756792 98.70% [ERR] mod_json_cdr.c:415 Unable to post to web server
2022-05-20 12:49:57.756792 98.70% [INFO] mod_json_cdr.c:208 Backup file /var/log/freeswitch/json_cdr/c346d05b-cae0-4f90-9990-55a636b94f25.cdr.json
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard REPORTING, cause: NORMAL_CLEARING
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State REPORTING going to sleep
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State Change CS_REPORTING -> CS_DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_session.c:1753 Session 26 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Locked, Waiting on external entities
2022-05-20 12:49:57.756792 98.70% [NOTICE] switch_core_session.c:1771 Session 26 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Ended
2022-05-20 12:49:57.756792 98.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/9148867339@astppqa606.astppbilling.org:5064 [CS_DESTROY]
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) Running State Change CS_DESTROY (Cur 0 Tot 27)
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] mod_sofia.c:379 sofia/default/9148867339@astppqa606.astppbilling.org:5064 SOFIA DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/9148867339@astppqa606.astppbilling.org:5064 Standard DESTROY
2022-05-20 12:49:57.756792 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9148867339@astppqa606.astppbilling.org:5064) State DESTROY going to sleep
2022-05-20 12:49:57.936797 98.70% [DEBUG] switch_scheduler.c:147 Deleting task 14 switch_ivr_schedule_hangup (cce4db6b-bdf7-48c7-b2ac-c5fea55130eb)
freeswitch@devangASTPP>
freeswitch@devangASTPP>
freeswitch@devangASTPP>
freeswitch@devangASTPP>
freeswitch@devangASTPP> /exit