2024-03-03 10:14:29.566526 97.37% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:42.706477 97.97% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:44.366473 98.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:44.366473 98.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:44.366473 98.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:59.166526 98.77% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:59.166526 98.77% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:14:59.166526 98.77% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:13.706546 93.00% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-03-03 10:15:13.706546 93.00% [NOTICE] switch_channel.c:1142 New Channel sofia/default/120400@172.31.42.21:5078 [d601b013-c59b-4d83-8ee6-8165c1e41c53] 2024-03-03 10:15:13.706546 93.00% [DEBUG] mod_sofia.c:5110 (sofia/default/120400@172.31.42.21:5078) State Change CS_NEW -> CS_INIT 2024-03-03 10:15:13.706546 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21:5078) Running State Change CS_INIT (Cur 1 Tot 12480) 2024-03-03 10:15:13.706546 93.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/120400@172.31.42.21:5078) State INIT 2024-03-03 10:15:13.706546 93.00% [DEBUG] mod_sofia.c:97 sofia/default/120400@172.31.42.21:5078 SOFIA INIT 2024-03-03 10:15:13.726515 93.00% [INFO] sofia_glue.c:1659 sofia/default/120400@172.31.42.21:5078 sending invite call-id: (null) 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia_glue.c:1662 sofia/default/120400@172.31.42.21:5078 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1709442529 1709442530 IN IP4 172.31.42.21 s=FreeSWITCH c=IN IP4 172.31.42.21 t=0 0 m=audio 18384 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/120400@172.31.42.21:5078 Standard INIT 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/120400@172.31.42.21:5078) State Change CS_INIT -> CS_ROUTING 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/120400@172.31.42.21:5078) State INIT going to sleep 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21:5078) Running State Change CS_ROUTING (Cur 1 Tot 12480) 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/120400@172.31.42.21:5078) State ROUTING 2024-03-03 10:15:13.726515 93.00% [DEBUG] mod_sofia.c:158 sofia/default/120400@172.31.42.21:5078 SOFIA ROUTING 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/120400@172.31.42.21:5078) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/120400@172.31.42.21:5078) State ROUTING going to sleep 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21:5078) Running State Change CS_CONSUME_MEDIA (Cur 1 Tot 12480) 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/120400@172.31.42.21:5078) State CONSUME_MEDIA 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/120400@172.31.42.21:5078) State CONSUME_MEDIA going to sleep 2024-03-03 10:15:13.726515 93.00% [NOTICE] switch_channel.c:1142 New Channel sofia/default/120400@172.31.42.21 [82b8633f-f1d6-4cb5-a76d-25038e89b062] 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21) Running State Change CS_NEW (Cur 2 Tot 12481) 2024-03-03 10:15:13.726515 93.00% [INFO] sofia.c:10459 sofia/default/120400@172.31.42.21 receiving invite from 172.31.42.21:5078 version: 1.10.10-release 64bit call-id: c4131f43-53e9-123d-c99e-022725540cf7 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 172.31.42.21:0. 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/120400@172.31.42.21:5078 entering state [calling][0] 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia.c:11674 Setting NAT mode based on via received 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/120400@172.31.42.21 entering state [received][100] 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1709442529 1709442530 IN IP4 172.31.42.21 s=FreeSWITCH c=IN IP4 172.31.42.21 t=0 0 m=audio 18384 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/120400@172.31.42.21 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_codec.c:111 sofia/default/120400@172.31.42.21 Original read codec set to PCMA:8 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_media.c:5856 sofia/default/120400@172.31.42.21 Set 2833 dtmf send payload to 101 recv payload to 101 2024-03-03 10:15:13.726515 93.00% [DEBUG] sofia.c:7927 (sofia/default/120400@172.31.42.21) State Change CS_NEW -> CS_INIT 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/120400@172.31.42.21) State NEW 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21) Running State Change CS_INIT (Cur 2 Tot 12481) 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/120400@172.31.42.21) State INIT 2024-03-03 10:15:13.726515 93.00% [DEBUG] mod_sofia.c:97 sofia/default/120400@172.31.42.21 SOFIA INIT 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/120400@172.31.42.21 Standard INIT 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/120400@172.31.42.21) State Change CS_INIT -> CS_ROUTING 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/120400@172.31.42.21) State INIT going to sleep 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21) Running State Change CS_ROUTING (Cur 2 Tot 12481) 2024-03-03 10:15:13.726515 93.00% [DEBUG] switch_channel.c:2399 (sofia/default/120400@172.31.42.21) Callstate Change DOWN -> RINGING 2024-03-03 10:15:13.746514 93.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/120400@172.31.42.21) State ROUTING 2024-03-03 10:15:13.746514 93.00% [DEBUG] mod_sofia.c:158 sofia/default/120400@172.31.42.21 SOFIA ROUTING 2024-03-03 10:15:13.746514 93.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/120400@172.31.42.21 Standard ROUTING 2024-03-03 10:15:13.746514 93.00% [INFO] mod_dialplan_xml.c:639 Processing 120400 <120400>->120400 in context default 2024-03-03 10:15:13.806514 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-03 10:15:13.826512 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-03-03 10:15:13.826512 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 120400 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2024-03-03 10:15:13.826512 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERmod_sofia 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '120400' limit 1 2024-03-03 10:15:13.826512 93.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2024-03-03 10:15:13.826512 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 9669963218 / 9669963218 2024-03-03 10:15:13.826512 93.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Call Type FAX 2024-03-03 10:15:13.826512 93.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Account Code :9669963218 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-03 10:15:13.826512 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-03-03 10:15:13.826512 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 9669963218] 2024-03-03 10:15:13.826512 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "9669963218" OR id = "9669963218") AND deleted = 0 limit 1 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 6 2024-03-03 10:15:13.846507 93.00% [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 = '^120400.*' OR patterns = '^12040.*' OR patterns = '^1204.*' OR patterns = '^120.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 6 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-03-03 10:15:13.846507 93.00% [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 ="120400" AND A.accountid = '6' limit 1 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 120400 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-03-03 10:15:13.846507 93.00% [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 = '120400' OR number = '12040' OR number = '1204' OR number = '120' OR number = '12' OR number = '1' OR number ='--') OR (number = '120400*' OR number = '12040*' OR number = '1204*' OR number = '120*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '9669963218' OR number = '966996321' OR number = '96699632' OR number = '9669963' OR number = '966996' OR number = '96699' OR number = '9669' OR number = '966' OR number = '96' OR number = '9' OR number ='--') OR (number = '9669963218*' OR number = '966996321*' OR number = '96699632*' OR number = '9669963*' OR number = '966996*' OR number = '96699*' OR number = '9669*' OR number = '966*' OR number = '96*' OR number = '9*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '120400' OR routing_prefix = '12040' OR routing_prefix = '1204' OR routing_prefix = '120' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 5 limit 1 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 6 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9669963218 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49969.11 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::3 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :0.....120400 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="120400" LIMIT 1 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 120400 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 129 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 6 2024-03-03 10:15:13.846507 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-03-03 10:15:13.846507 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49969.11 balance Accountid 6 !!! 2024-03-03 10:15:13.866503 93.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-03 10:15:13.866503 93.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 100 2024-03-03 10:15:13.866503 93.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 5 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "5" OR number = "5") AND deleted = 0 limit 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 5 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 9516041852 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 49969.11 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::2 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="120400" LIMIT 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.99000 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 120400 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 129 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 5 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your49969.11 balance Accountid 5 !!! 2024-03-03 10:15:13.866503 93.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-03 10:15:13.866503 93.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins! 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 100 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:FOIP|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:6||ID:1|CODE:^120400.*|DESTINATION:120400|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:FOIP|COST:0.99000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:129|ACCID:5 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 6 AND status=0 LIMIT 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "6" OR number = "6") AND deleted = 0 limit 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 6 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'mod_sofia' and status = 0 limit 1 2024-03-03 10:15:13.866503 93.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Outbound Dialplan 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-03-03 10:15:13.866503 93.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_FOIP 2024-03-03 10:15:13.866503 93.00% [ERR] mod_lua.cpp:202 /usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:585: attempt to call field '?' (a nil value) stack traceback: /usr/local/freeswitch/scripts/astpp/scripts/astpp.xml.lua:585: in function 'freeswitch_xml_inbound' ...ocal/freeswitch/scripts/astpp/scripts/astpp.dialplan.lua:916: in main chunk [C]: in function 'dofile' /usr/local/freeswitch/scripts/astpp/astpp.lua:149: in main chunk 2024-03-03 10:15:13.866503 93.00% [ERR] mod_lua.cpp:269 LUA script parse/execute error! 2024-03-03 10:15:13.866503 93.00% [WARNING] mod_dialplan_xml.c:669 Context default not found 2024-03-03 10:15:13.866503 93.00% [INFO] switch_core_state_machine.c:306 No Route, Aborting 2024-03-03 10:15:13.866503 93.00% [NOTICE] switch_core_state_machine.c:307 Hangup sofia/default/120400@172.31.42.21 [CS_ROUTING] [NO_ROUTE_DESTINATION] 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/120400@172.31.42.21) State ROUTING going to sleep 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21) Running State Change CS_HANGUP (Cur 2 Tot 12481) 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/120400@172.31.42.21) Callstate Change RINGING -> HANGUP 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/120400@172.31.42.21) State HANGUP 2024-03-03 10:15:13.866503 93.00% [DEBUG] mod_sofia.c:469 Channel sofia/default/120400@172.31.42.21 hanging up, cause: NO_ROUTE_DESTINATION 2024-03-03 10:15:13.866503 93.00% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 404 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/120400@172.31.42.21 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/120400@172.31.42.21) State HANGUP going to sleep 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/120400@172.31.42.21) State Change CS_HANGUP -> CS_REPORTING 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21) Running State Change CS_REPORTING (Cur 2 Tot 12481) 2024-03-03 10:15:13.866503 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/120400@172.31.42.21) State REPORTING 2024-03-03 10:15:13.886532 93.00% [INFO] mod_json_cdr.c:272 Process [82b8633f-f1d6-4cb5-a76d-25038e89b062.cdr.json] 2024-03-03 10:15:13.886532 93.00% [DEBUG] sofia.c:6672 Remote Reason: 3 2024-03-03 10:15:13.886532 93.00% [DEBUG] sofia.c:7493 Channel sofia/default/120400@172.31.42.21:5078 entering state [terminated][404] 2024-03-03 10:15:13.886532 93.00% [NOTICE] sofia.c:8735 Hangup sofia/default/120400@172.31.42.21:5078 [CS_CONSUME_MEDIA] [NO_ROUTE_DESTINATION] 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21:5078) Running State Change CS_HANGUP (Cur 2 Tot 12481) 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/120400@172.31.42.21:5078) Callstate Change DOWN -> HANGUP 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/120400@172.31.42.21:5078) State HANGUP 2024-03-03 10:15:13.886532 93.00% [DEBUG] mod_sofia.c:469 Channel sofia/default/120400@172.31.42.21:5078 hanging up, cause: NO_ROUTE_DESTINATION 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/120400@172.31.42.21:5078 Standard HANGUP, cause: NO_ROUTE_DESTINATION 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/120400@172.31.42.21:5078) State HANGUP going to sleep 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/120400@172.31.42.21:5078) State Change CS_HANGUP -> CS_REPORTING 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/120400@172.31.42.21:5078) Running State Change CS_REPORTING (Cur 2 Tot 12481) 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/120400@172.31.42.21:5078) State REPORTING 2024-03-03 10:15:13.886532 93.00% [INFO] mod_json_cdr.c:272 Process [d601b013-c59b-4d83-8ee6-8165c1e41c53.cdr.json] 2024-03-03 10:15:13.886532 93.00% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 3 [NO_ROUTE_DESTINATION] 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/120400@172.31.42.21:5078 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/120400@172.31.42.21:5078) State REPORTING going to sleep 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/120400@172.31.42.21:5078) State Change CS_REPORTING -> CS_DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_session.c:1744 Session 12480 (sofia/default/120400@172.31.42.21:5078) Locked, Waiting on external entities 2024-03-03 10:15:13.906511 93.00% [NOTICE] switch_core_session.c:1762 Session 12480 (sofia/default/120400@172.31.42.21:5078) Ended 2024-03-03 10:15:13.906511 93.00% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/120400@172.31.42.21:5078 [CS_DESTROY] 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/120400@172.31.42.21:5078) Running State Change CS_DESTROY (Cur 1 Tot 12481) 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/120400@172.31.42.21:5078) State DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] mod_sofia.c:380 sofia/default/120400@172.31.42.21:5078 SOFIA DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/120400@172.31.42.21:5078 Standard DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/120400@172.31.42.21:5078) State DESTROY going to sleep 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/120400@172.31.42.21 Standard REPORTING, cause: NO_ROUTE_DESTINATION 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/120400@172.31.42.21) State REPORTING going to sleep 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/120400@172.31.42.21) State Change CS_REPORTING -> CS_DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_session.c:1744 Session 12481 (sofia/default/120400@172.31.42.21) Locked, Waiting on external entities 2024-03-03 10:15:13.906511 93.00% [NOTICE] switch_core_session.c:1762 Session 12481 (sofia/default/120400@172.31.42.21) Ended 2024-03-03 10:15:13.906511 93.00% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/120400@172.31.42.21 [CS_DESTROY] 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/120400@172.31.42.21) Running State Change CS_DESTROY (Cur 0 Tot 12481) 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/120400@172.31.42.21) State DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] mod_sofia.c:380 sofia/default/120400@172.31.42.21 SOFIA DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/120400@172.31.42.21 Standard DESTROY 2024-03-03 10:15:13.906511 93.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/120400@172.31.42.21) State DESTROY going to sleep 2024-03-03 10:15:13.966509 93.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:13.966509 93.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:13.966509 93.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:19.246535 90.57% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:28.766518 89.47% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:28.766518 89.47% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:28.766518 89.47% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:34.046547 92.53% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:43.566531 94.83% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:43.566531 94.83% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2024-03-03 10:15:43.566531 94.83% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. freeswitch@ip-172-31-42-21> freeswitch@ip-172-31-42-21> freeswitch@ip-172-31-42-21>