2022-03-07 18:19:23.021839 91.17% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Dialed number : 300572111111 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '300572111111' AND status=0 limit 1 2022-03-07 18:19:23.021839 91.17% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Caller Id name / number : 86897070 / 86897070 2022-03-07 18:19:23.021839 91.17% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [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 ="300572111111" LIMIT 1 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="300572111111" limit 1 2022-03-07 18:19:23.021839 91.17% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Call direction : outbound 2022-03-07 18:19:23.021839 91.17% [DEBUG] switch_cpp.cpp:1477 [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("10.0.16.25") 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 "300572111111" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-03-07 18:19:23.121837 91.10% [INFO] agora_glue.cpp:492 onUserAudioTrackSubscribed userId 1217199929 2022-03-07 18:19:23.141838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 300572111111 2022-03-07 18:19:23.141838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 72111111 2022-03-07 18:19:23.141838 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [Accountcode : 7842187716] 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7842187716" AND deleted = 0 limit 1 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^72111111.*' OR blocked_patterns = '^7211111.*' OR blocked_patterns = '^721111.*' OR blocked_patterns = '^72111.*' OR blocked_patterns = '^7211.*' OR blocked_patterns = '^721.*' OR blocked_patterns = '^72.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 453 limit 1 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [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 ="72111111" AND A.accountid = '453' limit 1 2022-03-07 18:19:23.141838 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 72111111 2022-03-07 18:19:23.141838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:23.141838 91.10% [DEBUG] switch_cpp.cpp:1477 [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 ="72111111" LIMIT 1 2022-03-07 18:19:23.161838 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] New Call direction : inbound 2022-03-07 18:19:23.161838 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="72111111" AND (accountid = 0 OR status = 1) LIMIT 1 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :339 2022-03-07 18:19:23.161838 91.10% [DEBUG] switch_cpp.cpp:1477 [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 = '^72111111.*' OR patterns = '^7211111.*' OR patterns = '^721111.*' OR patterns = '^72111.*' OR patterns = '^7211.*' OR patterns = '^721.*' OR patterns = '^72.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 339 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '72111111' OR number = '7211111' OR number = '721111' OR number = '72111' OR number = '7211' OR number = '721' OR number = '72' OR number = '7' OR number ='--') OR (number = '72111111*' OR number = '7211111*' OR number = '721111*' OR number = '72111*' OR number = '7211*' OR number = '721*' OR number = '72*' OR number = '7*' OR number ='--') OR (number = '86897070' OR number = '8689707' OR number = '868970' OR number = '86897' OR number = '8689' OR number = '868' OR number = '86' OR number = '8' OR number ='--') OR (number = '86897070*' OR number = '8689707*' OR number = '868970*' OR number = '86897*' OR number = '8689*' OR number = '868*' OR number = '86*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] Call Barring Status : -1 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '72111111' OR routing_prefix = '7211111' OR routing_prefix = '721111' OR routing_prefix = '72111' OR routing_prefix = '7211' OR routing_prefix = '721' OR routing_prefix = '72' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Account Information =================== 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] User id : 453 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Account code : 7842187716 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Balance : 942711550.502 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Ratecard id : 35 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] CID Pool : 0 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ======================================================== 2022-03-07 18:19:23.181845 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH1: 1 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 35 AND status = 0 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :inbound 2022-03-07 18:19:23.181845 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [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 ="72111111" LIMIT 1 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: inbound 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information =================== 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 22235 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 0.00000 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : 72111111 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 453 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================ 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your942711550.502 balance Accountid 453 !!! 2022-03-07 18:19:23.181845 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 30 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Call Max length duration : 30 minutes 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] INB_FREE:TRUE 2022-03-07 18:19:23.181845 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] free_inbound:0 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 453 AND status=0 LIMIT 1 2022-03-07 18:19:23.181845 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "339" AND deleted = 0 limit 1 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 35 AND status = 0 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :outbound 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^72111111.*' OR pattern = '^7211111.*' OR pattern = '^721111.*' OR pattern = '^72111.*' OR pattern = '^7211.*' OR pattern = '^721.*' OR pattern = '^72.*' OR pattern = '^7.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 35 OR accountid=453) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: outbound 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information =================== 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 127 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 20.00000 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 453 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Trunk ID: 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] Routing type: 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================ 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your942711550.502 balance Accountid 453 !!! 2022-03-07 18:19:23.201846 91.10% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 90 mins! 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Actual CustomerInfo XML:453 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Userinfo XML:453 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] [userinfo] Actual CustomerInfo XML : 453 2022-03-07 18:19:23.201846 91.10% [INFO] switch_cpp.cpp:1477 [ASTPP] maxlength::::::::: 30 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_3 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/86897070@10.0.16.25 parsing [default->72111111] continue=false Dialplan: sofia/default/86897070@10.0.16.25 Regex (PASS) [72111111] destination_number(300572111111) =~ /300572111111/ break=on-false Dialplan: sofia/default/86897070@10.0.16.25 Action set(effective_destination_number=72111111) Dialplan: sofia/default/86897070@10.0.16.25 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/86897070@10.0.16.25 Action set(bridge_pre_execute_bleg_data=+1800 normal_clearing) Dialplan: sofia/default/86897070@10.0.16.25 Action set(callstart=2022-03-07 10:19:23) Dialplan: sofia/default/86897070@10.0.16.25 Action set(hangup_after_bridge=true) Dialplan: sofia/default/86897070@10.0.16.25 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/86897070@10.0.16.25 Action set(account_id=453) Dialplan: sofia/default/86897070@10.0.16.25 Action set(parent_id=0) Dialplan: sofia/default/86897070@10.0.16.25 Action set(entity_id=0) Dialplan: sofia/default/86897070@10.0.16.25 Action set(call_processed=internal) Dialplan: sofia/default/86897070@10.0.16.25 Action set(call_direction=inbound) Dialplan: sofia/default/86897070@10.0.16.25 Action set(accountname=Unitel I/B) Dialplan: sofia/default/86897070@10.0.16.25 Action set(origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339) Dialplan: sofia/default/86897070@10.0.16.25 Action set(origination_rates=ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453) Dialplan: sofia/default/86897070@10.0.16.25 Action set(original_caller_id_name=86897070) Dialplan: sofia/default/86897070@10.0.16.25 Action set(original_caller_id_number=86897070) Dialplan: sofia/default/86897070@10.0.16.25 Action limit(db 7842187716 user_7842187716 100 !SWITCH_CONGESTION) Dialplan: sofia/default/86897070@10.0.16.25 Action limit(db 339 user_339 2 !SWITCH_CONGESTION) Dialplan: sofia/default/86897070@10.0.16.25 Action set(effective_caller_id_name=86897070) Dialplan: sofia/default/86897070@10.0.16.25 Action set(effective_caller_id_number=86897070) Dialplan: sofia/default/86897070@10.0.16.25 Action set(receiver_accid=339) Dialplan: sofia/default/86897070@10.0.16.25 Action limit(db 72111111 did_72111111 2 !SWITCH_CONGESTION) Dialplan: sofia/default/86897070@10.0.16.25 Action export(presence_data=x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID) Dialplan: sofia/default/86897070@10.0.16.25 Action export(call_type=3) Dialplan: sofia/default/86897070@10.0.16.25 Action set(calltype=OTHER) Dialplan: sofia/default/86897070@10.0.16.25 Action lua(onlime.lua 72111111) Dialplan: sofia/default/86897070@10.0.16.25 Action export(read_rate=8000) Dialplan: sofia/default/86897070@10.0.16.25 Action export(write_rate=8000) Dialplan: sofia/default/86897070@10.0.16.25 Action lua(astpp-busytone.lua) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:286 (sofia/default/86897070@10.0.16.25) State Change CS_ROUTING -> CS_EXECUTE 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:645 (sofia/default/86897070@10.0.16.25) State ROUTING going to sleep 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/86897070@10.0.16.25) Running State Change CS_EXECUTE (Cur 110 Tot 38173) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:652 (sofia/default/86897070@10.0.16.25) State EXECUTE 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_sofia.c:213 sofia/default/86897070@10.0.16.25 SOFIA EXECUTE 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_core_state_machine.c:328 sofia/default/86897070@10.0.16.25 Standard EXECUTE EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(effective_destination_number=72111111) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [effective_destination_number]=[72111111] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(bridge_pre_execute_bleg_app=sched_hangup) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(bridge_pre_execute_bleg_data=+1800 normal_clearing) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [bridge_pre_execute_bleg_data]=[+1800 normal_clearing] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(callstart=2022-03-07 10:19:23) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [callstart]=[2022-03-07 10:19:23] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(hangup_after_bridge=true) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(continue_on_fail=TRUE) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(account_id=453) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [account_id]=[453] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(parent_id=0) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [parent_id]=[0] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(entity_id=0) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [entity_id]=[0] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(call_processed=internal) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(call_direction=inbound) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(accountname=Unitel I/B) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [accountname]=[Unitel I/B] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(origination_rates_did=ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [origination_rates_did]=[ID:22235|CODE:^72111111.*|DESTINATION:72111111|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:3|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:128|ACCID:339] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(origination_rates=ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [origination_rates]=[ID:127|CODE:^72.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:20.00000|INC:1|INITIALBLOCK:1|RATEGROUP:35|MARKUP:0|CI:128|ACCID:453] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(original_caller_id_name=86897070) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [original_caller_id_name]=[86897070] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(original_caller_id_number=86897070) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [original_caller_id_number]=[86897070] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 limit(db 7842187716 user_7842187716 100 !SWITCH_CONGESTION) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_limit.c:124 incr called: 7842187716_user_7842187716 max:100, interval:0 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_db.c:194 Usage for 7842187716_user_7842187716 is now 15/100 EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 limit(db 339 user_339 2 !SWITCH_CONGESTION) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_limit.c:124 incr called: 339_user_339 max:2, interval:0 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_db.c:194 Usage for 339_user_339 is now 1/2 EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(effective_caller_id_name=86897070) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [effective_caller_id_name]=[86897070] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(effective_caller_id_number=86897070) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [effective_caller_id_number]=[86897070] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(receiver_accid=339) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [receiver_accid]=[339] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 limit(db 72111111 did_72111111 2 !SWITCH_CONGESTION) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_limit.c:124 incr called: 72111111_did_72111111 max:2, interval:0 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_db.c:194 Usage for 72111111_did_72111111 is now 1/2 EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 export(presence_data=x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 export(call_type=3) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[3] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(calltype=OTHER) 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [calltype]=[OTHER] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 lua(onlime.lua 72111111) 2022-03-07 18:19:23.201846 91.10% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('ringback', '%(2000,4000,440.0,480.0)') 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_curl.c:200 method: post, url: http://10.0.16.15:3002/fstoken, content-type: application/json 2022-03-07 18:19:23.201846 91.10% [DEBUG] mod_curl.c:252 Post data: {"destination":"72111111", "channel":"72111111_94f03ed0-7017-4484-806d-5888c548637a", "uid": "86897070"} 2022-03-07 18:19:23.221848 91.10% [INFO] switch_cpp.cpp:1477 {"token":"0067e048a1b9a2e4c0a813981df5268e728IAAntRdKQlj0OvMuCuyiCEooGdlU3zVSoJmA7eZIot++P9AAPW0AAAAAEABQYthcqy0nYgEAAQC/LSdi","forward":""} EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 set(continue_on_fail=true) 2022-03-07 18:19:23.221848 91.10% [DEBUG] mod_dptools.c:1685 SET sofia/default/86897070@10.0.16.25 [continue_on_fail]=[true] EXECUTE [depth=0] sofia/default/86897070@10.0.16.25 bridge({agora_token=0067e048a1b9a2e4c0a813981df5268e728IAAntRdKQlj0OvMuCuyiCEooGdlU3zVSoJmA7eZIot++P9AAPW0AAAAAEABQYthcqy0nYgEAAQC/LSdi,agora_uid=86897070,ignore_early_media=true}agora/7e048a1b9a2e4c0a813981df5268e728/72111111_94f03ed0-7017-4484-806d-5888c548637a/1000000000) 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_channel.c:1269 sofia/default/86897070@10.0.16.25 EXPORTING[export_vars] [presence_data]=[x|||Unitel(7842187716)|||^72111111.* // 72111111 // 0.00000||||||DID] to event 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_channel.c:1269 sofia/default/86897070@10.0.16.25 EXPORTING[export_vars] [call_type]=[3] to event 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2022-03-07 18:19:23.221848 91.10% [DEBUG] agora_rtc.c:1550 () State Change CS_NEW -> CS_INIT 2022-03-07 18:19:23.221848 91.10% [NOTICE] switch_channel.c:1123 New Channel agora.rtc/1000000000 [d01bfa26-6b49-4667-bd4b-986f14bb2dd8] 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_INIT (Cur 111 Tot 38174) 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:629 (agora.rtc/1000000000) State INIT 2022-03-07 18:19:23.221848 91.10% [DEBUG] mod_opus.c:619 Opus encoder: set bitrate to local settings [72000bps] 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:40 agora.rtc/1000000000 Standard INIT 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:48 (agora.rtc/1000000000) State Change CS_INIT -> CS_ROUTING 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:629 (agora.rtc/1000000000) State INIT going to sleep 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_ROUTING (Cur 111 Tot 38174) 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:645 (agora.rtc/1000000000) State ROUTING 2022-03-07 18:19:23.221848 91.10% [INFO] agora_rtc.c:662 agora.rtc/1000000000 RTC ROUTING 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_ivr_originate.c:67 (agora.rtc/1000000000) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:645 (agora.rtc/1000000000) State ROUTING going to sleep 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:586 (agora.rtc/1000000000) Running State Change CS_CONSUME_MEDIA (Cur 111 Tot 38174) 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:664 (agora.rtc/1000000000) State CONSUME_MEDIA 2022-03-07 18:19:23.221848 91.10% [DEBUG] switch_core_state_machine.c:664 (agora.rtc/1000000000) State CONSUME_MEDIA going to sleep 2022-03-07 18:19:23.221848 91.10% [INFO] mod_verto.c:606 WRITE 10.0.16.15:55670 [{"jsonrpc":"2.0","id":16430,"method":"verto.event","params":{"eventChannel":"Agora.callstate.f52a7d15-f967-4982-bcfa-7e0d9a870361","data":{"func":"invite","agoraChannel":"72111111_94f03ed0-7017-4484-806d-5888c548637a","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","agoraToken":"0067e048a1b9a2e4c0a813981df5268e728IAAntRdKQlj0OvMuCuyiCEooGdlU3zVSoJmA7eZIot++P9AAPW0AAAAAEABQYthcqy0nYgEAAQC/LSdi","fsChannel":"d01bfa26-6b49-4667-bd4b-986f14bb2dd8","cidName":"86897070","cidNumber":"86897070","destNumber":"7e048a1b9a2e4c0a813981df5268e728/72111111_94f03ed0-7017-4484-806d-5888c548637a/1000000000","sessid":"f52a7d15-f967-4982-bcfa-7e0d9a870361","video":"false"},"eventSerno":2334,"subscribedChannel":"Agora.callstate.f52a7d15-f967-4982-bcfa-7e0d9a870361"}}] 2022-03-07 18:19:23.421846 91.10% [DEBUG] sofia.c:7573 Channel sofia/default/723919002030@10.0.16.25 entering state [proceeding][183] 2022-03-07 18:19:23.421846 91.10% [DEBUG] sofia.c:7582 Duplicate SDP v=0 o=- 851943 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 31770 RTP/AVP 8 101 a=rtpmap:101 telephone-event/8000 a=ptime:20 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5769 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 101@8000 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 101@8000 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:6037 sofia/default/723919002030@10.0.16.25 Set 2833 dtmf send payload to 101 recv payload to 101 2022-03-07 18:19:23.421846 91.10% [DEBUG] switch_core_media.c:8910 Audio params are unchanged for sofia/default/723919002030@10.0.16.25. 2022-03-07 18:19:23.501840 91.10% [DEBUG] sofia.c:7573 Channel sofia/default/96881608@10.0.16.25 entering state [terminated][487] 2022-03-07 18:19:23.501840 91.10% [NOTICE] sofia.c:8816 Hangup sofia/default/96881608@10.0.16.25 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:826 sofia/default/96881608@10.0.16.25 ending bridge by request from read function 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/96881608@10.0.16.25] 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:820 sofia/default/96881608@10.0.16.25 ending bridge by request from write function 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:913 BRIDGE THREAD DONE [sofia/default/723919002030@10.0.16.25] 2022-03-07 18:19:23.501840 91.10% [NOTICE] switch_ivr_bridge.c:1026 Hangup sofia/default/723919002030@10.0.16.25 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:655 (sofia/default/723919002030@10.0.16.25) State EXCHANGE_MEDIA going to sleep 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/723919002030@10.0.16.25) Running State Change CS_HANGUP (Cur 111 Tot 38174) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:849 (sofia/default/723919002030@10.0.16.25) Callstate Change EARLY -> HANGUP 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/723919002030@10.0.16.25) State HANGUP 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:467 sofia/default/723919002030@10.0.16.25 Overriding SIP cause 487 with 487 from the other leg 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:473 Channel sofia/default/723919002030@10.0.16.25 hanging up, cause: ORIGINATOR_CANCEL 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/723919002030@10.0.16.25 skip receive message [UNBRIDGE] (channel is hungup already) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_ivr_bridge.c:1896 sofia/default/96881608@10.0.16.25 skip receive message [UNBRIDGE] (channel is hungup already) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_session.c:3100 sofia/default/96881608@10.0.16.25 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:652 (sofia/default/96881608@10.0.16.25) State EXECUTE going to sleep 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/96881608@10.0.16.25) Running State Change CS_HANGUP (Cur 111 Tot 38174) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:849 (sofia/default/96881608@10.0.16.25) Callstate Change EARLY -> HANGUP 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:541 Sending CANCEL to sofia/default/723919002030@10.0.16.25 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/723919002030@10.0.16.25 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/723919002030@10.0.16.25) State HANGUP going to sleep 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/96881608@10.0.16.25) State HANGUP 2022-03-07 18:19:23.501840 91.10% [DEBUG] mod_sofia.c:473 Channel sofia/default/96881608@10.0.16.25 hanging up, cause: ORIGINATOR_CANCEL 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:621 (sofia/default/723919002030@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/723919002030@10.0.16.25) Running State Change CS_REPORTING (Cur 111 Tot 38174) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:937 (sofia/default/723919002030@10.0.16.25) State REPORTING 2022-03-07 18:19:23.501840 91.10% [INFO] mod_json_cdr.c:273 Process [90200359-e97a-4af1-aa43-541ec51dcf7a.cdr.json] 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/96881608@10.0.16.25 Standard HANGUP, cause: ORIGINATOR_CANCEL 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:851 (sofia/default/96881608@10.0.16.25) State HANGUP going to sleep 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:621 (sofia/default/96881608@10.0.16.25) State Change CS_HANGUP -> CS_REPORTING 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:586 (sofia/default/96881608@10.0.16.25) Running State Change CS_REPORTING (Cur 111 Tot 38174) 2022-03-07 18:19:23.501840 91.10% [DEBUG] switch_core_state_machine.c:937 (sofia/default/96881608@10.0.16.25) State REPORTING 2022-03-07 18:19:23.501840 91.10% [INFO] mod_json_cdr.c:273 Process [6d87fc85-582a-4f19-9331-51a2804d2e22.cdr.json] 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/723919002030@10.0.16.25 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:937 (sofia/default/723919002030@10.0.16.25) State REPORTING going to sleep 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:612 (sofia/default/723919002030@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_session.c:1753 Session 38106 (sofia/default/723919002030@10.0.16.25) Locked, Waiting on external entities 2022-03-07 18:19:23.521838 91.10% [NOTICE] switch_core_session.c:1771 Session 38106 (sofia/default/723919002030@10.0.16.25) Ended 2022-03-07 18:19:23.521838 91.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/723919002030@10.0.16.25 [CS_DESTROY] 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:740 (sofia/default/723919002030@10.0.16.25) Running State Change CS_DESTROY (Cur 110 Tot 38174) 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:750 (sofia/default/723919002030@10.0.16.25) State DESTROY 2022-03-07 18:19:23.521838 91.10% [DEBUG] mod_sofia.c:379 sofia/default/723919002030@10.0.16.25 SOFIA DESTROY 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:175 sofia/default/723919002030@10.0.16.25 Standard DESTROY 2022-03-07 18:19:23.521838 91.10% [DEBUG] switch_core_state_machine.c:750 (sofia/default/723919002030@10.0.16.25) State DESTROY going to sleep 2022-03-07 18:19:23.641837 91.10% [DEBUG] switch_scheduler.c:147 Deleting task 16133 switch_ivr_schedule_hangup (90200359-e97a-4af1-aa43-541ec51dcf7a) 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/96881608@10.0.16.25 Standard REPORTING, cause: ORIGINATOR_CANCEL 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:937 (sofia/default/96881608@10.0.16.25) State REPORTING going to sleep 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:612 (sofia/default/96881608@10.0.16.25) State Change CS_REPORTING -> CS_DESTROY 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_session.c:1753 Session 38105 (sofia/default/96881608@10.0.16.25) Locked, Waiting on external entities 2022-03-07 18:19:24.041841 90.97% [NOTICE] switch_core_session.c:1771 Session 38105 (sofia/default/96881608@10.0.16.25) Ended 2022-03-07 18:19:24.041841 90.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/96881608@10.0.16.25 [CS_DESTROY] 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:740 (sofia/default/96881608@10.0.16.25) Running State Change CS_DESTROY (Cur 109 Tot 38174) 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:750 (sofia/default/96881608@10.0.16.25) State DESTROY 2022-03-07 18:19:24.041841 90.97% [DEBUG] mod_sofia.c:379 sofia/default/96881608@10.0.16.25 SOFIA DESTROY 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/96881608@10.0.16.25 Standard DESTROY 2022-03-07 18:19:24.041841 90.97% [DEBUG] switch_core_state_machine.c:750 (sofia/default/96881608@10.0.16.25) State DESTROY going to sleep 2022-03-07 18:19:24.061837 90.97% [INFO] mod_verto.c:1639 READ 10.0.16.15:55670 [{"jsonrpc":"2.0","method":"jsapi","id":0,"params":{"command":"agora","sessid":"f52a7d15-f967-4982-bcfa-7e0d9a870361","data":{"func":"ring","agoraKey":"7e048a1b9a2e4c0a813981df5268e728","fsChannel":"d01bfa26-6b49-4667-bd4b-986f14bb2dd8","cidNumber":"1000000000","cidName":"1000000000","video":"false","otherVariables":{}}}}] 2022-03-07 18:19:24.061837 90.97% [NOTICE] agora_sig.c:118 Ring-Ready agora.rtc/1000000000! 2022-03-07 18:19:24.061837 90.97% [DEBUG] switch_channel.c:3494 (agora.rtc/1000000000) Callstate Change DOWN -> RINGING 2022-03-07 18:19:24.061837 90.97% [INFO] mod_verto.c:606 WRITE 10.0.16.15:55670 [{"jsonrpc":"2.0","id":0,"result":{"func":"ring","message":"+OK","fsChannel":"d01bfa26-6b49-4667-bd4b-986f14bb2dd8","sessid":"f52a7d15-f967-4982-bcfa-7e0d9a870361"}}] 2022-03-07 18:19:24.081842 90.97% [INFO] switch_ivr_originate.c:1295 Sending early media 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:8928 AUDIO RTP [sofia/default/86897070@10.0.16.25] 10.0.16.26 port 30708 -> 10.0.16.25 port 31916 codec: 8 ms: 20 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_rtp.c:4632 Starting timer [soft] 160 bytes per 20ms 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:9241 sofia/default/86897070@10.0.16.25 Set 2833 dtmf send payload to 101 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:9248 sofia/default/86897070@10.0.16.25 Set 2833 dtmf receive payload to 101 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_media.c:9271 sofia/default/86897070@10.0.16.25 Set rtp dtmf delay to 40 2022-03-07 18:19:24.081842 90.97% [DEBUG] mod_sofia.c:2618 Ring SDP: v=0 o=FreeSWITCH 1646617656 1646617657 IN IP4 10.0.16.26 s=FreeSWITCH c=IN IP4 10.0.16.26 t=0 0 m=audio 30708 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2022-03-07 18:19:24.081842 90.97% [NOTICE] mod_sofia.c:2621 Pre-Answer sofia/default/86897070@10.0.16.25! 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_channel.c:3622 (sofia/default/86897070@10.0.16.25) Callstate Change RINGING -> EARLY 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_ivr_originate.c:1353 Raw Codec Activation Success L16@8000hz 1 channel 20ms 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_core_codec.c:223 sofia/default/86897070@10.0.16.25 Push codec L16:100 2022-03-07 18:19:24.081842 90.97% [DEBUG] switch_ivr_originate.c:1427 Play Ringback Tone [%(2000,4000,440.0,480.0)] 2022-03-07 18:19:24.101843 90.97% [DEBUG] sofia.c:7573 Channel sofia/default/86897070@10.0.16.25 entering state [early][183] 2022-03-07 18:19:24.141836 90.97% [NOTICE] switch_channel.c:1123 New Channel sofia/default/99838219@10.0.16.25 [b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09] 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99838219@10.0.16.25) Running State Change CS_NEW (Cur 110 Tot 38175) 2022-03-07 18:19:24.141836 90.97% [INFO] sofia.c:10568 sofia/default/99838219@10.0.16.25 receiving invite from 10.0.16.25:5060 version: 1.10.8-dev git a40e1f7 2021-11-03 08:05:14Z 64bit call-id=02143D8528814000000FB950@LOCALT 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:10665 verifying acl "default" for ip/port 10.0.16.25:0. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:10694 IP 10.0.16.25 Approved by acl "default[]". Access Granted. 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:7573 Channel sofia/default/99838219@10.0.16.25 entering state [received][100] 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:7585 Remote SDP: v=0 o=- 852072 1 IN IP4 10.0.16.25 s=- c=IN IP4 10.0.16.25 t=0 0 m=audio 31918 RTP/AVP 8 0 116 a=rtpmap:116 telephone-event/8000 a=ptime:5 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:5:64000:1]/[PCMA:8:8000:20:64000:1] 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5750 Audio Codec Compare [PCMA:8:8000:20:64000:1] is saved as a near-match 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMA:8:8000:5:64000:1]/[PCMU:0:8000:20:64000:1] 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:5:64000:1]/[PCMA:8:8000:20:64000:1] 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5714 Audio Codec Compare [PCMU:0:8000:5:64000:1]/[PCMU:0:8000:20:64000:1] 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5750 Audio Codec Compare [PCMU:0:8000:20:64000:1] is saved as a near-match 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5630 Set telephone-event payload to 116@8000 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5821 Substituting codec PCMA@20i@8000h@1c 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:3916 Set Codec sofia/default/99838219@10.0.16.25 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_codec.c:111 sofia/default/99838219@10.0.16.25 Original read codec set to PCMA:8 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:5979 Set telephone-event payload to 116@8000 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_media.c:6037 sofia/default/99838219@10.0.16.25 Set 2833 dtmf send payload to 116 recv payload to 116 2022-03-07 18:19:24.141836 90.97% [DEBUG] sofia.c:8009 (sofia/default/99838219@10.0.16.25) State Change CS_NEW -> CS_INIT 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:605 (sofia/default/99838219@10.0.16.25) State NEW 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99838219@10.0.16.25) Running State Change CS_INIT (Cur 110 Tot 38175) 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:629 (sofia/default/99838219@10.0.16.25) State INIT 2022-03-07 18:19:24.141836 90.97% [DEBUG] mod_sofia.c:97 sofia/default/99838219@10.0.16.25 SOFIA INIT 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:40 sofia/default/99838219@10.0.16.25 Standard INIT 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:48 (sofia/default/99838219@10.0.16.25) State Change CS_INIT -> CS_ROUTING 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:629 (sofia/default/99838219@10.0.16.25) State INIT going to sleep 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:586 (sofia/default/99838219@10.0.16.25) Running State Change CS_ROUTING (Cur 110 Tot 38175) 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_channel.c:2380 (sofia/default/99838219@10.0.16.25) Callstate Change DOWN -> RINGING 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:645 (sofia/default/99838219@10.0.16.25) State ROUTING 2022-03-07 18:19:24.141836 90.97% [DEBUG] mod_sofia.c:158 sofia/default/99838219@10.0.16.25 SOFIA ROUTING 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_core_state_machine.c:230 sofia/default/99838219@10.0.16.25 Standard ROUTING 2022-03-07 18:19:24.141836 90.97% [INFO] mod_dialplan_xml.c:639 Processing 99838219 <99838219>->300372380119 in context default 2022-03-07 18:19:24.141836 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-03-07 18:19:24.161840 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-03-07 18:19:24.161840 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [xml_handler] Params: Event-Name: REQUEST_PARAMS Core-UUID: 110d971f-48a2-4ae7-b1c2-8f39e417af75 FreeSWITCH-Hostname: x1 FreeSWITCH-Switchname: x1 FreeSWITCH-IPv4: 10.0.16.10 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2022-03-07%2018%3A19%3A24 Event-Date-GMT: Mon,%2007%20Mar%202022%2010%3A19%3A24%20GMT Event-Date-Timestamp: 1646648364141836 Event-Calling-File: mod_dialplan_xml.c Event-Calling-Function: dialplan_xml_locate Event-Calling-Line-Number: 610 Event-Sequence: 2008717 Channel-State: CS_ROUTING Channel-Call-State: RINGING Channel-State-Number: 2 Channel-Name: sofia/default/99838219%4010.0.16.25 Unique-ID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Presence-ID: 99838219%4010.0.16.25 Channel-Call-UUID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09 Answer-State: ringing Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: inbound Caller-Logical-Direction: inbound Caller-Username: 99838219 Caller-Dialplan: XML Caller-Caller-ID-Name: 99838219 Caller-Caller-ID-Number: 99838219 Caller-Orig-Caller-ID-Name: 99838219 Caller-Orig-Caller-ID-Number: 99838219 Caller-Network-Addr: 10.0.16.25 Caller-ANI: 99838219 Caller-Destination-Number: 300372380119 Caller-Unique-ID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09 Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/default/99838219%4010.0.16.25 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1646648364141836 Caller-Channel-Created-Time: 1646648364141836 Caller-Channel-Answered-Time: 0 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09 variable_session_id: 38175 variable_sip_from_params: user%3Dphone variable_sip_from_user: 99838219 variable_sip_from_uri: 99838219%4010.0.16.25 variable_sip_from_host: 10.0.16.25 variable_video_media_flow: disabled variable_text_media_flow: disabled variable_channel_name: sofia/default/99838219%4010.0.16.25 variable_sip_call_id: 02143D8528814000000FB950%40LOCALT variable_sip_local_network_addr: 10.0.16.26 variable_sip_network_ip: 10.0.16.25 variable_sip_network_port: 5060 variable_sip_invite_stamp: 1646648364141836 variable_sip_received_ip: 10.0.16.25 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_acl_authed_by: default variable_sip_from_user_stripped: 99838219 variable_sip_from_tag: A11530303330333012588F00 variable_sofia_profile_name: default variable_sofia_profile_url: sip%3Amod_sofia%4010.0.16.26%3A5060 variable_recovery_profile_name: default variable_sip_full_route: %3Csip%3A10.0.16.26%3A5060%3Blr%3Btransport%3Dudp%3E variable_sip_full_via: SIP/2.0/UDP%2010.0.16.25%3A5060%3Bbranch%3Dz9hG4bKAB65BF9AA4875C4241A7E14B85A6C18C%3Brport%3D5060 variable_sip_from_display: 99838219 variable_sip_full_from: %2299838219%22%20%3Csip%3A99838219%4010.0.16.25%3Buser%3Dphone%3E%3Btag%3DA11530303330333012588F00 variable_sip_full_to: %3Csip%3A300372380119%4010.0.16.26%3Buser%3Dphone%3E variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20PRACK,%20REFER,%20SUBSCRIBE,%20NOTIFY variable_sip_req_params: user%3Dphone variable_sip_req_user: 300372380119 variable_sip_req_port: 5060 variable_sip_req_uri: 300372380119%4010.0.16.26%3A5060 variable_sip_req_host: 10.0.16.26 variable_sip_to_params: user%3Dphone variable_sip_to_user: 300372380119 variable_sip_to_uri: 300372380119%4010.0.16.26 variable_sip_to_host: 10.0.16.26 variable_sip_contact_params: Hpt%3D8e68_16%3BCxtId%3D4%3BTRC%3Dffffffff-ffffffff variable_sip_contact_user: 99838219 variable_sip_contact_port: 5060 variable_sip_contact_uri: 99838219%4010.0.16.25%3A5060 variable_sip_contact_host: 10.0.16.25 variable_sip_user_agent: TBSIP variable_sip_via_host: 10.0.16.25 variable_sip_via_port: 5060 variable_sip_via_rport: 5060 variable_max_forwards: 68 variable_presence_id: 99838219%4010.0.16.25 variable_sip_date_epoch_time: 1646676629 variable_sip_h_P-Access-Network-Info: GEN-ACCESS%3B%22area-number%3D%2B976%22 variable_sip_h_P-Early-Media: supported variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%20852072%201%20IN%20IP4%2010.0.16.25%0D%0As%3D-%0D%0Ac%3DIN%20IP4%2010.0.16.25%0D%0At%3D0%200%0D%0Am%3Daudio%2031918%20RTP/AVP%208%200%20116%0D%0Aa%3Drtpmap%3A116%20telephone-event/8000%0D%0Aa%3Dptime%3A5%0D%0A variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%405i%4064000b,CORE_PCM_MODULE.PCMU%408000h%405i%4064000b variable_rtp_use_codec_string: PCMA,PCMU variable_remote_video_media_flow: inactive variable_remote_text_media_flow: inactive variable_remote_audio_media_flow: sendrecv variable_audio_media_flow: sendrecv variable_remote_media_ip: 10.0.16.25 variable_remote_media_port: 31918 variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_endpoint_disposition: RECEIVED variable_call_uuid: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09 Hunt-Direction: inbound Hunt-Logical-Direction: inbound Hunt-Username: 99838219 Hunt-Dialplan: XML Hunt-Caller-ID-Name: 99838219 Hunt-Caller-ID-Number: 99838219 Hunt-Orig-Caller-ID-Name: 99838219 Hunt-Orig-Caller-ID-Number: 99838219 Hunt-Network-Addr: 10.0.16.25 Hunt-ANI: 99838219 Hunt-Destination-Number: 300372380119 Hunt-Unique-ID: b2c932dc-3c7b-4ef5-8fcb-6985cf5ced09 Hunt-Source: mod_sofia Hunt-Context: default Hunt-Channel-Name: sofia/default/99838219%4010.0.16.25 Hunt-Profile-Index: 1 Hunt-Profile-Created-Time: 1646648364141836 Hunt-Channel-Created-Time: 1646648364141836 Hunt-Channel-Answered-Time: 0 Hunt-Channel-Progress-Time: 0 Hunt-Channel-Progress-Media-Time: 0 Hunt-Channel-Hangup-Time: 0 Hunt-Channel-Transfer-Time: 0 Hunt-Channel-Resurrect-Time: 0 Hunt-Channel-Bridged-Time: 0 Hunt-Channel-Last-Hold: 0 Hunt-Channel-Hold-Accum: 0 Hunt-Screen-Bit: true Hunt-Privacy-Hide-Name: false Hunt-Privacy-Hide-Number: false 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] tag_name: 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_value: 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] section: dialplan 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [xml_REQUEST] key_name: 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Dialed number : 300372380119 2022-03-07 18:19:24.161840 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '300372380119' AND status=0 limit 1 2022-03-07 18:19:24.161840 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Caller Id name / number : 99838219 / 99838219 2022-03-07 18:19:24.161840 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:24.161840 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:24.181834 90.97% [DEBUG] switch_cpp.cpp:1477 [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 ="300372380119" LIMIT 1 2022-03-07 18:19:24.181834 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="300372380119" limit 1 2022-03-07 18:19:24.181834 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] Call direction : outbound 2022-03-07 18:19:24.181834 90.97% [DEBUG] switch_cpp.cpp:1477 [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("10.0.16.25") 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 "300372380119" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 300372380119 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 72380119 2022-03-07 18:19:24.261844 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Accountcode : 3050900792] 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3050900792" AND deleted = 0 limit 1 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^72380119.*' OR blocked_patterns = '^7238011.*' OR blocked_patterns = '^723801.*' OR blocked_patterns = '^72380.*' OR blocked_patterns = '^7238.*' OR blocked_patterns = '^723.*' OR blocked_patterns = '^72.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 167 limit 1 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [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 ="72380119" AND A.accountid = '167' limit 1 2022-03-07 18:19:24.261844 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 72380119 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [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 ="72380119" LIMIT 1 2022-03-07 18:19:24.261844 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [Dialplan] New Call direction : inbound 2022-03-07 18:19:24.261844 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:24.261844 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="72380119" AND (accountid = 0 OR status = 1) LIMIT 1 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :551 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [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 = '^72380119.*' OR patterns = '^7238011.*' OR patterns = '^723801.*' OR patterns = '^72380.*' OR patterns = '^7238.*' OR patterns = '^723.*' OR patterns = '^72.*' OR patterns = '^7.*' OR patterns ='--') AND accountid = 551 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-03-07 18:19:24.281838 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '72380119' OR number = '7238011' OR number = '723801' OR number = '72380' OR number = '7238' OR number = '723' OR number = '72' OR number = '7' OR number ='--') OR (number = '72380119*' OR number = '7238011*' OR number = '723801*' OR number = '72380*' OR number = '7238*' OR number = '723*' OR number = '72*' OR number = '7*' OR number ='--') OR (number = '99838219' OR number = '9983821' OR number = '998382' OR number = '99838' OR number = '9983' OR number = '998' OR number = '99' OR number = '9' OR number ='--') OR (number = '99838219*' OR number = '9983821*' OR number = '998382*' OR number = '99838*' OR number = '9983*' OR number = '998*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] Call Barring Status : -1 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '72380119' OR routing_prefix = '7238011' OR routing_prefix = '723801' OR routing_prefix = '72380' OR routing_prefix = '7238' OR routing_prefix = '723' OR routing_prefix = '72' OR routing_prefix = '7' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Account Information =================== 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] User id : 167 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Account code : 3050900792 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Balance : 900771414.55 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Ratecard id : 35 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] CID Pool : 0 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] ======================================================== 2022-03-07 18:19:24.301845 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH1: 1 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 35 AND status = 0 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_RATES] call_direction :inbound 2022-03-07 18:19:24.301845 90.97% [NOTICE] switch_cpp.cpp:1477 [ASTPP] HARSH2: 1 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 1 AND status=0 limit 1 2022-03-07 18:19:24.301845 90.97% [DEBUG] switch_cpp.cpp:1477 [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 ="72380119" LIMIT 1 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] call_direction:::::: inbound 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] =============== Rates Information =================== 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] ID : 140037 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Connectcost : 0.00000 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Includedseconds : 0 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Cost : 0.00000 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] comment : 72380119 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Country Id : 128 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] Accid : 167 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] ================================================================ 2022-03-07 18:19:24.301845 90.97% [INFO] switch_cpp.cpp:1477 [ASTPP] [FIND_MAXLENGTH] Your9