span style="color: green; font-weight: bold;"> 2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 27726031330
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '27726031330' limit 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27726031330' AND status=0 limit 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '27726031330' and status=0 LIMIT 1
2024-01-05 16:23:45.729536 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : 172240 / 172240
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27726031330" LIMIT 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27726031330" AND domains.domain="ASM980.yoursipcloud.com" limit 1
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 172240]
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "172240" AND deleted = 0 limit 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27726031330.*' OR blocked_patterns = '^2772603133.*' OR blocked_patterns = '^277260313.*' OR blocked_patterns = '^27726031.*' OR blocked_patterns = '^2772603.*' OR blocked_patterns = '^277260.*' OR blocked_patterns = '^27726.*' OR blocked_patterns = '^2772.*' OR blocked_patterns = '^277.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 1238 limit 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27726031330" AND (accountid = 0 OR status = 1) LIMIT 1
2024-01-05 16:23:45.729536 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....27726031330
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....27726031330
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27726031330.*' OR patterns = '^2772603133.*' OR patterns = '^277260313.*' OR patterns = '^27726031.*' OR patterns = '^2772603.*' OR patterns = '^277260.*' OR patterns = '^27726.*' OR patterns = '^2772.*' OR patterns = '^277.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 1238 ORDER BY LENGTH(PKGPTR.patterns) DESC
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="27726031330" AND A.accountid = '1238' limit 1
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27726031330
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27726031330" LIMIT 1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="27726031330" AND domains.domain="ASM980.yoursipcloud.com" limit 1
2024-01-05 16:23:45.729536 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '27726031330' OR number = '2772603133' OR number = '277260313' OR number = '27726031' OR number = '2772603' OR number = '277260' OR number = '27726' OR number = '2772' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27726031330*' OR number = '2772603133*' OR number = '277260313*' OR number = '27726031*' OR number = '2772603*' OR number = '277260*' OR number = '27726*' OR number = '2772*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '172240' OR number = '17224' OR number = '1722' OR number = '172' OR number = '17' OR number = '1' OR number ='--') OR (number = '172240*' OR number = '17224*' OR number = '1722*' OR number = '172*' OR number = '17*' OR number = '1*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2024-01-05 16:23:45.729536 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27726031330' OR routing_prefix = '2772603133' OR routing_prefix = '277260313' OR routing_prefix = '27726031' OR routing_prefix = '2772603' OR routing_prefix = '277260' OR routing_prefix = '27726' OR routing_prefix = '2772' OR routing_prefix = '277' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 80 limit 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 1238
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 172240
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 93.32184
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 77
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 77 AND status = 0
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 77 AND status = 0
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27726031330.*' OR pattern = '^2772603133.*' OR pattern = '^277260313.*' OR pattern = '^27726031.*' OR pattern = '^2772603.*' OR pattern = '^277260.*' OR pattern = '^27726.*' OR pattern = '^2772.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 77 OR accountid=1238) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3978718
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.04536
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.45364
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : South Africa Mobile Vodacom
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 1238
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your93.32184 balance Accountid 1238 !!!
2024-01-05 16:23:45.749534 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-01-05 16:23:45.749534 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 80
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "80" AND deleted = 0 limit 1
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27726031330.*' OR blocked_patterns = '^2772603133.*' OR blocked_patterns = '^277260313.*' OR blocked_patterns = '^27726031.*' OR blocked_patterns = '^2772603.*' OR blocked_patterns = '^277260.*' OR blocked_patterns = '^27726.*' OR blocked_patterns = '^2772.*' OR blocked_patterns = '^277.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 80 limit 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 80
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 156557
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 9998.06231
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 8
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27726031330.*' OR pattern = '^2772603133.*' OR pattern = '^277260313.*' OR pattern = '^27726031.*' OR pattern = '^2772603.*' OR pattern = '^277260.*' OR pattern = '^27726.*' OR pattern = '^2772.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 8 OR accountid=80) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 3234942
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.04124
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.04124
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : South Africa Mobile Vodacom
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 80
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your9998.06231 balance Accountid 80 !!!
2024-01-05 16:23:45.749534 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:3978718|CODE:^2772.*|DESTINATION:South Africa Mobile Vodacom|CONNECTIONCOST:0.04536|INCLUDEDSECONDS:1|CT:|COST:0.45364|INC:1|INITIALBLOCK:1|RATEGROUP:77|MARKUP:0|CI:0|ACCID:1238||ID:3234942|CODE:^2772.*|DESTINATION:South Africa Mobile Vodacom|CONNECTIONCOST:0.04124|INCLUDEDSECONDS:1|CT:|COST:0.04124|INC:1|INITIALBLOCK:1|RATEGROUP:8|MARKUP:0|CI:0|ACCID:80
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 3978718
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :4
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^27726031330.*' OR pattern = '^2772603133.*' OR pattern = '^277260313.*' OR pattern = '^27726031.*' OR pattern = '^2772603.*' OR pattern = '^277260.*' OR pattern = '^27726.*' OR pattern = '^2772.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (4) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 125247
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^2772.*
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : South Africa Mobile Vodacom
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^2772.*
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBCold1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : sbcold2
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 1238 AND status=0 LIMIT 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 100
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2024-01-05 16:23:45.749534 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 8 AND status = 0
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 231) AND status=0 limit 1
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Anonymous CHECK:172240
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27726031330" LIMIT 1
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Post Cdrs : 0
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 1238
2024-01-05 16:23:45.749534 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="27726031330">
<condition field="destination_number" expression="27726031330">
<action application="log" data="WARNING Accountcode 172240. Dialed number (27726031330) termination rates not found!!"/>
<action application="set" data="original_caller_id_name=172240"/>
<action application="set" data="original_caller_id_number=172240"/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2024-01-05 15:23:45"/>
<action application="set" data="account_id=1238"/>
<action application="set" data="parent_id=80"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=27726031330"/>
<action application="set" data="last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND"/>
<action application="hangup" data="TERMINATION_RATE_NOT_FOUND"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com parsing [default->27726031330] continue=false
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Regex (PASS) [27726031330] destination_number(27726031330) =~ /27726031330/ break=on-false
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action log(WARNING Accountcode 172240. Dialed number (27726031330) termination rates not found!!)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(original_caller_id_name=172240)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(original_caller_id_number=172240)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(error_cdr=1)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(callstart=2024-01-05 15:23:45)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(account_id=1238)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(parent_id=80)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(call_direction=outbound)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(call_processed=internal)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(effective_destination_number=27726031330)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
Dialplan: sofia/default/172240@ASM980.yoursipcloud.com Action hangup(TERMINATION_RATE_NOT_FOUND)
2024-01-05 16:23:45.749534 [DEBUG] switch_core_state_machine.c:287 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE
2024-01-05 16:23:45.749534 [DEBUG] switch_core_state_machine.c:644 (sofia/default/172240@ASM980.yoursipcloud.com) State ROUTING going to sleep
2024-01-05 16:23:45.749534 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 17 Tot 790651)
2024-01-05 16:23:45.749534 [DEBUG] switch_core_state_machine.c:651 (sofia/default/172240@ASM980.yoursipcloud.com) State EXECUTE
2024-01-05 16:23:45.749534 [DEBUG] mod_sofia.c:209 sofia/default/172240@ASM980.yoursipcloud.com SOFIA EXECUTE
2024-01-05 16:23:45.749534 [DEBUG] switch_core_state_machine.c:329 sofia/default/172240@ASM980.yoursipcloud.com Standard EXECUTE
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com log(WARNING Accountcode 172240. Dialed number (27726031330) termination rates not found!!)
2024-01-05 16:23:45.749534 [WARNING] mod_dptools.c:1866 Accountcode 172240. Dialed number (27726031330) termination rates not found!!
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(original_caller_id_name=172240)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [original_caller_id_name]=[172240]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(original_caller_id_number=172240)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [original_caller_id_number]=[172240]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(error_cdr=1)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(callstart=2024-01-05 15:23:45)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [callstart]=[2024-01-05 15:23:45]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(account_id=1238)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [account_id]=[1238]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(parent_id=80)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [parent_id]=[80]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(call_direction=outbound)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(sip_ignore_remote_cause=true)
2024-01-05 16:23:45.749534 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(call_processed=internal)
2024-01-05 16:23:45.769531 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(effective_destination_number=27726031330)
2024-01-05 16:23:45.769531 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [effective_destination_number]=[27726031330]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com set(last_bridge_hangup_cause=TERMINATION_RATE_NOT_FOUND)
2024-01-05 16:23:45.769531 [DEBUG] mod_dptools.c:1672 SET sofia/default/172240@ASM980.yoursipcloud.com [last_bridge_hangup_cause]=[TERMINATION_RATE_NOT_FOUND]
EXECUTE [depth=0] sofia/default/172240@ASM980.yoursipcloud.com hangup(TERMINATION_RATE_NOT_FOUND)
2024-01-05 16:23:45.769531 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/172240@ASM980.yoursipcloud.com [CS_EXECUTE] [NORMAL_CLEARING]
2024-01-05 16:23:45.769531 [DEBUG] switch_core_session.c:2905 sofia/default/172240@ASM980.yoursipcloud.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:651 (sofia/default/172240@ASM980.yoursipcloud.com) State EXECUTE going to sleep
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_HANGUP (Cur 17 Tot 790651)
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:848 (sofia/default/172240@ASM980.yoursipcloud.com) Callstate Change RINGING -> HANGUP
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:850 (sofia/default/172240@ASM980.yoursipcloud.com) State HANGUP
2024-01-05 16:23:45.769531 [DEBUG] mod_sofia.c:453 Channel sofia/default/172240@ASM980.yoursipcloud.com hanging up, cause: NORMAL_CLEARING
2024-01-05 16:23:45.769531 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:60 sofia/default/172240@ASM980.yoursipcloud.com Standard HANGUP, cause: NORMAL_CLEARING
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:850 (sofia/default/172240@ASM980.yoursipcloud.com) State HANGUP going to sleep
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:620 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_HANGUP -> CS_REPORTING
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:585 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_REPORTING (Cur 17 Tot 790651)
2024-01-05 16:23:45.769531 [DEBUG] switch_core_state_machine.c:936 (sofia/default/172240@ASM980.yoursipcloud.com) State REPORTING
2024-01-05 16:23:45.769531 [INFO] mod_json_cdr.c:271 Process [5459d7d0-0f13-4001-98a9-d32ebba34abe.cdr.json]
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:174 sofia/default/172240@ASM980.yoursipcloud.com Standard REPORTING, cause: NORMAL_CLEARING
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:936 (sofia/default/172240@ASM980.yoursipcloud.com) State REPORTING going to sleep
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:611 (sofia/default/172240@ASM980.yoursipcloud.com) State Change CS_REPORTING -> CS_DESTROY
2024-01-05 16:23:45.789532 [DEBUG] switch_core_session.c:1726 Session 790651 (sofia/default/172240@ASM980.yoursipcloud.com) Locked, Waiting on external entities
2024-01-05 16:23:45.789532 [NOTICE] switch_core_session.c:1744 Session 790651 (sofia/default/172240@ASM980.yoursipcloud.com) Ended
2024-01-05 16:23:45.789532 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/172240@ASM980.yoursipcloud.com [CS_DESTROY]
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:739 (sofia/default/172240@ASM980.yoursipcloud.com) Running State Change CS_DESTROY (Cur 16 Tot 790651)
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:749 (sofia/default/172240@ASM980.yoursipcloud.com) State DESTROY
2024-01-05 16:23:45.789532 [DEBUG] mod_sofia.c:364 sofia/default/172240@ASM980.yoursipcloud.com SOFIA DESTROY
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:181 sofia/default/172240@ASM980.yoursipcloud.com Standard DESTROY
2024-01-05 16:23:45.789532 [DEBUG] switch_core_state_machine.c:749 (sofia/default/172240@ASM980.yoursipcloud.com) State DESTROY going to sleep
2024-01-05 16:23:45.929592 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [201@260715.yoursipcloud.com] from ip 185.249.42.137
2024-01-05 16:23:46.529550 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [100@00186307.yoursipcloud.com] from ip 45.129.146.46
2024-01-05 16:23:46.769570 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@00186307.yoursipcloud.com] from ip 45.129.146.46
2024-01-05 16:23:47.369641 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [13@00189001.yoursipcloud.com] from ip 45.129.144.100
2024-01-05 16:23:47.649538 [NOTICE] sofia.c:1089 Hangup sofia/default/31636182141@185.249.40.253 [CS_EXECUTE] [NORMAL_CLEARING]
2024-01-05 16:23:47.649538 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/Apelbynewvoice_.wav
2024-01-05 16:23:47.649538 [DEBUG] switch_ivr_menu.c:378 waiting for 20/20 digits t/o 2000
2024-01-05 16:23:47.649538 [DEBUG] switch_ivr_menu.c:425 digits ''
2024-01-05 16:23:47.649538 [DEBUG] switch_ivr_menu.c:664 IVR menu 'Apelby new voice12' no input detected
2024-01-05 16:23:47.649538 [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
2024-01-05 16:23:47.649538 [DEBUG] switch_core_session.c:2905 sofia/default/31636182141@185.249.40.253 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31636182141@185.249.40.253) State EXECUTE going to sleep
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31636182141@185.249.40.253) Running State Change CS_HANGUP (Cur 16 Tot 790651)
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31636182141@185.249.40.253) Callstate Change ACTIVE -> HANGUP
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31636182141@185.249.40.253) State HANGUP
2024-01-05 16:23:47.649538 [DEBUG] mod_sofia.c:453 Channel sofia/default/31636182141@185.249.40.253 hanging up, cause: NORMAL_CLEARING
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:60 sofia/default/31636182141@185.249.40.253 Standard HANGUP, cause: NORMAL_CLEARING
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31636182141@185.249.40.253) State HANGUP going to sleep
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31636182141@185.249.40.253) State Change CS_HANGUP -> CS_REPORTING
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31636182141@185.249.40.253) Running State Change CS_REPORTING (Cur 16 Tot 790651)
2024-01-05 16:23:47.649538 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31636182141@185.249.40.253) State REPORTING
2024-01-05 16:23:47.649538 [INFO] mod_json_cdr.c:271 Process [c4fae88a-0e08-4adc-aa29-ba8392658bd3.cdr.json]
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:174 sofia/default/31636182141@185.249.40.253 Standard REPORTING, cause: NORMAL_CLEARING
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31636182141@185.249.40.253) State REPORTING going to sleep
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31636182141@185.249.40.253) State Change CS_REPORTING -> CS_DESTROY
2024-01-05 16:23:47.689536 [DEBUG] switch_core_session.c:1726 Session 790649 (sofia/default/31636182141@185.249.40.253) Locked, Waiting on external entities
2024-01-05 16:23:47.689536 [NOTICE] switch_core_session.c:1744 Session 790649 (sofia/default/31636182141@185.249.40.253) Ended
2024-01-05 16:23:47.689536 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31636182141@185.249.40.253 [CS_DESTROY]
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31636182141@185.249.40.253) Running State Change CS_DESTROY (Cur 15 Tot 790651)
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31636182141@185.249.40.253) State DESTROY
2024-01-05 16:23:47.689536 [DEBUG] mod_sofia.c:364 sofia/default/31636182141@185.249.40.253 SOFIA DESTROY
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:181 sofia/default/31636182141@185.249.40.253 Standard DESTROY
2024-01-05 16:23:47.689536 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31636182141@185.249.40.253) State DESTROY going to sleep
2024-01-05 16:23:47.769556 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [12@00189001.yoursipcloud.com] from ip 45.129.144.100