2021-12-16 09:03:50.813834 [INFO] mod_dialplan_xml.c:637 Processing 1794393196 <1794393196>->97239707000 in context default 2021-12-16 09:03:50.813834 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fa2481e6330 Connected. 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-16 09:03:50.813834 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-12-16 09:03:50.813834 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 97239707000 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '97239707000' limit 1 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '97239707000' AND status=0 limit 1 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'test1550.newsip.israelnumber.com' limit 1 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '97239707000' and account_id = '1743' and status=0 LIMIT 1 2021-12-16 09:03:50.813834 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-12-16 09:03:50.813834 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 1794393196 / 1794393196 2021-12-16 09:03:50.813834 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.813834 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [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.buy_minutes,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 ="97239707000" LIMIT 1 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 789558853] 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "789558853" AND deleted = 0 limit 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [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 ="97239707000" AND A.accountid = '1743' limit 1 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 97239707000 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [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.buy_minutes,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 ="97239707000" LIMIT 1 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="97239707000" AND (accountid = 0 OR status = 1) LIMIT 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :1573 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [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 = '^97239707000.*' OR patterns = '^9723970700.*' OR patterns = '^972397070.*' OR patterns = '^97239707.*' OR patterns = '^9723970.*' OR patterns = '^972397.*' OR patterns = '^97239.*' OR patterns = '^9723.*' OR patterns = '^972.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 1573 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '97239707000' OR number = '9723970700' OR number = '972397070' OR number = '97239707' OR number = '9723970' OR number = '972397' OR number = '97239' OR number = '9723' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '97239707000*' OR number = '9723970700*' OR number = '972397070*' OR number = '97239707*' OR number = '9723970*' OR number = '972397*' OR number = '97239*' OR number = '9723*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = '1794393196' OR number = '179439319' OR number = '17943931' OR number = '1794393' OR number = '179439' OR number = '17943' OR number = '1794' OR number = '179' OR number = '17' OR number = '1' OR number ='--') OR (number = '1794393196*' OR number = '179439319*' OR number = '17943931*' OR number = '1794393*' OR number = '179439*' OR number = '17943*' OR number = '1794*' OR number = '179*' OR number = '17*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '97239707000' OR routing_prefix = '9723970700' OR routing_prefix = '972397070' OR routing_prefix = '97239707' OR routing_prefix = '9723970' OR routing_prefix = '972397' OR routing_prefix = '97239' OR routing_prefix = '9723' OR routing_prefix = '972' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1743 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 789558853 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 9 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....97239707000 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [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.buy_minutes,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 ="97239707000" LIMIT 1 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 15049 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : National Landline 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 93 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1743 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your9 balance Accountid 1743 !!! 2021-12-16 09:03:50.833825 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 1743 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1743 AND status= '0' LIMIT 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1573" AND deleted = 0 limit 1 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:1743 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:1743 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 1743 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 1573 limit 1 2021-12-16 09:03:50.833825 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainITCIVR1394.newsip.israelnumber.com 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....1646969247 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....1646969247 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 1573 limit 1 2021-12-16 09:03:50.833825 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainITCIVR1394.newsip.israelnumber.com 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_10 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name::::::::::1343:::::::::::::::15049 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : 10 2021-12-16 09:03:50.833825 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_type : IVR 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 15 and status=0 LIMIT 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1 2021-12-16 09:03:50.833825 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-12-16 09:03:50.833825 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fa2481e6330 released. Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com parsing [default->97239707000] continue=false Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Regex (PASS) [97239707000] destination_number(97239707000) =~ /97239707000/ break=on-false Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(effective_destination_number=97239707000) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_account=1743) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_rate=0.00000) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_increment=60) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(nibble_minimum=0.00000) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action nibblebill(heartbeat 60) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(callstart=2021-12-16 09:03:50) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(hangup_after_bridge=true) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(continue_on_fail=TRUE) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(account_id=1743) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(parent_id=0) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(entity_id=0) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(call_processed=internal) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(call_direction=inbound) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(accountname=default) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(origination_rates_did=ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(origination_rates=0) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(original_caller_id_name=1646969247) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(original_caller_id_number=1646969247) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(db 789558853 user_789558853 2 !SWITCH_CONGESTION) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(hash CPS_789558853 CPS_user_789558853 2/1 !SWITCH_CONGESTION) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(db 1573 user_1573 2 !SWITCH_CONGESTION) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(effective_caller_id_name=1646969247) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(effective_caller_id_number=1646969247) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(receiver_accid=1573) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(domain_name=ITCIVR1394.newsip.israelnumber.com) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(sip_to_host=ITCIVR1394.newsip.israelnumber.com) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action limit(db 97239707000 did_97239707000 2 !SWITCH_CONGESTION) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(presence_data=x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action export(call_type=10) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(did_calltype=10) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(did_extensions=15) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(ringback=) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(module_name=pbx) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(sip_h_P-call_type=custom_forward) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(sip_h_P-Accountcode=1573) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(domain_name=ITCIVR1394.newsip.israelnumber.com) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action set(original_did_number=97239707000) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action answer() Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action ivr(ITC IVR0) Dialplan: sofia/default/1794393196@test1550.newsip.israelnumber.com Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua) 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:286 (sofia/default/1794393196@test1550.newsip.israelnumber.com) State Change CS_ROUTING -> CS_EXECUTE 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:643 (sofia/default/1794393196@test1550.newsip.israelnumber.com) State ROUTING going to sleep 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1794393196@test1550.newsip.israelnumber.com) Running State Change CS_EXECUTE (Cur 5 Tot 104196) 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:650 (sofia/default/1794393196@test1550.newsip.israelnumber.com) State EXECUTE 2021-12-16 09:03:50.833825 [DEBUG] mod_sofia.c:198 sofia/default/1794393196@test1550.newsip.israelnumber.com SOFIA EXECUTE 2021-12-16 09:03:50.833825 [DEBUG] switch_core_state_machine.c:328 sofia/default/1794393196@test1550.newsip.israelnumber.com Standard EXECUTE EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(effective_destination_number=97239707000) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [effective_destination_number]=[97239707000] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(bridge_pre_execute_bleg_app=sched_hangup) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_account=1743) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_account]=[1743] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_rate=0.00000) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_rate]=[0.00000] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_increment=60) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_increment]=[60] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(nibble_minimum=0.00000) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [nibble_minimum]=[0.00000] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com nibblebill(heartbeat 60) 2021-12-16 09:03:50.833825 [WARNING] switch_core_session.c:1605 sofia/default/1794393196@test1550.newsip.israelnumber.com using scheduler due to bypass media or media is not established. 2021-12-16 09:03:50.833825 [DEBUG] switch_scheduler.c:249 Added task 40421 switch_core_session_sched_heartbeat (161f5b6a-5e4f-11ec-a215-9322a0e4a4d3) to run at 1639645490 EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(callstart=2021-12-16 09:03:50) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [callstart]=[2021-12-16 09:03:50] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(hangup_after_bridge=true) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [hangup_after_bridge]=[true] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(continue_on_fail=TRUE) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [continue_on_fail]=[TRUE] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(account_id=1743) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [account_id]=[1743] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(parent_id=0) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [parent_id]=[0] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(entity_id=0) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [entity_id]=[0] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(call_processed=internal) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [call_processed]=[internal] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(call_direction=inbound) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [call_direction]=[inbound] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(accountname=default) 2021-12-16 09:03:50.833825 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [accountname]=[default] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(filename1=astpp.pbx.lua) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(origination_rates_did=ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [origination_rates_did]=[ID:15049|CODE:^97239707000.*|DESTINATION:National Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:93|ACCID:1573] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(origination_rates=0) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [origination_rates]=[0] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(original_caller_id_name=1646969247) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [original_caller_id_name]=[1646969247] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(original_caller_id_number=1646969247) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [original_caller_id_number]=[1646969247] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(db 789558853 user_789558853 2 !SWITCH_CONGESTION) 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: 789558853_user_789558853 max:2, interval:0 2021-12-16 09:03:50.853816 [DEBUG] mod_db.c:194 Usage for 789558853_user_789558853 is now 1/2 EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(hash CPS_789558853 CPS_user_789558853 2/1 !SWITCH_CONGESTION) 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: CPS_789558853_CPS_user_789558853 max:2, interval:1 2021-12-16 09:03:50.853816 [DEBUG] mod_hash.c:198 Usage for CPS_789558853_CPS_user_789558853 is now 1/2 for the last 1 seconds EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(db 1573 user_1573 2 !SWITCH_CONGESTION) 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: 1573_user_1573 max:2, interval:0 2021-12-16 09:03:50.853816 [DEBUG] mod_db.c:194 Usage for 1573_user_1573 is now 1/2 EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(effective_caller_id_name=1646969247) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [effective_caller_id_name]=[1646969247] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(effective_caller_id_number=1646969247) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [effective_caller_id_number]=[1646969247] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(receiver_accid=1573) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [receiver_accid]=[1573] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(domain_name=ITCIVR1394.newsip.israelnumber.com) 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[ITCIVR1394.newsip.israelnumber.com] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(sip_to_host=ITCIVR1394.newsip.israelnumber.com) 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[ITCIVR1394.newsip.israelnumber.com] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com limit(db 97239707000 did_97239707000 2 !SWITCH_CONGESTION) 2021-12-16 09:03:50.853816 [DEBUG] switch_limit.c:126 incr called: 97239707000_did_97239707000 max:2, interval:0 2021-12-16 09:03:50.853816 [DEBUG] mod_db.c:194 Usage for 97239707000_did_97239707000 is now 1/2 EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(presence_data=x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162) 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||TESTNASTPP(789558853)|||^97239707000.* // National Landline // 0.00000||||||DID|||117.247.91.162] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com export(call_type=10) 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[10] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(did_calltype=10) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [did_calltype]=[10] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(did_extensions=15) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [did_extensions]=[15] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(ringback=) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [ringback]=[UNDEF] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(module_name=pbx) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [module_name]=[pbx] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(sip_h_P-call_type=custom_forward) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [sip_h_P-call_type]=[custom_forward] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(sip_h_P-Accountcode=1573) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [sip_h_P-Accountcode]=[1573] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(domain_name=ITCIVR1394.newsip.israelnumber.com) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [domain_name]=[ITCIVR1394.newsip.israelnumber.com] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com set(original_did_number=97239707000) 2021-12-16 09:03:50.853816 [DEBUG] mod_dptools.c:1548 SET sofia/default/1794393196@test1550.newsip.israelnumber.com [original_did_number]=[97239707000] EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com answer() 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/1794393196@test1550.newsip.israelnumber.com] 89.46.223.194 port 31188 -> 117.247.91.162 port 8000 codec: 8 ms: 20 2021-12-16 09:03:50.853816 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:7180 sofia/default/1794393196@test1550.newsip.israelnumber.com Set 2833 dtmf send payload to 101 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:7187 sofia/default/1794393196@test1550.newsip.israelnumber.com Set 2833 dtmf receive payload to 101 2021-12-16 09:03:50.853816 [DEBUG] switch_core_media.c:7210 sofia/default/1794393196@test1550.newsip.israelnumber.com Set rtp dtmf delay to 40 2021-12-16 09:03:50.853816 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/1794393196@test1550.newsip.israelnumber.com: v=0 o=FreeSWITCH 1639614242 1639614243 IN IP4 89.46.223.194 s=FreeSWITCH c=IN IP4 89.46.223.194 t=0 0 m=audio 31188 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-12-16 09:03:50.853816 [NOTICE] mod_dptools.c:1312 Channel [sofia/default/1794393196@test1550.newsip.israelnumber.com] has been answered 2021-12-16 09:03:50.853816 [DEBUG] switch_channel.c:3773 (sofia/default/1794393196@test1550.newsip.israelnumber.com) Callstate Change RINGING -> ACTIVE EXECUTE sofia/default/1794393196@test1550.newsip.israelnumber.com ivr(ITC IVR0) 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:880 building menu 'ITC IVR0' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '2' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '3' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/' 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu ITC IVR0 2021-12-16 09:03:50.853816 [DEBUG] sofia.c:7084 Channel sofia/default/1794393196@test1550.newsip.israelnumber.com entering state [completed][200] 2021-12-16 09:03:50.853816 [WARNING] switch_core_file.c:360 File has 2 channels, muxing to 1 channel will occur. 2021-12-16 09:03:50.853816 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms 2021-12-16 09:03:50.933819 [NOTICE] switch_channel.c:1104 New Channel sofia/default/498007241083@92.249.69.77 [1631a8e2-5e4f-11ec-a243-9322a0e4a4d3] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_NEW (Cur 6 Tot 104197) 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:9873 sofia/default/498007241083@92.249.69.77 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted. 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:7084 Channel sofia/default/498007241083@92.249.69.77 entering state [received][100] 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:7094 Remote SDP: v=0 o=asterisk 958886540 958886540 IN IP4 92.249.69.77 s=Asterisk PBX c=IN IP4 92.249.69.77 t=0 0 m=audio 50248 RTP/AVP 8 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/498007241083@92.249.69.77 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2021-12-16 09:03:50.933819 [DEBUG] switch_core_codec.c:111 sofia/default/498007241083@92.249.69.77 Original read codec set to PCMA:8 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000 2021-12-16 09:03:50.933819 [DEBUG] switch_core_media.c:4767 sofia/default/498007241083@92.249.69.77 Set 2833 dtmf send payload to 101 recv payload to 101 2021-12-16 09:03:50.933819 [DEBUG] sofia.c:7507 (sofia/default/498007241083@92.249.69.77) State Change CS_NEW -> CS_INIT 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:603 (sofia/default/498007241083@92.249.69.77) State NEW 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_INIT (Cur 6 Tot 104197) 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498007241083@92.249.69.77) State INIT 2021-12-16 09:03:50.933819 [DEBUG] mod_sofia.c:90 sofia/default/498007241083@92.249.69.77 SOFIA INIT 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:40 sofia/default/498007241083@92.249.69.77 Standard INIT 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:48 (sofia/default/498007241083@92.249.69.77) State Change CS_INIT -> CS_ROUTING 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:627 (sofia/default/498007241083@92.249.69.77) State INIT going to sleep 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_ROUTING (Cur 6 Tot 104197) 2021-12-16 09:03:50.933819 [DEBUG] switch_channel.c:2249 (sofia/default/498007241083@92.249.69.77) Callstate Change DOWN -> RINGING 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498007241083@92.249.69.77) State ROUTING 2021-12-16 09:03:50.933819 [DEBUG] mod_sofia.c:143 sofia/default/498007241083@92.249.69.77 SOFIA ROUTING 2021-12-16 09:03:50.933819 [DEBUG] switch_core_state_machine.c:236 sofia/default/498007241083@92.249.69.77 Standard ROUTING 2021-12-16 09:03:50.933819 [INFO] mod_dialplan_xml.c:637 Processing 498007241083 <498007241083>->00491752000292 in context default 2021-12-16 09:03:50.933819 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fa2481e6330 Connected. 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2021-12-16 09:03:50.933819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0 2021-12-16 09:03:50.933819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 00491752000292 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '00491752000292' limit 1 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '00491752000292' AND status=0 limit 1 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '92.249.69.77' limit 1 2021-12-16 09:03:50.933819 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID 2021-12-16 09:03:50.933819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 498007241083 / 498007241083 2021-12-16 09:03:50.933819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [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.buy_minutes,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 ="00491752000292" LIMIT 1 2021-12-16 09:03:50.933819 [DEBUG] switch_cpp.cpp:1365 [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="00491752000292" AND domains.domain="136.243.196.198" limit 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 619312506378] 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "619312506378" AND deleted = 0 limit 1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^00491752000292.*' OR blocked_patterns = '^0049175200029.*' OR blocked_patterns = '^004917520002.*' OR blocked_patterns = '^00491752000.*' OR blocked_patterns = '^0049175200.*' OR blocked_patterns = '^004917520.*' OR blocked_patterns = '^00491752.*' OR blocked_patterns = '^0049175.*' OR blocked_patterns = '^004917.*' OR blocked_patterns = '^00491.*' OR blocked_patterns = '^0049.*' OR blocked_patterns = '^004.*' OR blocked_patterns = '^00.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 1039 limit 1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [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 ="00491752000292" AND A.accountid = '1039' limit 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 00491752000292 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [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.buy_minutes,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 ="00491752000292" LIMIT 1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [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="00491752000292" AND domains.domain="136.243.196.198" limit 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,039/97239,073/97273".....00491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00491752000292" AND (accountid = 0 OR status = 1) LIMIT 1 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 3 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 3 AND status=0 limit 1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....00491752000292 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 00491752000292 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*".....491752000292 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [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 = '^491752000292.*' OR patterns = '^49175200029.*' OR patterns = '^4917520002.*' OR patterns = '^491752000.*' OR patterns = '^49175200.*' OR patterns = '^4917520.*' OR patterns = '^491752.*' OR patterns = '^49175.*' OR patterns = '^4917.*' OR patterns = '^491.*' OR patterns = '^49.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 1039 ORDER BY LENGTH(PKGPTR.patterns) DESC 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '491752000292' OR number = '49175200029' OR number = '4917520002' OR number = '491752000' OR number = '49175200' OR number = '4917520' OR number = '491752' OR number = '49175' OR number = '4917' OR number = '491' OR number = '49' OR number = '4' OR number ='--') OR (number = '491752000292*' OR number = '49175200029*' OR number = '4917520002*' OR number = '491752000*' OR number = '49175200*' OR number = '4917520*' OR number = '491752*' OR number = '49175*' OR number = '4917*' OR number = '491*' OR number = '49*' OR number = '4*' OR number ='--') OR (number = '498007241083' OR number = '49800724108' OR number = '4980072410' OR number = '498007241' OR number = '49800724' OR number = '4980072' OR number = '498007' OR number = '49800' OR number = '4980' OR number = '498' OR number = '49' OR number = '4' OR number ='--') OR (number = '498007241083*' OR number = '49800724108*' OR number = '4980072410*' OR number = '498007241*' OR number = '49800724*' OR number = '4980072*' OR number = '498007*' OR number = '49800*' OR number = '4980*' OR number = '498*' OR number = '49*' OR number = '4*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '491752000292' OR routing_prefix = '49175200029' OR routing_prefix = '4917520002' OR routing_prefix = '491752000' OR routing_prefix = '49175200' OR routing_prefix = '4917520' OR routing_prefix = '491752' OR routing_prefix = '49175' OR routing_prefix = '4917' OR routing_prefix = '491' OR routing_prefix = '49' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information =================== 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 1039 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 619312506378 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 6381.67788 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 49 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] ======================================================== 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^491752000292.*' OR pattern = '^49175200029.*' OR pattern = '^4917520002.*' OR pattern = '^491752000.*' OR pattern = '^49175200.*' OR pattern = '^4917520.*' OR pattern = '^491752.*' OR pattern = '^49175.*' OR pattern = '^4917.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 49 OR accountid=1039) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information =================== 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5979639 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.37744 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : GERMANY - MOBILE T-MOBILE 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 1039 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type: 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================ 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your6381.67788 balance Accountid 1039 !!! 2021-12-16 09:03:50.953819 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins! 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 1039 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.37744 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 1 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes 2021-12-16 09:03:50.953819 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 5979639 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=49 ORDER by id asc 2021-12-16 09:03:50.953819 [DEBUG] switch_cpp.cpp:1365 [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 = '^491752000292.*' OR pattern = '^49175200029.*' OR pattern = '^4917520002.*' OR pattern = '^491752000.*' OR pattern = '^49175200.*' OR pattern = '^4917520.*' OR pattern = '^491752.*' OR pattern = '^49175.*' OR pattern = '^4917.*' OR pattern = '^491.*' OR pattern = '^49.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (25,27,33) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5790617 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49175.* 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49175.* 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 33 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : Low_Tata_38986 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5969469 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49175.* 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GermanyT-Mobile Mobile 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49175.* 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 25 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : tata3 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 587 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_tata_37113_prime_1-1 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information =================== 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 5002873 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^49175.* 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : GERMANY - MOBILE T-MOBILE 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^49175.* 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 27 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable : 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_telia_prime_1-1 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES======================= 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1039 AND status= '0' LIMIT 1 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180 2021-12-16 09:03:50.973822 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....491752000292 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 587) AND status=0 limit 1 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....491752000292 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 49 AND status = 0 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....491752000292 2021-12-16 09:03:50.973822 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
2021-12-16 09:03:50.973822 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fa2481e6330 released. Dialplan: sofia/default/498007241083@92.249.69.77 parsing [default->491752000292] continue=false Dialplan: sofia/default/498007241083@92.249.69.77 Regex (PASS) [491752000292] destination_number(00491752000292) =~ /00491752000292/ break=on-false Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_destination_number=491752000292) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(bridge_pre_execute_bleg_data=+10800 normal_clearing) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_account=1039) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_rate=0.37744) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_increment=1) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(nibble_minimum=0.00000) Dialplan: sofia/default/498007241083@92.249.69.77 Action nibblebill(heartbeat 1) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(callstart=2021-12-16 09:03:50) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(hangup_after_bridge=true) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(account_id=1039) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(parent_id=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(entity_id=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(call_processed=internal) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(call_direction=outbound) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(accountname=default) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(filename1=astpp.pbx.lua) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(origination_rates=ID:5979639|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.37744|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(original_caller_id_name=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(original_caller_id_number=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(is_recording=1) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(media_bug_answer_req=true) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(RECORD_STEREO=true) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(record_sample_rate=8000) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_name=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_number=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(termination_rates=ID:5790617|CODE:^49175.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00970|INC:1|INITIALBLOCK:1|TRUNK:33|PROVIDER:587) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(trunk_id=33) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(provider_id=587) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(force_trunk_flag=5979639) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=trunk_id=33) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||Low_Tata_38986 // ^49175.* // GermanyT-Mobile Mobile // 0.00970 // trunk_id=33|||STD|||92.249.69.77) Dialplan: sofia/default/498007241083@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/491752000292;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_name=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_number=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(termination_rates=ID:5969469|CODE:^49175.*|DESTINATION:GermanyT-Mobile Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.19200|INC:1|INITIALBLOCK:1|TRUNK:25|PROVIDER:587) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(trunk_id=25) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(provider_id=587) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(force_trunk_flag=5979639) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=trunk_id=25) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||high_tata_37113_prime_1-1 // ^49175.* // GermanyT-Mobile Mobile // 0.19200 // trunk_id=25|||STD|||92.249.69.77) Dialplan: sofia/default/498007241083@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/tata3/491752000292;fs_path=sip:136.243.196.198:5060) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_name=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(effective_caller_id_number=498007241083) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(calltype=STANDARD) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(termination_rates=ID:5002873|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.23590|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(trunk_id=27) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(provider_id=1017) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(rate_flag=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(force_trunk_flag=5979639) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=trunk_id=27) Dialplan: sofia/default/498007241083@92.249.69.77 Action set(intcall=0) Dialplan: sofia/default/498007241083@92.249.69.77 Action export(presence_data=x|||Enerxus(619312506378)|||^49175.* // GERMANY - MOBILE T-MOBILE // 0.37744 // trunk_id=0|||high_telia_prime_1-1 // ^49175.* // GERMANY - MOBILE T-MOBILE // 0.23590 // trunk_id=27|||STD|||92.249.69.77) Dialplan: sofia/default/498007241083@92.249.69.77 Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/491752000292;fs_path=sip:136.243.196.198:5060) 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:286 (sofia/default/498007241083@92.249.69.77) State Change CS_ROUTING -> CS_EXECUTE 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:643 (sofia/default/498007241083@92.249.69.77) State ROUTING going to sleep 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:584 (sofia/default/498007241083@92.249.69.77) Running State Change CS_EXECUTE (Cur 6 Tot 104197) 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:650 (sofia/default/498007241083@92.249.69.77) State EXECUTE 2021-12-16 09:03:50.973822 [DEBUG] mod_sofia.c:198 sofia/default/498007241083@92.249.69.77 SOFIA EXECUTE 2021-12-16 09:03:50.973822 [DEBUG] switch_core_state_machine.c:328 sofia/default/498007241083@92.249.69.77 Standard EXECUTE EXECUTE sofia/default/498007241083@92.249.69.77 set(effective_destination_number=491752000292) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [effective_destination_number]=[491752000292] EXECUTE sofia/default/498007241083@92.249.69.77 set(bridge_pre_execute_bleg_app=sched_hangup) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE sofia/default/498007241083@92.249.69.77 set(bridge_pre_execute_bleg_data=+10800 normal_clearing) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [bridge_pre_execute_bleg_data]=[+10800 normal_clearing] EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_account=1039) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_account]=[1039] EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_rate=0.37744) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_rate]=[0.37744] EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_increment=1) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_increment]=[1] EXECUTE sofia/default/498007241083@92.249.69.77 set(nibble_minimum=0.00000) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [nibble_minimum]=[0.00000] EXECUTE sofia/default/498007241083@92.249.69.77 nibblebill(heartbeat 1) 2021-12-16 09:03:50.973822 [WARNING] switch_core_session.c:1605 sofia/default/498007241083@92.249.69.77 using scheduler due to bypass media or media is not established. 2021-12-16 09:03:50.973822 [DEBUG] switch_scheduler.c:249 Added task 40422 switch_core_session_sched_heartbeat (1631a8e2-5e4f-11ec-a243-9322a0e4a4d3) to run at 1639645431 EXECUTE sofia/default/498007241083@92.249.69.77 set(callstart=2021-12-16 09:03:50) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [callstart]=[2021-12-16 09:03:50] EXECUTE sofia/default/498007241083@92.249.69.77 set(hangup_after_bridge=true) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [hangup_after_bridge]=[true] EXECUTE sofia/default/498007241083@92.249.69.77 set(continue_on_fail=TRUE) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [continue_on_fail]=[TRUE] EXECUTE sofia/default/498007241083@92.249.69.77 set(account_id=1039) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [account_id]=[1039] EXECUTE sofia/default/498007241083@92.249.69.77 set(parent_id=0) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [parent_id]=[0] EXECUTE sofia/default/498007241083@92.249.69.77 set(entity_id=0) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [entity_id]=[0] EXECUTE sofia/default/498007241083@92.249.69.77 set(call_processed=internal) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [call_processed]=[internal] EXECUTE sofia/default/498007241083@92.249.69.77 set(call_direction=outbound) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [call_direction]=[outbound] EXECUTE sofia/default/498007241083@92.249.69.77 set(accountname=default) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [accountname]=[default] EXECUTE sofia/default/498007241083@92.249.69.77 set(filename1=astpp.pbx.lua) 2021-12-16 09:03:50.973822 [DEBUG] mod_dptools.c:1548 SET sofia/default/498007241083@92.249.69.77 [filename1]=[astpp.pbx.lua] EXECUTE sofia/default/498007241083@92.249.69.77 set(origination_rates=ID:5979639|CODE:^49175.*|DESTINATION:GERMANY - MOBILE T-MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.37744|INC:1|INITIALBLOCK:1|RATEGROUP:49|MARKUP:0|CI:0|ACCID:1039)