24-01-03 10:02:46.454731 91.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/6081200124@95.217.215.250 [29ccd106-19f0-490d-98dc-2e5b92dc46c9] 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6081200124@95.217.215.250) Running State Change CS_NEW (Cur 1 Tot 15) 2024-01-03 10:02:46.454731 91.03% [INFO] sofia.c:10459 sofia/default/6081200124@95.217.215.250 receiving invite from 95.217.215.250:5060 version: 1.10.10-release 64bit call-id: 15d86f8f-24c2-123d-5c85-960001f420d9 2024-01-03 10:02:46.454731 91.03% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 95.217.215.250:0. 2024-01-03 10:02:46.454731 91.03% [DEBUG] sofia.c:10582 IP 95.217.215.250 Approved by acl "default[]". Access Granted. 2024-01-03 10:02:46.454731 91.03% [DEBUG] sofia.c:7493 Channel sofia/default/6081200124@95.217.215.250 entering state [received][100] 2024-01-03 10:02:46.454731 91.03% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1704244148 1704244149 IN IP4 95.217.215.250 s=FreeSWITCH c=IN IP4 95.217.215.250 t=0 0 m=audio 32018 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/6081200124@95.217.215.250 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_codec.c:111 sofia/default/6081200124@95.217.215.250 Original read codec set to PCMA:8 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_media.c:5856 sofia/default/6081200124@95.217.215.250 Set 2833 dtmf send payload to 101 recv payload to 101 2024-01-03 10:02:46.454731 91.03% [DEBUG] sofia.c:7927 (sofia/default/6081200124@95.217.215.250) State Change CS_NEW -> CS_INIT 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:600 (sofia/default/6081200124@95.217.215.250) State NEW 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6081200124@95.217.215.250) Running State Change CS_INIT (Cur 1 Tot 15) 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6081200124@95.217.215.250) State INIT 2024-01-03 10:02:46.454731 91.03% [DEBUG] mod_sofia.c:97 sofia/default/6081200124@95.217.215.250 SOFIA INIT 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/6081200124@95.217.215.250 Standard INIT 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/6081200124@95.217.215.250) State Change CS_INIT -> CS_ROUTING 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/6081200124@95.217.215.250) State INIT going to sleep 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6081200124@95.217.215.250) Running State Change CS_ROUTING (Cur 1 Tot 15) 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_channel.c:2399 (sofia/default/6081200124@95.217.215.250) Callstate Change DOWN -> RINGING 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6081200124@95.217.215.250) State ROUTING 2024-01-03 10:02:46.454731 91.03% [DEBUG] mod_sofia.c:158 sofia/default/6081200124@95.217.215.250 SOFIA ROUTING 2024-01-03 10:02:46.454731 91.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/6081200124@95.217.215.250 Standard ROUTING 2024-01-03 10:02:46.454731 91.03% [INFO] mod_dialplan_xml.c:639 Processing 6081200124 <6081200124>->43567890 in context default 2024-01-03 10:02:46.474845 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.474845 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 43567890 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2024-01-03 10:02:46.474845 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERFreeSWITCH 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '43567890' limit 1 2024-01-03 10:02:46.474845 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 6081200124 / 6081200124 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="43567890" LIMIT 1 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="4" and number ="6081200124" and status = '0' LIMIT 1 2024-01-03 10:02:46.474845 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-01-03 10:02:46.474845 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("95.217.215.250") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "43567890" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1 2024-01-03 10:02:46.496249 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3673942894] 2024-01-03 10:02:46.496249 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3673942894" OR id = "3673942894") AND deleted = 0 limit 1 2024-01-03 10:02:46.496249 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] provider call balance :SELECT * FROM accounts WHERE id =3 2024-01-03 10:02:46.496249 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]0 2024-01-03 10:02:46.496249 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DID]1 2024-01-03 10:02:46.496249 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-01-03 10:02:46.496249 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7 2024-01-03 10:02:46.496249 91.03% [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 = '^43567890.*' OR patterns = '^4356789.*' OR patterns = '^435678.*' OR patterns = '^43567.*' OR patterns = '^4356.*' OR patterns = '^435.*' OR patterns = '^43.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-01-03 10:02:46.496249 91.03% [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 ="43567890" AND A.accountid = '3' limit 1 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 43567890 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]0.0 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_DIRECTION]1.1 :: CALL IS DID 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="43567890" LIMIT 1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="4" and number ="6081200124" and status = '0' LIMIT 1 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-01-03 10:02:46.514728 91.03% [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 = '43567890' OR number = '4356789' OR number = '435678' OR number = '43567' OR number = '4356' OR number = '435' OR number = '43' OR number = '4' OR number ='--') OR (number = '43567890*' OR number = '4356789*' OR number = '435678*' OR number = '43567*' OR number = '4356*' OR number = '435*' OR number = '43*' OR number = '4*' OR number ='--') OR (number = '6081200124' OR number = '608120012' OR number = '60812001' OR number = '6081200' OR number = '608120' OR number = '60812' OR number = '6081' OR number = '608' OR number = '60' OR number = '6' OR number ='--') OR (number = '6081200124*' OR number = '608120012*' OR number = '60812001*' OR number = '6081200*' OR number = '608120*' OR number = '60812*' OR number = '6081*' OR number = '608*' OR number = '60*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '43567890' OR routing_prefix = '4356789' OR routing_prefix = '435678' OR routing_prefix = '43567' OR routing_prefix = '4356' OR routing_prefix = '435' OR routing_prefix = '43' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 3 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3673942894 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] provider call balance :SELECT * FROM accounts WHERE id =3 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 30.22 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid] 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 1 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="43567890" LIMIT 1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="4" and number ="6081200124" and status = '0' LIMIT 1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="43567890" LIMIT 1 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID12] Query :SELECT call_type,extensions from inbound_routes where accountid ="7" and did_id ="4" and number ="6081200124" and status = '0' LIMIT 1 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 5.00000 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 43567890 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 88 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3 2024-01-03 10:02:46.514728 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-01-03 10:02:46.514728 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] provider call balance :SELECT * FROM accounts WHERE id =3 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your30.22 balance Accountid 3 !!! 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 3 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 5.00000 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 6.044 minutes 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:0 2024-01-03 10:02:46.534736 91.03% [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 = 3 AND status=0 LIMIT 1 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "7" OR number = "7") AND deleted = 0 limit 1 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] provider call balance :SELECT * FROM accounts WHERE id =3 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.0 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_PRICELIST]1.1:CACHING ID:::1 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^43567890.*' OR pattern = '^4356789.*' OR pattern = '^435678.*' OR pattern = '^43567.*' OR pattern = '^4356.*' OR pattern = '^435.*' OR pattern = '^43.*' OR pattern = '^4.*' OR pattern ='--') AND (caller_id_pattern = '^6081200124.*' OR caller_id_pattern = '^608120012.*' OR caller_id_pattern = '^60812001.*' OR caller_id_pattern = '^6081200.*' OR caller_id_pattern = '^608120.*' OR caller_id_pattern = '^60812.*' OR caller_id_pattern = '^6081.*' OR caller_id_pattern = '^608.*' OR caller_id_pattern = '^60.*' OR caller_id_pattern = '^6.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=3) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 24 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 5.00000 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 5.00000 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 3 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-01-03 10:02:46.534736 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Shadow_billing_rates]SHADOWBILLING:0|ID:24|CODE:^4.*|DESTINATION:|CONNECTIONCOST:5.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3!!! 2024-01-03 10:02:46.534736 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] provider call balance :SELECT * FROM accounts WHERE id =3 2024-01-03 10:02:46.554732 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your30.22 balance Accountid 3 !!! 2024-01-03 10:02:46.554732 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:3 2024-01-03 10:02:46.554732 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:3 2024-01-03 10:02:46.554732 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 3 2024-01-03 10:02:46.554732 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 6.044 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'FreeSWITCH' and status = 0 limit 1 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-01-03 10:02:46.554732 91.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 7 or id = 7 ) and status = 0 limit 1 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START: 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT 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="9719620880" limit 1 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/6081200124@95.217.215.250 parsing [default->43567890] continue=false Dialplan: sofia/default/6081200124@95.217.215.250 Regex (PASS) [43567890] destination_number(43567890) =~ /43567890/ break=on-false Dialplan: sofia/default/6081200124@95.217.215.250 Action set(effective_destination_number=43567890) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(bridge_pre_execute_bleg_app=sched_hangup) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(bridge_pre_execute_bleg_data=+362.64 normal_clearing) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(notify_flag=0) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(notify_credit_limit=0.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(type=3) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(nibble_account=3) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(nibble_rate=5.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(nibble_minimum=0.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(nibble_increment=15) Dialplan: sofia/default/6081200124@95.217.215.250 Action nibblebill(heartbeat 15) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(callstart=2024-01-03 10:02:46) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(hangup_after_bridge=true) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(account_id=3) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(parent_id=0) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(entity_id=3) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(call_processed=internal) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(call_direction=inbound) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(accountname=Inextrix_test) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(origination_rates_did=ID:4|CODE:^43567890.*|DESTINATION:43567890|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:5.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(origination_rates=SHADOWBILLING:0|ID:24|CODE:^4.*|DESTINATION:|CONNECTIONCOST:5.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(original_caller_id_name=6081200124) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(original_caller_id_number=6081200124) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(is_recording=1) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(media_bug_answer_req=true) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(record_sample_rate=8000) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}DID-LOCAL_7.wav) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(effective_caller_id_name=6081200124) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(effective_caller_id_number=6081200124) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(receiver_accid=7) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(domain_name=) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(sip_to_host=) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(presence_data=x|||default(3673942894)|||^43567890.* // 43567890 // 5.00000|||||||||DID|||95.217.215.250) Dialplan: sofia/default/6081200124@95.217.215.250 Action export(call_type=0) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(calltype=DID-LOCAL) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(daily_call_credit_limit=0.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(monthly_call_credit_limit=0.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(daily_call_used_limit=0.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(monthly_call_used_limit=0.00000) Dialplan: sofia/default/6081200124@95.217.215.250 Action bridge([leg_timeout=0]user/9719620880@${domain_name}) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(did_id=4) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(destination_number=43567890) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(leg_timeout=0) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(call_type_vm_flag=1) Dialplan: sofia/default/6081200124@95.217.215.250 Action set(is_local_extension=1) Dialplan: sofia/default/6081200124@95.217.215.250 Action lua(did_call_forwarding.lua) |--- Dialplan: Processing recursive conditions level:1 [43567890_recur_1] require-nested=TRUE |--- Dialplan: sofia/default/6081200124@95.217.215.250 Regex (PASS) [43567890_recur_1] ${cond(${user_data 9719620880@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false |--- Dialplan: sofia/default/6081200124@95.217.215.250 Action answer() |--- Dialplan: sofia/default/6081200124@95.217.215.250 Action export(voicemail_alternate_greet_id=43567890) |--- Dialplan: sofia/default/6081200124@95.217.215.250 Action voicemail(default $${domain_name} 9719620880) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_core_state_machine.c:281 (sofia/default/6081200124@95.217.215.250) State Change CS_ROUTING -> CS_EXECUTE 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/6081200124@95.217.215.250) State ROUTING going to sleep 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6081200124@95.217.215.250) Running State Change CS_EXECUTE (Cur 1 Tot 15) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6081200124@95.217.215.250) State EXECUTE 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_sofia.c:213 sofia/default/6081200124@95.217.215.250 SOFIA EXECUTE 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_core_state_machine.c:323 sofia/default/6081200124@95.217.215.250 Standard EXECUTE EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(effective_destination_number=43567890) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [effective_destination_number]=[43567890] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(bridge_pre_execute_bleg_app=sched_hangup) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [bridge_pre_execute_bleg_app]=[sched_hangup] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(bridge_pre_execute_bleg_data=+362.64 normal_clearing) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [bridge_pre_execute_bleg_data]=[+362.64 normal_clearing] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(notify_flag=0) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(notify_credit_limit=0.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [notify_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(type=3) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [type]=[3] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(nibble_account=3) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [nibble_account]=[3] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(nibble_rate=5.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [nibble_rate]=[5.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(nibble_minimum=0.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [nibble_minimum]=[0.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(nibble_increment=15) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [nibble_increment]=[15] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 nibblebill(heartbeat 15) 2024-01-03 10:02:46.554732 91.03% [WARNING] switch_core_session.c:1684 sofia/default/6081200124@95.217.215.250 using scheduler due to bypass media or media is not established. 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_scheduler.c:263 Added task 9 switch_core_session_sched_heartbeat (29ccd106-19f0-490d-98dc-2e5b92dc46c9) to run at 1704276181 EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(callstart=2024-01-03 10:02:46) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [callstart]=[2024-01-03 10:02:46] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(hangup_after_bridge=true) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(continue_on_fail=TRUE) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(account_id=3) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [account_id]=[3] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(parent_id=0) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [parent_id]=[0] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(entity_id=3) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [entity_id]=[3] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(call_processed=internal) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(call_direction=inbound) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(accountname=Inextrix_test) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [accountname]=[Inextrix_test] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(origination_rates_did=ID:4|CODE:^43567890.*|DESTINATION:43567890|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:5.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [origination_rates_did]=[ID:4|CODE:^43567890.*|DESTINATION:43567890|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:5.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:88|ACCID:3] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(origination_rates=SHADOWBILLING:0|ID:24|CODE:^4.*|DESTINATION:|CONNECTIONCOST:5.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [origination_rates]=[SHADOWBILLING:0|ID:24|CODE:^4.*|DESTINATION:|CONNECTIONCOST:5.00000|INCLUDEDSECONDS:0|CT:|COST:5.00000|INC:60|INITIALBLOCK:1|RATEGROUP:1|MARKUP:0|CI:0|ACCID:3] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(original_caller_id_name=6081200124) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [original_caller_id_name]=[6081200124] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(original_caller_id_number=6081200124) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [original_caller_id_number]=[6081200124] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(is_recording=1) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(media_bug_answer_req=true) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(record_sample_rate=8000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(execute_on_answer=record_session /usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(effective_caller_id_name=6081200124) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [effective_caller_id_name]=[6081200124] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(effective_caller_id_number=6081200124) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [effective_caller_id_number]=[6081200124] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(receiver_accid=7) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [receiver_accid]=[7] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(domain_name=) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(sip_to_host=) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(presence_data=x|||default(3673942894)|||^43567890.* // 43567890 // 5.00000|||||||||DID|||95.217.215.250) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||default(3673942894)|||^43567890.* // 43567890 // 5.00000|||||||||DID|||95.217.215.250] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 export(call_type=0) 2024-01-03 10:02:46.554732 91.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [call_type]=[0] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(calltype=DID-LOCAL) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [calltype]=[DID-LOCAL] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(daily_call_credit_limit=0.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [daily_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(monthly_call_credit_limit=0.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [monthly_call_credit_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(daily_call_used_limit=0.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [daily_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 set(monthly_call_used_limit=0.00000) 2024-01-03 10:02:46.554732 91.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/6081200124@95.217.215.250 [monthly_call_used_limit]=[0.00000] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 bridge([leg_timeout=0]user/9719620880@172.31.46.104) 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [is_recording]=[1] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^43567890.* // 43567890 // 5.00000|||||||||DID|||95.217.215.250] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [call_type]=[0] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [is_recording]=[1] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [execute_on_answer]=[record_session /usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [presence_data]=[x|||default(3673942894)|||^43567890.* // 43567890 // 5.00000|||||||||DID|||95.217.215.250] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_channel.c:1288 sofia/default/6081200124@95.217.215.250 EXPORTING[export_vars] [call_type]=[0] to event 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-01-03 10:02:46.574726 91.03% [NOTICE] switch_channel.c:1142 New Channel sofia/default/9719620880@103.240.35.46:34589 [01e08fb2-d08b-43b6-91bd-ed3e74c128a9] 2024-01-03 10:02:46.574726 91.03% [DEBUG] mod_sofia.c:5110 (sofia/default/9719620880@103.240.35.46:34589) State Change CS_NEW -> CS_INIT 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_INIT (Cur 2 Tot 16) 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9719620880@103.240.35.46:34589) State INIT 2024-01-03 10:02:46.574726 91.03% [DEBUG] mod_sofia.c:97 sofia/default/9719620880@103.240.35.46:34589 SOFIA INIT 2024-01-03 10:02:46.574726 91.03% [DEBUG] sofia_glue.c:1628 sip:9719620880@103.240.35.46:35632;rinstance=816c1599c03d3d80;transport=TCP Setting proxy route to sofia/default/9719620880@103.240.35.46:34589 2024-01-03 10:02:46.574726 91.03% [INFO] sofia_glue.c:1659 sofia/default/9719620880@103.240.35.46:34589 sending invite call-id: (null) 2024-01-03 10:02:46.574726 91.03% [DEBUG] sofia_glue.c:1662 sofia/default/9719620880@103.240.35.46:34589 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1704254610 1704254611 IN IP4 52.66.125.141 s=FreeSWITCH c=IN IP4 52.66.125.141 t=0 0 m=audio 21556 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/9719620880@103.240.35.46:34589 Standard INIT 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/9719620880@103.240.35.46:34589) State Change CS_INIT -> CS_ROUTING 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/9719620880@103.240.35.46:34589) State INIT going to sleep 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_ROUTING (Cur 2 Tot 16) 2024-01-03 10:02:46.574726 91.03% [DEBUG] sofia.c:7493 Channel sofia/default/9719620880@103.240.35.46:34589 entering state [calling][0] 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9719620880@103.240.35.46:34589) State ROUTING 2024-01-03 10:02:46.574726 91.03% [DEBUG] mod_sofia.c:158 sofia/default/9719620880@103.240.35.46:34589 SOFIA ROUTING 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_ivr_originate.c:67 (sofia/default/9719620880@103.240.35.46:34589) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/9719620880@103.240.35.46:34589) State ROUTING going to sleep 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 16) 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9719620880@103.240.35.46:34589) State CONSUME_MEDIA 2024-01-03 10:02:46.574726 91.03% [DEBUG] switch_core_state_machine.c:659 (sofia/default/9719620880@103.240.35.46:34589) State CONSUME_MEDIA going to sleep 2024-01-03 10:02:47.375730 90.70% [DEBUG] sofia.c:7493 Channel sofia/default/9719620880@103.240.35.46:34589 entering state [proceeding][180] 2024-01-03 10:02:47.375730 90.70% [NOTICE] sofia.c:7604 Ring-Ready sofia/default/9719620880@103.240.35.46:34589! 2024-01-03 10:02:47.375730 90.70% [DEBUG] switch_channel.c:3513 (sofia/default/9719620880@103.240.35.46:34589) Callstate Change DOWN -> RINGING 2024-01-03 10:02:47.375730 90.70% [NOTICE] mod_sofia.c:2514 Ring-Ready sofia/default/6081200124@95.217.215.250! 2024-01-03 10:02:47.375730 90.70% [DEBUG] sofia.c:7493 Channel sofia/default/6081200124@95.217.215.250 entering state [early][180] 2024-01-03 10:02:47.375730 90.70% [NOTICE] switch_ivr_originate.c:568 Ring Ready sofia/default/6081200124@95.217.215.250! 2024-01-03 10:02:55.677248 90.80% [DEBUG] sofia.c:7493 Channel sofia/default/9719620880@103.240.35.46:34589 entering state [completing][200] 2024-01-03 10:02:55.677248 90.80% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=Z 0 3 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 29823 RTP/AVP 8 3 110 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 2024-01-03 10:02:55.677248 90.80% [DEBUG] sofia.c:7493 Channel sofia/default/9719620880@103.240.35.46:34589 entering state [ready][200] 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/9719620880@103.240.35.46:34589 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_codec.c:111 sofia/default/9719620880@103.240.35.46:34589 Original read codec set to PCMA:8 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:5856 sofia/default/9719620880@103.240.35.46:34589 Set 2833 dtmf send payload to 101 recv payload to 101 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/9719620880@103.240.35.46:34589] 172.31.46.104 port 21556 -> 103.240.35.46 port 29823 codec: 8 ms: 20 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:8972 sofia/default/9719620880@103.240.35.46:34589 Set 2833 dtmf send payload to 101 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:8979 sofia/default/9719620880@103.240.35.46:34589 Set 2833 dtmf receive payload to 101 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:9002 sofia/default/9719620880@103.240.35.46:34589 Set rtp dtmf delay to 40 2024-01-03 10:02:55.677248 90.80% [NOTICE] sofia.c:8680 Channel [sofia/default/9719620880@103.240.35.46:34589] has been answered EXECUTE [depth=1] sofia/default/9719620880@103.240.35.46:34589 record_session(/usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav) 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/6081200124@95.217.215.250] 172.31.46.104 port 26622 -> 95.217.215.250 port 32018 codec: 8 ms: 20 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:8972 sofia/default/6081200124@95.217.215.250 Set 2833 dtmf send payload to 101 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:8979 sofia/default/6081200124@95.217.215.250 Set 2833 dtmf receive payload to 101 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media.c:9002 sofia/default/6081200124@95.217.215.250 Set rtp dtmf delay to 40 2024-01-03 10:02:55.677248 90.80% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/6081200124@95.217.215.250: v=0 o=FreeSWITCH 1704249553 1704249554 IN IP4 52.66.125.141 s=FreeSWITCH c=IN IP4 52.66.125.141 t=0 0 m=audio 26622 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-01-03 10:02:55.677248 90.80% [NOTICE] switch_ivr_originate.c:3851 Channel [sofia/default/6081200124@95.217.215.250] has been answered 2024-01-03 10:02:55.677248 90.80% [DEBUG] sofia.c:7493 Channel sofia/default/6081200124@95.217.215.250 entering state [completed][200] EXECUTE [depth=0] sofia/default/6081200124@95.217.215.250 record_session(/usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav) 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/9719620880@103.240.35.46:34589 2024-01-03 10:02:55.677248 90.80% [DEBUG] switch_channel.c:3912 (sofia/default/9719620880@103.240.35.46:34589) Callstate Change RINGING -> ACTIVE 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_ivr_async.c:1504 Record session sample rate: 8000 -> 8000 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_core_media_bug.c:976 Attaching BUG to sofia/default/6081200124@95.217.215.250 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_channel.c:3912 (sofia/default/6081200124@95.217.215.250) Callstate Change RINGING -> ACTIVE 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/9719620880@103.240.35.46:34589] Peer UUID: 01e08fb2-d08b-43b6-91bd-ed3e74c128a9 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_ivr_originate.c:3909 Originate Resulted in Success: [sofia/default/9719620880@103.240.35.46:34589] Peer UUID: 01e08fb2-d08b-43b6-91bd-ed3e74c128a9 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_ivr_bridge.c:1791 (sofia/default/9719620880@103.240.35.46:34589) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 16) 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9719620880@103.240.35.46:34589) State EXCHANGE_MEDIA 2024-01-03 10:02:55.694741 90.80% [DEBUG] mod_sofia.c:672 SOFIA EXCHANGE_MEDIA 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech 2024-01-03 10:02:55.694741 90.80% [DEBUG] switch_ivr_async.c:1778 No silence detection configured; assuming start of speech 2024-01-03 10:02:55.734732 90.80% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed. 2024-01-03 10:02:55.734732 90.80% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-01-03 10:02:55.874741 90.80% [DEBUG] switch_ivr_bridge.c:654 sofia/default/9719620880@103.240.35.46:34589 Bridge execute app sched_hangup(+362.64 normal_clearing) 2024-01-03 10:02:55.874741 90.80% [DEBUG] sofia.c:7493 Channel sofia/default/6081200124@95.217.215.250 entering state [ready][200] 2024-01-03 10:02:55.894731 90.80% [DEBUG] switch_ivr.c:632 sofia/default/9719620880@103.240.35.46:34589 Command Execute [depth=0] sched_hangup(+362.64 normal_clearing) EXECUTE [depth=0] sofia/default/9719620880@103.240.35.46:34589 sched_hangup(+362.64 normal_clearing) 2024-01-03 10:02:55.894731 90.80% [DEBUG] switch_scheduler.c:263 Added task 10 switch_ivr_schedule_hangup (01e08fb2-d08b-43b6-91bd-ed3e74c128a9) to run at 1704276537 2024-01-03 10:02:56.254730 90.70% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed. 2024-01-03 10:02:56.254730 90.70% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:03:01.394732 90.90% [INFO] mod_nibblebill.c:565 Beginning new billing on 29ccd106-19f0-490d-98dc-2e5b92dc46c9 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:02:55 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 0.000000 so far) 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:03:01.394732 90.90% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 28.970000) 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:03:10 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 1.250000 so far) 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:03:16.394742 91.00% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 27.720000) 2024-01-03 10:03:31.394729 90.37% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:03:31.394729 90.37% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:03:31.394729 90.37% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:03:25 2024-01-03 10:03:31.394729 90.37% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 2.500000 so far) 2024-01-03 10:03:31.394729 90.37% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:03:31.414730 90.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:03:31.414730 90.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 26.470000) 2024-01-03 10:03:46.395377 92.43% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:03:46.395377 92.43% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:03:46.395377 92.43% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:03:40 2024-01-03 10:03:46.395377 92.43% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 3.750000 so far) 2024-01-03 10:03:46.395377 92.43% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:03:46.414725 92.43% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:03:46.414725 92.43% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 25.220000) 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:03:55 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 5.000000 so far) 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:04:01.414732 92.53% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 23.970000) 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:04:10 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 6.250000 so far) 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:04:16.414727 90.40% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 22.720000) 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT! 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:573 5 seconds passed since last bill time of 2024-01-03 10:04:25 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:590 Billing $1.250000 to 3 (Call: 29ccd106-19f0-490d-98dc-2e5b92dc46c9 / 7.500000 so far) 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:395 Doing update query [Update accounts SET balance=IF(posttoexternal=1,balance+1.250000,balance-1.250000) WHERE id='3'] 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:04:31.414726 90.60% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 21.470000) 2024-01-03 10:04:33.434728 92.63% [NOTICE] sofia.c:1065 Hangup sofia/default/6081200124@95.217.215.250 [CS_EXECUTE] [NORMAL_CLEARING] 2024-01-03 10:04:33.434728 92.63% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/6081200124@95.217.215.250] 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_bridge.c:819 sofia/default/6081200124@95.217.215.250 ending bridge by request from write function 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_bridge.c:911 BRIDGE THREAD DONE [sofia/default/9719620880@103.240.35.46:34589] 2024-01-03 10:04:33.456896 92.63% [NOTICE] switch_ivr_bridge.c:1027 Hangup sofia/default/9719620880@103.240.35.46:34589 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:650 (sofia/default/9719620880@103.240.35.46:34589) State EXCHANGE_MEDIA going to sleep 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_HANGUP (Cur 2 Tot 16) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_bridge.c:1890 sofia/default/9719620880@103.240.35.46:34589 skip receive message [UNBRIDGE] (channel is hungup already) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_bridge.c:1893 sofia/default/6081200124@95.217.215.250 skip receive message [UNBRIDGE] (channel is hungup already) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_async.c:1678 Channel is hung up 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_session.c:2979 sofia/default/6081200124@95.217.215.250 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/6081200124@95.217.215.250) State EXECUTE going to sleep 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6081200124@95.217.215.250) Running State Change CS_HANGUP (Cur 2 Tot 16) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_async.c:1597 Stop recording file /usr/local/freeswitch/recordings/29ccd106-19f0-490d-98dc-2e5b92dc46c9DID-LOCAL_7.wav 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_ivr_async.c:1678 Channel is hung up 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/9719620880@103.240.35.46:34589 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/9719620880@103.240.35.46:34589) Callstate Change ACTIVE -> HANGUP 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9719620880@103.240.35.46:34589) State HANGUP 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_sofia.c:463 sofia/default/9719620880@103.240.35.46:34589 Overriding SIP cause 480 with 200 from the other leg 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_sofia.c:469 Channel sofia/default/9719620880@103.240.35.46:34589 hanging up, cause: NORMAL_CLEARING 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_media_bug.c:1326 Removing BUG from sofia/default/6081200124@95.217.215.250 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_sofia.c:523 Sending BYE to sofia/default/9719620880@103.240.35.46:34589 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:844 (sofia/default/6081200124@95.217.215.250) Callstate Change ACTIVE -> HANGUP 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/9719620880@103.240.35.46:34589 Standard HANGUP, cause: NORMAL_CLEARING 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/9719620880@103.240.35.46:34589) State HANGUP going to sleep 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6081200124@95.217.215.250) State HANGUP 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_sofia.c:469 Channel sofia/default/6081200124@95.217.215.250 hanging up, cause: NORMAL_CLEARING 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/9719620880@103.240.35.46:34589) State Change CS_HANGUP -> CS_REPORTING 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_REPORTING (Cur 2 Tot 16) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9719620880@103.240.35.46:34589) State REPORTING 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $5.00000 per minute to account 3 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_nibblebill.c:573 -7 seconds passed since last bill time of 2024-01-03 10:04:40 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_nibblebill.c:422 Doing lookup query [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='3'] 2024-01-03 10:04:33.456896 92.63% [INFO] mod_json_cdr.c:272 Process [01e08fb2-d08b-43b6-91bd-ed3e74c128a9.cdr.json] 2024-01-03 10:04:33.456896 92.63% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3 (balance = 21.470000) 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:59 sofia/default/6081200124@95.217.215.250 Standard HANGUP, cause: NORMAL_CLEARING 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:846 (sofia/default/6081200124@95.217.215.250) State HANGUP going to sleep 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/6081200124@95.217.215.250) State Change CS_HANGUP -> CS_REPORTING 2024-01-03 10:04:33.456896 92.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/6081200124@95.217.215.250) Running State Change CS_REPORTING (Cur 2 Tot 16) 2024-01-03 10:04:33.475279 92.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6081200124@95.217.215.250) State REPORTING 2024-01-03 10:04:33.475279 92.63% [INFO] mod_json_cdr.c:272 Process [29ccd106-19f0-490d-98dc-2e5b92dc46c9.cdr.json] 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/9719620880@103.240.35.46:34589 Standard REPORTING, cause: NORMAL_CLEARING 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/9719620880@103.240.35.46:34589) State REPORTING going to sleep 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/9719620880@103.240.35.46:34589) State Change CS_REPORTING -> CS_DESTROY 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_session.c:1744 Session 16 (sofia/default/9719620880@103.240.35.46:34589) Locked, Waiting on external entities 2024-01-03 10:04:33.495290 92.63% [NOTICE] switch_core_session.c:1762 Session 16 (sofia/default/9719620880@103.240.35.46:34589) Ended 2024-01-03 10:04:33.495290 92.63% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/9719620880@103.240.35.46:34589 [CS_DESTROY] 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/9719620880@103.240.35.46:34589) Running State Change CS_DESTROY (Cur 1 Tot 16) 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9719620880@103.240.35.46:34589) State DESTROY 2024-01-03 10:04:33.495290 92.63% [DEBUG] mod_sofia.c:380 sofia/default/9719620880@103.240.35.46:34589 SOFIA DESTROY 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/9719620880@103.240.35.46:34589 Standard DESTROY 2024-01-03 10:04:33.495290 92.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/9719620880@103.240.35.46:34589) State DESTROY going to sleep 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/6081200124@95.217.215.250 Standard REPORTING, cause: NORMAL_CLEARING 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/6081200124@95.217.215.250) State REPORTING going to sleep 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/6081200124@95.217.215.250) State Change CS_REPORTING -> CS_DESTROY 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_session.c:1744 Session 15 (sofia/default/6081200124@95.217.215.250) Locked, Waiting on external entities 2024-01-03 10:04:33.574736 92.63% [NOTICE] switch_core_session.c:1762 Session 15 (sofia/default/6081200124@95.217.215.250) Ended 2024-01-03 10:04:33.574736 92.63% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/6081200124@95.217.215.250 [CS_DESTROY] 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/6081200124@95.217.215.250) Running State Change CS_DESTROY (Cur 0 Tot 16) 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6081200124@95.217.215.250) State DESTROY 2024-01-03 10:04:33.574736 92.63% [DEBUG] mod_sofia.c:380 sofia/default/6081200124@95.217.215.250 SOFIA DESTROY 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/6081200124@95.217.215.250 Standard DESTROY 2024-01-03 10:04:33.574736 92.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/6081200124@95.217.215.250) State DESTROY going to sleep 2024-01-03 10:04:33.914738 92.83% [DEBUG] switch_scheduler.c:147 Deleting task 9 switch_core_session_sched_heartbeat (29ccd106-19f0-490d-98dc-2e5b92dc46c9) 2024-01-03 10:04:33.914738 92.83% [DEBUG] switch_scheduler.c:147 Deleting task 10 switch_ivr_schedule_hangup (01e08fb2-d08b-43b6-91bd-ed3e74c128a9)