Type /help to see a list of commands +OK log level [7] freeswitch@ip-172-31-40-49> freeswitch@ip-172-31-40-49> freeswitch@ip-172-31-40-49> 2022-09-26 06:59:01.980670 88.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/5113911718@13.127.15.161:5078 [5a4db0b2-079b-4659-87c1-65272ee60cfb] 2022-09-26 06:59:01.980670 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_NEW (Cur 1 Tot 3137) 2022-09-26 06:59:01.980670 88.90% [INFO] sofia.c:10462 sofia/default/5113911718@13.127.15.161:5078 receiving invite from 103.240.35.46:41948 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OTY5MThmYjBjMmEwMzJlYzNmMDUyY2JhMGQ1N2NjMGI. 2022-09-26 06:59:01.980670 88.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-09-26 06:59:02.000702 88.90% [DEBUG] sofia.c:2419 detaching session 5a4db0b2-079b-4659-87c1-65272ee60cfb 2022-09-26 06:59:02.000702 88.90% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [550999999@13.127.15.161] from ip 103.240.35.46 2022-09-26 06:59:02.000702 88.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/5113911718@13.127.15.161:5078) State NEW 2022-09-26 06:59:02.060643 88.90% [DEBUG] sofia.c:2532 Re-attaching to session 5a4db0b2-079b-4659-87c1-65272ee60cfb 2022-09-26 06:59:02.080649 88.90% [INFO] sofia.c:10462 sofia/default/5113911718@13.127.15.161:5078 receiving invite from 103.240.35.46:41948 version: 1.10.7 -release-19-883d2cb662 64bit call-id: OTY5MThmYjBjMmEwMzJlYzNmMDUyY2JhMGQ1N2NjMGI. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:7499 Channel sofia/default/5113911718@13.127.15.161:5078 entering state [received][100] 2022-09-26 06:59:02.080649 88.90% [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 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/5113911718@13.127.15.161:5078 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_codec.c:111 sofia/default/5113911718@13.127.15.161:5078 Original read codec set to PCMA:8 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_media.c:5973 sofia/default/5113911718@13.127.15.161:5078 Set 2833 dtmf send payload to 101 recv payload to 101 2022-09-26 06:59:02.080649 88.90% [DEBUG] sofia.c:7933 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_NEW -> CS_INIT 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_INIT (Cur 1 Tot 3137) 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@13.127.15.161:5078) State INIT 2022-09-26 06:59:02.080649 88.90% [DEBUG] mod_sofia.c:97 sofia/default/5113911718@13.127.15.161:5078 SOFIA INIT 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/5113911718@13.127.15.161:5078 Standard INIT 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_INIT -> CS_ROUTING 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/5113911718@13.127.15.161:5078) State INIT going to sleep 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_ROUTING (Cur 1 Tot 3137) 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_channel.c:2380 (sofia/default/5113911718@13.127.15.161:5078) Callstate Change DOWN -> RINGING 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@13.127.15.161:5078) State ROUTING 2022-09-26 06:59:02.080649 88.90% [DEBUG] mod_sofia.c:158 sofia/default/5113911718@13.127.15.161:5078 SOFIA ROUTING 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/5113911718@13.127.15.161:5078 Standard ROUTING 2022-09-26 06:59:02.080649 88.90% [INFO] mod_dialplan_xml.c:639 Processing 5113911718 <5113911718>->550999999 in context default 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2022-09-26 06:59:02.080649 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 550999999 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '550999999' AND status=0 limit 1 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 5113911718 / 5113911718 2022-09-26 06:59:02.100660 88.90% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="550999999" LIMIT 1 2022-09-26 06:59:02.100660 88.90% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="550999999" limit 1 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 240709] 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "240709" AND deleted = 0 limit 1 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^550999999.*' OR blocked_patterns = '^55099999.*' OR blocked_patterns = '^5509999.*' OR blocked_patterns = '^550999.*' OR blocked_patterns = '^55099.*' OR blocked_patterns = '^5509.*' OR blocked_patterns = '^550.*' OR blocked_patterns = '^55.*' OR blocked_patterns = '^5.*' OR blocked_patterns ='--') AND accountid = 95 limit 1 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.100660 88.90% [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 ="550999999" AND A.accountid = '95' limit 1 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 550999999 2022-09-26 06:59:02.100660 88.90% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="550999999" LIMIT 1 2022-09-26 06:59:02.100660 88.90% [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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="550999999" limit 1 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call direction : outbound 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="550999999" AND (accountid = 0 OR status = 1) LIMIT 1 2022-09-26 06:59:02.100660 88.90% [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 (patterns = '^550999999.*' OR patterns = '^55099999.*' OR patterns = '^5509999.*' OR patterns = '^550999.*' OR patterns = '^55099.*' OR patterns = '^5509.*' OR patterns = '^550.*' OR patterns = '^55.*' OR patterns = '^5.*' OR patterns ='--') AND accountid = 95 ORDER BY LENGTH(PKGPTR.patterns) DESC 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 95 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 240709 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 100 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 29 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 29 AND status = 0 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^550999999.*' OR pattern = '^55099999.*' OR pattern = '^5509999.*' OR pattern = '^550999.*' OR pattern = '^55099.*' OR pattern = '^5509.*' OR pattern = '^550.*' OR pattern = '^55.*' OR pattern = '^5.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 29 OR accountid=95) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 59 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.39000 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : GGGGGGG 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 103 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 95 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.100660 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 95 !!! 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 100 mins! 2022-09-26 06:59:02.100660 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 93 2022-09-26 06:59:02.100660 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "93" AND deleted = 0 limit 1 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^550999999.*' OR blocked_patterns = '^55099999.*' OR blocked_patterns = '^5509999.*' OR blocked_patterns = '^550999.*' OR blocked_patterns = '^55099.*' OR blocked_patterns = '^5509.*' OR blocked_patterns = '^550.*' OR blocked_patterns = '^55.*' OR blocked_patterns = '^5.*' OR blocked_patterns ='--') AND accountid = 93 limit 1 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 93 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 306532 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 0 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^550999999.*' OR pattern = '^55099999.*' OR pattern = '^5509999.*' OR pattern = '^550999.*' OR pattern = '^55099.*' OR pattern = '^5509.*' OR pattern = '^550.*' OR pattern = '^55.*' OR pattern = '^5.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 1 OR accountid=93) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] call_direction:::::: outbound 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 53 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.40000 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] comment : 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 26 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 93 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2022-09-26 06:59:02.120718 88.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [IS_CALL_INTERNATIONAL] Call (550999999) marked as international call!! 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your0 balance Accountid 93 !!! 2022-09-26 06:59:02.120718 88.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your balance is not sufficent to dial 550999999 !!! 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] post_cdrs:::0 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 95 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/5113911718@13.127.15.161:5078 parsing [default->550999999] continue=false Dialplan: sofia/default/5113911718@13.127.15.161:5078 Regex (PASS) [550999999] destination_number(550999999) =~ /550999999/ break=on-false Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action log(WARNING Accountcode 240709 doesn't have sufficiant fund!!) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(original_caller_id_name=5113911718) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(original_caller_id_number=5113911718) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(error_cdr=1) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(callstart=2022-09-26 06:59:02) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(account_id=95) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(parent_id=93) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(call_direction=outbound) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(call_processed=internal) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(effective_destination_number=550999999) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND) Dialplan: sofia/default/5113911718@13.127.15.161:5078 Action hangup(NO_SUFFICIENT_FUND) 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_ROUTING -> CS_EXECUTE 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/5113911718@13.127.15.161:5078) State ROUTING going to sleep 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_EXECUTE (Cur 1 Tot 3137) 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5113911718@13.127.15.161:5078) State EXECUTE 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_sofia.c:213 sofia/default/5113911718@13.127.15.161:5078 SOFIA EXECUTE 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/5113911718@13.127.15.161:5078 Standard EXECUTE EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 log(WARNING Accountcode 240709 doesn't have sufficiant fund!!) 2022-09-26 06:59:02.120718 88.90% [WARNING] mod_dptools.c:1879 Accountcode 240709 doesn't have sufficiant fund!! EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(original_caller_id_name=5113911718) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [original_caller_id_name]=[5113911718] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(original_caller_id_number=5113911718) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [original_caller_id_number]=[5113911718] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(error_cdr=1) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(callstart=2022-09-26 06:59:02) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [callstart]=[2022-09-26 06:59:02] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(account_id=95) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [account_id]=[95] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(parent_id=93) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [parent_id]=[93] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(call_direction=outbound) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(sip_ignore_remote_cause=true) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [sip_ignore_remote_cause]=[true] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(call_processed=internal) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(effective_destination_number=550999999) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [effective_destination_number]=[550999999] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND) 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/5113911718@13.127.15.161:5078 [last_bridge_hangup_cause]=[NO_SUFFICIENT_FUND] EXECUTE [depth=0] sofia/default/5113911718@13.127.15.161:5078 hangup(NO_SUFFICIENT_FUND) 2022-09-26 06:59:02.120718 88.90% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/5113911718@13.127.15.161:5078 [CS_EXECUTE] [NORMAL_CLEARING] 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_session.c:2983 sofia/default/5113911718@13.127.15.161:5078 skip receive message [PHONE_EVENT] (channel is hungup already) 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/5113911718@13.127.15.161:5078) State EXECUTE going to sleep 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_HANGUP (Cur 1 Tot 3137) 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:844 (sofia/default/5113911718@13.127.15.161:5078) Callstate Change RINGING -> HANGUP 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@13.127.15.161:5078) State HANGUP 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_sofia.c:468 Channel sofia/default/5113911718@13.127.15.161:5078 hanging up, cause: NORMAL_CLEARING 2022-09-26 06:59:02.120718 88.90% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:59 sofia/default/5113911718@13.127.15.161:5078 Standard HANGUP, cause: NORMAL_CLEARING 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:846 (sofia/default/5113911718@13.127.15.161:5078) State HANGUP going to sleep 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:616 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_HANGUP -> CS_REPORTING 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_REPORTING (Cur 1 Tot 3137) 2022-09-26 06:59:02.120718 88.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@13.127.15.161:5078) State REPORTING 2022-09-26 06:59:02.120718 88.90% [INFO] mod_json_cdr.c:271 Process [5a4db0b2-079b-4659-87c1-65272ee60cfb.cdr.json] 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:168 sofia/default/5113911718@13.127.15.161:5078 Standard REPORTING, cause: NORMAL_CLEARING 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:932 (sofia/default/5113911718@13.127.15.161:5078) State REPORTING going to sleep 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:607 (sofia/default/5113911718@13.127.15.161:5078) State Change CS_REPORTING -> CS_DESTROY 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_session.c:1753 Session 3137 (sofia/default/5113911718@13.127.15.161:5078) Locked, Waiting on external entities 2022-09-26 06:59:02.140650 89.90% [NOTICE] switch_core_session.c:1771 Session 3137 (sofia/default/5113911718@13.127.15.161:5078) Ended 2022-09-26 06:59:02.140650 89.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/5113911718@13.127.15.161:5078 [CS_DESTROY] 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:735 (sofia/default/5113911718@13.127.15.161:5078) Running State Change CS_DESTROY (Cur 0 Tot 3137) 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@13.127.15.161:5078) State DESTROY 2022-09-26 06:59:02.140650 89.90% [DEBUG] mod_sofia.c:379 sofia/default/5113911718@13.127.15.161:5078 SOFIA DESTROY 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:175 sofia/default/5113911718@13.127.15.161:5078 Standard DESTROY 2022-09-26 06:59:02.140650 89.90% [DEBUG] switch_core_state_machine.c:745 (sofia/default/5113911718@13.127.15.161:5078) State DESTROY going to sleep freeswitch@ip-172-31-40-49> /exit root@ip-172-31-40-49:/home/admin#