2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 36508) 2024-10-04 09:56:00.593550 100.00% [INFO] sofia.c:10462 sofia/default/27876300012@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 67534fe6-f00b92f3-a8496d21-be5b6edb 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted. 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [received][100] 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=bk 1700486 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 40606 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.7.219.43:8356 Original read codec set to PCMA:8 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-04 09:56:00.593550 100.00% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_NEW -> CS_INIT 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.7.219.43:8356) State NEW 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_INIT (Cur 1 Tot 36508) 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT 2024-10-04 09:56:00.593550 100.00% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.7.219.43:8356 SOFIA INIT 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.7.219.43:8356 Standard INIT 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.7.219.43:8356) State INIT going to sleep 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 1 Tot 36508) 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change DOWN -> RINGING 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING 2024-10-04 09:56:00.593550 100.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.7.219.43:8356 SOFIA ROUTING 2024-10-04 09:56:00.593550 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.7.219.43:8356 Standard ROUTING 2024-10-04 09:56:00.593550 100.00% [INFO] mod_dialplan_xml.c:639 Processing Ext 112 <27876300012>->0218353804 in context default 2024-10-04 09:56:00.633544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-04 09:56:00.673546 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-04 09:56:00.673546 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2024-10-04 09:56:00.673546 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0218353804 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0218353804' AND status=0 limit 1 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300012 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0218353804' limit 1 2024-10-04 09:56:00.713542 100.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27876300012 / 27876300012 2024-10-04 09:56:00.713542 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0218353804 2024-10-04 09:56:00.713542 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804 2024-10-04 09:56:00.713542 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27218353804" LIMIT 1 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:56:00.713542 100.00% [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="0218353804" limit 1 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43 2024-10-04 09:56:00.713542 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952] 2024-10-04 09:56:00.713542 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0218353804.*' OR blocked_patterns = '^021835380.*' OR blocked_patterns = '^02183538.*' OR blocked_patterns = '^0218353.*' OR blocked_patterns = '^021835.*' OR blocked_patterns = '^02183.*' OR blocked_patterns = '^0218.*' OR blocked_patterns = '^021.*' OR blocked_patterns = '^02.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 419 limit 1 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27218353804" AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 55 AND status=0 limit 1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0218353804 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27218353804.*' OR patterns = '^2721835380.*' OR patterns = '^272183538.*' OR patterns = '^27218353.*' OR patterns = '^2721835.*' OR patterns = '^272183.*' OR patterns = '^27218.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 419 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="27218353804" AND A.accountid = '419' limit 1 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27218353804 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27218353804" LIMIT 1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:56:00.733544 100.00% [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="27218353804" limit 1 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '27218353804' OR number = '2721835380' OR number = '272183538' OR number = '27218353' OR number = '2721835' OR number = '272183' OR number = '27218' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27218353804*' OR number = '2721835380*' OR number = '272183538*' OR number = '27218353*' OR number = '2721835*' OR number = '272183*' OR number = '27218*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300012 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300012' and accountid = "419" and status=0 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27218353804' OR routing_prefix = '2721835380' OR routing_prefix = '272183538' OR routing_prefix = '27218353' OR routing_prefix = '2721835' OR routing_prefix = '272183' OR routing_prefix = '27218' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27218353804)!!!! 2024-10-04 09:56:00.733544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27218353804)!!!! 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9323.49878 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8 2024-10-04 09:56:00.733544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0 2024-10-04 09:56:00.733544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27218353804.*' OR pattern = '^2721835380.*' OR pattern = '^272183538.*' OR pattern = '^27218353.*' OR pattern = '^2721835.*' OR pattern = '^272183.*' OR pattern = '^27218.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 187 OR accountid=419) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22698447 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.3300000000 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Liquid Telecoms Geographic 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9323.49878 balance Accountid 419 !!! 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27218353804.*' OR blocked_patterns = '^2721835380.*' OR blocked_patterns = '^272183538.*' OR blocked_patterns = '^27218353.*' OR blocked_patterns = '^2721835.*' OR blocked_patterns = '^272183.*' OR blocked_patterns = '^27218.*' OR blocked_patterns = '^2721.*' OR blocked_patterns = '^272.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 405 limit 1 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19424.57 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27218353804.*' OR pattern = '^2721835380.*' OR pattern = '^272183538.*' OR pattern = '^27218353.*' OR pattern = '^2721835.*' OR pattern = '^272183.*' OR pattern = '^27218.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 189 OR accountid=405) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22526401 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2805000000 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Liquid Telecoms Geographic 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19424.57 balance Accountid 405 !!! 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:56:00.753544 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 22698447 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97 2024-10-04 09:56:00.753544 100.00% [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 = '^27218353804.*' OR pattern = '^2721835380.*' OR pattern = '^272183538.*' OR pattern = '^27218353.*' OR pattern = '^2721835.*' OR pattern = '^272183.*' OR pattern = '^27218.*' OR pattern = '^2721.*' OR pattern = '^272.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (97) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4825735 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^272183.* 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Liquid Telecoms Geographic 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^272183.* 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 419 AND status=0 LIMIT 1 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 60 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300012' and status = 0 limit 1 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:56:00.753544 100.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2024-10-04 09:56:00.753544 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:56:00.753544 100.00% [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 = 159) AND status=0 limit 1 2024-10-04 09:56:00.753544 100.00% [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 = 97) AND status=0 limit 1 2024-10-04 09:56:00.773545 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0218353804 2024-10-04 09:56:00.773545 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0218353804 2024-10-04 09:56:00.773545 100.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27218353804 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218353804 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27218353804" LIMIT 1 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/27876300012@196.7.219.43:8356 parsing [default->27218353804] continue=false Dialplan: sofia/default/27876300012@196.7.219.43:8356 Regex (PASS) [27218353804] destination_number(0218353804) =~ /0218353804/ break=on-false Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_destination_number=27218353804) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_flag=0) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(notify_credit_limit=450.00000) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(type=0) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(callstart=2024-10-04 09:56:00) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(account_id=419) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(parent_id=405) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(entity_id=0) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_processed=internal) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(call_direction=outbound) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(accountname=default) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(origination_rates=ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_name=27876300012) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(original_caller_id_number=27876300012) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 ) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db 6840389175 user_6840389175 20 ) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(is_recording=1) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(media_bug_answer_req=true) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(record_sample_rate=8000) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_name=27876300012) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(effective_caller_id_number=27876300012) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(calltype=STANDARD) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(termination_rates=ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(trunk_id=97) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(provider_id=159) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(rate_flag=0) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_credit_limit=10000.00000) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_credit_limit=20000.00000) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(daily_call_used_limit=42.74280) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(monthly_call_used_limit=278.44880) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(quality_trunk_seq=97) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(force_trunk_flag=22698447) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=trunk_id=97) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action set(intcall=0) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_id=27218353804) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action export(presence_data=x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action limit(db Goldtel gw_Goldtel 20 ) Dialplan: sofia/default/27876300012@196.7.219.43:8356 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27218353804;fs_path=sip:102.220.232.100:5060) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.7.219.43:8356) State ROUTING going to sleep 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 1 Tot 36508) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.7.219.43:8356 SOFIA EXECUTE 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.7.219.43:8356 Standard EXECUTE EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_destination_number=27218353804) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_destination_number]=[27218353804] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(execute_on_answer_1=sched_hangup +3600 normal_clearing) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_flag=0) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(notify_credit_limit=450.00000) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [notify_credit_limit]=[450.00000] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(type=0) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [type]=[0] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(callstart=2024-10-04 09:56:00) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [callstart]=[2024-10-04 09:56:00] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(hangup_after_bridge=true) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(continue_on_fail=TRUE) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(account_id=419) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [account_id]=[419] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(parent_id=405) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [parent_id]=[405] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(entity_id=0) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [entity_id]=[0] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_processed=internal) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(call_direction=outbound) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(accountname=default) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [accountname]=[default] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(origination_rates=ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [origination_rates]=[ID:22698447|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22526401|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_name=27876300012) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_name]=[27876300012] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(original_caller_id_number=27876300012) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [original_caller_id_number]=[27876300012] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 ) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16 EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db 6840389175 user_6840389175 20 ) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_limit.c:124 incr called: 6840389175_user_6840389175 max:20, interval:0 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_db.c:194 Usage for 6840389175_user_6840389175 is now 1/20 EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(is_recording=1) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(media_bug_answer_req=true) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(record_sample_rate=8000) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav) 2024-10-04 09:56:00.773545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_name=27876300012) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_name]=[27876300012] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(effective_caller_id_number=27876300012) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [effective_caller_id_number]=[27876300012] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(calltype=STANDARD) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(termination_rates=ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [termination_rates]=[ID:4825735|CODE:^272183.*|DESTINATION:RSA Liquid Telecoms Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(trunk_id=97) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [trunk_id]=[97] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(provider_id=159) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [provider_id]=[159] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(rate_flag=0) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_credit_limit=10000.00000) 2024-10-04 09:56:00.773545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_credit_limit]=[10000.00000] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_credit_limit=20000.00000) 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_credit_limit]=[20000.00000] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(daily_call_used_limit=42.74280) 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [daily_call_used_limit]=[42.74280] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(monthly_call_used_limit=278.44880) 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [monthly_call_used_limit]=[278.44880] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(quality_trunk_seq=97) 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [quality_trunk_seq]=[97] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(force_trunk_flag=22698447) 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [force_trunk_flag]=[22698447] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=trunk_id=97) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 set(intcall=0) 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.7.219.43:8356 [intcall]=[0] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_id=27218353804) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27218353804] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 export(presence_data=x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic] EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 limit(db Goldtel gw_Goldtel 20 ) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/20 EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27218353804;fs_path=sip:102.220.232.100:5060) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [is_recording]=[1] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_id]=[27218353804] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^272183.* // RSA Liquid Telecoms Geographic // 0.3300000000 |||Goldtel // ^272183.* // RSA Liquid Telecoms Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^272183.* // RSA Liquid Telecoms Geographic] to event 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2024-10-04 09:56:00.793545 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27218353804 [df5c69cf-058e-4802-80b2-4ab11aebc016] 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_sofia.c:5121 (sofia/default/27218353804) State Change CS_NEW -> CS_INIT 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_INIT (Cur 2 Tot 36509) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27218353804) State INIT 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_sofia.c:97 sofia/default/27218353804 SOFIA INIT 2024-10-04 09:56:00.793545 100.00% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27218353804 2024-10-04 09:56:00.793545 100.00% [INFO] sofia_glue.c:1651 sofia/default/27218353804 sending invite call-id: (null) 2024-10-04 09:56:00.793545 100.00% [DEBUG] sofia_glue.c:1654 sofia/default/27218353804 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1728012548 1728012549 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 23212 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27218353804 Standard INIT 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27218353804) State Change CS_INIT -> CS_ROUTING 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27218353804) State INIT going to sleep 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_ROUTING (Cur 2 Tot 36509) 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27218353804) State ROUTING 2024-10-04 09:56:00.793545 100.00% [DEBUG] mod_sofia.c:158 sofia/default/27218353804 SOFIA ROUTING 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27218353804) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27218353804) State ROUTING going to sleep 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 36509) 2024-10-04 09:56:00.793545 100.00% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [calling][0] 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27218353804) State CONSUME_MEDIA 2024-10-04 09:56:00.793545 100.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27218353804) State CONSUME_MEDIA going to sleep 2024-10-04 09:56:02.013546 99.97% [INFO] sofia.c:1348 sofia/default/27218353804 Update Callee ID to "Outbound Call" <27218353804> 2024-10-04 09:56:02.013546 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [proceeding][180] 2024-10-04 09:56:02.013546 99.97% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27218353804! 2024-10-04 09:56:02.013546 99.97% [DEBUG] switch_channel.c:3494 (sofia/default/27218353804) Callstate Change DOWN -> RINGING 2024-10-04 09:56:02.013546 99.97% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300012@196.7.219.43:8356! 2024-10-04 09:56:02.013546 99.97% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [early][180] 2024-10-04 09:56:02.013546 99.97% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300012@196.7.219.43:8356! 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [completing][200] 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1728009171 1728009172 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 26592 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27218353804 entering state [ready][200] 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27218353804 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_codec.c:111 sofia/default/27218353804 Original read codec set to PCMA:8 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:5973 sofia/default/27218353804 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27218353804] 102.220.232.20 port 23212 -> 196.31.25.88 port 26592 codec: 8 ms: 20 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27218353804 Set 2833 dtmf send payload to 101 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27218353804 Set 2833 dtmf receive payload to 101 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27218353804 Set rtp dtmf delay to 40 2024-10-04 09:56:05.093543 99.93% [NOTICE] sofia.c:8683 Channel [sofia/default/27218353804] has been answered EXECUTE [depth=1] sofia/default/27218353804 record_session(/usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav) 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.7.219.43:8356] 102.220.232.20 port 28062 -> 196.7.219.43 port 40606 codec: 8 ms: 20 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf send payload to 101 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.7.219.43:8356 Set 2833 dtmf receive payload to 101 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.7.219.43:8356 Set rtp dtmf delay to 40 2024-10-04 09:56:05.093543 99.93% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300012@196.7.219.43:8356: v=0 o=FreeSWITCH 1728007703 1728007704 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 28062 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-10-04 09:56:05.093543 99.93% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27876300012@196.7.219.43:8356] has been answered EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 sched_hangup(+3600 normal_clearing) 2024-10-04 09:56:05.093543 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [completed][200] 2024-10-04 09:56:05.093543 99.93% [DEBUG] switch_scheduler.c:263 Added task 4231 switch_ivr_schedule_hangup (1bc14b86-c779-4eca-b57e-1efbbf904a9e) to run at 1728039365 EXECUTE [depth=0] sofia/default/27876300012@196.7.219.43:8356 record_session(/usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav) 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27218353804 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300012@196.7.219.43:8356 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27218353804) Callstate Change RINGING -> ACTIVE 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_channel.c:3950 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change RINGING -> ACTIVE 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27218353804] Peer UUID: df5c69cf-058e-4802-80b2-4ab11aebc016 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27218353804) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 36509) 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27218353804) State EXCHANGE_MEDIA 2024-10-04 09:56:05.113538 99.93% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-10-04 09:56:05.113538 99.93% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-10-04 09:56:05.253538 99.93% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.7.219.43:8356 entering state [ready][200] 2024-10-04 09:56:05.353542 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-10-04 09:56:05.353542 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-10-04 09:56:05.373542 99.93% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-10-04 09:56:05.373542 99.93% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-10-04 09:58:01.033542 99.97% [NOTICE] sofia.c:1065 Hangup sofia/default/27876300012@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING] 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876300012@196.7.219.43:8356 ending bridge by request from write function 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27218353804] 2024-10-04 09:58:01.053542 99.97% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/27218353804 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27218353804) State EXCHANGE_MEDIA going to sleep 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_HANGUP (Cur 2 Tot 36509) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27218353804 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27218353804) Callstate Change ACTIVE -> HANGUP 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27218353804) State HANGUP 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:462 sofia/default/27218353804 Overriding SIP cause 480 with 200 from the other leg 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/27218353804 hanging up, cause: NORMAL_CLEARING 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27218353804 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/27218353804 Standard HANGUP, cause: NORMAL_CLEARING 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27218353804) State HANGUP going to sleep 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27218353804) State Change CS_HANGUP -> CS_REPORTING 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27218353804) Running State Change CS_REPORTING (Cur 2 Tot 36509) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27218353804) State REPORTING 2024-10-04 09:58:01.053542 99.97% [INFO] mod_json_cdr.c:271 Process [df5c69cf-058e-4802-80b2-4ab11aebc016.cdr.json] 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300012@196.7.219.43:8356] 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27218353804 skip receive message [UNBRIDGE] (channel is hungup already) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876300012@196.7.219.43:8356 skip receive message [UNBRIDGE] (channel is hungup already) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.7.219.43:8356) State EXECUTE going to sleep 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 2 Tot 36509) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/1bc14b86-c779-4eca-b57e-1efbbf904a9e.wav 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300012@196.7.219.43:8356 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.7.219.43:8356) Callstate Change ACTIVE -> HANGUP 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP 2024-10-04 09:58:01.053542 99.97% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.7.219.43:8356) State HANGUP going to sleep 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 2 Tot 36509) 2024-10-04 09:58:01.053542 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING 2024-10-04 09:58:01.053542 99.97% [INFO] mod_json_cdr.c:271 Process [1bc14b86-c779-4eca-b57e-1efbbf904a9e.cdr.json] 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/27218353804 Standard REPORTING, cause: NORMAL_CLEARING 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27218353804) State REPORTING going to sleep 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27218353804) State Change CS_REPORTING -> CS_DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_session.c:1753 Session 36509 (sofia/default/27218353804) Locked, Waiting on external entities 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1771 Session 36509 (sofia/default/27218353804) Ended 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27218353804 [CS_DESTROY] 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27218353804) Running State Change CS_DESTROY (Cur 1 Tot 36509) 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27218353804) State DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] mod_sofia.c:379 sofia/default/27218353804 SOFIA DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/27218353804 Standard DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27218353804) State DESTROY going to sleep 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.7.219.43:8356) State REPORTING going to sleep 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_session.c:1753 Session 36508 (sofia/default/27876300012@196.7.219.43:8356) Locked, Waiting on external entities 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1771 Session 36508 (sofia/default/27876300012@196.7.219.43:8356) Ended 2024-10-04 09:58:01.133543 99.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.7.219.43:8356 [CS_DESTROY] 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 0 Tot 36509) 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.7.219.43:8356 SOFIA DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.7.219.43:8356 Standard DESTROY 2024-10-04 09:58:01.133543 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.7.219.43:8356) State DESTROY going to sleep 2024-10-04 09:58:01.613542 99.93% [DEBUG] switch_scheduler.c:147 Deleting task 4231 switch_ivr_schedule_hangup (1bc14b86-c779-4eca-b57e-1efbbf904a9e) 2024-10-04 09:58:46.973542 99.37% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27219489171@196.31.25.88 [25883202-e6bd-4c03-80b4-0d2b0e1c0321] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_NEW (Cur 1 Tot 36510) 2024-10-04 09:58:46.973542 99.37% [INFO] sofia.c:10462 sofia/default/27219489171@196.31.25.88 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 15b08896-fcda-123d-fb88-0024e83afa77 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted. 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [received][100] 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1728013041 1728013042 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 22884 RTP/AVP 18 8 0 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27219489171@196.31.25.88 G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_codec.c:111 sofia/default/27219489171@196.31.25.88 Original read codec set to G729:18 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_media.c:5973 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-04 09:58:46.973542 99.37% [DEBUG] sofia.c:7933 (sofia/default/27219489171@196.31.25.88) State Change CS_NEW -> CS_INIT 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27219489171@196.31.25.88) State NEW 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_INIT (Cur 1 Tot 36510) 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT 2024-10-04 09:58:46.973542 99.37% [DEBUG] mod_sofia.c:97 sofia/default/27219489171@196.31.25.88 SOFIA INIT 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/27219489171@196.31.25.88 Standard INIT 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27219489171@196.31.25.88) State Change CS_INIT -> CS_ROUTING 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT going to sleep 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 36510) 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_channel.c:2380 (sofia/default/27219489171@196.31.25.88) Callstate Change DOWN -> RINGING 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING 2024-10-04 09:58:46.973542 99.37% [DEBUG] mod_sofia.c:158 sofia/default/27219489171@196.31.25.88 SOFIA ROUTING 2024-10-04 09:58:46.973542 99.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/27219489171@196.31.25.88 Standard ROUTING 2024-10-04 09:58:46.973542 99.37% [INFO] mod_dialplan_xml.c:639 Processing +27219489171 <27219489171>->27218873403 in context default 2024-10-04 09:58:47.013543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-04 09:58:47.053542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-04 09:58:47.053542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2024-10-04 09:58:47.053542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.093542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27218873403 2024-10-04 09:58:47.093542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27218873403' AND status=0 limit 1 2024-10-04 09:58:47.093542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1 2024-10-04 09:58:47.093542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.093542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27218873403' limit 1 2024-10-04 09:58:47.113542 99.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "+27219489171" / 27219489171 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [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 ="27218873403" LIMIT 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283] 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27218873403" AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 55 AND status=0 limit 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 447 2024-10-04 09:58:47.113542 99.37% [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 = '^27218873403.*' OR patterns = '^2721887340.*' OR patterns = '^272188734.*' OR patterns = '^27218873.*' OR patterns = '^2721887.*' OR patterns = '^272188.*' OR patterns = '^27218.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 447 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-04 09:58:47.113542 99.37% [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 ="27218873403" AND A.accountid = '159' limit 1 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27218873403 2024-10-04 09:58:47.113542 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.113542 99.37% [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 ="27218873403" LIMIT 1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-10-04 09:58:47.113542 99.37% [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 = '27218873403' OR number = '2721887340' OR number = '272188734' OR number = '27218873' OR number = '2721887' OR number = '272188' OR number = '27218' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27218873403*' OR number = '2721887340*' OR number = '272188734*' OR number = '27218873*' OR number = '2721887*' OR number = '272188*' OR number = '27218*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27219489171' OR number = '2721948917' OR number = '272194891' OR number = '27219489' OR number = '2721948' OR number = '272194' OR number = '27219' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27219489171*' OR number = '2721948917*' OR number = '272194891*' OR number = '27219489*' OR number = '2721948*' OR number = '272194*' OR number = '27219*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27218873403' OR routing_prefix = '2721887340' OR routing_prefix = '272188734' OR routing_prefix = '27218873' OR routing_prefix = '2721887' OR routing_prefix = '272188' OR routing_prefix = '27218' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159 2024-10-04 09:58:47.113542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283 2024-10-04 09:58:47.113542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.133543 99.37% [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 ="27218873403" LIMIT 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 447 and status = 0 limit 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27218873403 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_cost ,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27218873403" LIMIT 1 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 219 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Kampus Western Cape 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 159 !!! 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218873403 2024-10-04 09:58:47.133543 99.37% [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 ="27218873403" LIMIT 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 219 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Kampus Western Cape 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 405 !!! 2024-10-04 09:58:47.133543 99.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-10-04 09:58:47.133543 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-10-04 09:58:47.133543 99.37% [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 = 159 AND status=0 LIMIT 1 2024-10-04 09:58:47.133543 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "447" OR number = "447") AND deleted = 0 limit 1 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 60 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' and status = 0 limit 1 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:58:47.153542 99.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6 2024-10-04 09:58:47.153542 99.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/27219489171@196.31.25.88 parsing [default->27218873403] continue=false Dialplan: sofia/default/27219489171@196.31.25.88 Regex (PASS) [27218873403] destination_number(27218873403) =~ /27218873403/ break=on-false Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_destination_number=27218873403) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_flag=0) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_credit_limit=1.00000) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(type=3) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callstart=2024-10-04 09:58:47) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(account_id=159) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(parent_id=405) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(entity_id=3) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_processed=internal) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_direction=inbound) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(accountname=default) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates_did=ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates=0) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_name=) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_number=27219489171) Dialplan: sofia/default/27219489171@196.31.25.88 Action limit(db 3786491283 user_3786491283 10 ) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(is_recording=1) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(media_bug_answer_req=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(record_sample_rate=8000) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_name=) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_number=27219489171) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(receiver_accid=447) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(domain_name=) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(sip_to_host=) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(presence_data=x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(call_type=6) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(calltype=FAX) Dialplan: sofia/default/27219489171@196.31.25.88 Action answer() Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callfax=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action playback(silence_stream://2000) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(sip_require_timer=false) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_request=6) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(module_name=apfax) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_transfer_rate=9600) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_use_ecm=false) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_v17_disabled=false) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_disable_v17=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171) Dialplan: sofia/default/27219489171@196.31.25.88 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif) Dialplan: sofia/default/27219489171@196.31.25.88 Action hangup() 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27219489171@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING going to sleep 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 36510) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_sofia.c:213 sofia/default/27219489171@196.31.25.88 SOFIA EXECUTE 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/27219489171@196.31.25.88 Standard EXECUTE EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_destination_number=27218873403) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_destination_number]=[27218873403] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(execute_on_answer_1=sched_hangup +3600 normal_clearing) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_flag=0) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_credit_limit=1.00000) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_credit_limit]=[1.00000] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(type=3) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [type]=[3] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callstart=2024-10-04 09:58:47) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callstart]=[2024-10-04 09:58:47] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(hangup_after_bridge=true) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(continue_on_fail=TRUE) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(account_id=159) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [account_id]=[159] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(parent_id=405) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [parent_id]=[405] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(entity_id=3) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [entity_id]=[3] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_processed=internal) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_direction=inbound) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(accountname=default) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [accountname]=[default] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates_did=ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates_did]=[ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:219|CODE:^27218873403.*|DESTINATION:Kampus Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates=0) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_name=) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_number=27219489171) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_number]=[27219489171] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 limit(db 3786491283 user_3786491283 10 ) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10 EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(is_recording=1) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(media_bug_answer_req=true) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(record_sample_rate=8000) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_name=) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_number=27219489171) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_number]=[27219489171] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(receiver_accid=447) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [receiver_accid]=[447] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(domain_name=) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(sip_to_host=) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(presence_data=x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Dimension Data(3786491283)|||^27218873403.* // Kampus Western Cape // 0.00000|||||||||DID|||196.31.25.91] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(call_type=6) 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(calltype=FAX) 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [calltype]=[FAX] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 answer() 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27219489171@196.31.25.88] 102.220.232.20 port 28920 -> 196.31.25.88 port 22884 codec: 18 ms: 20 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:9089 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:9096 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf receive payload to 101 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_core_media.c:9119 sofia/default/27219489171@196.31.25.88 Set rtp dtmf delay to 40 2024-10-04 09:58:47.153542 99.37% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27219489171@196.31.25.88: v=0 o=FreeSWITCH 1728007007 1728007008 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 28920 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=ptime:20 a=sendrecv 2024-10-04 09:58:47.153542 99.37% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27219489171@196.31.25.88] has been answered EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 sched_hangup(+3600 normal_clearing) 2024-10-04 09:58:47.153542 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completed][200] 2024-10-04 09:58:47.153542 99.37% [DEBUG] switch_scheduler.c:263 Added task 4232 switch_ivr_schedule_hangup (25883202-e6bd-4c03-80b4-0d2b0e1c0321) to run at 1728039527 EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 record_session(/usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav) 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27219489171@196.31.25.88 2024-10-04 09:58:47.173542 99.37% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200] 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_channel.c:3950 (sofia/default/27219489171@196.31.25.88) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callfax=true) 2024-10-04 09:58:47.173542 99.37% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callfax]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 playback(silence_stream://2000) 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2024-10-04 09:58:47.173542 99.37% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-10-04 09:58:47.293542 99.37% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-10-04 09:58:47.293542 99.37% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18 2024-10-04 09:58:49.153543 99.33% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000 EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38_request=true) 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(sip_require_timer=false) 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [sip_require_timer]=[false] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_request=6) 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_request]=[6] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(module_name=apfax) 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [module_name]=[apfax] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_transfer_rate=9600) 2024-10-04 09:58:49.153543 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_transfer_rate]=[9600] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_use_ecm=false) 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_use_ecm]=[false] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_v17_disabled=false) 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_v17_disabled]=[false] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_disable_v17=true) 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_disable_v17]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38=true) 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171) 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 rxfax(/var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif) 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000 2024-10-04 09:58:49.173539 99.33% [DEBUG] switch_core_codec.c:223 sofia/default/27219489171@196.31.25.88 Push codec L16:100 2024-10-04 09:58:49.173539 99.33% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16 2024-10-04 09:58:50.433542 99.40% [DEBUG] switch_core_media.c:12065 sofia/default/27219489171@196.31.25.88 image media sdp: v=0 o=FreeSWITCH 1728007007 1728007009 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=image 28920 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2024-10-04 09:58:50.433542 99.40% [INFO] sofia_glue.c:1651 sofia/default/27219489171@196.31.25.88 sending invite call-id: (null) 2024-10-04 09:58:50.433542 99.40% [DEBUG] sofia_glue.c:1654 sofia/default/27219489171@196.31.25.88 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1728007007 1728007009 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=image 28920 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2024-10-04 09:58:50.433542 99.40% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [calling][0] 2024-10-04 09:58:50.553551 99.47% [DEBUG] switch_core_io.c:780 Engaging Read Buffer at 320 bytes vs 30 2024-10-04 09:58:51.273542 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completing][200] 2024-10-04 09:58:51.273542 99.47% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1728013041 1728013043 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=image 22884 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2024-10-04 09:58:51.293542 99.47% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200] 2024-10-04 09:58:51.293542 99.47% [DEBUG] switch_core_media.c:5241 sofia/default/27219489171@196.31.25.88 T38 ACCEPT on response 2024-10-04 09:58:51.293542 99.47% [DEBUG] switch_core_media.c:5345 sofia/default/27219489171@196.31.25.88 T38 IS POSSIBLE on response 2024-10-04 09:58:51.293542 99.47% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27219489171@196.31.25.88. 2024-10-04 09:58:51.313543 99.47% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:22884] has not changed. 2024-10-04 09:58:51.313543 99.47% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:22884] has not changed. 2024-10-04 09:58:58.493542 99.93% [INFO] mod_spandsp_fax.c:360 === Negotiation Result ======================================================= Remote station id: Local station id: SpanDSP Fax Ident Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2024-10-04 09:59:09.173544 99.67% [NOTICE] sofia.c:1065 Hangup sofia/default/27219489171@196.31.25.88 [CS_EXECUTE] [NORMAL_CLEARING] 2024-10-04 09:59:09.173544 99.67% [INFO] mod_spandsp_fax.c:596 ============================================================================== Fax processing not successful - result (26) Carrier lost during fax receive. Remote station id: Local station id: SpanDSP Fax Ident Pages transferred: 0 Total fax pages: 0 Image resolution: 8040x7700 Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_codec.c:248 sofia/default/27219489171@196.31.25.88 Restore previous codec G729:18. 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_session.c:2983 sofia/default/27219489171@196.31.25.88 skip receive message [PHONE_EVENT] (channel is hungup already) 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE going to sleep 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_HANGUP (Cur 1 Tot 36510) 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/25883202-e6bd-4c03-80b4-0d2b0e1c0321.wav 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27219489171@196.31.25.88 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27219489171@196.31.25.88) Callstate Change ACTIVE -> HANGUP 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP 2024-10-04 09:59:09.173544 99.67% [DEBUG] mod_sofia.c:468 Channel sofia/default/27219489171@196.31.25.88 hanging up, cause: NORMAL_CLEARING 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:59 sofia/default/27219489171@196.31.25.88 Standard HANGUP, cause: NORMAL_CLEARING 2024-10-04 09:59:09.173544 99.67% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP going to sleep 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:777 Hangup Command with no Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf kampus@stelkor.co.za 27218873403 27219489171): HERE /usr/bin/php /var/www/html/astpp/FAX/scripts/emailfax.php /var/www/html/astpp/FAX/receive_fax_files/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.tif 3124291998 Dimension+Data_ kampus@stelkor.co.za 27218873403 /var/www/html/astpp/attachments/25883202-e6bd-4c03-80b4-0d2b0e1c0321-FAX.pdf 27219489171 HERE 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27219489171@196.31.25.88) State Change CS_HANGUP -> CS_REPORTING 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_REPORTING (Cur 1 Tot 36510) 2024-10-04 09:59:10.133543 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING 2024-10-04 09:59:10.133543 99.63% [INFO] mod_json_cdr.c:271 Process [25883202-e6bd-4c03-80b4-0d2b0e1c0321.cdr.json] 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:168 sofia/default/27219489171@196.31.25.88 Standard REPORTING, cause: NORMAL_CLEARING 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING going to sleep 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27219489171@196.31.25.88) State Change CS_REPORTING -> CS_DESTROY 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_session.c:1753 Session 36510 (sofia/default/27219489171@196.31.25.88) Locked, Waiting on external entities 2024-10-04 09:59:10.213542 99.63% [NOTICE] switch_core_session.c:1771 Session 36510 (sofia/default/27219489171@196.31.25.88) Ended 2024-10-04 09:59:10.213542 99.63% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27219489171@196.31.25.88 [CS_DESTROY] 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27219489171@196.31.25.88) Running State Change CS_DESTROY (Cur 0 Tot 36510) 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY 2024-10-04 09:59:10.213542 99.63% [DEBUG] mod_sofia.c:379 sofia/default/27219489171@196.31.25.88 SOFIA DESTROY 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:175 sofia/default/27219489171@196.31.25.88 Standard DESTROY 2024-10-04 09:59:10.213542 99.63% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY going to sleep 2024-10-04 09:59:10.673545 99.57% [DEBUG] switch_scheduler.c:147 Deleting task 4232 switch_ivr_schedule_hangup (25883202-e6bd-4c03-80b4-0d2b0e1c0321) 2024-10-04 09:59:28.793550 98.90% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27219489171@196.31.25.88 [aed46086-996f-486f-bafd-d7ae1023b447] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_NEW (Cur 1 Tot 36511) 2024-10-04 09:59:28.793550 98.90% [INFO] sofia.c:10462 sofia/default/27219489171@196.31.25.88 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 2e9df4ba-fcda-123d-fb88-0024e83afa77 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted. 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [received][100] 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1728007461 1728007462 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 28506 RTP/AVP 18 8 0 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27219489171@196.31.25.88 G729/8000 20 ms 160 samples 8000 bits 1 channels 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_codec.c:111 sofia/default/27219489171@196.31.25.88 Original read codec set to G729:18 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_media.c:5973 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-04 09:59:28.793550 98.90% [DEBUG] sofia.c:7933 (sofia/default/27219489171@196.31.25.88) State Change CS_NEW -> CS_INIT 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27219489171@196.31.25.88) State NEW 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_INIT (Cur 1 Tot 36511) 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT 2024-10-04 09:59:28.793550 98.90% [DEBUG] mod_sofia.c:97 sofia/default/27219489171@196.31.25.88 SOFIA INIT 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:40 sofia/default/27219489171@196.31.25.88 Standard INIT 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27219489171@196.31.25.88) State Change CS_INIT -> CS_ROUTING 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27219489171@196.31.25.88) State INIT going to sleep 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_ROUTING (Cur 1 Tot 36511) 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_channel.c:2380 (sofia/default/27219489171@196.31.25.88) Callstate Change DOWN -> RINGING 2024-10-04 09:59:28.793550 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING 2024-10-04 09:59:28.793550 98.90% [DEBUG] mod_sofia.c:158 sofia/default/27219489171@196.31.25.88 SOFIA ROUTING 2024-10-04 09:59:28.813543 98.90% [DEBUG] switch_core_state_machine.c:230 sofia/default/27219489171@196.31.25.88 Standard ROUTING 2024-10-04 09:59:28.813543 98.90% [INFO] mod_dialplan_xml.c:639 Processing +27219489171 <27219489171>->27218868674 in context default 2024-10-04 09:59:28.853543 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-04 09:59:28.893543 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-04 09:59:28.893543 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2024-10-04 09:59:28.893543 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27218868674' AND status=0 limit 1 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv5JB1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27218868674' limit 1 2024-10-04 09:59:28.933549 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : "+27219489171" / 27219489171 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="27218868674" LIMIT 1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283] 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27218868674" AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 55 AND status=0 limit 1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 447 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27218868674.*' OR patterns = '^2721886867.*' OR patterns = '^272188686.*' OR patterns = '^27218868.*' OR patterns = '^2721886.*' OR patterns = '^272188.*' OR patterns = '^27218.*' OR patterns = '^2721.*' OR patterns = '^272.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 447 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="27218868674" AND A.accountid = '159' limit 1 2024-10-04 09:59:28.933549 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27218868674 2024-10-04 09:59:28.933549 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.933549 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="27218868674" LIMIT 1 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-10-04 09:59:28.953542 98.90% [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 = '27218868674' OR number = '2721886867' OR number = '272188686' OR number = '27218868' OR number = '2721886' OR number = '272188' OR number = '27218' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27218868674*' OR number = '2721886867*' OR number = '272188686*' OR number = '27218868*' OR number = '2721886*' OR number = '272188*' OR number = '27218*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27219489171' OR number = '2721948917' OR number = '272194891' OR number = '27219489' OR number = '2721948' OR number = '272194' OR number = '27219' OR number = '2721' OR number = '272' OR number = '27' OR number = '2' OR number ='--') OR (number = '27219489171*' OR number = '2721948917*' OR number = '272194891*' OR number = '27219489*' OR number = '2721948*' OR number = '272194*' OR number = '27219*' OR number = '2721*' OR number = '272*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27218868674' OR routing_prefix = '2721886867' OR routing_prefix = '272188686' OR routing_prefix = '27218868' OR routing_prefix = '2721886' OR routing_prefix = '272188' OR routing_prefix = '27218' OR routing_prefix = '2721' OR routing_prefix = '272' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="27218868674" LIMIT 1 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 447 and status = 0 limit 1 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27218868674 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_cost ,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27218868674" LIMIT 1 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 217 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Simonsrust Western Cape 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 159 !!! 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:59:28.953542 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-10-04 09:59:28.953542 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:28.953542 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27218868674 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, 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 ="27218868674" LIMIT 1 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 217 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Simonsrust Western Cape 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 405 !!! 2024-10-04 09:59:28.973539 98.90% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-10-04 09:59:28.973539 98.90% [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 = 159 AND status=0 LIMIT 1 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "447" OR number = "447") AND deleted = 0 limit 1 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =447 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 60 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv5JB1' and status = 0 limit 1 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:28.973539 98.90% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_6 2024-10-04 09:59:28.973539 98.90% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Inbound Dialplan 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/27219489171@196.31.25.88 parsing [default->27218868674] continue=false Dialplan: sofia/default/27219489171@196.31.25.88 Regex (PASS) [27218868674] destination_number(27218868674) =~ /27218868674/ break=on-false Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_destination_number=27218868674) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_flag=0) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(notify_credit_limit=1.00000) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(type=3) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callstart=2024-10-04 09:59:28) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(account_id=159) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(parent_id=405) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(entity_id=3) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_processed=internal) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_direction=inbound) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(accountname=default) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates_did=ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(origination_rates=0) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_name=) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(original_caller_id_number=27219489171) Dialplan: sofia/default/27219489171@196.31.25.88 Action limit(db 3786491283 user_3786491283 10 ) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(is_recording=1) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(media_bug_answer_req=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(record_sample_rate=8000) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_name=) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(effective_caller_id_number=27219489171) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(receiver_accid=447) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(domain_name=) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(sip_to_host=) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(presence_data=x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91) Dialplan: sofia/default/27219489171@196.31.25.88 Action export(call_type=6) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(calltype=FAX) Dialplan: sofia/default/27219489171@196.31.25.88 Action answer() Dialplan: sofia/default/27219489171@196.31.25.88 Action set(callfax=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action playback(silence_stream://2000) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(sip_require_timer=false) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(call_request=6) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(module_name=apfax) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_transfer_rate=9600) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_use_ecm=false) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_v17_disabled=false) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_disable_v17=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(fax_enable_t38=true) Dialplan: sofia/default/27219489171@196.31.25.88 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171) Dialplan: sofia/default/27219489171@196.31.25.88 Action rxfax(/var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif) Dialplan: sofia/default/27219489171@196.31.25.88 Action hangup() 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27219489171@196.31.25.88) State Change CS_ROUTING -> CS_EXECUTE 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27219489171@196.31.25.88) State ROUTING going to sleep 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_EXECUTE (Cur 1 Tot 36511) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_sofia.c:213 sofia/default/27219489171@196.31.25.88 SOFIA EXECUTE 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_core_state_machine.c:323 sofia/default/27219489171@196.31.25.88 Standard EXECUTE EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_destination_number=27218868674) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_destination_number]=[27218868674] 2024-10-04 09:59:28.973539 98.90% [WARNING] switch_core_db.c:92 SQLite is BUSY, sane=299 [select state,status,rpid,presence_id,uuid from sip_dialogs where uuid != 'aed46086-996f-486f-bafd-d7ae1023b447' and call_info_state != 'seized' and hostname='ss2-jb1' and profile_name='default' and ((sip_from_user='27219489171' and sip_from_host='196.31.25.88') or presence_id='27219489171@196.31.25.88') order by rcd desc] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(execute_on_answer_1=sched_hangup +3600 normal_clearing) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_flag=0) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(notify_credit_limit=1.00000) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [notify_credit_limit]=[1.00000] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(type=3) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [type]=[3] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callstart=2024-10-04 09:59:28) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callstart]=[2024-10-04 09:59:28] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(hangup_after_bridge=true) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(continue_on_fail=TRUE) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(account_id=159) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [account_id]=[159] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(parent_id=405) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [parent_id]=[405] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(entity_id=3) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [entity_id]=[3] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_processed=internal) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_direction=inbound) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_direction]=[inbound] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(accountname=default) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [accountname]=[default] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates_did=ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates_did]=[ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:447||ID:217|CODE:^27218868674.*|DESTINATION:Simonsrust Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:6|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:405] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(origination_rates=0) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [origination_rates]=[0] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_name=) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(original_caller_id_number=27219489171) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [original_caller_id_number]=[27219489171] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 limit(db 3786491283 user_3786491283 10 ) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10 EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(is_recording=1) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(media_bug_answer_req=true) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(record_sample_rate=8000) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_name=) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(effective_caller_id_number=27219489171) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [effective_caller_id_number]=[27219489171] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(receiver_accid=447) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [receiver_accid]=[447] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(domain_name=) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(sip_to_host=) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(presence_data=x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Dimension Data(3786491283)|||^27218868674.* // Simonsrust Western Cape // 0.00000|||||||||DID|||196.31.25.91] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 export(call_type=6) 2024-10-04 09:59:28.973539 98.90% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[6] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(calltype=FAX) 2024-10-04 09:59:28.973539 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [calltype]=[FAX] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 answer() 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27219489171@196.31.25.88] 102.220.232.20 port 17844 -> 196.31.25.88 port 28506 codec: 18 ms: 20 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:9089 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf send payload to 101 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:9096 sofia/default/27219489171@196.31.25.88 Set 2833 dtmf receive payload to 101 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_core_media.c:9119 sofia/default/27219489171@196.31.25.88 Set rtp dtmf delay to 40 2024-10-04 09:59:29.073539 98.90% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27219489171@196.31.25.88: v=0 o=FreeSWITCH 1728018125 1728018126 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 17844 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=ptime:20 a=sendrecv 2024-10-04 09:59:29.073539 98.90% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/27219489171@196.31.25.88] has been answered EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 sched_hangup(+3600 normal_clearing) 2024-10-04 09:59:29.073539 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completed][200] 2024-10-04 09:59:29.073539 98.90% [DEBUG] switch_scheduler.c:263 Added task 4233 switch_ivr_schedule_hangup (aed46086-996f-486f-bafd-d7ae1023b447) to run at 1728039569 EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 record_session(/usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav) 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27219489171@196.31.25.88 2024-10-04 09:59:29.093546 98.90% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200] 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_channel.c:3950 (sofia/default/27219489171@196.31.25.88) Callstate Change RINGING -> ACTIVE EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(callfax=true) 2024-10-04 09:59:29.093546 98.90% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [callfax]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 playback(silence_stream://2000) 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms 2024-10-04 09:59:29.093546 98.90% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-10-04 09:59:29.233549 98.90% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-10-04 09:59:29.233549 98.90% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18 2024-10-04 09:59:31.073542 98.87% [DEBUG] switch_ivr_play_say.c:2001 done playing file silence_stream://2000 EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38_request=true) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38_request]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(sip_require_timer=false) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [sip_require_timer]=[false] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(call_request=6) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [call_request]=[6] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(module_name=apfax) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [module_name]=[apfax] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_transfer_rate=9600) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_transfer_rate]=[9600] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_use_ecm=false) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_use_ecm]=[false] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_v17_disabled=false) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_v17_disabled]=[false] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_disable_v17=true) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_disable_v17]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(fax_enable_t38=true) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [fax_enable_t38]=[true] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/27219489171@196.31.25.88 [api_hangup_hook]=[system /var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171] EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 rxfax(/var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif) 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_spandsp_fax.c:1610 Raw read codec activation Success L16 20000 2024-10-04 09:59:31.073542 98.87% [DEBUG] switch_core_codec.c:223 sofia/default/27219489171@196.31.25.88 Push codec L16:100 2024-10-04 09:59:31.073542 98.87% [DEBUG] mod_spandsp_fax.c:1628 Raw write codec activation Success L16 2024-10-04 09:59:32.333544 98.87% [DEBUG] switch_core_media.c:12065 sofia/default/27219489171@196.31.25.88 image media sdp: v=0 o=FreeSWITCH 1728018125 1728018127 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=image 17844 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2024-10-04 09:59:32.333544 98.87% [INFO] sofia_glue.c:1651 sofia/default/27219489171@196.31.25.88 sending invite call-id: (null) 2024-10-04 09:59:32.333544 98.87% [DEBUG] sofia_glue.c:1654 sofia/default/27219489171@196.31.25.88 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1728018125 1728018127 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=image 17844 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:9600 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2024-10-04 09:59:32.333544 98.87% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [calling][0] 2024-10-04 09:59:32.473542 98.87% [DEBUG] switch_core_io.c:780 Engaging Read Buffer at 320 bytes vs 30 2024-10-04 09:59:32.773542 98.97% [DEBUG] switch_core_media.c:3314 alternate payload received (received 8, expecting 18) 2024-10-04 09:59:32.773542 98.97% [WARNING] switch_core_media.c:3325 Changing current codec to PCMA (payload type 8). 2024-10-04 09:59:32.773542 98.97% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [completing][200] 2024-10-04 09:59:32.773542 98.97% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1728007461 1728007463 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=image 28506 udptl t38 a=T38FaxVersion:0 a=T38MaxBitRate:14400 a=T38FaxFillBitRemoval a=T38FaxRateManagement:transferredTCF a=T38FaxMaxBuffer:2000 a=T38FaxMaxDatagram:400 a=T38FaxUdpEC:t38UDPRedundancy 2024-10-04 09:59:32.793541 98.97% [DEBUG] switch_core_media.c:3768 Changing Codec from G729@20ms@8000hz to PCMA@20ms@8000hz 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27219489171@196.31.25.88 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_codec.c:123 sofia/default/27219489171@196.31.25.88 Original read codec replaced with PCMA:8 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_codec.c:153 Destroying BUG Codec G729:18 2024-10-04 09:59:32.833552 98.97% [DEBUG] sofia.c:7499 Channel sofia/default/27219489171@196.31.25.88 entering state [ready][200] 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:5241 sofia/default/27219489171@196.31.25.88 T38 ACCEPT on response 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:5345 sofia/default/27219489171@196.31.25.88 T38 IS POSSIBLE on response 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27219489171@196.31.25.88. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:28506] has not changed. 2024-10-04 09:59:32.833552 98.97% [DEBUG] switch_core_media.c:12494 Remote address:port [196.31.25.88:28506] has not changed. 2024-10-04 09:59:36.373545 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300018@196.7.219.43:8356 [de90e644-a83d-40ea-9b00-dea562bb6da7] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_NEW (Cur 2 Tot 36512) 2024-10-04 09:59:36.373545 99.00% [INFO] sofia.c:10462 sofia/default/27876300018@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: f3f8e7ef-41000214-72124aa0-8bf4e3da 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.100:0. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:10585 IP 102.220.232.100 Approved by acl "default[]". Access Granted. 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [received][100] 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=bk 1701378 1 IN IP4 196.7.219.43 s=- c=IN IP4 196.7.219.43 t=0 0 m=audio 41970 RTP/AVP 8 18 0 101 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=ptime:20 a=ptime:20 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300018@196.7.219.43:8356 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_codec.c:111 sofia/default/27876300018@196.7.219.43:8356 Original read codec set to PCMA:8 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_media.c:5973 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-04 09:59:36.373545 99.00% [DEBUG] sofia.c:7933 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_NEW -> CS_INIT 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300018@196.7.219.43:8356) State NEW 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_INIT (Cur 2 Tot 36512) 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300018@196.7.219.43:8356) State INIT 2024-10-04 09:59:36.373545 99.00% [DEBUG] mod_sofia.c:97 sofia/default/27876300018@196.7.219.43:8356 SOFIA INIT 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300018@196.7.219.43:8356 Standard INIT 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_INIT -> CS_ROUTING 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300018@196.7.219.43:8356) State INIT going to sleep 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_ROUTING (Cur 2 Tot 36512) 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_channel.c:2380 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change DOWN -> RINGING 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300018@196.7.219.43:8356) State ROUTING 2024-10-04 09:59:36.373545 99.00% [DEBUG] mod_sofia.c:158 sofia/default/27876300018@196.7.219.43:8356 SOFIA ROUTING 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300018@196.7.219.43:8356 Standard ROUTING 2024-10-04 09:59:36.373545 99.00% [INFO] mod_dialplan_xml.c:639 Processing Ext 118 <27876300018>->0183811754 in context default 2024-10-04 09:59:36.373545 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code') 2024-10-04 09:59:36.373545 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0183811754' AND status=0 limit 1 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBER27876300018 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '0183811754' limit 1 2024-10-04 09:59:36.393542 99.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 27876300018 / 27876300018 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27183811754" LIMIT 1 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:36.393542 99.00% [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="0183811754" limit 1 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.7.219.43 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8773282952] 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "8773282952" OR id = "8773282952") AND deleted = 0 limit 1 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0183811754.*' OR blocked_patterns = '^018381175.*' OR blocked_patterns = '^01838117.*' OR blocked_patterns = '^0183811.*' OR blocked_patterns = '^018381.*' OR blocked_patterns = '^01838.*' OR blocked_patterns = '^0183.*' OR blocked_patterns = '^018.*' OR blocked_patterns = '^01.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 419 limit 1 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27183811754" AND (accountid = 0 OR status = 1) LIMIT 1 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 55 AND status=0 limit 1 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....0183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/001/*/*,2/002/*/*,3/003/*/*,4/004/*/*,5/005/*/*,6/006/*/*,7/007/*/*,8/008/*/*,9/009/*/*,0027/27/*/*,00/00/*/*,01/271/*/*,02/272/*/*,03/273/*/*,04/274/*/*,05/275/*/*,06/276/*/*,07/277/*/*,08/278/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^27183811754.*' OR patterns = '^2718381175.*' OR patterns = '^271838117.*' OR patterns = '^27183811.*' OR patterns = '^2718381.*' OR patterns = '^271838.*' OR patterns = '^27183.*' OR patterns = '^2718.*' OR patterns = '^271.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 419 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="27183811754" AND A.accountid = '419' limit 1 2024-10-04 09:59:36.393542 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27183811754 2024-10-04 09:59:36.393542 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.393542 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27183811754" LIMIT 1 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:36.413551 99.00% [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="27183811754" limit 1 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '27183811754' OR number = '2718381175' OR number = '271838117' OR number = '27183811' OR number = '2718381' OR number = '271838' OR number = '27183' OR number = '2718' OR number = '271' OR number = '27' OR number = '2' OR number ='--') OR (number = '27183811754*' OR number = '2718381175*' OR number = '271838117*' OR number = '27183811*' OR number = '2718381*' OR number = '271838*' OR number = '27183*' OR number = '2718*' OR number = '271*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300018' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300018*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 27876300018 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='27876300018' and accountid = "419" and status=0 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :1 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27183811754' OR routing_prefix = '2718381175' OR routing_prefix = '271838117' OR routing_prefix = '27183811' OR routing_prefix = '2718381' OR routing_prefix = '271838' OR routing_prefix = '27183' OR routing_prefix = '2718' OR routing_prefix = '271' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 405 limit 1 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27183811754)!!!! 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27183811754)!!!! 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 419 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8773282952 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 9322.86078 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 187 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 187 AND status = 0 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27183811754.*' OR pattern = '^2718381175.*' OR pattern = '^271838117.*' OR pattern = '^27183811.*' OR pattern = '^2718381.*' OR pattern = '^271838.*' OR pattern = '^27183.*' OR pattern = '^2718.*' OR pattern = '^271.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300018.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 187 OR accountid=419) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22665375 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.3300000000 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Telkom Geographic 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 419 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your9322.86078 balance Accountid 419 !!! 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60 2024-10-04 09:59:36.413551 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 405 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "405" OR number = "405") AND deleted = 0 limit 1 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27183811754.*' OR blocked_patterns = '^2718381175.*' OR blocked_patterns = '^271838117.*' OR blocked_patterns = '^27183811.*' OR blocked_patterns = '^2718381.*' OR blocked_patterns = '^271838.*' OR blocked_patterns = '^27183.*' OR blocked_patterns = '^2718.*' OR blocked_patterns = '^271.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 405 limit 1 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 405 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 6840389175 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 19424.0277 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-10-04 09:59:36.413551 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 189 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:59:36.413551 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27183811754.*' OR pattern = '^2718381175.*' OR pattern = '^271838117.*' OR pattern = '^27183811.*' OR pattern = '^2718381.*' OR pattern = '^271838.*' OR pattern = '^27183.*' OR pattern = '^2718.*' OR pattern = '^271.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300018.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 189 OR accountid=405) ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 22493329 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.2805000000 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Telkom Geographic 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 405 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type: 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your19424.0277 balance Accountid 405 !!! 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins! 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Daily call credit limit : 60 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 22665375 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97 2024-10-04 09:59:36.433539 99.00% [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 = '^27183811754.*' OR pattern = '^2718381175.*' OR pattern = '^271838117.*' OR pattern = '^27183811.*' OR pattern = '^2718381.*' OR pattern = '^271838.*' OR pattern = '^27183.*' OR pattern = '^2718.*' OR pattern = '^271.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (97) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information =================== 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4792663 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2718381.* 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Telkom Geographic 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2718381.* 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip : 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable : 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES======================= 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 419 AND status=0 LIMIT 1 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 60 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = '27876300018' and status = 0 limit 1 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:36.433539 99.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 0 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 189 AND status = 0 2024-10-04 09:59:36.433539 99.00% [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 = 159) AND status=0 limit 1 2024-10-04 09:59:36.433539 99.00% [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 = 97) AND status=0 limit 1 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 43 AND status=0 limit 1 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....0183811754 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0183811754 2024-10-04 09:59:36.433539 99.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 27183811754 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27183811754 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27183811754" LIMIT 1 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/27876300018@196.7.219.43:8356 parsing [default->27183811754] continue=false Dialplan: sofia/default/27876300018@196.7.219.43:8356 Regex (PASS) [27183811754] destination_number(0183811754) =~ /0183811754/ break=on-false Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(effective_destination_number=27183811754) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(notify_flag=0) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(notify_credit_limit=450.00000) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(type=0) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(callstart=2024-10-04 09:59:36) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(hangup_after_bridge=true) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(continue_on_fail=TRUE) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(account_id=419) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(parent_id=405) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(entity_id=0) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(call_processed=internal) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(call_direction=outbound) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(accountname=default) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(origination_rates=ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(original_caller_id_name=27876300018) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(original_caller_id_number=27876300018) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action limit(db 8773282952 user_8773282952 16 ) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action limit(db 6840389175 user_6840389175 20 ) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(is_recording=1) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(media_bug_answer_req=true) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(record_sample_rate=8000) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(effective_caller_id_name=27876300018) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(effective_caller_id_number=27876300018) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(calltype=STANDARD) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(termination_rates=ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(trunk_id=97) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(provider_id=159) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(rate_flag=0) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(daily_call_credit_limit=10000.00000) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(monthly_call_credit_limit=20000.00000) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(daily_call_used_limit=43.28510) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(monthly_call_used_limit=278.99110) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(quality_trunk_seq=97) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(force_trunk_flag=22665375) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(presence_data=trunk_id=97) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action set(intcall=0) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(presence_id=27183811754) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action export(presence_data=x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action limit(db Goldtel gw_Goldtel 20 ) Dialplan: sofia/default/27876300018@196.7.219.43:8356 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27183811754;fs_path=sip:102.220.232.100:5060) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_ROUTING -> CS_EXECUTE 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300018@196.7.219.43:8356) State ROUTING going to sleep 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_EXECUTE (Cur 2 Tot 36512) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300018@196.7.219.43:8356) State EXECUTE 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_sofia.c:213 sofia/default/27876300018@196.7.219.43:8356 SOFIA EXECUTE 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300018@196.7.219.43:8356 Standard EXECUTE EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(effective_destination_number=27183811754) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [effective_destination_number]=[27183811754] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(execute_on_answer_1=sched_hangup +3600 normal_clearing) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(notify_flag=0) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [notify_flag]=[0] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(notify_credit_limit=450.00000) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [notify_credit_limit]=[450.00000] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(type=0) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [type]=[0] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(callstart=2024-10-04 09:59:36) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [callstart]=[2024-10-04 09:59:36] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(hangup_after_bridge=true) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(continue_on_fail=TRUE) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(account_id=419) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [account_id]=[419] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(parent_id=405) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [parent_id]=[405] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(entity_id=0) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [entity_id]=[0] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(call_processed=internal) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(call_direction=outbound) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [call_direction]=[outbound] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(accountname=default) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [accountname]=[default] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(origination_rates=ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [origination_rates]=[ID:22665375|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.3300000000|INC:1|INITIALBLOCK:1|RATEGROUP:187|MARKUP:0|CI:0|ACCID:419||ID:22493329|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.2805000000|INC:1|INITIALBLOCK:1|RATEGROUP:189|MARKUP:0|CI:0|ACCID:405] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(original_caller_id_name=27876300018) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [original_caller_id_name]=[27876300018] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(original_caller_id_number=27876300018) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [original_caller_id_number]=[27876300018] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 limit(db 8773282952 user_8773282952 16 ) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_limit.c:124 incr called: 8773282952_user_8773282952 max:16, interval:0 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_db.c:194 Usage for 8773282952_user_8773282952 is now 1/16 EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 limit(db 6840389175 user_6840389175 20 ) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_limit.c:124 incr called: 6840389175_user_6840389175 max:20, interval:0 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_db.c:194 Usage for 6840389175_user_6840389175 is now 1/20 EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(is_recording=1) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(media_bug_answer_req=true) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(record_sample_rate=8000) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav) 2024-10-04 09:59:36.433539 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(effective_caller_id_name=27876300018) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [effective_caller_id_name]=[27876300018] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(effective_caller_id_number=27876300018) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [effective_caller_id_number]=[27876300018] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(calltype=STANDARD) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [calltype]=[STANDARD] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(termination_rates=ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [termination_rates]=[ID:4792663|CODE:^2718381.*|DESTINATION:RSA Telkom Geographic|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.0900000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(trunk_id=97) 2024-10-04 09:59:36.433539 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [trunk_id]=[97] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(provider_id=159) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [provider_id]=[159] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(rate_flag=0) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [rate_flag]=[0] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(daily_call_credit_limit=10000.00000) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [daily_call_credit_limit]=[10000.00000] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(monthly_call_credit_limit=20000.00000) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [monthly_call_credit_limit]=[20000.00000] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(daily_call_used_limit=43.28510) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [daily_call_used_limit]=[43.28510] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(monthly_call_used_limit=278.99110) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [monthly_call_used_limit]=[278.99110] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(quality_trunk_seq=97) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [quality_trunk_seq]=[97] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(force_trunk_flag=22665375) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [force_trunk_flag]=[22665375] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(presence_data=trunk_id=97) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 set(intcall=0) 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300018@196.7.219.43:8356 [intcall]=[0] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(presence_id=27183811754) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27183811754] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 export(presence_data=x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic] EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 limit(db Goldtel gw_Goldtel 20 ) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/20 EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27183811754;fs_path=sip:102.220.232.100:5060) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [is_recording]=[1] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [record_sample_rate]=[8000] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [presence_id]=[27183811754] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_channel.c:1269 sofia/default/27876300018@196.7.219.43:8356 EXPORTING[export_vars] [presence_data]=[x//405|||Goldtel Industries(8773282952)|||^2718381.* // RSA Telkom Geographic // 0.3300000000 |||Goldtel // ^2718381.* // RSA Telkom Geographic // 0.0900000000 // trunk_id=97|||STD|||196.7.219.43|||0.2805000000 // ^2718381.* // RSA Telkom Geographic] to event 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables 2024-10-04 09:59:36.453544 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27183811754 [8ebfd1ca-9d62-4c3b-9f40-dae66afd359c] 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_sofia.c:5121 (sofia/default/27183811754) State Change CS_NEW -> CS_INIT 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_INIT (Cur 3 Tot 36513) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27183811754) State INIT 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_sofia.c:97 sofia/default/27183811754 SOFIA INIT 2024-10-04 09:59:36.453544 99.00% [DEBUG] sofia_glue.c:1620 sip:102.220.232.100 Setting proxy route to sofia/default/27183811754 2024-10-04 09:59:36.453544 99.00% [INFO] sofia_glue.c:1651 sofia/default/27183811754 sending invite call-id: (null) 2024-10-04 09:59:36.453544 99.00% [DEBUG] sofia_glue.c:1654 sofia/default/27183811754 sending invite version: 1.10.7 -release 64bit Local SDP: v=0 o=FreeSWITCH 1728009200 1728009201 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 26776 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 a=sendrecv 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/27183811754 Standard INIT 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27183811754) State Change CS_INIT -> CS_ROUTING 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27183811754) State INIT going to sleep 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_ROUTING (Cur 3 Tot 36513) 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27183811754) State ROUTING 2024-10-04 09:59:36.453544 99.00% [DEBUG] mod_sofia.c:158 sofia/default/27183811754 SOFIA ROUTING 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27183811754) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27183811754) State ROUTING going to sleep 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_CONSUME_MEDIA (Cur 3 Tot 36513) 2024-10-04 09:59:36.453544 99.00% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [calling][0] 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27183811754) State CONSUME_MEDIA 2024-10-04 09:59:36.453544 99.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27183811754) State CONSUME_MEDIA going to sleep 2024-10-04 09:59:37.873542 99.07% [INFO] sofia.c:1348 sofia/default/27183811754 Update Callee ID to "Outbound Call" <27183811754> 2024-10-04 09:59:37.873542 99.07% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [proceeding][180] 2024-10-04 09:59:37.873542 99.07% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27183811754! 2024-10-04 09:59:37.873542 99.07% [DEBUG] switch_channel.c:3494 (sofia/default/27183811754) Callstate Change DOWN -> RINGING 2024-10-04 09:59:37.893544 99.07% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300018@196.7.219.43:8356! 2024-10-04 09:59:37.893544 99.07% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [early][180] 2024-10-04 09:59:37.893544 99.07% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300018@196.7.219.43:8356! 2024-10-04 09:59:39.993544 99.17% [INFO] mod_spandsp_fax.c:360 === Negotiation Result ======================================================= Remote station id: Local station id: SpanDSP Fax Ident Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2024-10-04 09:59:41.653542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [completing][200] 2024-10-04 09:59:41.653542 99.23% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=FreeSWITCH 1728015181 1728015182 IN IP4 196.31.25.88 s=FreeSWITCH c=IN IP4 196.31.25.88 t=0 0 m=audio 20798 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2024-10-04 09:59:41.653542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27183811754 entering state [ready][200] 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27183811754 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_codec.c:111 sofia/default/27183811754 Original read codec set to PCMA:8 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:5973 sofia/default/27183811754 Set 2833 dtmf send payload to 101 recv payload to 101 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27183811754] 102.220.232.20 port 26776 -> 196.31.25.88 port 20798 codec: 8 ms: 20 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:9089 sofia/default/27183811754 Set 2833 dtmf send payload to 101 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:9096 sofia/default/27183811754 Set 2833 dtmf receive payload to 101 2024-10-04 09:59:41.653542 99.23% [DEBUG] switch_core_media.c:9119 sofia/default/27183811754 Set rtp dtmf delay to 40 2024-10-04 09:59:41.653542 99.23% [NOTICE] sofia.c:8683 Channel [sofia/default/27183811754] has been answered EXECUTE [depth=1] sofia/default/27183811754 record_session(/usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav) 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27183811754 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_channel.c:3950 (sofia/default/27183811754) Callstate Change RINGING -> ACTIVE 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300018@196.7.219.43:8356] 102.220.232.20 port 17372 -> 196.7.219.43 port 41970 codec: 8 ms: 20 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:9089 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf send payload to 101 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:9096 sofia/default/27876300018@196.7.219.43:8356 Set 2833 dtmf receive payload to 101 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_core_media.c:9119 sofia/default/27876300018@196.7.219.43:8356 Set rtp dtmf delay to 40 2024-10-04 09:59:41.673542 99.23% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300018@196.7.219.43:8356: v=0 o=FreeSWITCH 1728018609 1728018610 IN IP4 102.220.232.20 s=FreeSWITCH c=IN IP4 102.220.232.20 t=0 0 m=audio 17372 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-10-04 09:59:41.673542 99.23% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/default/27876300018@196.7.219.43:8356] has been answered EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 sched_hangup(+3600 normal_clearing) 2024-10-04 09:59:41.673542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [completed][200] 2024-10-04 09:59:41.673542 99.23% [DEBUG] switch_scheduler.c:263 Added task 4234 switch_ivr_schedule_hangup (de90e644-a83d-40ea-9b00-dea562bb6da7) to run at 1728039581 EXECUTE [depth=0] sofia/default/27876300018@196.7.219.43:8356 record_session(/usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav) 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300018@196.7.219.43:8356 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_channel.c:3950 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change RINGING -> ACTIVE 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27183811754] Peer UUID: 8ebfd1ca-9d62-4c3b-9f40-dae66afd359c 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27183811754) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 36513) 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27183811754) State EXCHANGE_MEDIA 2024-10-04 09:59:41.693544 99.23% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-10-04 09:59:41.693544 99.23% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech 2024-10-04 09:59:41.733542 99.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-10-04 09:59:41.733542 99.23% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-10-04 09:59:41.753542 99.23% [DEBUG] sofia.c:7499 Channel sofia/default/27876300018@196.7.219.43:8356 entering state [ready][200] 2024-10-04 09:59:41.993543 99.23% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2024-10-04 09:59:41.993543 99.23% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8 2024-10-04 09:59:44.353542 99.23% [NOTICE] sofia.c:1065 Hangup sofia/default/27876300018@196.7.219.43:8356 [CS_EXECUTE] [NORMAL_CLEARING] 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300018@196.7.219.43:8356] 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27876300018@196.7.219.43:8356 ending bridge by request from write function 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27183811754] 2024-10-04 09:59:44.353542 99.23% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/27183811754 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27183811754) State EXCHANGE_MEDIA going to sleep 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_HANGUP (Cur 3 Tot 36513) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27183811754 skip receive message [UNBRIDGE] (channel is hungup already) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_bridge.c:1895 sofia/default/27876300018@196.7.219.43:8356 skip receive message [UNBRIDGE] (channel is hungup already) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_session.c:2983 sofia/default/27876300018@196.7.219.43:8356 skip receive message [PHONE_EVENT] (channel is hungup already) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300018@196.7.219.43:8356) State EXECUTE going to sleep 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_HANGUP (Cur 3 Tot 36513) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/de90e644-a83d-40ea-9b00-dea562bb6da7.wav 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27183811754 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27183811754) Callstate Change ACTIVE -> HANGUP 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27183811754) State HANGUP 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:462 sofia/default/27183811754 Overriding SIP cause 480 with 200 from the other leg 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/27183811754 hanging up, cause: NORMAL_CLEARING 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300018@196.7.219.43:8356 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27183811754 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/27183811754 Standard HANGUP, cause: NORMAL_CLEARING 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27183811754) State HANGUP going to sleep 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300018@196.7.219.43:8356) Callstate Change ACTIVE -> HANGUP 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27183811754) State Change CS_HANGUP -> CS_REPORTING 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300018@196.7.219.43:8356) State HANGUP 2024-10-04 09:59:44.353542 99.23% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300018@196.7.219.43:8356 hanging up, cause: NORMAL_CLEARING 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27183811754) Running State Change CS_REPORTING (Cur 3 Tot 36513) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27183811754) State REPORTING 2024-10-04 09:59:44.353542 99.23% [INFO] mod_json_cdr.c:271 Process [8ebfd1ca-9d62-4c3b-9f40-dae66afd359c.cdr.json] 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300018@196.7.219.43:8356 Standard HANGUP, cause: NORMAL_CLEARING 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300018@196.7.219.43:8356) State HANGUP going to sleep 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_HANGUP -> CS_REPORTING 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_REPORTING (Cur 3 Tot 36513) 2024-10-04 09:59:44.353542 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300018@196.7.219.43:8356) State REPORTING 2024-10-04 09:59:44.353542 99.23% [INFO] mod_json_cdr.c:271 Process [de90e644-a83d-40ea-9b00-dea562bb6da7.cdr.json] 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/27183811754 Standard REPORTING, cause: NORMAL_CLEARING 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27183811754) State REPORTING going to sleep 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27183811754) State Change CS_REPORTING -> CS_DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_session.c:1753 Session 36513 (sofia/default/27183811754) Locked, Waiting on external entities 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1771 Session 36513 (sofia/default/27183811754) Ended 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27183811754 [CS_DESTROY] 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27183811754) Running State Change CS_DESTROY (Cur 2 Tot 36513) 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27183811754) State DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] mod_sofia.c:379 sofia/default/27183811754 SOFIA DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/27183811754 Standard DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27183811754) State DESTROY going to sleep 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300018@196.7.219.43:8356 Standard REPORTING, cause: NORMAL_CLEARING 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300018@196.7.219.43:8356) State REPORTING going to sleep 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300018@196.7.219.43:8356) State Change CS_REPORTING -> CS_DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_session.c:1753 Session 36512 (sofia/default/27876300018@196.7.219.43:8356) Locked, Waiting on external entities 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1771 Session 36512 (sofia/default/27876300018@196.7.219.43:8356) Ended 2024-10-04 09:59:44.373544 99.23% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300018@196.7.219.43:8356 [CS_DESTROY] 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300018@196.7.219.43:8356) Running State Change CS_DESTROY (Cur 1 Tot 36513) 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300018@196.7.219.43:8356) State DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] mod_sofia.c:379 sofia/default/27876300018@196.7.219.43:8356 SOFIA DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300018@196.7.219.43:8356 Standard DESTROY 2024-10-04 09:59:44.373544 99.23% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300018@196.7.219.43:8356) State DESTROY going to sleep 2024-10-04 09:59:44.673543 99.23% [DEBUG] switch_scheduler.c:147 Deleting task 4234 switch_ivr_schedule_hangup (de90e644-a83d-40ea-9b00-dea562bb6da7) 2024-10-04 09:59:49.073539 99.23% [INFO] mod_spandsp_fax.c:596 ============================================================================== Fax processing not successful - result (26) Carrier lost during fax receive. Remote station id: Local station id: SpanDSP Fax Ident Pages transferred: 0 Total fax pages: 0 Image resolution: 8040x7700 Transfer Rate: 9600 ECM status off T38 status negotiated remote country: remote vendor: remote model: ============================================================================== 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_codec.c:248 sofia/default/27219489171@196.31.25.88 Restore previous codec PCMA:8. EXECUTE [depth=0] sofia/default/27219489171@196.31.25.88 hangup() 2024-10-04 09:59:51.713543 99.47% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/27219489171@196.31.25.88 [CS_EXECUTE] [NORMAL_CLEARING] 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_session.c:2983 sofia/default/27219489171@196.31.25.88 skip receive message [PHONE_EVENT] (channel is hungup already) 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27219489171@196.31.25.88) State EXECUTE going to sleep 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_HANGUP (Cur 1 Tot 36513) 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/aed46086-996f-486f-bafd-d7ae1023b447.wav 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_ivr_async.c:1677 Channel is hung up 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27219489171@196.31.25.88 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27219489171@196.31.25.88) Callstate Change ACTIVE -> HANGUP 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP 2024-10-04 09:59:51.713543 99.47% [DEBUG] mod_sofia.c:468 Channel sofia/default/27219489171@196.31.25.88 hanging up, cause: NORMAL_CLEARING 2024-10-04 09:59:51.713543 99.47% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27219489171@196.31.25.88 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:59 sofia/default/27219489171@196.31.25.88 Standard HANGUP, cause: NORMAL_CLEARING 2024-10-04 09:59:51.713543 99.47% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27219489171@196.31.25.88) State HANGUP going to sleep 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:777 Hangup Command with no Session system(/var/www/html/astpp/FAX/scripts/emailfax.sh /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf simonsrust@stelkor.co.za 27218868674 27219489171): HERE /usr/bin/php /var/www/html/astpp/FAX/scripts/emailfax.php /var/www/html/astpp/FAX/receive_fax_files/aed46086-996f-486f-bafd-d7ae1023b447-FAX.tif 3124291998 Dimension+Data_ simonsrust@stelkor.co.za 27218868674 /var/www/html/astpp/attachments/aed46086-996f-486f-bafd-d7ae1023b447-FAX.pdf 27219489171 HERE 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27219489171@196.31.25.88) State Change CS_HANGUP -> CS_REPORTING 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27219489171@196.31.25.88) Running State Change CS_REPORTING (Cur 1 Tot 36513) 2024-10-04 09:59:51.753545 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING 2024-10-04 09:59:51.753545 99.47% [INFO] mod_json_cdr.c:271 Process [aed46086-996f-486f-bafd-d7ae1023b447.cdr.json] 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:168 sofia/default/27219489171@196.31.25.88 Standard REPORTING, cause: NORMAL_CLEARING 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27219489171@196.31.25.88) State REPORTING going to sleep 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27219489171@196.31.25.88) State Change CS_REPORTING -> CS_DESTROY 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_session.c:1753 Session 36511 (sofia/default/27219489171@196.31.25.88) Locked, Waiting on external entities 2024-10-04 09:59:51.793558 99.47% [NOTICE] switch_core_session.c:1771 Session 36511 (sofia/default/27219489171@196.31.25.88) Ended 2024-10-04 09:59:51.793558 99.47% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27219489171@196.31.25.88 [CS_DESTROY] 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27219489171@196.31.25.88) Running State Change CS_DESTROY (Cur 0 Tot 36513) 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY 2024-10-04 09:59:51.793558 99.47% [DEBUG] mod_sofia.c:379 sofia/default/27219489171@196.31.25.88 SOFIA DESTROY 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:175 sofia/default/27219489171@196.31.25.88 Standard DESTROY 2024-10-04 09:59:51.793558 99.47% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27219489171@196.31.25.88) State DESTROY going to sleep 2024-10-04 09:59:52.173542 99.47% [DEBUG] switch_scheduler.c:147 Deleting task 4233 switch_ivr_schedule_hangup (aed46086-996f-486f-bafd-d7ae1023b447) 2024-10-04 10:03:31.293542 99.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300014@196.7.219.43:8356 [5ffb71f9-cc48-4e06-96df-5d6a87d8d65e] 2024-10-04 10:03:31.293542 99.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300014@196.7.219.43:8356) Running State Change CS_NEW (Cur 1 Tot 36514) 2024-10-04 10:03:31.293542 99.00% [INFO] sofia.c:10462 sofia/default/27876300014@196.7.219.43:8356 receiving invite from 102.220.232.100:5060 version: 1.10.7 -release 64bit call-id: 157d5de8-6d54a14-e64a02a0-80c89bda