[This app Best viewed at 160x60 or more..] +OK log level [7] freeswitch@BetaQA> freeswitch@BetaQA> freeswitch@BetaQA> freeswitch@BetaQA> 2023-02-28 10:37:42.535961 94.23% [NOTICE] switch_channel.c:1123 New Channel sofia/default/990004@astppqa603.astppbilling.org:5076 [7d0afad2-9ecf-499a-9055-66e778edef79] 2023-02-28 10:37:42.535961 94.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990004@astppqa603.astppbilling.org:5076) Running State Change CS_NEW (Cur 1 Tot 13) 2023-02-28 10:37:42.535961 94.23% [INFO] sofia.c:10462 sofia/default/990004@astppqa603.astppbilling.org:5076 receiving invite from 103.240.35.46:33183 version: 1.10.7 -release 64bit call-id: OTZiMGMyNzEzZjM0OWJiNWRhOGFiYThmOGY1NzBmMmM. 2023-02-28 10:37:42.535961 94.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2023-02-28 10:37:42.535961 94.23% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [103030303@astppqa603.astppbilling.org] from ip 103.240.35.46 2023-02-28 10:37:42.535961 94.23% [DEBUG] switch_core_state_machine.c:600 (sofia/default/990004@astppqa603.astppbilling.org:5076) State NEW 2023-02-28 10:37:42.535961 94.23% [DEBUG] sofia.c:2419 detaching session 7d0afad2-9ecf-499a-9055-66e778edef79 2023-02-28 10:37:42.875960 94.23% [DEBUG] sofia.c:2532 Re-attaching to session 7d0afad2-9ecf-499a-9055-66e778edef79 2023-02-28 10:37:42.875960 94.23% [INFO] sofia.c:10462 sofia/default/990004@astppqa603.astppbilling.org:5076 receiving invite from 103.240.35.46:33183 version: 1.10.7 -release 64bit call-id: OTZiMGMyNzEzZjM0OWJiNWRhOGFiYThmOGY1NzBmMmM. 2023-02-28 10:37:42.875960 94.23% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2023-02-28 10:37:42.895946 94.23% [DEBUG] sofia.c:7499 Channel sofia/default/990004@astppqa603.astppbilling.org:5076 entering state [received][100] 2023-02-28 10:37:42.895946 94.23% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 0 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 98 101 a=rtpmap:110 speex/8000 a=rtpmap:98 iLBC/8000 a=fmtp:98 mode=20 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/990004@astppqa603.astppbilling.org:5076 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_codec.c:111 sofia/default/990004@astppqa603.astppbilling.org:5076 Original read codec set to PCMA:8 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_media.c:5973 sofia/default/990004@astppqa603.astppbilling.org:5076 Set 2833 dtmf send payload to 101 recv payload to 101 2023-02-28 10:37:42.895946 94.23% [DEBUG] sofia.c:7933 (sofia/default/990004@astppqa603.astppbilling.org:5076) State Change CS_NEW -> CS_INIT 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990004@astppqa603.astppbilling.org:5076) Running State Change CS_INIT (Cur 1 Tot 13) 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990004@astppqa603.astppbilling.org:5076) State INIT 2023-02-28 10:37:42.895946 94.23% [DEBUG] mod_sofia.c:97 sofia/default/990004@astppqa603.astppbilling.org:5076 SOFIA INIT 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:40 sofia/default/990004@astppqa603.astppbilling.org:5076 Standard INIT 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:48 (sofia/default/990004@astppqa603.astppbilling.org:5076) State Change CS_INIT -> CS_ROUTING 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:624 (sofia/default/990004@astppqa603.astppbilling.org:5076) State INIT going to sleep 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990004@astppqa603.astppbilling.org:5076) Running State Change CS_ROUTING (Cur 1 Tot 13) 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_channel.c:2380 (sofia/default/990004@astppqa603.astppbilling.org:5076) Callstate Change DOWN -> RINGING 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990004@astppqa603.astppbilling.org:5076) State ROUTING 2023-02-28 10:37:42.895946 94.23% [DEBUG] mod_sofia.c:158 sofia/default/990004@astppqa603.astppbilling.org:5076 SOFIA ROUTING 2023-02-28 10:37:42.895946 94.23% [DEBUG] switch_core_state_machine.c:230 sofia/default/990004@astppqa603.astppbilling.org:5076 Standard ROUTING 2023-02-28 10:37:42.895946 94.23% [INFO] mod_dialplan_xml.c:639 Processing 990004 <990004>->103030303 in context default 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 103030303 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '103030303' limit 1 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '103030303' and status=0 LIMIT 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER990004 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '103030303' limit 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 990004 / 990004 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Interconnect code destination number 303 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_interconnectcode_info] Query :SELECT * FROM interconnectcode WHERE interconnectcode = 103030 AND status=0 limit 1 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="103030303" AND domains.domain="astppqa603.astppbilling.org" limit 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 990004] 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "990004" AND deleted = 0 limit 1 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^103030303.*' OR blocked_patterns = '^10303030.*' OR blocked_patterns = '^1030303.*' OR blocked_patterns = '^103030.*' OR blocked_patterns = '^10303.*' OR blocked_patterns = '^1030.*' OR blocked_patterns = '^103.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 63 limit 1 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^103030303.*' OR patterns = '^10303030.*' OR patterns = '^1030303.*' OR patterns = '^103030.*' OR patterns = '^10303.*' OR patterns = '^1030.*' OR patterns = '^103.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 63 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="103030303" AND A.accountid = '63' limit 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 103030303 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="103030303" AND domains.domain="astppqa603.astppbilling.org" limit 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '103030303' OR number = '10303030' OR number = '1030303' OR number = '103030' OR number = '10303' OR number = '1030' OR number = '103' OR number = '10' OR number = '1' OR number ='--') OR (number = '103030303*' OR number = '10303030*' OR number = '1030303*' OR number = '103030*' OR number = '10303*' OR number = '1030*' OR number = '103*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '990004' OR number = '99000' OR number = '9900' OR number = '990' OR number = '99' OR number = '9' OR number ='--') OR (number = '990004*' OR number = '99000*' OR number = '9900*' OR number = '990*' OR number = '99*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number: 990004 : Type: 1 (0 for CLI, 1 for DST)) 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Number::::**** 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '103030303' OR routing_prefix = '10303030' OR routing_prefix = '1030303' OR routing_prefix = '103030' OR routing_prefix = '10303' OR routing_prefix = '1030' OR routing_prefix = '103' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 61 limit 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 63 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990004 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1029435.75 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 138 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::138 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::138 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^103030303.*' OR pattern = '^10303030.*' OR pattern = '^1030303.*' OR pattern = '^103030.*' OR pattern = '^10303.*' OR pattern = '^1030.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^990004.*' OR caller_id_pattern = '^99000.*' OR caller_id_pattern = '^9900.*' OR caller_id_pattern = '^990.*' OR caller_id_pattern = '^99.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 138 OR accountid=63) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Washington 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 201 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 63 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1029435.75 balance Accountid 63 !!! 2023-02-28 10:37:42.915948 94.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2023-02-28 10:37:42.915948 94.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 61 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "61" AND deleted = 0 limit 1 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^103030303.*' OR blocked_patterns = '^10303030.*' OR blocked_patterns = '^1030303.*' OR blocked_patterns = '^103030.*' OR blocked_patterns = '^10303.*' OR blocked_patterns = '^1030.*' OR blocked_patterns = '^103.*' OR blocked_patterns = '^10.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 61 limit 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 61 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 990003 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19417.95 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 137 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::137 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::137 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^103030303.*' OR pattern = '^10303030.*' OR pattern = '^1030303.*' OR pattern = '^103030.*' OR pattern = '^10303.*' OR pattern = '^1030.*' OR pattern = '^103.*' OR pattern = '^10.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^990004.*' OR caller_id_pattern = '^99000.*' OR caller_id_pattern = '^9900.*' OR caller_id_pattern = '^990.*' OR caller_id_pattern = '^99.*' OR caller_id_pattern = '^9.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 137 OR accountid=61) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 2 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.60000 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : QA-PKK 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 157 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 61 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19417.95 balance Accountid 61 !!! 2023-02-28 10:37:42.915948 94.23% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:3|CODE:^1.*|DESTINATION:Washington|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:138|MARKUP:0|CI:201|ACCID:63||ID:2|CODE:^1.*|DESTINATION:QA-PKK|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.60000|INC:60|INITIALBLOCK:60|RATEGROUP:137|MARKUP:0|CI:157|ACCID:61 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2023-02-28 10:37:42.915948 94.23% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id : 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=137 ORDER by id asc 2023-02-28 10:37:42.915948 94.23% [ERR] switch_core_sqldb.c:1310 ERR: [SELECT * from quality_based_routing where id =1] [STATE: 42S02 CODE 1146 ERROR: [MySQL][ODBC 8.0(a) Driver][mysqld-8.0.32]Table 'astpp.quality_based_routing' doesn't exist ] 2023-02-28 10:37:42.915948 94.23% [ERR] mod_lua.cpp:202 ./astpp/lib/astpp.functions.lua:1486: assertion failed! stack traceback: [C]: in function 'assert' ./astpp/lib/astpp.functions.lua:1486: in function 'get_quality_audio' ./astpp/lib/astpp.functions.lua:1446: in function 'get_carrier_rates' ./astpp/scripts/astpp.dialplan.lua:891: in main chunk [C]: in function 'dofile' ./astpp/astpp_deb9.lua:138: in main chunk 2023-02-28 10:37:42.915948 94.23% [ERR] mod_lua.cpp:270 LUA script parse/execute error! 2023-02-28 10:37:42.915948 94.23% [WARNING] mod_dialplan_xml.c:669 Context default not found 2023-02-28 10:37:42.915948 94.23% [INFO] switch_core_state_machine.c:306 No Route, Aborting 2023-02-28 10:37:42.915948 94.23% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/990004@astppqa603.astppbilling.org:5076 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:640 (sofia/default/990004@astppqa603.astppbilling.org:5076) State ROUTING going to sleep 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990004@astppqa603.astppbilling.org:5076) Running State Change CS_HANGUP (Cur 1 Tot 13) 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/990004@astppqa603.astppbilling.org:5076) Callstate Change RINGING -> HANGUP 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990004@astppqa603.astppbilling.org:5076) State HANGUP 2023-02-28 10:37:42.915948 94.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/990004@astppqa603.astppbilling.org:5076 hanging up, cause: NO_ROUTE_DESTINATION 2023-02-28 10:37:42.915948 94.23% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/990004@astppqa603.astppbilling.org:5076 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/990004@astppqa603.astppbilling.org:5076) State HANGUP going to sleep 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/990004@astppqa603.astppbilling.org:5076) State Change CS_HANGUP -> CS_REPORTING 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/990004@astppqa603.astppbilling.org:5076) Running State Change CS_REPORTING (Cur 1 Tot 13) 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990004@astppqa603.astppbilling.org:5076) State REPORTING 2023-02-28 10:37:42.915948 94.23% [INFO] mod_json_cdr.c:271 Process [7d0afad2-9ecf-499a-9055-66e778edef79.cdr.json] 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/990004@astppqa603.astppbilling.org:5076 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/990004@astppqa603.astppbilling.org:5076) State REPORTING going to sleep 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/990004@astppqa603.astppbilling.org:5076) State Change CS_REPORTING -> CS_DESTROY 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_session.c:1753 Session 13 (sofia/default/990004@astppqa603.astppbilling.org:5076) Locked, Waiting on external entities 2023-02-28 10:37:42.915948 94.23% [NOTICE] switch_core_session.c:1771 Session 13 (sofia/default/990004@astppqa603.astppbilling.org:5076) Ended 2023-02-28 10:37:42.915948 94.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/990004@astppqa603.astppbilling.org:5076 [CS_DESTROY] 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/990004@astppqa603.astppbilling.org:5076) Running State Change CS_DESTROY (Cur 0 Tot 13) 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990004@astppqa603.astppbilling.org:5076) State DESTROY 2023-02-28 10:37:42.915948 94.23% [DEBUG] mod_sofia.c:379 sofia/default/990004@astppqa603.astppbilling.org:5076 SOFIA DESTROY 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/990004@astppqa603.astppbilling.org:5076 Standard DESTROY 2023-02-28 10:37:42.915948 94.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/990004@astppqa603.astppbilling.org:5076) State DESTROY going to sleep 2023-02-28 10:38:11.535997 93.67% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [4097138735@astppqa601.astppbilling.org] from ip 103.240.35.46