2021-02-26 13:33:30.526672 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4001@13.127.159.248 [c000d120-98d7-4128-b6e0-4e0ab8ec15af]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_NEW (Cur 1 Tot 610)
2021-02-26 13:33:30.526672 [DEBUG] sofia.c:10280 sofia/default/4001@13.127.159.248 receiving invite from 13.127.159.248:5060 version: 1.10.5 -release-17-25569c1631 64bit
2021-02-26 13:33:30.526672 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 13.127.159.248:0.
2021-02-26 13:33:30.526672 [DEBUG] sofia.c:10403 IP 13.127.159.248 Approved by acl "default[]". Access Granted.
2021-02-26 13:33:30.526672 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [received][100]
2021-02-26 13:33:30.526672 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1614326376 1614326377 IN IP4 13.127.159.248
s=FreeSWITCH
c=IN IP4 13.127.159.248
t=0 0
m=audio 20034 RTP/AVP 8 0 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/4001@13.127.159.248 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-26 13:33:30.526672 [DEBUG] switch_core_codec.c:111 sofia/default/4001@13.127.159.248 Original read codec set to PCMA:8
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.526672 [DEBUG] switch_core_media.c:5911 sofia/default/4001@13.127.159.248 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-26 13:33:30.526672 [DEBUG] sofia.c:7760 (sofia/default/4001@13.127.159.248) State Change CS_NEW -> CS_INIT
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:604 (sofia/default/4001@13.127.159.248) State NEW
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_INIT (Cur 1 Tot 610)
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4001@13.127.159.248) State INIT
2021-02-26 13:33:30.526672 [DEBUG] mod_sofia.c:93 sofia/default/4001@13.127.159.248 SOFIA INIT
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:40 sofia/default/4001@13.127.159.248 Standard INIT
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4001@13.127.159.248) State Change CS_INIT -> CS_ROUTING
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4001@13.127.159.248) State INIT going to sleep
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_ROUTING (Cur 1 Tot 610)
2021-02-26 13:33:30.526672 [DEBUG] switch_channel.c:2332 (sofia/default/4001@13.127.159.248) Callstate Change DOWN -> RINGING
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4001@13.127.159.248) State ROUTING
2021-02-26 13:33:30.526672 [DEBUG] mod_sofia.c:154 sofia/default/4001@13.127.159.248 SOFIA ROUTING
2021-02-26 13:33:30.526672 [DEBUG] switch_core_state_machine.c:236 sofia/default/4001@13.127.159.248 Standard ROUTING
2021-02-26 13:33:30.526672 [INFO] mod_dialplan_xml.c:637 Processing 4001 <4001>->12345123 in context default
2021-02-26 13:33:30.526672 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-02-26 13:33:30.566660 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-26 13:33:30.566660 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-02-26 13:33:30.566660 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 12345123
2021-02-26 13:33:30.566660 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '12345123' limit 1
2021-02-26 13:33:30.566660 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '12345123' AND status=0 limit 1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '12345123' and status=0 LIMIT 1
2021-02-26 13:33:30.586655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 4001 / 4001
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12345123" LIMIT 1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [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 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="12345123" AND domains.domain="18.221.51.90" limit 1
2021-02-26 13:33:30.586655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("13.127.159.248") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "12345123" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :12345/*.....12345123
2021-02-26 13:33:30.586655 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 12345123
2021-02-26 13:33:30.586655 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 123
2021-02-26 13:33:30.586655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3673942894]
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3673942894" AND deleted = 0 limit 1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^123.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [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 ="123" AND A.accountid = '3' limit 1
2021-02-26 13:33:30.586655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 123
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123" LIMIT 1
2021-02-26 13:33:30.586655 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : inbound
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="123" AND (accountid = 0 OR status = 1) LIMIT 1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :5
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [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 (patterns = '^123.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 5 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '123' OR number = '12' OR number = '1' OR number ='--') OR (number = '123*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '4001' OR number = '400' OR number = '40' OR number = '4' OR number ='--') OR (number = '4001*' OR number = '400*' OR number = '40*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-02-26 13:33:30.586655 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '123' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="123" LIMIT 1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: inbound
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : 123
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 85
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 3 !!!
2021-02-26 13:33:30.606659 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 100
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 100 minutes
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "5" AND deleted = 0 limit 1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:3
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:3
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 3
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
2021-02-26 13:33:30.606659 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDhaval.dhaval.astppbilling.org
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 100
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] customer_userinfo['is_recording'] : 0
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : inbound
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "1" AND accounts.status = 0
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 5 limit 1
2021-02-26 13:33:30.606659 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domainDhaval.dhaval.astppbilling.org
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_7
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_type : 7
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_type : Ring group
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 1 and status = 0 LIMIT 1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== ringgroup_dlr_str h========Count==========={"destination_1":"12243427#","delay_1":"0","time_out_1":"10","Promptdropdown_1":"1"}
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== announcement====Count===============4
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== announcement===================0
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== final_count========final_count===========0===
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== ring_group_recording===================1
2021-02-26 13:33:30.606659 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== ringgroup_dlr_str===================[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=10,confirm=false,announcement=no_file,dialed_user=12243427#,leg_timeout=10,leg_delay_start=0]sofia/${sofia_profile_name}/12243427@Dhaval.dhaval.astppbilling.org:7777,
2021-02-26 13:33:30.606659 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
2021-02-26 13:33:30.626657 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/4001@13.127.159.248 parsing [default->123] continue=false
Dialplan: sofia/default/4001@13.127.159.248 Regex (PASS) [123] destination_number(12345123) =~ /12345123/ break=on-false
Dialplan: sofia/default/4001@13.127.159.248 Action set(effective_destination_number=123)
Dialplan: sofia/default/4001@13.127.159.248 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/4001@13.127.159.248 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
Dialplan: sofia/default/4001@13.127.159.248 Action set(callstart=2021-02-26 13:33:30)
Dialplan: sofia/default/4001@13.127.159.248 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/4001@13.127.159.248 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/4001@13.127.159.248 Action set(account_id=3)
Dialplan: sofia/default/4001@13.127.159.248 Action set(parent_id=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(entity_id=3)
Dialplan: sofia/default/4001@13.127.159.248 Action set(call_processed=internal)
Dialplan: sofia/default/4001@13.127.159.248 Action set(call_direction=inbound)
Dialplan: sofia/default/4001@13.127.159.248 Action set(accountname=bb2)
Dialplan: sofia/default/4001@13.127.159.248 Action set(origination_rates_did=ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:5)
Dialplan: sofia/default/4001@13.127.159.248 Action set(origination_rates=0)
Dialplan: sofia/default/4001@13.127.159.248 Action set(original_caller_id_name=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(original_caller_id_number=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action export(is_recording=1)
Dialplan: sofia/default/4001@13.127.159.248 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/4001@13.127.159.248 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/4001@13.127.159.248 Action export(record_sample_rate=8000)
Dialplan: sofia/default/4001@13.127.159.248 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/4001@13.127.159.248 Action set(effective_caller_id_name=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(effective_caller_id_number=4001)
Dialplan: sofia/default/4001@13.127.159.248 Action set(receiver_accid=5)
Dialplan: sofia/default/4001@13.127.159.248 Action export(domain_name=Dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action export(sip_to_host=Dhaval.dhaval.astppbilling.org)
Dialplan: sofia/default/4001@13.127.159.248 Action export(presence_data=x|||default(3673942894)|||^123.* // 123 // 0.00000||||||DID|||13.127.159.248)
Dialplan: sofia/default/4001@13.127.159.248 Action export(call_type=7)
Dialplan: sofia/default/4001@13.127.159.248 Action set(did_calltype=7)
Dialplan: sofia/default/4001@13.127.159.248 Action set(did_extensions=1)
Dialplan: sofia/default/4001@13.127.159.248 Action export(is_recording=1)
Dialplan: sofia/default/4001@13.127.159.248 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/4001@13.127.159.248 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/4001@13.127.159.248 Action export(record_sample_rate=8000)
Dialplan: sofia/default/4001@13.127.159.248 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/4001@13.127.159.248 Action set(group_confirm_key=exec)
Dialplan: sofia/default/4001@13.127.159.248 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
Dialplan: sofia/default/4001@13.127.159.248 Action set(ringback=)
Dialplan: sofia/default/4001@13.127.159.248 Action set(module_name=pbx)
Dialplan: sofia/default/4001@13.127.159.248 Action bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=3}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=10,confirm=false,announcement=no_file,dialed_user=12243427#,leg_timeout=10,leg_delay_start=0]sofia/${sofia_profile_name}/12243427@Dhaval.dhaval.astppbilling.org:7777,)
Dialplan: sofia/default/4001@13.127.159.248 Action set(original_did_number=123)
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:287 (sofia/default/4001@13.127.159.248) State Change CS_ROUTING -> CS_EXECUTE
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4001@13.127.159.248) State ROUTING going to sleep
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_EXECUTE (Cur 1 Tot 610)
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4001@13.127.159.248) State EXECUTE
2021-02-26 13:33:30.626657 [DEBUG] mod_sofia.c:209 sofia/default/4001@13.127.159.248 SOFIA EXECUTE
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:329 sofia/default/4001@13.127.159.248 Standard EXECUTE
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(effective_destination_number=123)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [effective_destination_number]=[123]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(callstart=2021-02-26 13:33:30)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [callstart]=[2021-02-26 13:33:30]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(hangup_after_bridge=true)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(continue_on_fail=TRUE)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(account_id=3)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [account_id]=[3]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(parent_id=0)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(entity_id=3)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(call_processed=internal)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(call_direction=inbound)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(accountname=bb2)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [accountname]=[bb2]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(origination_rates_did=ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:5)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [origination_rates_did]=[ID:1|CODE:^123.*|DESTINATION:123|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:85|ACCID:5]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(origination_rates=0)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(original_caller_id_name=4001)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [original_caller_id_name]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(original_caller_id_number=4001)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [original_caller_id_number]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(is_recording=1)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(media_bug_answer_req=true)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(RECORD_STEREO=true)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(record_sample_rate=8000)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(effective_caller_id_name=4001)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [effective_caller_id_name]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(effective_caller_id_number=4001)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [effective_caller_id_number]=[4001]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(receiver_accid=5)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [receiver_accid]=[5]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(domain_name=Dhaval.dhaval.astppbilling.org)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[Dhaval.dhaval.astppbilling.org]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(sip_to_host=Dhaval.dhaval.astppbilling.org)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[Dhaval.dhaval.astppbilling.org]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(presence_data=x|||default(3673942894)|||^123.* // 123 // 0.00000||||||DID|||13.127.159.248)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^123.* // 123 // 0.00000||||||DID|||13.127.159.248]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(call_type=7)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(did_calltype=7)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [did_calltype]=[7]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(did_extensions=1)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [did_extensions]=[1]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(is_recording=1)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(media_bug_answer_req=true)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(RECORD_STEREO=true)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(record_sample_rate=8000)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(group_confirm_key=exec)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [group_confirm_key]=[exec]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(ringback=)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [ringback]=[UNDEF]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 set(module_name=pbx)
2021-02-26 13:33:30.626657 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@13.127.159.248 [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 bridge({sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=3}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=3,call_timeout=10,confirm=false,announcement=no_file,dialed_user=12243427#,leg_timeout=10,leg_delay_start=0]sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777,)
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [is_recording]=[1] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [domain_name]=[Dhaval.dhaval.astppbilling.org] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [sip_to_host]=[Dhaval.dhaval.astppbilling.org] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^123.* // 123 // 0.00000||||||DID|||13.127.159.248] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [call_type]=[7] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [is_recording]=[1] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_channel.c:1264 sofia/default/4001@13.127.159.248 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav] to event
2021-02-26 13:33:30.626657 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-26 13:33:30.626657 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-02-26 13:33:30.626657 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 [855dfb5d-6a81-4013-abc8-def5ce894d7e]
2021-02-26 13:33:30.626657 [DEBUG] mod_sofia.c:5089 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State Change CS_NEW -> CS_INIT
2021-02-26 13:33:30.626657 [DEBUG] switch_ivr_originate.c:3111 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Setting leg timeout to 10
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_INIT (Cur 2 Tot 611)
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State INIT
2021-02-26 13:33:30.626657 [DEBUG] mod_sofia.c:93 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 SOFIA INIT
2021-02-26 13:33:30.626657 [DEBUG] sofia_glue.c:1618 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1614320586 1614320587 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 25824 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:40 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Standard INIT
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State Change CS_INIT -> CS_ROUTING
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State INIT going to sleep
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_ROUTING (Cur 2 Tot 611)
2021-02-26 13:33:30.626657 [DEBUG] sofia.c:7326 Channel sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 entering state [calling][0]
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State ROUTING
2021-02-26 13:33:30.626657 [DEBUG] mod_sofia.c:154 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 SOFIA ROUTING
2021-02-26 13:33:30.626657 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State ROUTING going to sleep
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 611)
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State CONSUME_MEDIA
2021-02-26 13:33:30.626657 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State CONSUME_MEDIA going to sleep
2021-02-26 13:33:30.706650 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4001@18.221.51.90 [39128a9d-7af8-4b9e-ad6f-60baf27fdc33]
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@18.221.51.90) Running State Change CS_NEW (Cur 3 Tot 612)
2021-02-26 13:33:30.706650 [DEBUG] sofia.c:10280 sofia/default/4001@18.221.51.90 receiving invite from 18.221.51.90:7777 version: 1.10.5 -release-17-25569c1631 64bit
2021-02-26 13:33:30.706650 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 18.221.51.90:0.
2021-02-26 13:33:30.706650 [DEBUG] sofia.c:10403 IP 18.221.51.90 Approved by acl "default[]". Access Granted.
2021-02-26 13:33:30.706650 [DEBUG] sofia.c:7326 Channel sofia/default/4001@18.221.51.90 entering state [received][100]
2021-02-26 13:33:30.706650 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1614320586 1614320587 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 25824 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/4001@18.221.51.90 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-26 13:33:30.706650 [DEBUG] switch_core_codec.c:111 sofia/default/4001@18.221.51.90 Original read codec set to PCMA:8
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.706650 [DEBUG] switch_core_media.c:5911 sofia/default/4001@18.221.51.90 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-26 13:33:30.706650 [DEBUG] sofia.c:7760 (sofia/default/4001@18.221.51.90) State Change CS_NEW -> CS_INIT
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:604 (sofia/default/4001@18.221.51.90) State NEW
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@18.221.51.90) Running State Change CS_INIT (Cur 3 Tot 612)
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4001@18.221.51.90) State INIT
2021-02-26 13:33:30.706650 [DEBUG] mod_sofia.c:93 sofia/default/4001@18.221.51.90 SOFIA INIT
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:40 sofia/default/4001@18.221.51.90 Standard INIT
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4001@18.221.51.90) State Change CS_INIT -> CS_ROUTING
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4001@18.221.51.90) State INIT going to sleep
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@18.221.51.90) Running State Change CS_ROUTING (Cur 3 Tot 612)
2021-02-26 13:33:30.706650 [DEBUG] switch_channel.c:2332 (sofia/default/4001@18.221.51.90) Callstate Change DOWN -> RINGING
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4001@18.221.51.90) State ROUTING
2021-02-26 13:33:30.706650 [DEBUG] mod_sofia.c:154 sofia/default/4001@18.221.51.90 SOFIA ROUTING
2021-02-26 13:33:30.706650 [DEBUG] switch_core_state_machine.c:236 sofia/default/4001@18.221.51.90 Standard ROUTING
2021-02-26 13:33:30.706650 [INFO] mod_dialplan_xml.c:637 Processing 4001 <4001>->12243427 in context default
2021-02-26 13:33:30.706650 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-02-26 13:33:30.706650 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] blind_flag: 0
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 12243427
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '12243427' limit 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '12243427' AND status=0 limit 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '12243427' and status=0 LIMIT 1
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 4001 / 4001
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 3 limit 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12243427" LIMIT 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [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 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="12243427" AND domains.domain="Dhaval.dhaval.astppbilling.org" limit 1
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3]
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "3" AND deleted = 0 limit 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^12243427.*' OR blocked_patterns = '^1224342.*' OR blocked_patterns = '^122434.*' OR blocked_patterns = '^12243.*' OR blocked_patterns = '^1224.*' OR blocked_patterns = '^122.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 3 limit 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [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 ="12243427" AND A.accountid = '3' limit 1
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 12243427
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12243427" LIMIT 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [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 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="12243427" AND domains.domain="Dhaval.dhaval.astppbilling.org" limit 1
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call direction : outbound
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="12243427" AND (accountid = 0 OR status = 1) LIMIT 1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [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 (patterns = '^12243427.*' OR patterns = '^1224342.*' OR patterns = '^122434.*' OR patterns = '^12243.*' OR patterns = '^1224.*' OR patterns = '^122.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 3 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '12243427' OR number = '1224342' OR number = '122434' OR number = '12243' OR number = '1224' OR number = '122' OR number = '12' OR number = '1' OR number ='--') OR (number = '12243427*' OR number = '1224342*' OR number = '122434*' OR number = '12243*' OR number = '1224*' OR number = '122*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '4001' OR number = '400' OR number = '40' OR number = '4' OR number ='--') OR (number = '4001*' OR number = '400*' OR number = '40*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '12243427' OR routing_prefix = '1224342' OR routing_prefix = '122434' OR routing_prefix = '12243' OR routing_prefix = '1224' OR routing_prefix = '122' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 3
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3673942894
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 2.39
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-02-26 13:33:30.726634 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-02-26 13:33:30.726634 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^12243427.*' OR pattern = '^1224342.*' OR pattern = '^122434.*' OR pattern = '^12243.*' OR pattern = '^1224.*' OR pattern = '^122.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=3) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] call_direction:::::: outbound
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.20000
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] comment : USA
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 3
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your2.39 balance Accountid 3 !!!
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max length duration : 11.95 minutes
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 1
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=1 ORDER by id asc
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,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 = '^12243427.*' OR pattern = '^1224342.*' OR pattern = '^122434.*' OR pattern = '^12243.*' OR pattern = '^1224.*' OR pattern = '^122.*' OR pattern = '^12.*' 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
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^1.*
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : USA
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^1.*
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 1
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : YourProvider
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway :
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 3
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : YourTrunk
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3 AND status=0 LIMIT 1
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] maxlength::::::::: 11.95
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] customer_userinfo['is_recording'] : 0
2021-02-26 13:33:30.746648 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] call_direction : outbound
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [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
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [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
2021-02-26 13:33:30.746648 [DEBUG] switch_cpp.cpp:1447 [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12243427" LIMIT 1
2021-02-26 13:33:30.766647 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/4001@18.221.51.90 parsing [default->12243427] continue=false
Dialplan: sofia/default/4001@18.221.51.90 Regex (PASS) [12243427] destination_number(12243427) =~ /12243427/ break=on-false
Dialplan: sofia/default/4001@18.221.51.90 Action set(effective_destination_number=12243427)
Dialplan: sofia/default/4001@18.221.51.90 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/4001@18.221.51.90 Action set(bridge_pre_execute_bleg_data=+717 normal_clearing)
Dialplan: sofia/default/4001@18.221.51.90 Action set(callstart=2021-02-26 13:33:30)
Dialplan: sofia/default/4001@18.221.51.90 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/4001@18.221.51.90 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/4001@18.221.51.90 Action set(account_id=3)
Dialplan: sofia/default/4001@18.221.51.90 Action set(parent_id=0)
Dialplan: sofia/default/4001@18.221.51.90 Action set(entity_id=3)
Dialplan: sofia/default/4001@18.221.51.90 Action set(call_processed=internal)
Dialplan: sofia/default/4001@18.221.51.90 Action set(call_direction=outbound)
Dialplan: sofia/default/4001@18.221.51.90 Action set(accountname=default)
Dialplan: sofia/default/4001@18.221.51.90 Action set(origination_rates=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:3)
Dialplan: sofia/default/4001@18.221.51.90 Action set(original_caller_id_name=4001)
Dialplan: sofia/default/4001@18.221.51.90 Action set(original_caller_id_number=4001)
Dialplan: sofia/default/4001@18.221.51.90 Action export(is_recording=1)
Dialplan: sofia/default/4001@18.221.51.90 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/4001@18.221.51.90 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/4001@18.221.51.90 Action export(record_sample_rate=8000)
Dialplan: sofia/default/4001@18.221.51.90 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/4001@18.221.51.90 Action set(effective_caller_id_name=4001)
Dialplan: sofia/default/4001@18.221.51.90 Action set(effective_caller_id_number=4001)
Dialplan: sofia/default/4001@18.221.51.90 Action set(calltype=STANDARD)
Dialplan: sofia/default/4001@18.221.51.90 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/4001@18.221.51.90 Action set(trunk_id=1)
Dialplan: sofia/default/4001@18.221.51.90 Action set(provider_id=3)
Dialplan: sofia/default/4001@18.221.51.90 Action set(rate_flag=0)
Dialplan: sofia/default/4001@18.221.51.90 Action set(force_trunk_flag=1)
Dialplan: sofia/default/4001@18.221.51.90 Action export(presence_data=trunk_id=1)
Dialplan: sofia/default/4001@18.221.51.90 Action set(intcall=0)
Dialplan: sofia/default/4001@18.221.51.90 Action export(presence_data=x|||default(3673942894)|||^1.* // USA // 0.20000 // trunk_id=0|||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||18.221.51.90)
Dialplan: sofia/default/4001@18.221.51.90 Action bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/12243427)
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:287 (sofia/default/4001@18.221.51.90) State Change CS_ROUTING -> CS_EXECUTE
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4001@18.221.51.90) State ROUTING going to sleep
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@18.221.51.90) Running State Change CS_EXECUTE (Cur 3 Tot 612)
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4001@18.221.51.90) State EXECUTE
2021-02-26 13:33:30.766647 [DEBUG] mod_sofia.c:209 sofia/default/4001@18.221.51.90 SOFIA EXECUTE
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:329 sofia/default/4001@18.221.51.90 Standard EXECUTE
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(effective_destination_number=12243427)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [effective_destination_number]=[12243427]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(bridge_pre_execute_bleg_data=+717 normal_clearing)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [bridge_pre_execute_bleg_data]=[+717 normal_clearing]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(callstart=2021-02-26 13:33:30)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [callstart]=[2021-02-26 13:33:30]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(hangup_after_bridge=true)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(continue_on_fail=TRUE)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(account_id=3)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [account_id]=[3]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(parent_id=0)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(entity_id=3)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [entity_id]=[3]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(call_processed=internal)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(call_direction=outbound)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(accountname=default)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [accountname]=[default]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(origination_rates=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:3)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [origination_rates]=[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:3]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(original_caller_id_name=4001)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [original_caller_id_name]=[4001]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(original_caller_id_number=4001)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [original_caller_id_number]=[4001]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(is_recording=1)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(media_bug_answer_req=true)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(RECORD_STEREO=true)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(record_sample_rate=8000)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(effective_caller_id_name=4001)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [effective_caller_id_name]=[4001]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(effective_caller_id_number=4001)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [effective_caller_id_number]=[4001]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(calltype=STANDARD)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [calltype]=[STANDARD]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 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)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [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/4001@18.221.51.90 set(trunk_id=1)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [trunk_id]=[1]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(provider_id=3)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [provider_id]=[3]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(rate_flag=0)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [rate_flag]=[0]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(force_trunk_flag=1)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [force_trunk_flag]=[1]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(presence_data=trunk_id=1)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=1]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 set(intcall=0)
2021-02-26 13:33:30.766647 [DEBUG] mod_dptools.c:1672 SET sofia/default/4001@18.221.51.90 [intcall]=[0]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 export(presence_data=x|||default(3673942894)|||^1.* // USA // 0.20000 // trunk_id=0|||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||18.221.51.90)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^1.* // USA // 0.20000 // trunk_id=0|||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||18.221.51.90]
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 bridge([leg_timeout=30,absolute_codec_string=^^:PCMA:G729:PCMA]sofia/gateway/YourProvider/12243427)
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [is_recording]=[1] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^1.* // USA // 0.20000 // trunk_id=0|||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||18.221.51.90] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_channel.c:1264 sofia/default/4001@18.221.51.90 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^1.* // USA // 0.20000 // trunk_id=0|||YourTrunk // ^1.* // USA // 0.10000 // trunk_id=1|||STD|||18.221.51.90] to event
2021-02-26 13:33:30.766647 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-02-26 13:33:30.766647 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-02-26 13:33:30.766647 [NOTICE] switch_channel.c:1118 New Channel sofia/default/12243427 [86b203d6-dd52-4a0e-a4ff-516fa4ee7c13]
2021-02-26 13:33:30.766647 [DEBUG] mod_sofia.c:5089 (sofia/default/12243427) State Change CS_NEW -> CS_INIT
2021-02-26 13:33:30.766647 [DEBUG] switch_ivr_originate.c:3111 sofia/default/12243427 Setting leg timeout to 30
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427) Running State Change CS_INIT (Cur 4 Tot 613)
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12243427) State INIT
2021-02-26 13:33:30.766647 [DEBUG] mod_sofia.c:93 sofia/default/12243427 SOFIA INIT
2021-02-26 13:33:30.766647 [DEBUG] sofia_glue.c:1618 sofia/default/12243427 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1614325188 1614325189 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 21222 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-16
a=ptime:20
a=sendrecv
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:40 sofia/default/12243427 Standard INIT
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:48 (sofia/default/12243427) State Change CS_INIT -> CS_ROUTING
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:628 (sofia/default/12243427) State INIT going to sleep
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427) Running State Change CS_ROUTING (Cur 4 Tot 613)
2021-02-26 13:33:30.766647 [DEBUG] sofia.c:7326 Channel sofia/default/12243427 entering state [calling][0]
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12243427) State ROUTING
2021-02-26 13:33:30.766647 [DEBUG] mod_sofia.c:154 sofia/default/12243427 SOFIA ROUTING
2021-02-26 13:33:30.766647 [DEBUG] switch_ivr_originate.c:67 (sofia/default/12243427) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:644 (sofia/default/12243427) State ROUTING going to sleep
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 613)
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12243427) State CONSUME_MEDIA
2021-02-26 13:33:30.766647 [DEBUG] switch_core_state_machine.c:663 (sofia/default/12243427) State CONSUME_MEDIA going to sleep
2021-02-26 13:33:30.786661 [DEBUG] sofia.c:7326 Channel sofia/default/12243427 entering state [completing][200]
2021-02-26 13:33:30.786661 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=root 435128515 435128515 IN IP4 159.203.131.36
s=Asterisk PBX 16.4.0
c=IN IP4 159.203.131.36
t=0 0
m=audio 11022 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
2021-02-26 13:33:30.786661 [DEBUG] sofia.c:7326 Channel sofia/default/12243427 entering state [ready][200]
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:150:64000:1]/[G729:18:8000:20:8000:1]
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/12243427 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-26 13:33:30.786661 [DEBUG] switch_core_codec.c:111 sofia/default/12243427 Original read codec set to PCMA:8
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:5911 sofia/default/12243427 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/12243427] 172.31.23.227 port 21222 -> 159.203.131.36 port 11022 codec: 8 ms: 20
2021-02-26 13:33:30.786661 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:8977 sofia/default/12243427 Set 2833 dtmf send payload to 101
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:8984 sofia/default/12243427 Set 2833 dtmf receive payload to 101
2021-02-26 13:33:30.786661 [DEBUG] switch_core_media.c:9007 sofia/default/12243427 Set rtp dtmf delay to 40
2021-02-26 13:33:30.786661 [NOTICE] sofia.c:8504 Channel [sofia/default/12243427] has been answered
EXECUTE [depth=1] sofia/default/12243427 record_session(/var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav)
2021-02-26 13:33:30.806647 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000
2021-02-26 13:33:30.806647 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/12243427
2021-02-26 13:33:30.806647 [DEBUG] switch_channel.c:3865 (sofia/default/12243427) Callstate Change DOWN -> ACTIVE
2021-02-26 13:33:30.806647 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/4001@18.221.51.90] 172.31.23.227 port 29036 -> 18.221.51.90 port 25824 codec: 8 ms: 20
2021-02-26 13:33:30.806647 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-26 13:33:30.806647 [DEBUG] switch_core_media.c:8977 sofia/default/4001@18.221.51.90 Set 2833 dtmf send payload to 101
2021-02-26 13:33:30.806647 [DEBUG] switch_core_media.c:8984 sofia/default/4001@18.221.51.90 Set 2833 dtmf receive payload to 101
2021-02-26 13:33:30.806647 [DEBUG] switch_core_media.c:9007 sofia/default/4001@18.221.51.90 Set rtp dtmf delay to 40
2021-02-26 13:33:30.806647 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/4001@18.221.51.90:
v=0
o=FreeSWITCH 1614317374 1614317375 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 29036 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-02-26 13:33:30.806647 [DEBUG] sofia.c:7326 Channel sofia/default/4001@18.221.51.90 entering state [completed][200]
2021-02-26 13:33:30.806647 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/4001@18.221.51.90] has been answered
EXECUTE [depth=0] sofia/default/4001@18.221.51.90 record_session(/var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav)
2021-02-26 13:33:30.826630 [DEBUG] sofia.c:7326 Channel sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 entering state [completing][200]
2021-02-26 13:33:30.826630 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=FreeSWITCH 1614317374 1614317375 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 29036 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
2021-02-26 13:33:30.826630 [DEBUG] sofia.c:7326 Channel sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 entering state [ready][200]
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-02-26 13:33:30.826630 [DEBUG] switch_core_codec.c:111 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Original read codec set to PCMA:8
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:5911 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Set 2833 dtmf send payload to 101 recv payload to 101
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777] 172.31.23.227 port 25824 -> 18.221.51.90 port 29036 codec: 8 ms: 20
2021-02-26 13:33:30.826630 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:8977 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Set 2833 dtmf send payload to 101
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:8984 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Set 2833 dtmf receive payload to 101
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media.c:9007 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Set rtp dtmf delay to 40
2021-02-26 13:33:30.826630 [NOTICE] sofia.c:8504 Channel [sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777] has been answered
EXECUTE [depth=1] sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 record_session(/var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav)
2021-02-26 13:33:30.826630 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/4001@18.221.51.90
2021-02-26 13:33:30.826630 [DEBUG] sofia.c:7326 Channel sofia/default/4001@18.221.51.90 entering state [ready][200]
2021-02-26 13:33:30.826630 [DEBUG] switch_channel.c:3865 (sofia/default/4001@18.221.51.90) Callstate Change RINGING -> ACTIVE
2021-02-26 13:33:30.826630 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/12243427]
2021-02-26 13:33:30.826630 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/12243427) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-02-26 13:33:30.826630 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 613)
2021-02-26 13:33:30.826630 [DEBUG] switch_core_state_machine.c:654 (sofia/default/12243427) State EXCHANGE_MEDIA
2021-02-26 13:33:30.826630 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-02-26 13:33:30.826630 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech
2021-02-26 13:33:30.826630 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000
2021-02-26 13:33:30.826630 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777
2021-02-26 13:33:30.826630 [DEBUG] switch_channel.c:3865 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Callstate Change DOWN -> ACTIVE
2021-02-26 13:33:30.826630 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech
EXECUTE [depth=0] sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
2021-02-26 13:33:30.846653 [NOTICE] switch_cpp.cpp:1447 [Astpp_Call-Ring Group] Ring group confirm flag ::false
2021-02-26 13:33:30.846653 [DEBUG] switch_cpp.cpp:1191 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 destroy/unlink session from object
2021-02-26 13:33:30.866652 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/4001@13.127.159.248] 172.31.23.227 port 26940 -> 13.127.159.248 port 20034 codec: 8 ms: 20
2021-02-26 13:33:30.866652 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-02-26 13:33:30.866652 [DEBUG] switch_core_media.c:8977 sofia/default/4001@13.127.159.248 Set 2833 dtmf send payload to 101
2021-02-26 13:33:30.866652 [DEBUG] switch_core_media.c:8984 sofia/default/4001@13.127.159.248 Set 2833 dtmf receive payload to 101
2021-02-26 13:33:30.866652 [DEBUG] switch_core_media.c:9007 sofia/default/4001@13.127.159.248 Set rtp dtmf delay to 40
2021-02-26 13:33:30.866652 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/4001@13.127.159.248:
v=0
o=FreeSWITCH 1614319470 1614319471 IN IP4 18.221.51.90
s=FreeSWITCH
c=IN IP4 18.221.51.90
t=0 0
m=audio 26940 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-02-26 13:33:30.866652 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [completed][200]
2021-02-26 13:33:30.866652 [NOTICE] switch_ivr_originate.c:3794 Channel [sofia/default/4001@13.127.159.248] has been answered
EXECUTE [depth=0] sofia/default/4001@13.127.159.248 record_session(/var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav)
2021-02-26 13:33:30.886653 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000
2021-02-26 13:33:30.886653 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/4001@13.127.159.248
2021-02-26 13:33:30.886653 [DEBUG] switch_channel.c:3865 (sofia/default/4001@13.127.159.248) Callstate Change RINGING -> ACTIVE
2021-02-26 13:33:30.886653 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777]
2021-02-26 13:33:30.886653 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-02-26 13:33:30.886653 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 613)
2021-02-26 13:33:30.886653 [DEBUG] switch_core_state_machine.c:654 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State EXCHANGE_MEDIA
2021-02-26 13:33:30.886653 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-02-26 13:33:30.886653 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech
2021-02-26 13:33:30.886653 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech
2021-02-26 13:33:30.986654 [DEBUG] switch_ivr_bridge.c:655 sofia/default/12243427 Bridge execute app sched_hangup(+717 normal_clearing)
2021-02-26 13:33:31.006659 [DEBUG] switch_ivr.c:632 sofia/default/12243427 Command Execute [depth=0] sched_hangup(+717 normal_clearing)
EXECUTE [depth=0] sofia/default/12243427 sched_hangup(+717 normal_clearing)
2021-02-26 13:33:31.006659 [DEBUG] switch_scheduler.c:252 Added task 191 switch_ivr_schedule_hangup (86b203d6-dd52-4a0e-a4ff-516fa4ee7c13) to run at 1614347128
2021-02-26 13:33:31.066660 [DEBUG] switch_ivr_bridge.c:655 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Bridge execute app sched_hangup(+6000 normal_clearing)
2021-02-26 13:33:31.066660 [DEBUG] sofia.c:7326 Channel sofia/default/4001@13.127.159.248 entering state [ready][200]
2021-02-26 13:33:31.086679 [DEBUG] switch_ivr.c:632 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
EXECUTE [depth=0] sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 sched_hangup(+6000 normal_clearing)
2021-02-26 13:33:31.086679 [DEBUG] switch_scheduler.c:252 Added task 192 switch_ivr_schedule_hangup (855dfb5d-6a81-4013-abc8-def5ce894d7e) to run at 1614352411
2021-02-26 13:33:31.226683 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-26 13:33:31.226683 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2021-02-26 13:33:31.226683 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-26 13:33:31.226683 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2021-02-26 13:33:31.286690 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-26 13:33:31.286690 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2021-02-26 13:33:31.306667 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
2021-02-26 13:33:31.306667 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2021-02-26 13:33:42.446682 [NOTICE] sofia.c:1089 Hangup sofia/default/4001@13.127.159.248 [CS_EXECUTE] [NORMAL_CLEARING]
2021-02-26 13:33:42.446682 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/4001@13.127.159.248]
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_bridge.c:820 sofia/default/4001@13.127.159.248 ending bridge by request from write function
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777]
2021-02-26 13:33:42.466666 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:654 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State EXCHANGE_MEDIA going to sleep
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_HANGUP (Cur 4 Tot 613)
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_async.c:1445 Stop recording file /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 skip receive message [UNBRIDGE] (channel is hungup already)
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/4001@13.127.159.248 skip receive message [UNBRIDGE] (channel is hungup already)
2021-02-26 13:33:42.466666 [DEBUG] switch_core_session.c:2905 sofia/default/4001@13.127.159.248 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4001@13.127.159.248) State EXECUTE going to sleep
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_HANGUP (Cur 4 Tot 613)
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_async.c:1445 Stop recording file /var/lib/freeswitch/recordings/c000d120-98d7-4128-b6e0-4e0ab8ec15af.wav
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_async.c:1520 Channel is hung up
2021-02-26 13:33:42.466666 [DEBUG] switch_core_media_bug.c:1295 Removing BUG from sofia/default/4001@13.127.159.248
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4001@13.127.159.248) Callstate Change ACTIVE -> HANGUP
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4001@13.127.159.248) State HANGUP
2021-02-26 13:33:42.466666 [DEBUG] mod_sofia.c:453 Channel sofia/default/4001@13.127.159.248 hanging up, cause: NORMAL_CLEARING
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:60 sofia/default/4001@13.127.159.248 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4001@13.127.159.248) State HANGUP going to sleep
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4001@13.127.159.248) State Change CS_HANGUP -> CS_REPORTING
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@13.127.159.248) Running State Change CS_REPORTING (Cur 4 Tot 613)
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4001@13.127.159.248) State REPORTING
2021-02-26 13:33:42.466666 [INFO] mod_json_cdr.c:271 Process [c000d120-98d7-4128-b6e0-4e0ab8ec15af.cdr.json]
2021-02-26 13:33:42.466666 [DEBUG] switch_ivr_async.c:1520 Channel is hung up
2021-02-26 13:33:42.466666 [DEBUG] switch_core_media_bug.c:1295 Removing BUG from sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Callstate Change ACTIVE -> HANGUP
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State HANGUP
2021-02-26 13:33:42.466666 [DEBUG] mod_sofia.c:447 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Overriding SIP cause 480 with 200 from the other leg
2021-02-26 13:33:42.466666 [DEBUG] mod_sofia.c:453 Channel sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 hanging up, cause: NORMAL_CLEARING
2021-02-26 13:33:42.466666 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:60 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State HANGUP going to sleep
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State Change CS_HANGUP -> CS_REPORTING
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_REPORTING (Cur 4 Tot 613)
2021-02-26 13:33:42.466666 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State REPORTING
2021-02-26 13:33:42.466666 [INFO] mod_json_cdr.c:271 Process [855dfb5d-6a81-4013-abc8-def5ce894d7e.cdr.json]
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:174 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State REPORTING going to sleep
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State Change CS_REPORTING -> CS_DESTROY
2021-02-26 13:33:42.486650 [DEBUG] switch_core_session.c:1726 Session 611 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Locked, Waiting on external entities
2021-02-26 13:33:42.486650 [NOTICE] switch_core_session.c:1744 Session 611 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Ended
2021-02-26 13:33:42.486650 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 [CS_DESTROY]
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) Running State Change CS_DESTROY (Cur 3 Tot 613)
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State DESTROY
2021-02-26 13:33:42.486650 [DEBUG] mod_sofia.c:364 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 SOFIA DESTROY
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:181 sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777 Standard DESTROY
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12243427@Dhaval.dhaval.astppbilling.org:7777) State DESTROY going to sleep
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:174 sofia/default/4001@13.127.159.248 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4001@13.127.159.248) State REPORTING going to sleep
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4001@13.127.159.248) State Change CS_REPORTING -> CS_DESTROY
2021-02-26 13:33:42.486650 [DEBUG] switch_core_session.c:1726 Session 610 (sofia/default/4001@13.127.159.248) Locked, Waiting on external entities
2021-02-26 13:33:42.486650 [NOTICE] switch_core_session.c:1744 Session 610 (sofia/default/4001@13.127.159.248) Ended
2021-02-26 13:33:42.486650 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/4001@13.127.159.248 [CS_DESTROY]
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4001@13.127.159.248) Running State Change CS_DESTROY (Cur 2 Tot 613)
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4001@13.127.159.248) State DESTROY
2021-02-26 13:33:42.486650 [DEBUG] mod_sofia.c:364 sofia/default/4001@13.127.159.248 SOFIA DESTROY
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:181 sofia/default/4001@13.127.159.248 Standard DESTROY
2021-02-26 13:33:42.486650 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4001@13.127.159.248) State DESTROY going to sleep
2021-02-26 13:33:42.486650 [NOTICE] sofia.c:1089 Hangup sofia/default/4001@18.221.51.90 [CS_EXECUTE] [NORMAL_CLEARING]
2021-02-26 13:33:42.486650 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/4001@18.221.51.90]
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_bridge.c:820 sofia/default/4001@18.221.51.90 ending bridge by request from write function
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/12243427]
2021-02-26 13:33:42.506652 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/12243427 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:654 (sofia/default/12243427) State EXCHANGE_MEDIA going to sleep
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427) Running State Change CS_HANGUP (Cur 2 Tot 613)
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_async.c:1445 Stop recording file /var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/12243427 skip receive message [UNBRIDGE] (channel is hungup already)
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/4001@18.221.51.90 skip receive message [UNBRIDGE] (channel is hungup already)
2021-02-26 13:33:42.506652 [DEBUG] switch_core_session.c:2905 sofia/default/4001@18.221.51.90 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:651 (sofia/default/4001@18.221.51.90) State EXECUTE going to sleep
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@18.221.51.90) Running State Change CS_HANGUP (Cur 2 Tot 613)
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_async.c:1445 Stop recording file /var/lib/freeswitch/recordings/39128a9d-7af8-4b9e-ad6f-60baf27fdc33.wav
2021-02-26 13:33:42.506652 [DEBUG] switch_ivr_async.c:1520 Channel is hung up
2021-02-26 13:33:42.506652 [DEBUG] switch_core_media_bug.c:1295 Removing BUG from sofia/default/4001@18.221.51.90
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4001@18.221.51.90) Callstate Change ACTIVE -> HANGUP
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4001@18.221.51.90) State HANGUP
2021-02-26 13:33:42.506652 [DEBUG] mod_sofia.c:453 Channel sofia/default/4001@18.221.51.90 hanging up, cause: NORMAL_CLEARING
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:60 sofia/default/4001@18.221.51.90 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4001@18.221.51.90) State HANGUP going to sleep
2021-02-26 13:33:42.506652 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4001@18.221.51.90) State Change CS_HANGUP -> CS_REPORTING
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4001@18.221.51.90) Running State Change CS_REPORTING (Cur 2 Tot 613)
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4001@18.221.51.90) State REPORTING
2021-02-26 13:33:42.526658 [INFO] mod_json_cdr.c:271 Process [39128a9d-7af8-4b9e-ad6f-60baf27fdc33.cdr.json]
2021-02-26 13:33:42.526658 [DEBUG] switch_ivr_async.c:1520 Channel is hung up
2021-02-26 13:33:42.526658 [DEBUG] switch_core_media_bug.c:1295 Removing BUG from sofia/default/12243427
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:848 (sofia/default/12243427) Callstate Change ACTIVE -> HANGUP
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12243427) State HANGUP
2021-02-26 13:33:42.526658 [DEBUG] mod_sofia.c:447 sofia/default/12243427 Overriding SIP cause 480 with 200 from the other leg
2021-02-26 13:33:42.526658 [DEBUG] mod_sofia.c:453 Channel sofia/default/12243427 hanging up, cause: NORMAL_CLEARING
2021-02-26 13:33:42.526658 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/12243427
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:60 sofia/default/12243427 Standard HANGUP, cause: NORMAL_CLEARING
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:850 (sofia/default/12243427) State HANGUP going to sleep
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:620 (sofia/default/12243427) State Change CS_HANGUP -> CS_REPORTING
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:585 (sofia/default/12243427) Running State Change CS_REPORTING (Cur 2 Tot 613)
2021-02-26 13:33:42.526658 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12243427) State REPORTING
2021-02-26 13:33:42.526658 [INFO] mod_json_cdr.c:271 Process [86b203d6-dd52-4a0e-a4ff-516fa4ee7c13.cdr.json]
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:174 sofia/default/12243427 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:936 (sofia/default/12243427) State REPORTING going to sleep
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:611 (sofia/default/12243427) State Change CS_REPORTING -> CS_DESTROY
2021-02-26 13:33:42.546621 [DEBUG] switch_core_session.c:1726 Session 613 (sofia/default/12243427) Locked, Waiting on external entities
2021-02-26 13:33:42.546621 [NOTICE] switch_core_session.c:1744 Session 613 (sofia/default/12243427) Ended
2021-02-26 13:33:42.546621 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/12243427 [CS_DESTROY]
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:739 (sofia/default/12243427) Running State Change CS_DESTROY (Cur 1 Tot 613)
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12243427) State DESTROY
2021-02-26 13:33:42.546621 [DEBUG] mod_sofia.c:364 sofia/default/12243427 SOFIA DESTROY
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:181 sofia/default/12243427 Standard DESTROY
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:749 (sofia/default/12243427) State DESTROY going to sleep
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:174 sofia/default/4001@18.221.51.90 Standard REPORTING, cause: NORMAL_CLEARING
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4001@18.221.51.90) State REPORTING going to sleep
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4001@18.221.51.90) State Change CS_REPORTING -> CS_DESTROY
2021-02-26 13:33:42.546621 [DEBUG] switch_core_session.c:1726 Session 612 (sofia/default/4001@18.221.51.90) Locked, Waiting on external entities
2021-02-26 13:33:42.546621 [NOTICE] switch_core_session.c:1744 Session 612 (sofia/default/4001@18.221.51.90) Ended
2021-02-26 13:33:42.546621 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/4001@18.221.51.90 [CS_DESTROY]
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4001@18.221.51.90) Running State Change CS_DESTROY (Cur 0 Tot 613)
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4001@18.221.51.90) State DESTROY
2021-02-26 13:33:42.546621 [DEBUG] mod_sofia.c:364 sofia/default/4001@18.221.51.90 SOFIA DESTROY
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:181 sofia/default/4001@18.221.51.90 Standard DESTROY
2021-02-26 13:33:42.546621 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4001@18.221.51.90) State DESTROY going to sleep
2021-02-26 13:33:42.586695 [DEBUG] switch_scheduler.c:147 Deleting task 191 switch_ivr_schedule_hangup (86b203d6-dd52-4a0e-a4ff-516fa4ee7c13)
2021-02-26 13:33:42.586695 [DEBUG] switch_scheduler.c:147 Deleting task 192 switch_ivr_schedule_hangup (855dfb5d-6a81-4013-abc8-def5ce894d7e)
freeswitch@ip-172-31-23-227> /exit