2023-07-14 04:41:03.938875 97.27% [INFO] sofia.c:10462 sofia/default/2642208770@pbx1.lysu-ip.online receiving invite from 49.43.33.66:38871 version: 1.10.7 -release 64bit call-id: elifTdNdtpLMnHRL95Xk9w.. 2023-07-14 04:41:03.938875 97.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.43.33.66:0. 2023-07-14 04:41:03.938875 97.27% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [12109575747@pbx1.lysu-ip.online] from ip 49.43.33.66 2023-07-14 04:41:03.938875 97.27% [DEBUG] switch_core_state_machine.c:600 (sofia/default/2642208770@pbx1.lysu-ip.online) State NEW 2023-07-14 04:41:03.938875 97.27% [DEBUG] sofia.c:2419 detaching session 52564880-0ab3-4514-9f25-b4ceeb5a66f0 2023-07-14 04:41:04.258872 97.27% [DEBUG] sofia.c:2532 Re-attaching to session 52564880-0ab3-4514-9f25-b4ceeb5a66f0 2023-07-14 04:41:04.278878 97.27% [INFO] sofia.c:10462 sofia/default/2642208770@pbx1.lysu-ip.online receiving invite from 49.43.33.66:38871 version: 1.10.7 -release 64bit call-id: elifTdNdtpLMnHRL95Xk9w.. 2023-07-14 04:41:04.278878 97.27% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 49.43.33.66:0. 2023-07-14 04:41:04.298882 97.27% [DEBUG] sofia.c:7499 Channel sofia/default/2642208770@pbx1.lysu-ip.online entering state [received][100] 2023-07-14 04:41:04.298882 97.27% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 2534183 IN IP4 49.43.33.66 s=Z c=IN IP4 49.43.33.66 t=0 0 m=audio 35031 RTP/AVP 106 9 98 101 0 8 3 a=rtpmap:106 opus/48000/2 a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1 a=rtpmap:98 telephone-event/48000 a=fmtp:98 0-16 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[GSM:3:8000:20:13200:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@48000 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/2642208770@pbx1.lysu-ip.online PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_codec.c:111 sofia/default/2642208770@pbx1.lysu-ip.online Original read codec set to PCMU:0 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_media.c:5973 sofia/default/2642208770@pbx1.lysu-ip.online Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-14 04:41:04.298882 97.27% [DEBUG] sofia.c:7933 (sofia/default/2642208770@pbx1.lysu-ip.online) State Change CS_NEW -> CS_INIT 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2642208770@pbx1.lysu-ip.online) Running State Change CS_INIT (Cur 27 Tot 118047) 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2642208770@pbx1.lysu-ip.online) State INIT 2023-07-14 04:41:04.298882 97.27% [DEBUG] mod_sofia.c:97 sofia/default/2642208770@pbx1.lysu-ip.online SOFIA INIT 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:40 sofia/default/2642208770@pbx1.lysu-ip.online Standard INIT 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:48 (sofia/default/2642208770@pbx1.lysu-ip.online) State Change CS_INIT -> CS_ROUTING 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:624 (sofia/default/2642208770@pbx1.lysu-ip.online) State INIT going to sleep 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2642208770@pbx1.lysu-ip.online) Running State Change CS_ROUTING (Cur 27 Tot 118047) 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_channel.c:2380 (sofia/default/2642208770@pbx1.lysu-ip.online) Callstate Change DOWN -> RINGING 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2642208770@pbx1.lysu-ip.online) State ROUTING 2023-07-14 04:41:04.298882 97.27% [DEBUG] mod_sofia.c:158 sofia/default/2642208770@pbx1.lysu-ip.online SOFIA ROUTING 2023-07-14 04:41:04.298882 97.27% [DEBUG] switch_core_state_machine.c:230 sofia/default/2642208770@pbx1.lysu-ip.online Standard ROUTING 2023-07-14 04:41:04.298882 97.27% [INFO] mod_dialplan_xml.c:639 Processing 2642208770 <2642208770>->12109575747 in context default 2023-07-14 04:41:04.298882 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-14 04:41:04.318875 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 12109575747 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2023-07-14 04:41:04.318875 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER2642208770 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '12109575747' limit 1 2023-07-14 04:41:04.318875 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 2642208770 / 2642208770 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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="12109575747" limit 1 2023-07-14 04:41:04.318875 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2023-07-14 04:41:04.318875 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5562444] 2023-07-14 04:41:04.318875 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5562444" AND deleted = 0 limit 1 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^12109575747.*' OR blocked_patterns = '^1210957574.*' OR blocked_patterns = '^121095757.*' OR blocked_patterns = '^12109575.*' OR blocked_patterns = '^1210957.*' OR blocked_patterns = '^121095.*' OR blocked_patterns = '^12109.*' OR blocked_patterns = '^1210.*' OR blocked_patterns = '^121.*' OR blocked_patterns = '^12.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 4611 limit 1 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2023-07-14 04:41:04.358874 97.27% [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 = '^12109575747.*' OR patterns = '^1210957574.*' OR patterns = '^121095757.*' OR patterns = '^12109575.*' OR patterns = '^1210957.*' OR patterns = '^121095.*' OR patterns = '^12109.*' OR patterns = '^1210.*' OR patterns = '^121.*' OR patterns = '^12.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 4611 ORDER BY LENGTH(PKGPTR.patterns) DESC 2023-07-14 04:41:04.358874 97.27% [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 ="12109575747" AND A.accountid = '4611' limit 1 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 12109575747 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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="12109575747" limit 1 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2023-07-14 04:41:04.358874 97.27% [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 = '12109575747' OR number = '1210957574' OR number = '121095757' OR number = '12109575' OR number = '1210957' OR number = '121095' OR number = '12109' OR number = '1210' OR number = '121' OR number = '12' OR number = '1' OR number ='--') OR (number = '12109575747*' OR number = '1210957574*' OR number = '121095757*' OR number = '12109575*' OR number = '1210957*' OR number = '121095*' OR number = '12109*' OR number = '1210*' OR number = '121*' OR number = '12*' OR number = '1*' OR number ='--') OR (number = '2642208770' OR number = '264220877' OR number = '26422087' OR number = '2642208' OR number = '264220' OR number = '26422' OR number = '2642' OR number = '264' OR number = '26' OR number = '2' OR number ='--') OR (number = '2642208770*' OR number = '264220877*' OR number = '26422087*' OR number = '2642208*' OR number = '264220*' OR number = '26422*' OR number = '2642*' OR number = '264*' OR number = '26*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '12109575747' OR routing_prefix = '1210957574' OR routing_prefix = '121095757' OR routing_prefix = '12109575' OR routing_prefix = '1210957' OR routing_prefix = '121095' OR routing_prefix = '12109' OR routing_prefix = '1210' OR routing_prefix = '121' OR routing_prefix = '12' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 4611 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5562444 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 5 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^12109575747.*' OR pattern = '^1210957574.*' OR pattern = '^121095757.*' OR pattern = '^12109575.*' OR pattern = '^1210957.*' OR pattern = '^121095.*' OR pattern = '^12109.*' OR pattern = '^1210.*' OR pattern = '^121.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND (caller_id_pattern = '^2642208770.*' OR caller_id_pattern = '^264220877.*' OR caller_id_pattern = '^26422087.*' OR caller_id_pattern = '^2642208.*' OR caller_id_pattern = '^264220.*' OR caller_id_pattern = '^26422.*' OR caller_id_pattern = '^2642.*' OR caller_id_pattern = '^264.*' OR caller_id_pattern = '^26.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=4611) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 17 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.70000 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : usa 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 124 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 4611 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 6 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your5 balance Accountid 4611 !!! 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 4611 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.70000 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 60 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 60 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 7.1428571428571 minutes 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 17 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :6 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^12109575747.*' OR pattern = '^1210957574.*' OR pattern = '^121095757.*' OR pattern = '^12109575.*' OR pattern = '^1210957.*' OR pattern = '^121095.*' OR pattern = '^12109.*' OR pattern = '^1210.*' OR pattern = '^121.*' OR pattern = '^12.*' OR pattern = '^1.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (6) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,6),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 6 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^1.* 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : usa 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^1.* 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Mexico 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Mexico 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 14 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 100 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2023-07-14 04:41:04.358874 97.27% [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 = 4611 AND status=0 LIMIT 1 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 7.1428571428571 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-14 04:41:04.358874 97.27% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2023-07-14 04:41:04.358874 97.27% [DEBUG] switch_cpp.cpp:1465 [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 = 14) AND status=0 limit 1 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_cpp.cpp:1465 [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 = 6) AND status=0 limit 1 2023-07-14 04:41:04.378872 97.27% [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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="12109575747" LIMIT 1 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online parsing [default->12109575747] continue=false Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Regex (PASS) [12109575747] destination_number(12109575747) =~ /12109575747/ break=on-false Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(effective_destination_number=12109575747) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action sched_hangup(+450.57142857143 normal_clearing) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(notify_flag=0) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(notify_credit_limit=7.00000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(type=0) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(nibble_account=4611) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(nibble_rate=0.70000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(nibble_minimum=0.00000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(nibble_increment=5) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action nibblebill(heartbeat 5) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(callstart=2023-07-14 04:41:04) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(hangup_after_bridge=true) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(continue_on_fail=TRUE) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(account_id=4611) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(parent_id=0) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(entity_id=0) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(call_processed=internal) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(call_direction=outbound) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(accountname=default) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action sleep(1000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(ringback=%(2000,4000,440.0,480.0)) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action say(es name_spelled iterated 5.00) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action sleep(500) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action playback(/usr/local/freeswitch/sounds/es/us/callie/astpp-this-call-will-last.wav) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action say(es NUMBER PRONOUNCED 7) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action playback(/usr/local/freeswitch/sounds/es/us/callie/astpp-minute.wav) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(ringback=%(2000,4000,440.0,480.0)) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(origination_rates=ID:17|CODE:^1.*|DESTINATION:usa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.70000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:124|ACCID:4611) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(original_caller_id_name=2642208770) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(original_caller_id_number=2642208770) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(is_recording=1) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(media_bug_answer_req=true) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(record_sample_rate=8000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action log(INFO MY DATA - ${channel-state}- ${state} - ${bridge_uuid} - ${uuid}) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(my_wav=/usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(playback_terminators=#) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(execute_on_answer=playback /usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(call_state=${state}) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(nolocal:api_on_answer=lua bye_trigger.lua ${uuid}) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(continue_on_fail=NORMAL_CLEARING) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(effective_caller_id_name=2642208770) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(effective_caller_id_number=2642208770) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(calltype=STANDARD) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(termination_rates=ID:6|CODE:^1.*|DESTINATION:usa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.70000|INC:60|INITIALBLOCK:60|TRUNK:6|PROVIDER:14) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(trunk_id=6) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(provider_id=14) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(rate_flag=0) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(quality_trunk_seq=6) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(force_trunk_flag=17) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(presence_data=trunk_id=6) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action set(intcall=0) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(presence_id=12109575747) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action export(presence_data=x|||Test Inextrix(5562444)|||^1.* // usa // 0.70000 |||Mexico-trunk // ^1.* // usa // 0.70000 // trunk_id=6|||STD|||49.43.33.66) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action limit(hash CPS_6 CPS_trunk_6 200/1 ) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action limit(db Mexico gw_Mexico 100 ) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action record_session($${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action bridge({sip_cid_type=none}[leg_timeout=200,absolute_codec_string=^^:GSM:PCMA:PCMU: G729]sofia/gateway/Mexico/12109575747) Dialplan: sofia/default/2642208770@pbx1.lysu-ip.online Action hangup() 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_core_state_machine.c:281 (sofia/default/2642208770@pbx1.lysu-ip.online) State Change CS_ROUTING -> CS_EXECUTE 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_core_state_machine.c:640 (sofia/default/2642208770@pbx1.lysu-ip.online) State ROUTING going to sleep 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2642208770@pbx1.lysu-ip.online) Running State Change CS_EXECUTE (Cur 27 Tot 118047) 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_core_state_machine.c:647 (sofia/default/2642208770@pbx1.lysu-ip.online) State EXECUTE 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_sofia.c:213 sofia/default/2642208770@pbx1.lysu-ip.online SOFIA EXECUTE 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_core_state_machine.c:323 sofia/default/2642208770@pbx1.lysu-ip.online Standard EXECUTE EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(effective_destination_number=12109575747) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [effective_destination_number]=[12109575747] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online sched_hangup(+450.57142857143 normal_clearing) 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_scheduler.c:263 Added task 129774 switch_ivr_schedule_hangup (52564880-0ab3-4514-9f25-b4ceeb5a66f0) to run at 1689310114 EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(notify_flag=0) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [notify_flag]=[0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(notify_credit_limit=7.00000) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [notify_credit_limit]=[7.00000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(type=0) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [type]=[0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(nibble_account=4611) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [nibble_account]=[4611] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(nibble_rate=0.70000) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [nibble_rate]=[0.70000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(nibble_minimum=0.00000) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [nibble_minimum]=[0.00000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(nibble_increment=5) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [nibble_increment]=[5] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online nibblebill(heartbeat 5) 2023-07-14 04:41:04.378872 97.27% [WARNING] switch_core_session.c:1693 sofia/default/2642208770@pbx1.lysu-ip.online using scheduler due to bypass media or media is not established. 2023-07-14 04:41:04.378872 97.27% [DEBUG] switch_scheduler.c:263 Added task 129775 switch_core_session_sched_heartbeat (52564880-0ab3-4514-9f25-b4ceeb5a66f0) to run at 1689309669 EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(callstart=2023-07-14 04:41:04) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [callstart]=[2023-07-14 04:41:04] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(hangup_after_bridge=true) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(continue_on_fail=TRUE) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(account_id=4611) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [account_id]=[4611] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(parent_id=0) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [parent_id]=[0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(entity_id=0) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [entity_id]=[0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(call_processed=internal) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [call_processed]=[internal] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(call_direction=outbound) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(accountname=default) 2023-07-14 04:41:04.378872 97.27% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [accountname]=[default] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online sleep(1000) 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_core_session.c:2795 Application playback Requires media! pre_answering channel sofia/default/2642208770@pbx1.lysu-ip.online 2023-07-14 04:41:05.378898 97.20% [INFO] switch_core_session.c:2797 Sending early media 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/2642208770@pbx1.lysu-ip.online] 149.28.247.139 port 17582 -> 49.43.33.66 port 35031 codec: 0 ms: 20 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_rtp.c:4641 Not using a timer 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_core_media.c:9089 sofia/default/2642208770@pbx1.lysu-ip.online Set 2833 dtmf send payload to 101 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_core_media.c:9096 sofia/default/2642208770@pbx1.lysu-ip.online Set 2833 dtmf receive payload to 101 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_core_media.c:9119 sofia/default/2642208770@pbx1.lysu-ip.online Set rtp dtmf delay to 40 2023-07-14 04:41:05.378898 97.20% [DEBUG] mod_sofia.c:2610 Ring SDP: v=0 o=FreeSWITCH 1689292083 1689292084 IN IP4 149.28.247.139 s=FreeSWITCH c=IN IP4 149.28.247.139 t=0 0 m=audio 17582 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-07-14 04:41:05.378898 97.20% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/2642208770@pbx1.lysu-ip.online! 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_channel.c:3622 (sofia/default/2642208770@pbx1.lysu-ip.online) Callstate Change RINGING -> EARLY EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav) 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav sample rate 44100 doesn't match requested rate 8000 2023-07-14 04:41:05.378898 97.20% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur. 2023-07-14 04:41:05.378898 97.20% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-14 04:41:05.378898 97.20% [DEBUG] sofia.c:7499 Channel sofia/default/2642208770@pbx1.lysu-ip.online entering state [early][183] 2023-07-14 04:41:05.658875 97.17% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2023-07-14 04:41:08.298879 97.17% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1907@pbx1.lysu-ip.online] from ip 192.169.176.87 2023-07-14 04:41:08.338891 97.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-this-card-has-a-balance-of.wav EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(ringback=%(2000,4000,440.0,480.0)) 2023-07-14 04:41:08.338891 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [ringback]=[%(2000,4000,440.0,480.0)] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online say(es name_spelled iterated 5.00) 2023-07-14 04:41:08.358884 97.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-14 04:41:08.378889 97.17% [WARNING] sofia_reg.c:3223 Can't find user [1907@pbx1.lysu-ip.online] from 192.169.176.87 You must define a domain called 'pbx1.lysu-ip.online' in your directory and add a user with the id="1907" attribute and you must configure your device to use the proper domain in its authentication credentials. 2023-07-14 04:41:08.378889 97.17% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1907@pbx1.lysu-ip.online] from ip 192.169.176.87 2023-07-14 04:41:09.338879 97.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/es/ES/cristina/digits/5.wav 2023-07-14 04:41:09.338879 97.17% [WARNING] mod_sndfile.c:281 Error Opening File [/usr/local/freeswitch/sounds/es/ES/cristina/ascii/46.wav] [System error : No such file or directory.] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online sleep(500) 2023-07-14 04:41:09.378886 97.17% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2023-07-14 04:41:09.378886 97.17% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.70000 per minute to account 4611 2023-07-14 04:41:09.378886 97.17% [DEBUG] mod_nibblebill.c:518 Not billing 4611 - call is not in answered state 2023-07-14 04:41:09.378886 97.17% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='4611'] 2023-07-14 04:41:09.378886 97.17% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 4611 (balance = 5.000000) 2023-07-14 04:41:09.378886 97.17% [DEBUG] mod_nibblebill.c:523 Comparing 5.000000 to hangup balance of 2.000000, taking into account minimum charge of 0.000000 EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online playback(/usr/local/freeswitch/sounds/es/us/callie/astpp-this-call-will-last.wav) 2023-07-14 04:41:09.838880 97.17% [WARNING] mod_sndfile.c:281 Error Opening File [/usr/local/freeswitch/sounds/es/us/callie/astpp-this-call-will-last.wav] [System error : No such file or directory.] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online say(es NUMBER PRONOUNCED 7) 2023-07-14 04:41:09.838880 97.17% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2023-07-14 04:41:10.758888 97.17% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/es/ES/cristina/digits/7.wav EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online playback(/usr/local/freeswitch/sounds/es/us/callie/astpp-minute.wav) 2023-07-14 04:41:10.778888 97.17% [WARNING] mod_sndfile.c:281 Error Opening File [/usr/local/freeswitch/sounds/es/us/callie/astpp-minute.wav] [System error : No such file or directory.] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(ringback=%(2000,4000,440.0,480.0)) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [ringback]=[%(2000,4000,440.0,480.0)] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(origination_rates=ID:17|CODE:^1.*|DESTINATION:usa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.70000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:124|ACCID:4611) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [origination_rates]=[ID:17|CODE:^1.*|DESTINATION:usa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:1|COST:0.70000|INC:60|INITIALBLOCK:60|RATEGROUP:1|MARKUP:0|CI:124|ACCID:4611] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(original_caller_id_name=2642208770) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [original_caller_id_name]=[2642208770] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(original_caller_id_number=2642208770) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [original_caller_id_number]=[2642208770] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(is_recording=1) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(media_bug_answer_req=true) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(record_sample_rate=8000) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online log(INFO MY DATA - - - - 52564880-0ab3-4514-9f25-b4ceeb5a66f0) 2023-07-14 04:41:10.778888 97.17% [INFO] mod_dptools.c:1879 MY DATA - - - - 52564880-0ab3-4514-9f25-b4ceeb5a66f0 EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(my_wav=/usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [my_wav]=[/usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(playback_terminators=#) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [playback_terminators]=[#] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(execute_on_answer=playback /usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[playback /usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(call_state=) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_state]=[UNDEF] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(nolocal:api_on_answer=lua bye_trigger.lua 52564880-0ab3-4514-9f25-b4ceeb5a66f0) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) (REMOTE ONLY) [api_on_answer]=[lua bye_trigger.lua 52564880-0ab3-4514-9f25-b4ceeb5a66f0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(continue_on_fail=NORMAL_CLEARING) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [continue_on_fail]=[NORMAL_CLEARING] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(effective_caller_id_name=2642208770) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [effective_caller_id_name]=[2642208770] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(effective_caller_id_number=2642208770) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [effective_caller_id_number]=[2642208770] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(calltype=STANDARD) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(termination_rates=ID:6|CODE:^1.*|DESTINATION:usa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.70000|INC:60|INITIALBLOCK:60|TRUNK:6|PROVIDER:14) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [termination_rates]=[ID:6|CODE:^1.*|DESTINATION:usa|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.70000|INC:60|INITIALBLOCK:60|TRUNK:6|PROVIDER:14] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(trunk_id=6) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [trunk_id]=[6] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(provider_id=14) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [provider_id]=[14] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(rate_flag=0) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [rate_flag]=[0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(daily_call_credit_limit=0.00000) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(monthly_call_credit_limit=0.00000) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(daily_call_used_limit=0.00000) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(monthly_call_used_limit=0.00000) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(quality_trunk_seq=6) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [quality_trunk_seq]=[6] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(force_trunk_flag=17) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [force_trunk_flag]=[17] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(presence_data=trunk_id=6) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=6] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online set(intcall=0) 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_dptools.c:1685 SET sofia/default/2642208770@pbx1.lysu-ip.online [intcall]=[0] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(presence_id=12109575747) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[12109575747] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online export(presence_data=x|||Test Inextrix(5562444)|||^1.* // usa // 0.70000 |||Mexico-trunk // ^1.* // usa // 0.70000 // trunk_id=6|||STD|||49.43.33.66) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Test Inextrix(5562444)|||^1.* // usa // 0.70000 |||Mexico-trunk // ^1.* // usa // 0.70000 // trunk_id=6|||STD|||49.43.33.66] EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online limit(hash CPS_6 CPS_trunk_6 200/1 ) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_limit.c:124 incr called: CPS_6_CPS_trunk_6 max:200, interval:1 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_hash.c:195 Usage for CPS_6_CPS_trunk_6 is now 1/200 for the last 1 seconds EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online limit(db Mexico gw_Mexico 100 ) 2023-07-14 04:41:10.778888 97.17% [DEBUG] switch_limit.c:124 incr called: Mexico_gw_Mexico max:100, interval:0 2023-07-14 04:41:10.778888 97.17% [DEBUG] mod_db.c:194 Usage for Mexico_gw_Mexico is now 1/100 EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online record_session(/usr/local/freeswitch/recordings/52564880-0ab3-4514-9f25-b4ceeb5a66f0.wav) 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/2642208770@pbx1.lysu-ip.online EXECUTE [depth=0] sofia/default/2642208770@pbx1.lysu-ip.online bridge({sip_cid_type=none}[leg_timeout=200,absolute_codec_string=^^:GSM:PCMA:PCMU: G729]sofia/gateway/Mexico/12109575747) 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [is_recording]=[1] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [execute_on_answer]=[playback /usr/local/freeswitch/sounds/en/us/callie/Espanol_Ver.wav] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [api_on_answer]=[lua bye_trigger.lua 52564880-0ab3-4514-9f25-b4ceeb5a66f0] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [presence_data]=[x|||Test Inextrix(5562444)|||^1.* // usa // 0.70000 |||Mexico-trunk // ^1.* // usa // 0.70000 // trunk_id=6|||STD|||49.43.33.66] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [presence_id]=[12109575747] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_channel.c:1269 sofia/default/2642208770@pbx1.lysu-ip.online EXPORTING[export_vars] [presence_data]=[x|||Test Inextrix(5562444)|||^1.* // usa // 0.70000 |||Mexico-trunk // ^1.* // usa // 0.70000 // trunk_id=6|||STD|||49.43.33.66] to event 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2023-07-14 04:41:10.798876 97.17% [NOTICE] switch_channel.c:1123 New Channel sofia/default/12109575747 [dbd244f0-0db5-4b9a-a5af-5392baf72f00] 2023-07-14 04:41:10.798876 97.17% [DEBUG] mod_sofia.c:5121 (sofia/default/12109575747) State Change CS_NEW -> CS_INIT 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_ivr_originate.c:3151 sofia/default/12109575747 Setting leg timeout to 200 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12109575747) Running State Change CS_INIT (Cur 28 Tot 118048) 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/12109575747) State INIT 2023-07-14 04:41:10.798876 97.17% [DEBUG] mod_sofia.c:97 sofia/default/12109575747 SOFIA INIT 2023-07-14 04:41:10.798876 97.17% [DEBUG] sofia_glue.c:1620 sip:sw2.inbtel.com Setting proxy route to sofia/default/12109575747 2023-07-14 04:41:10.798876 97.17% [INFO] sofia_glue.c:1651 sofia/default/12109575747 sending invite call-id: (null) 2023-07-14 04:41:10.798876 97.17% [DEBUG] sofia_glue.c:1654 sofia/default/12109575747 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1689289490 1689289491 IN IP4 149.28.247.139 s=FreeSWITCH c=IN IP4 149.28.247.139 t=0 0 m=audio 20180 RTP/AVP 3 8 0 18 101 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:40 sofia/default/12109575747 Standard INIT 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:48 (sofia/default/12109575747) State Change CS_INIT -> CS_ROUTING 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:624 (sofia/default/12109575747) State INIT going to sleep 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12109575747) Running State Change CS_ROUTING (Cur 28 Tot 118048) 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/12109575747) State ROUTING 2023-07-14 04:41:10.798876 97.17% [DEBUG] mod_sofia.c:158 sofia/default/12109575747 SOFIA ROUTING 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_ivr_originate.c:67 (sofia/default/12109575747) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:640 (sofia/default/12109575747) State ROUTING going to sleep 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12109575747) Running State Change CS_CONSUME_MEDIA (Cur 28 Tot 118048) 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/12109575747) State CONSUME_MEDIA 2023-07-14 04:41:10.798876 97.17% [DEBUG] switch_core_state_machine.c:659 (sofia/default/12109575747) State CONSUME_MEDIA going to sleep 2023-07-14 04:41:10.798876 97.17% [DEBUG] sofia.c:7499 Channel sofia/default/12109575747 entering state [calling][0] 2023-07-14 04:41:10.818880 97.17% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0 2023-07-14 04:41:11.698884 97.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [5649@149.28.247.139] from ip 212.129.17.6 2023-07-14 04:41:11.818875 97.13% [WARNING] sofia_reg.c:3223 Can't find user [5649@149.28.247.139] from 212.129.17.6 You must define a domain called '149.28.247.139' in your directory and add a user with the id="5649" attribute and you must configure your device to use the proper domain in its authentication credentials. 2023-07-14 04:41:11.818875 97.13% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [5649@149.28.247.139] from ip 212.129.17.6 2023-07-14 04:41:14.378887 97.07% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2023-07-14 04:41:14.378887 97.07% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.70000 per minute to account 4611 2023-07-14 04:41:14.378887 97.07% [DEBUG] mod_nibblebill.c:518 Not billing 4611 - call is not in answered state 2023-07-14 04:41:14.378887 97.07% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='4611'] 2023-07-14 04:41:14.378887 97.07% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 4611 (balance = 5.000000) 2023-07-14 04:41:14.378887 97.07% [DEBUG] mod_nibblebill.c:523 Comparing 5.000000 to hangup balance of 2.000000, taking into account minimum charge of 0.000000 2023-07-14 04:41:15.678877 97.10% [DEBUG] sofia.c:7499 Channel sofia/default/12109575747 entering state [proceeding][183] 2023-07-14 04:41:15.678877 97.10% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=- 6686448 6686448 IN IP4 192.0.2.1 s=- i=SIP Call c=IN IP4 173.192.113.50 t=0 0 m=audio 62846 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=maxptime:20 2023-07-14 04:41:15.678877 97.10% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/12109575747! 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_channel.c:3622 (sofia/default/12109575747) Callstate Change DOWN -> EARLY 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/12109575747 G729/8000 20 ms 160 samples 8000 bits 1 channels 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_codec.c:111 sofia/default/12109575747 Original read codec set to G729:18 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:5973 sofia/default/12109575747 Set 2833 dtmf send payload to 101 recv payload to 101 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/12109575747] 149.28.247.139 port 20180 -> 173.192.113.50 port 62846 codec: 18 ms: 20 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_rtp.c:4641 Not using a timer 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:9089 sofia/default/12109575747 Set 2833 dtmf send payload to 101 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:9096 sofia/default/12109575747 Set 2833 dtmf receive payload to 101 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_core_media.c:9119 sofia/default/12109575747 Set rtp dtmf delay to 40 2023-07-14 04:41:15.698867 97.10% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/12109575747] Peer UUID: dbd244f0-0db5-4b9a-a5af-5392baf72f00 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/12109575747) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12109575747) Running State Change CS_EXCHANGE_MEDIA (Cur 28 Tot 118048) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:650 (sofia/default/12109575747) State EXCHANGE_MEDIA 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2023-07-14 04:41:15.718867 97.10% [ERR] mod_g729.c:102 This codec is only usable in passthrough mode! 2023-07-14 04:41:15.718867 97.10% [ERR] switch_core_io.c:859 Codec G.729 encoder error! 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_bridge.c:826 sofia/default/12109575747 ending bridge by request from read function 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/12109575747] 2023-07-14 04:41:15.718867 97.10% [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/12109575747 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL] 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:650 (sofia/default/12109575747) State EXCHANGE_MEDIA going to sleep 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12109575747) Running State Change CS_HANGUP (Cur 28 Tot 118048) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/12109575747) Callstate Change EARLY -> HANGUP 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/12109575747) State HANGUP 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/12109575747 hanging up, cause: ORIGINATOR_CANCEL 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/2642208770@pbx1.lysu-ip.online] 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/12109575747 skip receive message [UNBRIDGE] (channel is hungup already) 2023-07-14 04:41:15.718867 97.10% [NOTICE] switch_channel.c:5050 Hangup sofia/default/2642208770@pbx1.lysu-ip.online [CS_EXECUTE] [ORIGINATOR_CANCEL] 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_hash.c:293 Usage for CPS_6_CPS_trunk_6 is now 0 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/12109575747 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/12109575747 Standard HANGUP, cause: ORIGINATOR_CANCEL 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/12109575747) State HANGUP going to sleep 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/12109575747) State Change CS_HANGUP -> CS_REPORTING 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/12109575747) Running State Change CS_REPORTING (Cur 28 Tot 118048) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/12109575747) State REPORTING 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_session.c:2983 sofia/default/2642208770@pbx1.lysu-ip.online skip receive message [PHONE_EVENT] (channel is hungup already) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:647 (sofia/default/2642208770@pbx1.lysu-ip.online) State EXECUTE going to sleep 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2642208770@pbx1.lysu-ip.online) Running State Change CS_HANGUP (Cur 28 Tot 118048) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/52564880-0ab3-4514-9f25-b4ceeb5a66f0.wav 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_ivr_async.c:1664 Discarding empty file /usr/local/freeswitch/recordings/52564880-0ab3-4514-9f25-b4ceeb5a66f0.wav 2023-07-14 04:41:15.718867 97.10% [INFO] mod_json_cdr.c:271 Process [dbd244f0-0db5-4b9a-a5af-5392baf72f00.cdr.json] 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/2642208770@pbx1.lysu-ip.online 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:844 (sofia/default/2642208770@pbx1.lysu-ip.online) Callstate Change EARLY -> HANGUP 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2642208770@pbx1.lysu-ip.online) State HANGUP 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_sofia.c:468 Channel sofia/default/2642208770@pbx1.lysu-ip.online hanging up, cause: ORIGINATOR_CANCEL 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 487 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.70000 per minute to account 4611 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:518 Not billing 4611 - call is not in answered state 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='4611'] 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 4611 (balance = 5.000000) 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:523 Comparing 5.000000 to hangup balance of 2.000000, taking into account minimum charge of 0.000000 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='4611'] 2023-07-14 04:41:15.718867 97.10% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 4611 (balance = 5.000000) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:59 sofia/default/2642208770@pbx1.lysu-ip.online Standard HANGUP, cause: ORIGINATOR_CANCEL 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:846 (sofia/default/2642208770@pbx1.lysu-ip.online) State HANGUP going to sleep 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:616 (sofia/default/2642208770@pbx1.lysu-ip.online) State Change CS_HANGUP -> CS_REPORTING 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:581 (sofia/default/2642208770@pbx1.lysu-ip.online) Running State Change CS_REPORTING (Cur 28 Tot 118048) 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/2642208770@pbx1.lysu-ip.online) State REPORTING 2023-07-14 04:41:15.718867 97.10% [INFO] mod_json_cdr.c:271 Process [52564880-0ab3-4514-9f25-b4ceeb5a66f0.cdr.json] 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:168 sofia/default/12109575747 Standard REPORTING, cause: ORIGINATOR_CANCEL 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:932 (sofia/default/12109575747) State REPORTING going to sleep 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_state_machine.c:607 (sofia/default/12109575747) State Change CS_REPORTING -> CS_DESTROY 2023-07-14 04:41:15.718867 97.10% [DEBUG] switch_core_session.c:1753 Session 118048 (sofia/default/12109575747) Locked, Waiting on external entities 2023-07-14 04:41:15.718867 97.10% [NOTICE] switch_core_session.c:1771 Session 118048 (sofia/default/12109575747) Ended 2023-07-14 04:41:15.718867 97.10% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/12109575747 [CS_DESTROY]