2024-12-16 13:10:33.295285 98.00% [NOTICE] switch_channel.c:1142 New Channel sofia/default/1234@00133897.yoursipcloud.com [cef11b45-f79f-4ae3-98d8-7e10f9a444c4] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_NEW (Cur 17 Tot 1667) 2024-12-16 13:10:33.295285 98.00% [INFO] sofia.c:10459 sofia/default/1234@00133897.yoursipcloud.com receiving invite from 185.249.40.236:5060 version: 1.10.10-release 64bit call-id: DLGCH_KB4dHz46HGp6Py4EHCYbJygdLQoqGH59 2024-12-16 13:10:33.295285 98.00% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 185.249.40.236:0. 2024-12-16 13:10:33.295285 98.00% [DEBUG] sofia.c:10582 IP 185.249.40.236 Approved by acl "default[]". Access Granted. 2024-12-16 13:10:33.295285 98.00% [DEBUG] sofia.c:7493 Channel sofia/default/1234@00133897.yoursipcloud.com entering state [received][100] 2024-12-16 13:10:33.295285 98.00% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=Z 0 0 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 8000 RTP/AVP 3 110 8 0 97 101 a=rtpmap:110 speex/8000 a=rtpmap:97 iLBC/8000 a=fmtp:97 mode=30 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G729:18:8000:20:8000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[G729:18:8000:20:8000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[PCMU:0:8000:20:64000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:97:8000:30:0:1]/[G729:18:8000:20:8000:1] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/1234@00133897.yoursipcloud.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_codec.c:111 sofia/default/1234@00133897.yoursipcloud.com Original read codec set to PCMA:8 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_media.c:5856 sofia/default/1234@00133897.yoursipcloud.com Set 2833 dtmf send payload to 101 recv payload to 101 2024-12-16 13:10:33.295285 98.00% [DEBUG] sofia.c:7927 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_NEW -> CS_INIT 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1234@00133897.yoursipcloud.com) State NEW 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_INIT (Cur 17 Tot 1667) 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1234@00133897.yoursipcloud.com) State INIT 2024-12-16 13:10:33.295285 98.00% [DEBUG] mod_sofia.c:97 sofia/default/1234@00133897.yoursipcloud.com SOFIA INIT 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/1234@00133897.yoursipcloud.com Standard INIT 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_INIT -> CS_ROUTING 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1234@00133897.yoursipcloud.com) State INIT going to sleep 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_ROUTING (Cur 17 Tot 1667) 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_channel.c:2399 (sofia/default/1234@00133897.yoursipcloud.com) Callstate Change DOWN -> RINGING 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1234@00133897.yoursipcloud.com) State ROUTING 2024-12-16 13:10:33.295285 98.00% [DEBUG] mod_sofia.c:158 sofia/default/1234@00133897.yoursipcloud.com SOFIA ROUTING 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/1234@00133897.yoursipcloud.com Standard ROUTING 2024-12-16 13:10:33.295285 98.00% [INFO] mod_dialplan_xml.c:639 Processing 1234 <1234>->31855004076 in context default 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-12-16 13:10:33.295285 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-12-16 13:10:33.295285 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 31855004076 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855004076' limit 1 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855004076' AND status=0 limit 1 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855004076' and status=0 LIMIT 1 2024-12-16 13:10:33.295285 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : TEST / 318002666436 2024-12-16 13:10:33.295285 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.295285 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-12-16 13:10:33.295285 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 00133897] 2024-12-16 13:10:33.295285 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "00133897" AND deleted = 0 limit 1 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855004076" AND (accountid = 0 OR status = 1) LIMIT 1 2024-12-16 13:10:33.315277 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1 2024-12-16 13:10:33.315277 98.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 = 1 AND status=0 limit 1 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 1884 2024-12-16 13:10:33.315277 98.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 = '^31855004076.*' OR patterns = '^3185500407.*' OR patterns = '^318550040.*' OR patterns = '^31855004.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1884 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-12-16 13:10:33.315277 98.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 ="31855004076" AND A.accountid = '1884' limit 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855004076 2024-12-16 13:10:33.315277 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '318002666436' OR number = '31800266643' OR number = '3180026664' OR number = '318002666' OR number = '31800266' OR number = '3180026' OR number = '318002' OR number = '31800' OR number = '3180' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '318002666436*' OR number = '31800266643*' OR number = '3180026664*' OR number = '318002666*' OR number = '31800266*' OR number = '3180026*' OR number = '318002*' OR number = '31800*' OR number = '3180*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855004076' OR routing_prefix = '3185500407' OR routing_prefix = '318550040' OR routing_prefix = '31855004' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1884 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 00133897 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-12-16 13:10:33.315277 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 183 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 31855004076 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 136 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1884 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 1884 !!! 2024-12-16 13:10:33.315277 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-12-16 13:10:33.315277 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 12 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 12 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3847299300 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 99300.97566 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 44 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-12-16 13:10:33.315277 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 183 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 31855004076 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 136 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 12 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your99300.97566 balance Accountid 12 !!! 2024-12-16 13:10:33.315277 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1884||ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1884 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-12-16 13:10:33.315277 98.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 = 1884 AND status=0 LIMIT 1 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1884" AND deleted = 0 limit 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:1884 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:1884 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 1884 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1884 limit 1 2024-12-16 13:10:33.315277 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 00133897.yoursipcloud.com 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 107 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '107' and status =0 LIMIT 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}] 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2024-2024","extensions":"377","no_answer_call_type":"7","priority":"1"}] 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '277' LIMIT 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str : time-of-day= "00:00-23:59" wday= "1-7" mday= "1-31" mon= "1-12" year= "2024-2024" 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-12-16 13:10:33.315277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "107" AND accounts.status = 0 2024-12-16 13:10:33.315277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1884 limit 1 2024-12-16 13:10:33.335279 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 00133897.yoursipcloud.com 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 1884 and status = 0 limit 1 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11 2024-12-16 13:10:33.335279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 107 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '107' and status =0 LIMIT 1 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/1234@00133897.yoursipcloud.com parsing [default->+31 6 26673579] continue=true Dialplan: sofia/default/1234@00133897.yoursipcloud.com Absolute Condition [+31 6 26673579] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(timezone=Europe/Amsterdam) INLINE EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(timezone=Europe/Amsterdam) 2024-12-16 13:10:33.335279 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [timezone]=[Europe/Amsterdam] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Date/Time Match (PASS) [+31 6 26673579] break=never Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(office_status=open) INLINE EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(office_status=open) 2024-12-16 13:10:33.335279 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [office_status]=[open] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(extensions=377) INLINE EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(extensions=377) 2024-12-16 13:10:33.335279 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [extensions]=[377] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(no_answer_call_type=7) INLINE EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(no_answer_call_type=7) 2024-12-16 13:10:33.335279 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [no_answer_call_type]=[7] Dialplan: sofia/default/1234@00133897.yoursipcloud.com parsing [default->tod route, x31855004076] continue=false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Regex (PASS) [tod route, x31855004076] destination_number(31855004076) =~ /^(\+?)?(31855004076)$/ break=on-false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action execute_extension(31855004076_${office_status}) 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1234@00133897.yoursipcloud.com) State ROUTING going to sleep 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 17 Tot 1667) 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1234@00133897.yoursipcloud.com) State EXECUTE 2024-12-16 13:10:33.335279 98.00% [DEBUG] mod_sofia.c:213 sofia/default/1234@00133897.yoursipcloud.com SOFIA EXECUTE 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/1234@00133897.yoursipcloud.com Standard EXECUTE EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com execute_extension(31855004076_open) 2024-12-16 13:10:33.335279 98.00% [INFO] mod_dialplan_xml.c:639 Processing 1234 <1234>->31855004076_open in context default 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-12-16 13:10:33.335279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-12-16 13:10:33.335279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 31855004076 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855004076' limit 1 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855004076' AND status=0 limit 1 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855004076' and status=0 LIMIT 1 2024-12-16 13:10:33.335279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : TEST / 318002666436 2024-12-16 13:10:33.335279 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.335279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound 2024-12-16 13:10:33.335279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 00133897] 2024-12-16 13:10:33.335279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "00133897" AND deleted = 0 limit 1 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855004076" AND (accountid = 0 OR status = 1) LIMIT 1 2024-12-16 13:10:33.355279 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1 2024-12-16 13:10:33.355279 98.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 = 1 AND status=0 limit 1 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 1884 2024-12-16 13:10:33.355279 98.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 = '^31855004076.*' OR patterns = '^3185500407.*' OR patterns = '^318550040.*' OR patterns = '^31855004.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 1884 ORDER BY LENGTH(PKGPTR.patterns) DESC 2024-12-16 13:10:33.355279 98.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 ="31855004076" AND A.accountid = '1884' limit 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855004076 2024-12-16 13:10:33.355279 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31855004076' OR number = '3185500407' OR number = '318550040' OR number = '31855004' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855004076*' OR number = '3185500407*' OR number = '318550040*' OR number = '31855004*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '318002666436' OR number = '31800266643' OR number = '3180026664' OR number = '318002666' OR number = '31800266' OR number = '3180026' OR number = '318002' OR number = '31800' OR number = '3180' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '318002666436*' OR number = '31800266643*' OR number = '3180026664*' OR number = '318002666*' OR number = '31800266*' OR number = '3180026*' OR number = '318002*' OR number = '31800*' OR number = '3180*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855004076' OR routing_prefix = '3185500407' OR routing_prefix = '318550040' OR routing_prefix = '31855004' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information =================== 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 1884 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 00133897 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 6 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-12-16 13:10:33.355279 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 183 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 31855004076 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 136 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 1884 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 1884 !!! 2024-12-16 13:10:33.355279 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-12-16 13:10:33.355279 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 12 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information =================== 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 12 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3847299300 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 99300.97566 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid] 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 44 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound 2024-12-16 13:10:33.355279 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31855004076" LIMIT 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information =================== 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 183 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 31855004076 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 136 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 12 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================ 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your99300.97566 balance Accountid 12 !!! 2024-12-16 13:10:33.355279 98.00% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1884||ID:183|CODE:^31855004076.*|DESTINATION:31855004076|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:11|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:1884 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] ======================================================== 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1 2024-12-16 13:10:33.355279 98.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 = 1884 AND status=0 LIMIT 1 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1884" AND deleted = 0 limit 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:1884 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:1884 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 1884 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1884 limit 1 2024-12-16 13:10:33.355279 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : 00133897.yoursipcloud.com 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 107 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '107' and status =0 LIMIT 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"#","no_answer_call_type":"12"}] 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"00-59","wday":"1-7","mday":"1-31","mon":"1-12","year":"2024-2024","extensions":"377","no_answer_call_type":"7","priority":"1"}] 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '277' LIMIT 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str : time-of-day= "00:00-23:59" wday= "1-7" mday= "1-31" mon= "1-12" year= "2024-2024" 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1 2024-12-16 13:10:33.355279 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound 2024-12-16 13:10:33.355279 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "107" AND accounts.status = 0 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1884 limit 1 2024-12-16 13:10:33.375277 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : 00133897.yoursipcloud.com 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 1884 and status = 0 limit 1 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11 2024-12-16 13:10:33.375277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 107 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '107' and status =0 LIMIT 1 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
Dialplan: sofia/default/1234@00133897.yoursipcloud.com parsing [default->+31 6 26673579] continue=true Dialplan: sofia/default/1234@00133897.yoursipcloud.com Absolute Condition [+31 6 26673579] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(timezone=Europe/Amsterdam) INLINE EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(timezone=Europe/Amsterdam) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [timezone]=[Europe/Amsterdam] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Date/Time Match (PASS) [+31 6 26673579] break=never Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(office_status=open) INLINE EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(office_status=open) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [office_status]=[open] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(extensions=377) INLINE EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(extensions=377) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [extensions]=[377] Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(no_answer_call_type=7) INLINE EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(no_answer_call_type=7) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [no_answer_call_type]=[7] Dialplan: sofia/default/1234@00133897.yoursipcloud.com parsing [default->tod route, x31855004076] continue=false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Regex (FAIL) [tod route, x31855004076] destination_number(31855004076_open) =~ /^(\+?)?(31855004076)$/ break=on-false Dialplan: sofia/default/1234@00133897.yoursipcloud.com parsing [default->office is open] continue=false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Regex (PASS) [office is open] destination_number(31855004076_open) =~ /^(\+?)?(31855004076_open)$/ break=on-false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(domain_name=00133897.yoursipcloud.com) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(set_extensions=${extensions}) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(no_answer_flag=true) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(no_answer_call_type=${no_answer_call_type}) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(no_answer_number=${extensions}) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action transfer(1884 XML default) 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(domain_name=00133897.yoursipcloud.com) EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(domain_name=00133897.yoursipcloud.com) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [domain_name]=[00133897.yoursipcloud.com] 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(set_extensions=${extensions}) EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(set_extensions=377) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [set_extensions]=[377] 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(no_answer_flag=true) EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(no_answer_flag=true) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [no_answer_flag]=[true] 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type}) EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(no_answer_call_type=7) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [no_answer_call_type]=[7] 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(no_answer_number=${extensions}) EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com set(no_answer_number=377) 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [no_answer_number]=[377] 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_core_session.c:3089 Execute [depth=1] transfer(1884 XML default) EXECUTE [depth=1] sofia/default/1234@00133897.yoursipcloud.com transfer(1884 XML default) 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_ivr.c:2288 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_EXECUTE -> CS_ROUTING 2024-12-16 13:10:33.375277 98.00% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/1234@00133897.yoursipcloud.com to XML[1884@default] 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1234@00133897.yoursipcloud.com) State EXECUTE going to sleep 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_ROUTING (Cur 17 Tot 1667) 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1234@00133897.yoursipcloud.com) State ROUTING 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged 2024-12-16 13:10:33.375277 98.00% [DEBUG] mod_sofia.c:158 sofia/default/1234@00133897.yoursipcloud.com SOFIA ROUTING 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/1234@00133897.yoursipcloud.com Standard ROUTING 2024-12-16 13:10:33.375277 98.00% [INFO] mod_dialplan_xml.c:639 Processing 1234 <1234>->1884 in context default 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-12-16 13:10:33.375277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-12-16 13:10:33.375277 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 1884 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '1884' limit 1 2024-12-16 13:10:33.375277 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '1884' AND status=0 limit 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '1884' and status=0 LIMIT 1 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : TEST / 318002666436 2024-12-16 13:10:33.395278 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="1884" LIMIT 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="1884" AND domains.domain="00133897.yoursipcloud.com" limit 1 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 00133897] 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "00133897" AND deleted = 0 limit 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1884.*' OR blocked_patterns = '^188.*' OR blocked_patterns = '^18.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 1884 limit 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="1884" AND (accountid = 0 OR status = 1) LIMIT 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "1884" AND deleted = 0 limit 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^1884.*' OR blocked_patterns = '^188.*' OR blocked_patterns = '^18.*' OR blocked_patterns = '^1.*' OR blocked_patterns ='--') AND accountid = 1884 limit 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :1884 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward2 :1884 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] select accountid from domains where domain = '00133897.yoursipcloud.com' 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Accountid 1884 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] select number,first_name from accounts where id = '1884' 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 1884 limit 1 2024-12-16 13:10:33.395278 98.00% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domain00133897.yoursipcloud.com 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward3 :1884 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [DID_PBX_INFO]Userinfo ID :1884 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 7 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : Ring Group 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 377 and status = 0 LIMIT 1 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Final Count : 0=== 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 1884 and status = 0 limit 1 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Recording Flag : 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 1884 2024-12-16 13:10:33.395278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] RingGroup Dlr Str : [sip_invite_params=user=Forwarded-PSTN,sip_h_p-call_type='custom_forward',sip_h_P-RGPSTnAcctCode=00133897,call_timeout=30,confirm=false,announcement=no_file,dialed_user=31626673579#,leg_timeout=30,leg_delay_start=0]sofia/${sofia_profile_name}/31626673579@00133897.yoursipcloud.com:5060| 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '315' LIMIT 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1 2024-12-16 13:10:33.395278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1 2024-12-16 13:10:33.415278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] Userinfo2 :1884 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/1234@00133897.yoursipcloud.com parsing [default->1884] continue=false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Regex (PASS) [1884] destination_number(1884) =~ /1884/ break=on-false Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action export(presence_data=x|||Crediteuren(00133897)|||||||||DID|||111.223.26.250) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action export(did_user_domain=00133897.yoursipcloud.com) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(continue_on_fail=TRUE) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(ignore_early_media=true) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(no_answer_flag=false) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(did_calltype=7) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(did_extensions=377) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(sip_h_P-ring_timeout=30) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(group_confirm_key=exec) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(callstart=2024-12-16 13:10:33) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(account_id=1884) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(effective_caller_id_name=TEST) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(effective_caller_id_number=318002666436) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(original_caller_id_name=TEST) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(original_caller_id_number=318002666436) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(parent_id=12) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(effective_destination_number=31855004076) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(ringback=/var/www/html/astpp//upload/pbx/meldtekst_1_nieuweversiesept2013_.wav) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(module_name=pbx) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action db(insert/pickup_any_group_${callgroup}/377/${uuid}) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(dialed_extension=transfer_call) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action export(dialed_extension=transfer_call) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action export(ring_group_transfer=true) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action bridge({sip_h_P-call_type='custom_forward',ignore_early_media=true}[sip_invite_params=user=Forwarded-PSTN,sip_h_p-call_type='custom_forward',sip_h_P-RGPSTnAcctCode=00133897,call_timeout=30,confirm=false,announcement=no_file,dialed_user=31626673579#,leg_timeout=30,leg_delay_start=0]sofia/${sofia_profile_name}/31626673579@00133897.yoursipcloud.com:5060|) Dialplan: sofia/default/1234@00133897.yoursipcloud.com Action set(original_did_number=1884) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_ROUTING -> CS_EXECUTE 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1234@00133897.yoursipcloud.com) State ROUTING going to sleep 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_EXECUTE (Cur 17 Tot 1667) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1234@00133897.yoursipcloud.com) State EXECUTE 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_sofia.c:213 sofia/default/1234@00133897.yoursipcloud.com SOFIA EXECUTE 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/1234@00133897.yoursipcloud.com Standard EXECUTE EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com export(presence_data=x|||Crediteuren(00133897)|||||||||DID|||111.223.26.250) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[x|||Crediteuren(00133897)|||||||||DID|||111.223.26.250] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com export(did_user_domain=00133897.yoursipcloud.com) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_user_domain]=[00133897.yoursipcloud.com] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(continue_on_fail=TRUE) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [continue_on_fail]=[TRUE] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(ignore_early_media=true) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [ignore_early_media]=[true] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(no_answer_flag=false) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [no_answer_flag]=[false] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(did_calltype=7) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [did_calltype]=[7] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(did_extensions=377) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [did_extensions]=[377] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(sip_h_P-ring_timeout=30) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [sip_h_P-ring_timeout]=[30] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(group_confirm_key=exec) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [group_confirm_key]=[exec] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(callstart=2024-12-16 13:10:33) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [callstart]=[2024-12-16 13:10:33] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(account_id=1884) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [account_id]=[1884] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(effective_caller_id_name=TEST) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [effective_caller_id_name]=[TEST] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(effective_caller_id_number=318002666436) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [effective_caller_id_number]=[318002666436] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(original_caller_id_name=TEST) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [original_caller_id_name]=[TEST] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(original_caller_id_number=318002666436) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [original_caller_id_number]=[318002666436] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(parent_id=12) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [parent_id]=[12] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(effective_destination_number=31855004076) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [effective_destination_number]=[31855004076] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(ringback=/var/www/html/astpp//upload/pbx/meldtekst_1_nieuweversiesept2013_.wav) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [ringback]=[/var/www/html/astpp//upload/pbx/meldtekst_1_nieuweversiesept2013_.wav] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(module_name=pbx) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [module_name]=[pbx] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com db(insert/pickup_any_group_/377/cef11b45-f79f-4ae3-98d8-7e10f9a444c4) EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(dialed_extension=transfer_call) 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com export(dialed_extension=transfer_call) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com bind_meta_app(2 b s execute_extension::transfer_call_2 XML default) 2024-12-16 13:10:33.415278 98.00% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com bind_meta_app(3 b s execute_extension::transfer_call_3 XML default) 2024-12-16 13:10:33.415278 98.00% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com export(ring_group_transfer=true) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [ring_group_transfer]=[true] EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com bridge({sip_h_P-call_type='custom_forward',ignore_early_media=true}[sip_invite_params=user=Forwarded-PSTN,sip_h_p-call_type='custom_forward',sip_h_P-RGPSTnAcctCode=00133897,call_timeout=30,confirm=false,announcement=no_file,dialed_user=31626673579#,leg_timeout=30,leg_delay_start=0]sofia/default/31626673579@00133897.yoursipcloud.com:5060|) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1288 sofia/default/1234@00133897.yoursipcloud.com EXPORTING[export_vars] [presence_data]=[x|||Crediteuren(00133897)|||||||||DID|||111.223.26.250] to event 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1288 sofia/default/1234@00133897.yoursipcloud.com EXPORTING[export_vars] [did_user_domain]=[00133897.yoursipcloud.com] to event 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1288 sofia/default/1234@00133897.yoursipcloud.com EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_channel.c:1288 sofia/default/1234@00133897.yoursipcloud.com EXPORTING[export_vars] [ring_group_transfer]=[true] to event 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables 2024-12-16 13:10:33.415278 98.00% [NOTICE] switch_channel.c:1142 New Channel sofia/default/31626673579@00133897.yoursipcloud.com:5060 [d26a1f01-ab81-4459-9112-353da36a8170] 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_sofia.c:5110 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_ivr_originate.c:3167 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Setting leg timeout to 30 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 18 Tot 1668) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State INIT 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_sofia.c:97 sofia/default/31626673579@00133897.yoursipcloud.com:5060 SOFIA INIT 2024-12-16 13:10:33.415278 98.00% [INFO] sofia_glue.c:1659 sofia/default/31626673579@00133897.yoursipcloud.com:5060 sending invite call-id: (null) 2024-12-16 13:10:33.415278 98.00% [DEBUG] sofia_glue.c:1662 sofia/default/31626673579@00133897.yoursipcloud.com:5060 sending invite version: 1.10.10-release 64bit Local SDP: v=0 o=FreeSWITCH 1734331693 1734331694 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 22940 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-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Standard INIT 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State INIT going to sleep 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 18 Tot 1668) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State ROUTING 2024-12-16 13:10:33.415278 98.00% [DEBUG] mod_sofia.c:158 sofia/default/31626673579@00133897.yoursipcloud.com:5060 SOFIA ROUTING 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_ivr_originate.c:67 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State ROUTING going to sleep 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 18 Tot 1668) 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State CONSUME_MEDIA 2024-12-16 13:10:33.415278 98.00% [DEBUG] switch_core_state_machine.c:659 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep 2024-12-16 13:10:33.415278 98.00% [DEBUG] sofia.c:7493 Channel sofia/default/31626673579@00133897.yoursipcloud.com:5060 entering state [calling][0] 2024-12-16 13:10:33.435278 98.00% [NOTICE] switch_channel.c:1142 New Channel sofia/default/318002666436@185.249.40.236:5060 [6ee6b425-d7a1-4dab-af7d-d7722a62ecb1] 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_NEW (Cur 19 Tot 1669) 2024-12-16 13:10:33.435278 98.00% [INFO] sofia.c:10459 sofia/default/318002666436@185.249.40.236:5060 receiving invite from 185.249.40.236:5060 version: 1.10.10-release 64bit call-id: DLGCH_CzwiLRsWGwYjIjIpN2IKPgEZNF8dKwk+HRg8NiQfAxV3Qy4UAWI1FhUTJgMRfR05CUkjKDcq 2024-12-16 13:10:33.435278 98.00% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 185.249.40.236:0. 2024-12-16 13:10:33.435278 98.00% [DEBUG] sofia.c:10582 IP 185.249.40.236 Approved by acl "default[]". Access Granted. 2024-12-16 13:10:33.435278 98.00% [DEBUG] sofia.c:7493 Channel sofia/default/318002666436@185.249.40.236:5060 entering state [received][100] 2024-12-16 13:10:33.435278 98.00% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1734331693 1734331694 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 22940 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/318002666436@185.249.40.236:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_codec.c:111 sofia/default/318002666436@185.249.40.236:5060 Original read codec set to PCMA:8 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_media.c:5856 sofia/default/318002666436@185.249.40.236:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-12-16 13:10:33.435278 98.00% [DEBUG] sofia.c:7927 (sofia/default/318002666436@185.249.40.236:5060) State Change CS_NEW -> CS_INIT 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/318002666436@185.249.40.236:5060) State NEW 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_INIT (Cur 19 Tot 1669) 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/318002666436@185.249.40.236:5060) State INIT 2024-12-16 13:10:33.435278 98.00% [DEBUG] mod_sofia.c:97 sofia/default/318002666436@185.249.40.236:5060 SOFIA INIT 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/318002666436@185.249.40.236:5060 Standard INIT 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/318002666436@185.249.40.236:5060) State Change CS_INIT -> CS_ROUTING 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/318002666436@185.249.40.236:5060) State INIT going to sleep 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_ROUTING (Cur 19 Tot 1669) 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_channel.c:2399 (sofia/default/318002666436@185.249.40.236:5060) Callstate Change DOWN -> RINGING 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/318002666436@185.249.40.236:5060) State ROUTING 2024-12-16 13:10:33.435278 98.00% [DEBUG] mod_sofia.c:158 sofia/default/318002666436@185.249.40.236:5060 SOFIA ROUTING 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/318002666436@185.249.40.236:5060 Standard ROUTING 2024-12-16 13:10:33.435278 98.00% [INFO] mod_dialplan_xml.c:639 Processing TEST <318002666436>->31626673579 in context default 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes') 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2024-12-16 13:10:33.435278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2024-12-16 13:10:33.435278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 31626673579 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31626673579' limit 1 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31626673579' AND status=0 limit 1 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31626673579' and status=0 LIMIT 1 2024-12-16 13:10:33.435278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 318002666436 / 318002666436 2024-12-16 13:10:33.435278 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31626673579" LIMIT 1 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31626673579" AND domains.domain="00133897.yoursipcloud.com" limit 1 2024-12-16 13:10:33.435278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound 2024-12-16 13:10:33.435278 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 263083] 2024-12-16 13:10:33.435278 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "263083" AND deleted = 0 limit 1 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31626673579.*' OR blocked_patterns = '^3162667357.*' OR blocked_patterns = '^316266735.*' OR blocked_patterns = '^31626673.*' OR blocked_patterns = '^3162667.*' OR blocked_patterns = '^316266.*' OR blocked_patterns = '^31626.*' OR blocked_patterns = '^3162.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns = '^.*' OR blocked_patterns = '^31626673579 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31626673579 2024-12-16 13:10:33.455286 98.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 = '^31626673579.*' OR patterns = '^3162667357.*' OR patterns = '^316266735.*' OR patterns = '^31626673.*' OR patterns = '^3162667.*' OR patterns = '^316266.*' OR patterns = '^31626.*' OR patterns = '^3162.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns = '^.*' OR patterns = '^31626673579 2024-12-16 13:10:33.455286 98.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 FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="31626673579" LIMIT 1 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="31626673579" AND domains.domain="00133897.yoursipcloud.com" limit 1 2024-12-16 13:10:33.455286 98.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31626673579' OR number = '3162667357' OR number = '316266735' OR number = '31626673' OR number = '3162667' OR number = '316266' OR number = '31626' OR number = '3162' OR number = '316' OR number = '31' OR number = '3' OR number = '' OR number = '
Dialplan: sofia/default/318002666436@185.249.40.236:5060 parsing [default->31626673579] continue=false Dialplan: sofia/default/318002666436@185.249.40.236:5060 Regex (PASS) [31626673579] destination_number(31626673579) =~ /31626673579/ break=on-false Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action log(WARNING Accountcode . Dialed number (31626673579) origination rates not found!!) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(original_caller_id_name=318002666436) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(original_caller_id_number=318002666436) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(error_cdr=1) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(callstart=2024-12-16 13:10:33) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(account_id=1061) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(parent_id=12) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(call_direction=outbound) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(sip_ignore_remote_cause=true) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(call_processed=internal) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(effective_destination_number=31626673579) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND) Dialplan: sofia/default/318002666436@185.249.40.236:5060 Action hangup(ORIGINATION_RATE_NOT_FOUND) 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/318002666436@185.249.40.236:5060) State Change CS_ROUTING -> CS_EXECUTE 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/318002666436@185.249.40.236:5060) State ROUTING going to sleep 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_EXECUTE (Cur 19 Tot 1669) 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/318002666436@185.249.40.236:5060) State EXECUTE 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_sofia.c:213 sofia/default/318002666436@185.249.40.236:5060 SOFIA EXECUTE 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/318002666436@185.249.40.236:5060 Standard EXECUTE EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 log(WARNING Accountcode . Dialed number (31626673579) origination rates not found!!) 2024-12-16 13:10:33.455286 98.00% [WARNING] mod_dptools.c:1865 Accountcode . Dialed number (31626673579) origination rates not found!! 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_session.c:2791 Application playback Requires media! pre_answering channel sofia/default/318002666436@185.249.40.236:5060 2024-12-16 13:10:33.455286 98.00% [INFO] switch_core_session.c:2793 Sending early media 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/318002666436@185.249.40.236:5060] 185.249.40.236 port 24510 -> 185.249.40.236 port 22940 codec: 8 ms: 20 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_media.c:8972 sofia/default/318002666436@185.249.40.236:5060 Set 2833 dtmf send payload to 101 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_media.c:8979 sofia/default/318002666436@185.249.40.236:5060 Set 2833 dtmf receive payload to 101 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_core_media.c:9002 sofia/default/318002666436@185.249.40.236:5060 Set rtp dtmf delay to 40 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_sofia.c:2607 Ring SDP: v=0 o=FreeSWITCH 1734330123 1734330124 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 24510 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-12-16 13:10:33.455286 98.00% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/default/318002666436@185.249.40.236:5060! 2024-12-16 13:10:33.455286 98.00% [DEBUG] switch_channel.c:3585 (sofia/default/318002666436@185.249.40.236:5060) Callstate Change RINGING -> EARLY EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav) 2024-12-16 13:10:33.455286 98.00% [WARNING] mod_sndfile.c:281 Error Opening File [/usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav] [System error : No such file or directory.] 2024-12-16 13:10:33.455286 98.00% [DEBUG] sofia.c:7493 Channel sofia/default/318002666436@185.249.40.236:5060 entering state [early][183] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(original_caller_id_name=318002666436) 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [original_caller_id_name]=[318002666436] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(original_caller_id_number=318002666436) 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [original_caller_id_number]=[318002666436] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(error_cdr=1) 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [error_cdr]=[1] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(callstart=2024-12-16 13:10:33) 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [callstart]=[2024-12-16 13:10:33] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(account_id=1061) 2024-12-16 13:10:33.455286 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [account_id]=[1061] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(parent_id=12) 2024-12-16 13:10:33.475277 98.00% [DEBUG] sofia.c:7493 Channel sofia/default/31626673579@00133897.yoursipcloud.com:5060 entering state [proceeding][183] 2024-12-16 13:10:33.475277 98.00% [DEBUG] sofia.c:7503 Remote SDP: v=0 o=FreeSWITCH 1734330123 1734330124 IN IP4 185.249.40.236 s=FreeSWITCH c=IN IP4 185.249.40.236 t=0 0 m=audio 24510 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=ptime:20 2024-12-16 13:10:33.475277 98.00% [NOTICE] sofia.c:7506 Pre-Answer sofia/default/31626673579@00133897.yoursipcloud.com:5060! 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [parent_id]=[12] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(call_direction=outbound) 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [call_direction]=[outbound] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_channel.c:3585 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Callstate Change DOWN -> EARLY EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(sip_ignore_remote_cause=true) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/31626673579@00133897.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_codec.c:111 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Original read codec set to PCMA:8 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [sip_ignore_remote_cause]=[true] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:5856 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/31626673579@00133897.yoursipcloud.com:5060] 185.249.40.236 port 22940 -> 185.249.40.236 port 24510 codec: 8 ms: 20 EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(call_processed=internal) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [call_processed]=[internal] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(effective_destination_number=31626673579) 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [effective_destination_number]=[31626673579] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND) 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/318002666436@185.249.40.236:5060 [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND] EXECUTE [depth=0] sofia/default/318002666436@185.249.40.236:5060 hangup(ORIGINATION_RATE_NOT_FOUND) 2024-12-16 13:10:33.475277 98.00% [NOTICE] mod_dptools.c:1374 Hangup sofia/default/318002666436@185.249.40.236:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_session.c:2979 sofia/default/318002666436@185.249.40.236:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:8972 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/318002666436@185.249.40.236:5060) State EXECUTE going to sleep 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:8979 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Set 2833 dtmf receive payload to 101 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_HANGUP (Cur 19 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_media.c:9002 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Set rtp dtmf delay to 40 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/318002666436@185.249.40.236:5060) Callstate Change EARLY -> HANGUP 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/318002666436@185.249.40.236:5060) State HANGUP 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:469 Channel sofia/default/318002666436@185.249.40.236:5060 hanging up, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/318002666436@185.249.40.236:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/318002666436@185.249.40.236:5060) State HANGUP going to sleep 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/318002666436@185.249.40.236:5060) State Change CS_HANGUP -> CS_REPORTING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_REPORTING (Cur 19 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/318002666436@185.249.40.236:5060) State REPORTING 2024-12-16 13:10:33.475277 98.00% [INFO] mod_json_cdr.c:272 Process [6ee6b425-d7a1-4dab-af7d-d7722a62ecb1.cdr.json] 2024-12-16 13:10:33.475277 98.00% [DEBUG] sofia.c:6672 Remote Reason: 16 2024-12-16 13:10:33.475277 98.00% [DEBUG] sofia.c:7493 Channel sofia/default/31626673579@00133897.yoursipcloud.com:5060 entering state [terminated][480] 2024-12-16 13:10:33.475277 98.00% [NOTICE] sofia.c:8735 Hangup sofia/default/31626673579@00133897.yoursipcloud.com:5060 [CS_CONSUME_MEDIA] [NORMAL_CLEARING] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 19 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Callstate Change EARLY -> HANGUP 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State HANGUP 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:469 Channel sofia/default/31626673579@00133897.yoursipcloud.com:5060 hanging up, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Standard HANGUP, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State HANGUP going to sleep 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 19 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State REPORTING 2024-12-16 13:10:33.475277 98.00% [INFO] mod_json_cdr.c:272 Process [d26a1f01-ab81-4459-9112-353da36a8170.cdr.json] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State REPORTING going to sleep 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_session.c:1744 Session 1668 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Locked, Waiting on external entities 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING] 2024-12-16 13:10:33.475277 98.00% [NOTICE] switch_core_session.c:1762 Session 1668 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Ended 2024-12-16 13:10:33.475277 98.00% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/31626673579@00133897.yoursipcloud.com:5060 [CS_DESTROY] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 18 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State DESTROY 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:380 sofia/default/31626673579@00133897.yoursipcloud.com:5060 SOFIA DESTROY 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/31626673579@00133897.yoursipcloud.com:5060 Standard DESTROY 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/31626673579@00133897.yoursipcloud.com:5060) State DESTROY going to sleep 2024-12-16 13:10:33.475277 98.00% [INFO] mod_dptools.c:3635 Originate Failed. Cause: NORMAL_CLEARING EXECUTE [depth=0] sofia/default/1234@00133897.yoursipcloud.com set(original_did_number=1884) 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_dptools.c:1671 SET sofia/default/1234@00133897.yoursipcloud.com [original_did_number]=[1884] 2024-12-16 13:10:33.475277 98.00% [NOTICE] switch_core_state_machine.c:382 sofia/default/1234@00133897.yoursipcloud.com has executed the last dialplan instruction, hanging up. 2024-12-16 13:10:33.475277 98.00% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1234@00133897.yoursipcloud.com [CS_EXECUTE] [NORMAL_CLEARING] 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1234@00133897.yoursipcloud.com) State EXECUTE going to sleep 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_HANGUP (Cur 18 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1234@00133897.yoursipcloud.com) Callstate Change RINGING -> HANGUP 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1234@00133897.yoursipcloud.com) State HANGUP 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:463 sofia/default/1234@00133897.yoursipcloud.com Overriding SIP cause 480 with 480 from the other leg 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:469 Channel sofia/default/1234@00133897.yoursipcloud.com hanging up, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] mod_sofia.c:614 Responding to INVITE with: 480 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:59 sofia/default/1234@00133897.yoursipcloud.com Standard HANGUP, cause: NORMAL_CLEARING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1234@00133897.yoursipcloud.com) State HANGUP going to sleep 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_HANGUP -> CS_REPORTING 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_REPORTING (Cur 18 Tot 1669) 2024-12-16 13:10:33.475277 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1234@00133897.yoursipcloud.com) State REPORTING 2024-12-16 13:10:33.475277 98.00% [INFO] mod_json_cdr.c:272 Process [cef11b45-f79f-4ae3-98d8-7e10f9a444c4.cdr.json] 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/318002666436@185.249.40.236:5060 Standard REPORTING, cause: NORMAL_CLEARING 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/318002666436@185.249.40.236:5060) State REPORTING going to sleep 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/318002666436@185.249.40.236:5060) State Change CS_REPORTING -> CS_DESTROY 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_session.c:1744 Session 1669 (sofia/default/318002666436@185.249.40.236:5060) Locked, Waiting on external entities 2024-12-16 13:10:33.535280 98.00% [NOTICE] switch_core_session.c:1762 Session 1669 (sofia/default/318002666436@185.249.40.236:5060) Ended 2024-12-16 13:10:33.535280 98.00% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/318002666436@185.249.40.236:5060 [CS_DESTROY] 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/318002666436@185.249.40.236:5060) Running State Change CS_DESTROY (Cur 17 Tot 1669) 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/318002666436@185.249.40.236:5060) State DESTROY 2024-12-16 13:10:33.535280 98.00% [DEBUG] mod_sofia.c:380 sofia/default/318002666436@185.249.40.236:5060 SOFIA DESTROY 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/318002666436@185.249.40.236:5060 Standard DESTROY 2024-12-16 13:10:33.535280 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/318002666436@185.249.40.236:5060) State DESTROY going to sleep 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:168 sofia/default/1234@00133897.yoursipcloud.com Standard REPORTING, cause: NORMAL_CLEARING 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1234@00133897.yoursipcloud.com) State REPORTING going to sleep 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1234@00133897.yoursipcloud.com) State Change CS_REPORTING -> CS_DESTROY 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_session.c:1744 Session 1667 (sofia/default/1234@00133897.yoursipcloud.com) Locked, Waiting on external entities 2024-12-16 13:10:33.555279 98.00% [NOTICE] switch_core_session.c:1762 Session 1667 (sofia/default/1234@00133897.yoursipcloud.com) Ended 2024-12-16 13:10:33.555279 98.00% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/1234@00133897.yoursipcloud.com [CS_DESTROY] 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1234@00133897.yoursipcloud.com) Running State Change CS_DESTROY (Cur 16 Tot 1669) 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1234@00133897.yoursipcloud.com) State DESTROY 2024-12-16 13:10:33.555279 98.00% [DEBUG] mod_sofia.c:380 sofia/default/1234@00133897.yoursipcloud.com SOFIA DESTROY 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:175 sofia/default/1234@00133897.yoursipcloud.com Standard DESTROY 2024-12-16 13:10:33.555279 98.00% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1234@00133897.yoursipcloud.com) State DESTROY going to sleep