span style="color: cornflowerblue; font-weight: bold;"> 2021-12-17 08:46:26.156404 [NOTICE] switch_channel.c:1118 New Channel sofia/default/2007@costaspbx.wifiber.gr [72130798-ca98-4e4c-8342-ca9cfd252413]
2021-12-17 08:46:26.156404 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_NEW (Cur 2 Tot 4687)
2021-12-17 08:46:26.156404 [DEBUG] sofia.c:10280 sofia/default/2007@costaspbx.wifiber.gr receiving invite from 117.247.91.162:46248 version: 1.10.5 -release-17-25569c1631 64bit
2021-12-17 08:46:26.156404 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
2021-12-17 08:46:26.156404 [WARNING] sofia_reg.c:1794 SIP auth challenge (INVITE) on sofia profile 'default' for [302332041999@costaspbx.wifiber.gr] from ip 117.247.91.162
2021-12-17 08:46:26.156404 [DEBUG] switch_core_state_machine.c:604 (sofia/default/2007@costaspbx.wifiber.gr) State NEW
2021-12-17 08:46:26.156404 [DEBUG] sofia.c:2434 detaching session 72130798-ca98-4e4c-8342-ca9cfd252413
2021-12-17 08:46:26.776390 [DEBUG] sofia.c:2544 Re-attaching to session 72130798-ca98-4e4c-8342-ca9cfd252413
2021-12-17 08:46:26.796403 [DEBUG] sofia.c:10280 sofia/default/2007@costaspbx.wifiber.gr receiving invite from 117.247.91.162:46248 version: 1.10.5 -release-17-25569c1631 64bit
2021-12-17 08:46:26.796403 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 117.247.91.162:0.
2021-12-17 08:46:26.796403 [DEBUG] sofia.c:11477 Setting NAT mode based on via received
2021-12-17 08:46:26.796403 [DEBUG] sofia.c:7326 Channel sofia/default/2007@costaspbx.wifiber.gr entering state [received][100]
2021-12-17 08:46:26.796403 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=Z 0 0 IN IP4 117.247.91.162
s=Z
c=IN IP4 117.247.91.162
t=0 0
m=audio 8000 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/2007@costaspbx.wifiber.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-12-17 08:46:26.796403 [DEBUG] switch_core_codec.c:111 sofia/default/2007@costaspbx.wifiber.gr Original read codec set to PCMA:8
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-12-17 08:46:26.796403 [DEBUG] switch_core_media.c:5911 sofia/default/2007@costaspbx.wifiber.gr Set 2833 dtmf send payload to 101 recv payload to 101
2021-12-17 08:46:26.796403 [DEBUG] sofia.c:7760 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_NEW -> CS_INIT
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_INIT (Cur 2 Tot 4687)
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2007@costaspbx.wifiber.gr) State INIT
2021-12-17 08:46:26.796403 [DEBUG] mod_sofia.c:93 sofia/default/2007@costaspbx.wifiber.gr SOFIA INIT
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:40 sofia/default/2007@costaspbx.wifiber.gr Standard INIT
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:48 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_INIT -> CS_ROUTING
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:628 (sofia/default/2007@costaspbx.wifiber.gr) State INIT going to sleep
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_ROUTING (Cur 2 Tot 4687)
2021-12-17 08:46:26.796403 [DEBUG] switch_channel.c:2332 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change DOWN -> RINGING
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@costaspbx.wifiber.gr) State ROUTING
2021-12-17 08:46:26.796403 [DEBUG] mod_sofia.c:154 sofia/default/2007@costaspbx.wifiber.gr SOFIA ROUTING
2021-12-17 08:46:26.796403 [DEBUG] switch_core_state_machine.c:236 sofia/default/2007@costaspbx.wifiber.gr Standard ROUTING
2021-12-17 08:46:26.796403 [INFO] mod_dialplan_xml.c:637 Processing 2007 <2007>->302332041999 in context default
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '302332041999' limit 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '302332041999' AND status=0 limit 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '302332041999' and status=0 LIMIT 1
2021-12-17 08:46:26.796403 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : / 2332041999
2021-12-17 08:46:26.796403 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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 ="302332041999" LIMIT 1
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 3726104889]
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3726104889" AND deleted = 0 limit 1
2021-12-17 08:46:26.796403 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id : 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="302332041999" AND (accountid = 0 OR status = 1) LIMIT 1
2021-12-17 08:46:26.796403 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 7
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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 = '^302332041999.*' OR patterns = '^30233204199.*' OR patterns = '^3023320419.*' OR patterns = '^302332041.*' OR patterns = '^30233204.*' OR patterns = '^3023320.*' OR patterns = '^302332.*' OR patterns = '^30233.*' OR patterns = '^3023.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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 ="302332041999" AND A.accountid = '7' limit 1
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302332041999
2021-12-17 08:46:26.796403 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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 ="302332041999" LIMIT 1
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '302332041999' OR number = '30233204199' OR number = '3023320419' OR number = '302332041' OR number = '30233204' OR number = '3023320' OR number = '302332' OR number = '30233' OR number = '3023' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302332041999*' OR number = '30233204199*' OR number = '3023320419*' OR number = '302332041*' OR number = '30233204*' OR number = '3023320*' OR number = '302332*' OR number = '30233*' OR number = '3023*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '2332041999' OR number = '233204199' OR number = '23320419' OR number = '2332041' OR number = '233204' OR number = '23320' OR number = '2332' OR number = '233' OR number = '23' OR number = '2' OR number ='--') OR (number = '2332041999*' OR number = '233204199*' OR number = '23320419*' OR number = '2332041*' OR number = '233204*' OR number = '23320*' OR number = '2332*' OR number = '233*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '302332041999' OR routing_prefix = '30233204199' OR routing_prefix = '3023320419' OR routing_prefix = '302332041' OR routing_prefix = '30233204' OR routing_prefix = '3023320' OR routing_prefix = '302332' OR routing_prefix = '30233' OR routing_prefix = '3023' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3726104889
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 49.3109
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-12-17 08:46:26.796403 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
2021-12-17 08:46:26.796403 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:26.796403 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....302332041999
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [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 ="302332041999" LIMIT 1
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : inbound
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 23
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : NAOYSA IMATHIA
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 75
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 7
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your49.3109 balance Accountid 7 !!!
2021-12-17 08:46:26.836392 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 200
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 200 minutes
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:7
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:7
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 7
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-17 08:46:26.836392 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : costaspbx.wifiber.gr
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 200
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [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 = "11" AND accounts.status = 0
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-17 08:46:26.836392 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : costaspbx.wifiber.gr
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 7 and status = 0 limit 1
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_10
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 10
2021-12-17 08:46:26.836392 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : IVR
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 11 and status=0 LIMIT 1
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
2021-12-17 08:46:26.836392 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="302332041999">
<condition field="destination_number" expression="302332041999">
<action application="set" data="effective_destination_number=302332041999"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
<action application="set" data="callstart=2021-12-17 06:46:25"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=7"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:23|CODE:^302332041999.*|DESTINATION:NAOYSA IMATHIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:7"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_number=2332041999"/>
<action application="set" data="effective_caller_id_number=2332041999"/>
<action application="set" data="receiver_accid=7"/>
<action application="export" data="domain_name=costaspbx.wifiber.gr"/>
<action application="export" data="sip_to_host=costaspbx.wifiber.gr"/>
<action application="export" data="presence_data=x|||Costas(3726104889)|||||||||DID|||117.247.91.162"/>
<action application="export" data="call_type=10"/>
<action application="set" data="did_calltype=10"/>
<action application="set" data="did_extensions=11"/>
<action application="set" data="ringback="/>
<action application="set" data="module_name=pbx"/>
<action application="set" data="sip_h_P-call_type=custom_forward"/>
<action application="set" data="sip_h_P-Accountcode=7"/>
<action application="set" data="variable_sip_to_host=costaspbx.wifiber.gr"/>
<action application="set" data="userinfo_id=7"/>
<action application="set" data="variable_sip_to_host=costaspbx.wifiber.gr"/>
<action application="set" data="original_did_number=302332041999"/>
<action application="answer"/>
<action application="ivr" data="OFFICE KOPANOS0"/>
<action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/2007@costaspbx.wifiber.gr parsing [default->302332041999] continue=false
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Regex (PASS) [302332041999] destination_number(302332041999) =~ /302332041999/ break=on-false
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(effective_destination_number=302332041999)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(callstart=2021-12-17 06:46:25)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(hangup_after_bridge=true)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(account_id=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(parent_id=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(entity_id=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(call_processed=internal)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(call_direction=inbound)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(accountname=default)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(origination_rates_did=ID:23|CODE:^302332041999.*|DESTINATION:NAOYSA IMATHIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(origination_rates=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(original_caller_id_number=2332041999)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(effective_caller_id_number=2332041999)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(receiver_accid=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(domain_name=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(sip_to_host=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(presence_data=x|||Costas(3726104889)|||||||||DID|||117.247.91.162)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(call_type=10)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(did_calltype=10)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(did_extensions=11)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(ringback=)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(module_name=pbx)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(sip_h_P-call_type=custom_forward)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(sip_h_P-Accountcode=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(variable_sip_to_host=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(userinfo_id=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(variable_sip_to_host=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(original_did_number=302332041999)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action answer()
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action ivr(OFFICE KOPANOS0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
2021-12-17 08:46:26.836392 [DEBUG] switch_core_state_machine.c:287 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_ROUTING -> CS_EXECUTE
2021-12-17 08:46:26.836392 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@costaspbx.wifiber.gr) State ROUTING going to sleep
2021-12-17 08:46:26.836392 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_EXECUTE (Cur 2 Tot 4687)
2021-12-17 08:46:26.836392 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2007@costaspbx.wifiber.gr) State EXECUTE
2021-12-17 08:46:26.836392 [DEBUG] mod_sofia.c:209 sofia/default/2007@costaspbx.wifiber.gr SOFIA EXECUTE
2021-12-17 08:46:26.836392 [DEBUG] switch_core_state_machine.c:329 sofia/default/2007@costaspbx.wifiber.gr Standard EXECUTE
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(effective_destination_number=302332041999)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [effective_destination_number]=[302332041999]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [bridge_pre_execute_bleg_data]=[+12000 normal_clearing]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(callstart=2021-12-17 06:46:25)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [callstart]=[2021-12-17 06:46:25]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(hangup_after_bridge=true)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(continue_on_fail=TRUE)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(account_id=7)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [account_id]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(parent_id=0)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [parent_id]=[0]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(entity_id=0)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [entity_id]=[0]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(call_processed=internal)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(call_direction=inbound)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [call_direction]=[inbound]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(accountname=default)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [accountname]=[default]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(filename1=astpp.pbx.lua)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(origination_rates_did=ID:23|CODE:^302332041999.*|DESTINATION:NAOYSA IMATHIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:7)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [origination_rates_did]=[ID:23|CODE:^302332041999.*|DESTINATION:NAOYSA IMATHIA|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:10|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(origination_rates=0)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [origination_rates]=[0]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(original_caller_id_number=2332041999)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [original_caller_id_number]=[2332041999]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(effective_caller_id_number=2332041999)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [effective_caller_id_number]=[2332041999]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(receiver_accid=7)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(domain_name=costaspbx.wifiber.gr)
2021-12-17 08:46:26.836392 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[costaspbx.wifiber.gr]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(sip_to_host=costaspbx.wifiber.gr)
2021-12-17 08:46:26.836392 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[costaspbx.wifiber.gr]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(presence_data=x|||Costas(3726104889)|||||||||DID|||117.247.91.162)
2021-12-17 08:46:26.836392 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Costas(3726104889)|||||||||DID|||117.247.91.162]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(call_type=10)
2021-12-17 08:46:26.836392 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[10]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(did_calltype=10)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [did_calltype]=[10]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(did_extensions=11)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [did_extensions]=[11]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(ringback=)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [ringback]=[UNDEF]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(module_name=pbx)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [module_name]=[pbx]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(sip_h_P-call_type=custom_forward)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [sip_h_P-call_type]=[custom_forward]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(sip_h_P-Accountcode=7)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [sip_h_P-Accountcode]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(variable_sip_to_host=costaspbx.wifiber.gr)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [variable_sip_to_host]=[costaspbx.wifiber.gr]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(userinfo_id=7)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [userinfo_id]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(variable_sip_to_host=costaspbx.wifiber.gr)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [variable_sip_to_host]=[costaspbx.wifiber.gr]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(original_did_number=302332041999)
2021-12-17 08:46:26.836392 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [original_did_number]=[302332041999]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr answer()
2021-12-17 08:46:26.836392 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/2007@costaspbx.wifiber.gr] 10.151.10.3 port 22914 -> 117.247.91.162 port 8000 codec: 8 ms: 20
2021-12-17 08:46:26.836392 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-12-17 08:46:26.836392 [DEBUG] switch_core_media.c:8977 sofia/default/2007@costaspbx.wifiber.gr Set 2833 dtmf send payload to 101
2021-12-17 08:46:26.836392 [DEBUG] switch_core_media.c:8984 sofia/default/2007@costaspbx.wifiber.gr Set 2833 dtmf receive payload to 101
2021-12-17 08:46:26.836392 [DEBUG] switch_core_media.c:9007 sofia/default/2007@costaspbx.wifiber.gr Set rtp dtmf delay to 40
2021-12-17 08:46:26.836392 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/2007@costaspbx.wifiber.gr:
v=0
o=FreeSWITCH 1639700672 1639700673 IN IP4 78.108.44.190
s=FreeSWITCH
c=IN IP4 78.108.44.190
t=0 0
m=audio 22914 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-12-17 08:46:26.836392 [NOTICE] mod_dptools.c:1406 Channel [sofia/default/2007@costaspbx.wifiber.gr] has been answered
2021-12-17 08:46:26.836392 [DEBUG] switch_channel.c:3865 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change RINGING -> ACTIVE
2021-12-17 08:46:26.836392 [DEBUG] sofia.c:7326 Channel sofia/default/2007@costaspbx.wifiber.gr entering state [completed][200]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr ivr(OFFICE KOPANOS0)
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:883 building menu 'OFFICE KOPANOS0'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '3'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '4'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '5'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '6'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '7'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '8'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '9'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '0'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_menu.c:486 Executing IVR menu OFFICE KOPANOS0
2021-12-17 08:46:26.876357 [DEBUG] switch_core_file.c:405 File /var/www/html/astpp/upload/pbx/WIFIBER_180721060546.wav sample rate 44100 doesn't match requested rate 8000
2021-12-17 08:46:26.876357 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-12-17 08:46:27.156392 [DEBUG] sofia.c:7326 Channel sofia/default/2007@costaspbx.wifiber.gr entering state [ready][200]
2021-12-17 08:46:27.396366 [INFO] switch_rtp.c:7719 Auto Changing audio port from 117.247.91.162:8000 to 117.247.91.162:1489
2021-12-17 08:46:28.276400 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 1:680
2021-12-17 08:46:28.276400 [INFO] switch_channel.c:522 RECV DTMF 1:680
2021-12-17 08:46:28.276400 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/GiatrasMainMenu_111021073934.wav
2021-12-17 08:46:28.276400 [DEBUG] switch_ivr_menu.c:378 waiting for 3/4 digits t/o 2000
2021-12-17 08:46:29.296389 [DEBUG] switch_ivr_menu.c:425 digits '1'
2021-12-17 08:46:29.296389 [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'GIATRAS VASILEIOS0' matched '1' param 'transfer 3001 XML ${domain_name}'
2021-12-17 08:46:29.296389 [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 transfer(3001 XML giatrasvas.pbx.wifiber.gr)
2021-12-17 08:46:29.296389 [DEBUG] switch_ivr.c:2243 (sofia/default/+302331051709@172.17.12.2) State Change CS_EXECUTE -> CS_ROUTING
2021-12-17 08:46:29.296389 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/+302331051709@172.17.12.2 to XML[3001@giatrasvas.pbx.wifiber.gr]
2021-12-17 08:46:29.296389 [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:651 (sofia/default/+302331051709@172.17.12.2) State EXECUTE going to sleep
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+302331051709@172.17.12.2) Running State Change CS_ROUTING (Cur 2 Tot 4687)
2021-12-17 08:46:29.296389 [DEBUG] switch_channel.c:2332 (sofia/default/+302331051709@172.17.12.2) Callstate Change ACTIVE -> RINGING
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:644 (sofia/default/+302331051709@172.17.12.2) State ROUTING
2021-12-17 08:46:29.296389 [DEBUG] mod_sofia.c:154 sofia/default/+302331051709@172.17.12.2 SOFIA ROUTING
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:236 sofia/default/+302331051709@172.17.12.2 Standard ROUTING
2021-12-17 08:46:29.296389 [INFO] mod_dialplan_xml.c:637 Processing +302331051709 <+302331051709>->3001 in context giatrasvas.pbx.wifiber.gr
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3001' limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3001' AND status=0 limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3001' and status=0 LIMIT 1
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : +302331051709 / +302331051709
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 39 limit 1
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaingiatrasvas.pbx.wifiber.gr
2021-12-17 08:46:29.296389 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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 ="3001" LIMIT 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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="3001" AND domains.domain="giatrasvas.pbx.wifiber.gr" limit 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 39]
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "39" AND deleted = 0 limit 1
2021-12-17 08:46:29.296389 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id : 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="3001" AND (accountid = 0 OR status = 1) LIMIT 1
2021-12-17 08:46:29.296389 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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 = '^3001.*' OR patterns = '^300.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 39 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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 ="3001" AND A.accountid = '39' limit 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3001
2021-12-17 08:46:29.296389 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3001
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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 ="3001" LIMIT 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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="3001" AND domains.domain="giatrasvas.pbx.wifiber.gr" limit 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : local
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '3001' OR number = '300' OR number = '30' OR number = '3' OR number ='--') OR (number = '3001*' OR number = '300*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '+302331051709' OR number = '+30233105170' OR number = '+3023310517' OR number = '+302331051' OR number = '+30233105' OR number = '+3023310' OR number = '+302331' OR number = '+30233' OR number = '+3023' OR number = '+302' OR number = '+30' OR number = '+3' OR number = '+' OR number ='--') OR (number = '+302331051709*' OR number = '+30233105170*' OR number = '+3023310517*' OR number = '+302331051*' OR number = '+30233105*' OR number = '+3023310*' OR number = '+302331*' OR number = '+30233*' OR number = '+3023*' OR number = '+302*' OR number = '+30*' OR number = '+3*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3001' OR routing_prefix = '300' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 39
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 6925542601
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 100
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 39 !!!
2021-12-17 08:46:29.296389 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 200
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 200 minutes
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [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="3001" AND domains.domain="giatrasvas.pbx.wifiber.gr" limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 39 AND status=0 LIMIT 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 200
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : local
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 39 limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 64 limit 1
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [PBX] User Domaingiatrasvas.pbx.wifiber.gr
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [LOCAL CALL] Recording Flag :0
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
2021-12-17 08:46:29.296389 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 64
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 64 limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :call_transfer_attended
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :call_transfer
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_PICKUP_GROUP] Query :SELECT id,name from pickup_group where id IN (2) AND status = 0
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
2021-12-17 08:46:29.296389 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-12-17 08:46:29.296389 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="giatrasvas.pbx.wifiber.gr">
<extension name="3001">
<condition field="destination_number" expression="3001">
<action application="set" data="effective_destination_number=3001"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
<action application="set" data="callstart=2021-12-17 06:46:28"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=39"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:0|CODE:^3001.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:39"/>
<action application="set" data="original_caller_id_name=+302331051709"/>
<action application="set" data="original_caller_id_number=+302331051709"/>
<action application="export" data="presence_data=||||||||||||LOCAL|||172.17.12.2"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=+302331051709"/>
<action application="set" data="effective_caller_id_number=+302331051709"/>
<action application="set" data="calltype=LOCAL"/>
<action application="set" data="receiver_accid=39"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/3001/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="set" data="transfer_ringback=$${hold_music}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=39}[leg_timeout=200 ] user/3001@giatrasvas.pbx.wifiber.gr,pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001"/>
<action application="set" data="on_busy_flag=0"/>
<action application="set" data="on_busy_destination=3002"/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination=3002"/>
<action application="set" data="not_register_flag=0"/>
<action application="set" data="not_register_destination=3002"/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=giatrasvas.pbx.wifiber.gr"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=200"/>
<action application="set" data="userinfo_id=39"/>
<action application="set" data="sip_destination_number=3001"/>
<action application="set" data="did_number=3001"/>
<action application="set" data="user_domain=giatrasvas.pbx.wifiber.gr"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 3001@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=3001"/>
<action application="voicemail" data="default $${domain_name} 3001"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/+302331051709@172.17.12.2 parsing [giatrasvas.pbx.wifiber.gr->3001] continue=false
Dialplan: sofia/default/+302331051709@172.17.12.2 Regex (PASS) [3001] destination_number(3001) =~ /3001/ break=on-false
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(effective_destination_number=3001)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(callstart=2021-12-17 06:46:28)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(account_id=39)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(parent_id=0)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(entity_id=0)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(call_processed=internal)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(call_direction=local)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(accountname=default)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(origination_rates=ID:0|CODE:^3001.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:39)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(original_caller_id_name=+302331051709)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(original_caller_id_number=+302331051709)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(presence_data=||||||||||||LOCAL|||172.17.12.2)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(is_recording=1)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(media_bug_answer_req=true)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(RECORD_STEREO=true)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(record_sample_rate=8000)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(effective_caller_id_name=+302331051709)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(effective_caller_id_number=+302331051709)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(calltype=LOCAL)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(receiver_accid=39)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action db(insert/pickup_any_group_${callgroup}/3001/${uuid})
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(transfer_ringback=$${hold_music})
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=39}[leg_timeout=200 ] user/3001@giatrasvas.pbx.wifiber.gr,pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(on_busy_flag=0)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(on_busy_destination=3002)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(no_answer_flag=1)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(no_answer_destination=3002)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(not_register_flag=0)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(not_register_destination=3002)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(opensips_flag=1)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(variable_sip_to_host=giatrasvas.pbx.wifiber.gr)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(leg_timeout=200)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(userinfo_id=39)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(sip_destination_number=3001)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(did_number=3001)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action set(user_domain=giatrasvas.pbx.wifiber.gr)
Dialplan: sofia/default/+302331051709@172.17.12.2 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [3001_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/+302331051709@172.17.12.2 Regex (FAIL) [3001_recur_1] ${cond(${user_data 3001@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/+302331051709@172.17.12.2 ANTI-Action hangup(${originate_disposition})
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:287 (sofia/default/+302331051709@172.17.12.2) State Change CS_ROUTING -> CS_EXECUTE
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:644 (sofia/default/+302331051709@172.17.12.2) State ROUTING going to sleep
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:585 (sofia/default/+302331051709@172.17.12.2) Running State Change CS_EXECUTE (Cur 2 Tot 4687)
2021-12-17 08:46:29.296389 [DEBUG] switch_channel.c:2334 (sofia/default/+302331051709@172.17.12.2) Callstate Change RINGING -> ACTIVE
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:651 (sofia/default/+302331051709@172.17.12.2) State EXECUTE
2021-12-17 08:46:29.296389 [DEBUG] mod_sofia.c:209 sofia/default/+302331051709@172.17.12.2 SOFIA EXECUTE
2021-12-17 08:46:29.296389 [DEBUG] switch_core_state_machine.c:329 sofia/default/+302331051709@172.17.12.2 Standard EXECUTE
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(effective_destination_number=3001)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [effective_destination_number]=[3001]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [bridge_pre_execute_bleg_data]=[+12000 normal_clearing]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(callstart=2021-12-17 06:46:28)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [callstart]=[2021-12-17 06:46:28]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(hangup_after_bridge=true)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(continue_on_fail=TRUE)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(account_id=39)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [account_id]=[39]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(parent_id=0)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [parent_id]=[0]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(entity_id=0)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [entity_id]=[0]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(call_processed=internal)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(call_direction=local)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [call_direction]=[local]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(accountname=default)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [accountname]=[default]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(filename1=astpp.pbx.lua)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(origination_rates=ID:0|CODE:^3001.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:39)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [origination_rates]=[ID:0|CODE:^3001.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:39]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(original_caller_id_name=+302331051709)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [original_caller_id_name]=[+302331051709]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(original_caller_id_number=+302331051709)
2021-12-17 08:46:29.296389 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [original_caller_id_number]=[+302331051709]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(presence_data=||||||||||||LOCAL|||172.17.12.2)
2021-12-17 08:46:29.296389 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[||||||||||||LOCAL|||172.17.12.2]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(is_recording=1)
2021-12-17 08:46:29.296389 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [is_recording]=[1]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(media_bug_answer_req=true)
2021-12-17 08:46:29.296389 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(RECORD_STEREO=true)
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(record_sample_rate=8000)
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(execute_on_answer=record_session /var/lib/freeswitch/recordings/9f395804-7d80-4d5d-bed2-f9c76e29f4c0.wav)
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/9f395804-7d80-4d5d-bed2-f9c76e29f4c0.wav]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(effective_caller_id_name=+302331051709)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [effective_caller_id_name]=[+302331051709]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(effective_caller_id_number=+302331051709)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [effective_caller_id_number]=[+302331051709]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(calltype=LOCAL)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [calltype]=[LOCAL]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(receiver_accid=39)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [receiver_accid]=[39]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 db(insert/pickup_any_group_/3001/9f395804-7d80-4d5d-bed2-f9c76e29f4c0)
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(dialed_extension=transfer_call)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 export(dialed_extension=transfer_call)
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-12-17 08:46:29.336354 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-12-17 08:46:29.336354 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(transfer_ringback=local_stream://moh)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [transfer_ringback]=[local_stream://moh]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 set(hangup_after_bridge=true)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:1672 SET sofia/default/+302331051709@172.17.12.2 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/+302331051709@172.17.12.2 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=39}[leg_timeout=200 ] user/3001@giatrasvas.pbx.wifiber.gr,pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001)
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1906 (sofia/default/+302331051709@172.17.12.2) Callstate Change ACTIVE -> RING_WAIT
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [domain_name]=[giatrasvas.pbx.wifiber.gr] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [sip_to_host]=[giatrasvas.pbx.wifiber.gr] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||172.17.12.2] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [call_type]=[10] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [no_answer_number]=[64] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||172.17.12.2] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [is_recording]=[1] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/9f395804-7d80-4d5d-bed2-f9c76e29f4c0.wav] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [domain_name]=[giatrasvas.pbx.wifiber.gr] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [sip_to_host]=[giatrasvas.pbx.wifiber.gr] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||172.17.12.2] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [call_type]=[10] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [no_answer_number]=[64] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||172.17.12.2] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [is_recording]=[1] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/9f395804-7d80-4d5d-bed2-f9c76e29f4c0.wav] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:1264 sofia/default/+302331051709@172.17.12.2 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
2021-12-17 08:46:29.336354 [NOTICE] switch_channel.c:1118 New Channel sofia/default/3001@10.100.17.104:5138 [48dd8ec5-59bb-4f74-9ac7-37c0aafd5343]
2021-12-17 08:46:29.336354 [DEBUG] mod_sofia.c:5089 (sofia/default/3001@10.100.17.104:5138) State Change CS_NEW -> CS_INIT
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:3111 sofia/default/3001@10.100.17.104:5138 Setting leg timeout to 200
2021-12-17 08:46:29.336354 [DEBUG] switch_channel.c:2130 (sofia/default/+302331051709@172.17.12.2) Callstate Change RING_WAIT -> ACTIVE
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:3111 sofia/default/3001@10.100.17.104:5138 Setting leg timeout to 200
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3001@10.100.17.104:5138) Running State Change CS_INIT (Cur 3 Tot 4688)
2021-12-17 08:46:29.336354 [DEBUG] mod_dptools.c:4071 () State Change CS_NEW -> CS_ROUTING
2021-12-17 08:46:29.336354 [NOTICE] switch_channel.c:1118 New Channel pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001 [c26a4397-7947-4821-830c-d8c43121d490]
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3001@10.100.17.104:5138) State INIT
2021-12-17 08:46:29.336354 [DEBUG] mod_sofia.c:93 sofia/default/3001@10.100.17.104:5138 SOFIA INIT
2021-12-17 08:46:29.336354 [DEBUG] sofia_glue.c:1587 sip:3001@10.100.17.104:5138 Setting proxy route to sofia/default/3001@10.100.17.104:5138
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:585 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Running State Change CS_ROUTING (Cur 4 Tot 4689)
2021-12-17 08:46:29.336354 [DEBUG] sofia_glue.c:1618 sofia/default/3001@10.100.17.104:5138 sending invite version: 1.10.5 -release-17-25569c1631 64bit
Local SDP:
v=0
o=FreeSWITCH 1639693563 1639693564 IN IP4 78.108.44.190
s=FreeSWITCH
c=IN IP4 78.108.44.190
t=0 0
m=audio 30026 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:40 sofia/default/3001@10.100.17.104:5138 Standard INIT
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:48 (sofia/default/3001@10.100.17.104:5138) State Change CS_INIT -> CS_ROUTING
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:628 (sofia/default/3001@10.100.17.104:5138) State INIT going to sleep
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:644 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State ROUTING
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:67 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:644 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State ROUTING going to sleep
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:585 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 4689)
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:663 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State CONSUME_MEDIA
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:663 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State CONSUME_MEDIA going to sleep
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3001@10.100.17.104:5138) Running State Change CS_ROUTING (Cur 4 Tot 4689)
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3001@10.100.17.104:5138) State ROUTING
2021-12-17 08:46:29.336354 [DEBUG] mod_sofia.c:154 sofia/default/3001@10.100.17.104:5138 SOFIA ROUTING
2021-12-17 08:46:29.336354 [DEBUG] switch_ivr_originate.c:67 (sofia/default/3001@10.100.17.104:5138) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:644 (sofia/default/3001@10.100.17.104:5138) State ROUTING going to sleep
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3001@10.100.17.104:5138) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 4689)
2021-12-17 08:46:29.336354 [DEBUG] sofia.c:7326 Channel sofia/default/3001@10.100.17.104:5138 entering state [calling][0]
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:663 (sofia/default/3001@10.100.17.104:5138) State CONSUME_MEDIA
2021-12-17 08:46:29.336354 [DEBUG] switch_core_state_machine.c:663 (sofia/default/3001@10.100.17.104:5138) State CONSUME_MEDIA going to sleep
2021-12-17 08:46:29.636388 [DEBUG] sofia.c:7326 Channel sofia/default/3001@10.100.17.104:5138 entering state [proceeding][180]
2021-12-17 08:46:29.636388 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/3001@10.100.17.104:5138!
2021-12-17 08:46:29.636388 [DEBUG] switch_channel.c:3437 (sofia/default/3001@10.100.17.104:5138) Callstate Change DOWN -> RINGING
2021-12-17 08:46:29.696363 [DEBUG] switch_ivr_originate.c:1333 Raw Codec Activation Success L16@8000hz 1 channel 20ms
2021-12-17 08:46:29.696363 [DEBUG] switch_core_codec.c:223 sofia/default/+302331051709@172.17.12.2 Push codec L16:100
2021-12-17 08:46:29.696363 [DEBUG] switch_ivr_originate.c:1365 Play Ringback File [local_stream://moh]
2021-12-17 08:46:29.696363 [DEBUG] mod_local_stream.c:909 Opening Stream [moh/8000] 8000hz
2021-12-17 08:46:32.516388 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 4:960
2021-12-17 08:46:32.516388 [INFO] switch_channel.c:522 RECV DTMF 4:960
2021-12-17 08:46:32.516388 [DEBUG] switch_ivr_play_say.c:1933 done playing file /var/www/html/astpp/upload/pbx/WIFIBER_180721060546.wav
2021-12-17 08:46:32.516388 [DEBUG] switch_ivr_menu.c:378 waiting for 19/20 digits t/o 2000
2021-12-17 08:46:33.536362 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF #:960
span style="color: green; font-weight: bold;"> 2021-12-17 08:46:33.536362 [INFO] switch_channel.c:522 RECV DTMF #:960
span style="color: goldenrod; font-weight: bold;"> 2021-12-17 08:46:33.536362 [DEBUG] switch_ivr_menu.c:425 digits '4'
2021-12-17 08:46:33.536362 [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'OFFICE KOPANOS0' matched '4' param 'transfer 2003 XML ${domain_name}'
2021-12-17 08:46:33.536362 [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr transfer(2003 XML costaspbx.wifiber.gr)
2021-12-17 08:46:33.536362 [DEBUG] switch_ivr.c:2243 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_EXECUTE -> CS_ROUTING
2021-12-17 08:46:33.536362 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/2007@costaspbx.wifiber.gr to XML[2003@costaspbx.wifiber.gr]
2021-12-17 08:46:33.536362 [DEBUG] switch_ivr_menu.c:562 action regex [4] [/^(\d{2,20})$/] [0]
2021-12-17 08:46:33.536362 [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
2021-12-17 08:46:33.536362 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2007@costaspbx.wifiber.gr) State EXECUTE going to sleep
2021-12-17 08:46:33.536362 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_ROUTING (Cur 4 Tot 4689)
2021-12-17 08:46:33.536362 [DEBUG] switch_channel.c:2332 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change ACTIVE -> RINGING
2021-12-17 08:46:33.536362 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@costaspbx.wifiber.gr) State ROUTING
2021-12-17 08:46:33.536362 [DEBUG] mod_sofia.c:154 sofia/default/2007@costaspbx.wifiber.gr SOFIA ROUTING
2021-12-17 08:46:33.536362 [DEBUG] switch_core_state_machine.c:236 sofia/default/2007@costaspbx.wifiber.gr Standard ROUTING
2021-12-17 08:46:33.536362 [INFO] mod_dialplan_xml.c:637 Processing 2007 <2007>->2003 in context costaspbx.wifiber.gr
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:33.556368 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-17 08:46:33.556368 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2003' limit 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2003' AND status=0 limit 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2003' and status=0 LIMIT 1
2021-12-17 08:46:33.556368 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2021-12-17 08:46:33.556368 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : / 2332041999
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-17 08:46:33.556368 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaincostaspbx.wifiber.gr
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2003
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 00302003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....00302003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....00302003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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 ="00302003" LIMIT 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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="2003" AND domains.domain="costaspbx.wifiber.gr" limit 1
2021-12-17 08:46:33.556368 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : local
2021-12-17 08:46:33.556368 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 7]
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id : 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2003
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 00302003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....00302003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....00302003
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00302003" AND (accountid = 0 OR status = 1) LIMIT 1
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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 = '^2003.*' OR patterns = '^200.*' OR patterns = '^20.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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 ="2003" AND A.accountid = '7' limit 1
2021-12-17 08:46:33.556368 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2003
2021-12-17 08:46:33.556368 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:33.556368 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....2003
2021-12-17 08:46:33.576355 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2003
2021-12-17 08:46:33.576355 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 00302003
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....00302003
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....00302003
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [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 ="00302003" LIMIT 1
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [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="2003" AND domains.domain="costaspbx.wifiber.gr" limit 1
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : local
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '2003' OR number = '200' OR number = '20' OR number = '2' OR number ='--') OR (number = '2003*' OR number = '200*' OR number = '20*' OR number = '2*' OR number ='--') OR (number = '2332041999' OR number = '233204199' OR number = '23320419' OR number = '2332041' OR number = '233204' OR number = '23320' OR number = '2332' OR number = '233' OR number = '23' OR number = '2' OR number ='--') OR (number = '2332041999*' OR number = '233204199*' OR number = '23320419*' OR number = '2332041*' OR number = '233204*' OR number = '23320*' OR number = '2332*' OR number = '233*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2003' OR routing_prefix = '200' OR routing_prefix = '20' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3726104889
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 100
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-17 08:46:33.576355 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
2021-12-17 08:46:33.576355 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your100 balance Accountid 7 !!!
2021-12-17 08:46:33.576355 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 200
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 200 minutes
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [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="2003" AND domains.domain="costaspbx.wifiber.gr" limit 1
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] Maxlength : 200
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : local
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 34 limit 1
2021-12-17 08:46:33.576355 [WARNING] switch_cpp.cpp:1447 [ASTPP] [PBX] User Domaincostaspbx.wifiber.gr
2021-12-17 08:46:33.576355 [WARNING] switch_cpp.cpp:1447 [ASTPP] [LOCAL CALL] Recording Flag :1
2021-12-17 08:46:33.576355 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
2021-12-17 08:46:33.576355 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 34
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 34 limit 1
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :call_transfer_attended
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :call_transfer
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 0
2021-12-17 08:46:33.576355 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Enable
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [NOTIFY] START:
2021-12-17 08:46:33.576355 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="costaspbx.wifiber.gr">
<extension name="2003">
<condition field="destination_number" expression="2003">
<action application="set" data="effective_destination_number=2003"/>
<action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
<action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
<action application="set" data="callstart=2021-12-17 06:46:32"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=7"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=local"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:0|CODE:^2003.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7"/>
<action application="set" data="original_caller_id_number=2332041999"/>
<action application="limit" data="hash inbound 2003 1 !USER_BUSY" />
<action application="export" data="presence_data=||||||||||||LOCAL|||117.247.91.162"/>
<action application="set" data="effective_caller_id_number=2332041999"/>
<action application="set" data="calltype=LOCAL"/>
<action application="set" data="receiver_accid=7"/>
<action application="db" data="insert/pickup_any_group_${callgroup}/6980388888#/${uuid}"/>
<action application="set" data="dialed_extension=transfer_call"/>
<action application="export" data="dialed_extension=transfer_call"/>
<action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
<action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="export" data="sip_to_host=costaspbx.wifiber.gr"/>
<action application="export" data="domain_name=costaspbx.wifiber.gr"/>
<action application="transfer" data="6980388888 XML default"/>
<action application="set" data="on_busy_flag=1"/>
<action application="set" data="on_busy_destination=0"/>
<action application="set" data="no_answer_flag=1"/>
<action application="set" data="no_answer_destination=0"/>
<action application="set" data="not_register_flag=1"/>
<action application="set" data="not_register_destination=0"/>
<action application="set" data="opensips_flag=1"/>
<action application="set" data="variable_sip_to_host=costaspbx.wifiber.gr"/>
<action application="set" data="opensips_domain=127.0.0.1"/>
<action application="set" data="leg_timeout=200"/>
<action application="set" data="userinfo_id=7"/>
<action application="set" data="sip_destination_number=6980388888#"/>
<action application="set" data="did_number=6980388888#"/>
<action application="set" data="user_domain=costaspbx.wifiber.gr"/>
<action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
<condition field="${cond(${user_data 6980388888#@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
<action application="answer"/>
<action application="export" data="voicemail_alternate_greet_id=6980388888#"/>
<action application="voicemail" data="default $${domain_name} 6980388888#"/>
<anti-action application="hangup" data="${originate_disposition}"/>
</condition>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/2007@costaspbx.wifiber.gr parsing [costaspbx.wifiber.gr->2003] continue=false
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Regex (PASS) [2003] destination_number(2003) =~ /2003/ break=on-false
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(effective_destination_number=2003)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(callstart=2021-12-17 06:46:32)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(hangup_after_bridge=true)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(account_id=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(parent_id=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(entity_id=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(call_processed=internal)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(call_direction=local)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(accountname=default)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(origination_rates=ID:0|CODE:^2003.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(original_caller_id_number=2332041999)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action limit(hash inbound 2003 1 !USER_BUSY)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(presence_data=||||||||||||LOCAL|||117.247.91.162)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(effective_caller_id_number=2332041999)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(calltype=LOCAL)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(receiver_accid=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action db(insert/pickup_any_group_${callgroup}/6980388888#/${uuid})
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(dialed_extension=transfer_call)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(dialed_extension=transfer_call)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(hangup_after_bridge=true)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(sip_to_host=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action export(domain_name=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action transfer(6980388888 XML default)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(on_busy_flag=1)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(on_busy_destination=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(no_answer_flag=1)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(no_answer_destination=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(not_register_flag=1)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(not_register_destination=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(opensips_flag=1)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(variable_sip_to_host=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(opensips_domain=127.0.0.1)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(leg_timeout=200)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(userinfo_id=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(sip_destination_number=6980388888#)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(did_number=6980388888#)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(user_domain=costaspbx.wifiber.gr)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
|--- Dialplan: Processing recursive conditions level:1 [2003_recur_1] require-nested=TRUE
|--- Dialplan: sofia/default/2007@costaspbx.wifiber.gr Regex (FAIL) [2003_recur_1] ${cond(${user_data 6980388888#@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
|--- Dialplan: sofia/default/2007@costaspbx.wifiber.gr ANTI-Action hangup(${originate_disposition})
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:287 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_ROUTING -> CS_EXECUTE
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@costaspbx.wifiber.gr) State ROUTING going to sleep
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_EXECUTE (Cur 4 Tot 4689)
2021-12-17 08:46:33.596363 [DEBUG] switch_channel.c:2334 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change RINGING -> ACTIVE
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2007@costaspbx.wifiber.gr) State EXECUTE
2021-12-17 08:46:33.596363 [DEBUG] mod_sofia.c:209 sofia/default/2007@costaspbx.wifiber.gr SOFIA EXECUTE
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:329 sofia/default/2007@costaspbx.wifiber.gr Standard EXECUTE
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(effective_destination_number=2003)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [effective_destination_number]=[2003]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(bridge_pre_execute_bleg_app=sched_hangup)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [bridge_pre_execute_bleg_data]=[+12000 normal_clearing]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(callstart=2021-12-17 06:46:32)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [callstart]=[2021-12-17 06:46:32]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(hangup_after_bridge=true)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(continue_on_fail=TRUE)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [continue_on_fail]=[TRUE]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(account_id=7)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [account_id]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(parent_id=0)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [parent_id]=[0]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(entity_id=0)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [entity_id]=[0]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(call_processed=internal)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(call_direction=local)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [call_direction]=[local]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(accountname=default)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [accountname]=[default]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(filename1=astpp.pbx.lua)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [filename1]=[astpp.pbx.lua]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(origination_rates=ID:0|CODE:^2003.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [origination_rates]=[ID:0|CODE:^2003.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:1|MARKUP:0|CI:0|ACCID:7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(original_caller_id_number=2332041999)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [original_caller_id_number]=[2332041999]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr limit(hash inbound 2003 1 !USER_BUSY)
2021-12-17 08:46:33.596363 [DEBUG] switch_limit.c:124 incr called: inbound_2003 max:1, interval:0
2021-12-17 08:46:33.596363 [DEBUG] mod_hash.c:196 Usage for inbound_2003 is now 1/1
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(presence_data=||||||||||||LOCAL|||117.247.91.162)
2021-12-17 08:46:33.596363 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[||||||||||||LOCAL|||117.247.91.162]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(effective_caller_id_number=2332041999)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [effective_caller_id_number]=[2332041999]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(calltype=LOCAL)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [calltype]=[LOCAL]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(receiver_accid=7)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [receiver_accid]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr db(insert/pickup_any_group_/6980388888#/72130798-ca98-4e4c-8342-ca9cfd252413)
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(dialed_extension=transfer_call)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(dialed_extension=transfer_call)
2021-12-17 08:46:33.596363 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
2021-12-17 08:46:33.596363 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
2021-12-17 08:46:33.596363 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(hangup_after_bridge=true)
2021-12-17 08:46:33.596363 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(sip_to_host=costaspbx.wifiber.gr)
2021-12-17 08:46:33.596363 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[costaspbx.wifiber.gr]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr export(domain_name=costaspbx.wifiber.gr)
2021-12-17 08:46:33.596363 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[costaspbx.wifiber.gr]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr transfer(6980388888 XML default)
2021-12-17 08:46:33.596363 [DEBUG] switch_ivr.c:2243 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_EXECUTE -> CS_ROUTING
2021-12-17 08:46:33.596363 [DEBUG] mod_hash.c:296 Usage for inbound_2003 is now 0
2021-12-17 08:46:33.596363 [NOTICE] switch_ivr.c:2250 Transfer sofia/default/2007@costaspbx.wifiber.gr to XML[6980388888@default]
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2007@costaspbx.wifiber.gr) State EXECUTE going to sleep
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_ROUTING (Cur 4 Tot 4689)
2021-12-17 08:46:33.596363 [DEBUG] switch_channel.c:2332 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change ACTIVE -> RINGING
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@costaspbx.wifiber.gr) State ROUTING
2021-12-17 08:46:33.596363 [DEBUG] mod_sofia.c:154 sofia/default/2007@costaspbx.wifiber.gr SOFIA ROUTING
2021-12-17 08:46:33.596363 [DEBUG] switch_core_state_machine.c:236 sofia/default/2007@costaspbx.wifiber.gr Standard ROUTING
2021-12-17 08:46:33.596363 [INFO] mod_dialplan_xml.c:637 Processing 2007 <2007>->6980388888 in context default
2021-12-17 08:46:33.596363 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2021-12-17 08:46:33.596363 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: 6980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :call_transfer_attended
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :call_transfer
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 6980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] test123 :3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '3023320419996980388888' limit 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '3023320419996980388888' AND status=0 limit 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '3023320419996980388888' and status=0 LIMIT 1
2021-12-17 08:46:33.616349 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number : / 2332041999
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 7 limit 1
2021-12-17 08:46:33.616349 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domaincostaspbx.wifiber.gr
2021-12-17 08:46:33.616349 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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 ="3023320419996980388888" LIMIT 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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="3023320419996980388888" AND domains.domain="costaspbx.wifiber.gr" limit 1
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 7]
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "7" AND deleted = 0 limit 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3023320419996980388888.*' OR blocked_patterns = '^302332041999698038888.*' OR blocked_patterns = '^30233204199969803888.*' OR blocked_patterns = '^3023320419996980388.*' OR blocked_patterns = '^302332041999698038.*' OR blocked_patterns = '^30233204199969803.*' OR blocked_patterns = '^3023320419996980.*' OR blocked_patterns = '^302332041999698.*' OR blocked_patterns = '^30233204199969.*' OR blocked_patterns = '^3023320419996.*' OR blocked_patterns = '^302332041999.*' OR blocked_patterns = '^30233204199.*' OR blocked_patterns = '^3023320419.*' OR blocked_patterns = '^302332041.*' OR blocked_patterns = '^30233204.*' OR blocked_patterns = '^3023320.*' OR blocked_patterns = '^302332.*' OR blocked_patterns = '^30233.*' OR blocked_patterns = '^3023.*' OR blocked_patterns = '^302.*' OR blocked_patterns = '^30.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
2021-12-17 08:46:33.616349 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id : 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="3023320419996980388888" AND (accountid = 0 OR status = 1) LIMIT 1
2021-12-17 08:46:33.616349 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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 = '^3023320419996980388888.*' OR patterns = '^302332041999698038888.*' OR patterns = '^30233204199969803888.*' OR patterns = '^3023320419996980388.*' OR patterns = '^302332041999698038.*' OR patterns = '^30233204199969803.*' OR patterns = '^3023320419996980.*' OR patterns = '^302332041999698.*' OR patterns = '^30233204199969.*' OR patterns = '^3023320419996.*' OR patterns = '^302332041999.*' OR patterns = '^30233204199.*' OR patterns = '^3023320419.*' OR patterns = '^302332041.*' OR patterns = '^30233204.*' OR patterns = '^3023320.*' OR patterns = '^302332.*' OR patterns = '^30233.*' OR patterns = '^3023.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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 ="3023320419996980388888" AND A.accountid = '7' limit 1
2021-12-17 08:46:33.616349 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3023320419996980388888
2021-12-17 08:46:33.616349 [NOTICE] switch_cpp.cpp:1447 [ASTPP] DID Global Translation Id: 1
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"+/00,1/00301,2/00302,6/00306,8/00308".....3023320419996980388888
2021-12-17 08:46:33.616349 [DEBUG] switch_cpp.cpp:1447 [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 ="3023320419996980388888" LIMIT 1
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [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="3023320419996980388888" AND domains.domain="costaspbx.wifiber.gr" limit 1
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '3023320419996980388888' OR number = '302332041999698038888' OR number = '30233204199969803888' OR number = '3023320419996980388' OR number = '302332041999698038' OR number = '30233204199969803' OR number = '3023320419996980' OR number = '302332041999698' OR number = '30233204199969' OR number = '3023320419996' OR number = '302332041999' OR number = '30233204199' OR number = '3023320419' OR number = '302332041' OR number = '30233204' OR number = '3023320' OR number = '302332' OR number = '30233' OR number = '3023' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '3023320419996980388888*' OR number = '302332041999698038888*' OR number = '30233204199969803888*' OR number = '3023320419996980388*' OR number = '302332041999698038*' OR number = '30233204199969803*' OR number = '3023320419996980*' OR number = '302332041999698*' OR number = '30233204199969*' OR number = '3023320419996*' OR number = '302332041999*' OR number = '30233204199*' OR number = '3023320419*' OR number = '302332041*' OR number = '30233204*' OR number = '3023320*' OR number = '302332*' OR number = '30233*' OR number = '3023*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '2332041999' OR number = '233204199' OR number = '23320419' OR number = '2332041' OR number = '233204' OR number = '23320' OR number = '2332' OR number = '233' OR number = '23' OR number = '2' OR number ='--') OR (number = '2332041999*' OR number = '233204199*' OR number = '23320419*' OR number = '2332041*' OR number = '233204*' OR number = '23320*' OR number = '2332*' OR number = '233*' OR number = '23*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3023320419996980388888' OR routing_prefix = '302332041999698038888' OR routing_prefix = '30233204199969803888' OR routing_prefix = '3023320419996980388' OR routing_prefix = '302332041999698038' OR routing_prefix = '30233204199969803' OR routing_prefix = '3023320419996980' OR routing_prefix = '302332041999698' OR routing_prefix = '30233204199969' OR routing_prefix = '3023320419996' OR routing_prefix = '302332041999' OR routing_prefix = '30233204199' OR routing_prefix = '3023320419' OR routing_prefix = '302332041' OR routing_prefix = '30233204' OR routing_prefix = '3023320' OR routing_prefix = '302332' OR routing_prefix = '30233' OR routing_prefix = '3023' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 7
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3726104889
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 49.3109
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3023320419996980388888.*' OR pattern = '^302332041999698038888.*' OR pattern = '^30233204199969803888.*' OR pattern = '^3023320419996980388.*' OR pattern = '^302332041999698038.*' OR pattern = '^30233204199969803.*' OR pattern = '^3023320419996980.*' OR pattern = '^302332041999698.*' OR pattern = '^30233204199969.*' OR pattern = '^3023320419996.*' OR pattern = '^302332041999.*' OR pattern = '^30233204199.*' OR pattern = '^3023320419.*' OR pattern = '^302332041.*' OR pattern = '^30233204.*' OR pattern = '^3023320.*' OR pattern = '^302332.*' OR pattern = '^30233.*' OR pattern = '^3023.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 1 OR accountid=7) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
2021-12-17 08:46:33.636368 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Direction : outbound
2021-12-17 08:46:33.636368 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Post Cdrs : 0
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 7
2021-12-17 08:46:33.636368 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="6980388888">
<condition field="destination_number" expression="6980388888">
<action application="log" data="WARNING Accountcode 3726104889. Dialed number (3023320419996980388888) origination rates not found!!"/>
<action application="playback" data="/usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav"/>
<action application="set" data="original_caller_id_number="/>
<action application="set" data="error_cdr=1"/>
<action application="set" data="callstart=2021-12-17 06:46:32"/>
<action application="set" data="account_id=7"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="sip_ignore_remote_cause=true"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="effective_destination_number=3023320419996980388888"/>
<action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>
<action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>
</condition>
</extension>
</context>
</section>
</document>
Dialplan: sofia/default/2007@costaspbx.wifiber.gr parsing [default->6980388888] continue=false
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Regex (PASS) [6980388888] destination_number(6980388888) =~ /6980388888/ break=on-false
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action log(WARNING Accountcode 3726104889. Dialed number (3023320419996980388888) origination rates not found!!)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(original_caller_id_number=)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(error_cdr=1)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(callstart=2021-12-17 06:46:32)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(account_id=7)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(parent_id=0)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(call_direction=outbound)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(sip_ignore_remote_cause=true)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(call_processed=internal)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(effective_destination_number=3023320419996980388888)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
Dialplan: sofia/default/2007@costaspbx.wifiber.gr Action hangup(ORIGINATION_RATE_NOT_FOUND)
2021-12-17 08:46:33.636368 [DEBUG] switch_core_state_machine.c:287 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_ROUTING -> CS_EXECUTE
2021-12-17 08:46:33.636368 [DEBUG] switch_core_state_machine.c:644 (sofia/default/2007@costaspbx.wifiber.gr) State ROUTING going to sleep
2021-12-17 08:46:33.636368 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_EXECUTE (Cur 4 Tot 4689)
2021-12-17 08:46:33.636368 [DEBUG] switch_channel.c:2334 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change RINGING -> ACTIVE
2021-12-17 08:46:33.636368 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2007@costaspbx.wifiber.gr) State EXECUTE
2021-12-17 08:46:33.636368 [DEBUG] mod_sofia.c:209 sofia/default/2007@costaspbx.wifiber.gr SOFIA EXECUTE
2021-12-17 08:46:33.636368 [DEBUG] switch_core_state_machine.c:329 sofia/default/2007@costaspbx.wifiber.gr Standard EXECUTE
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr log(WARNING Accountcode 3726104889. Dialed number (3023320419996980388888) origination rates not found!!)
2021-12-17 08:46:33.636368 [WARNING] mod_dptools.c:1866 Accountcode 3726104889. Dialed number (3023320419996980388888) origination rates not found!!
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav)
2021-12-17 08:46:33.636368 [DEBUG] switch_core_file.c:405 File /usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav sample rate 16000 doesn't match requested rate 8000
2021-12-17 08:46:33.636368 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2021-12-17 08:46:34.916397 [DEBUG] sofia.c:7326 Channel sofia/default/3001@10.100.17.104:5138 entering state [completing][200]
2021-12-17 08:46:34.916397 [DEBUG] sofia.c:7336 Remote SDP:
v=0
o=3001 113764011 1096718174 IN IP4 10.100.17.104
s=A conversation
c=IN IP4 10.100.17.104
t=0 0
m=audio 10068 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
2021-12-17 08:46:34.916397 [DEBUG] sofia.c:7326 Channel sofia/default/3001@10.100.17.104:5138 entering state [ready][200]
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/3001@10.100.17.104:5138 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2021-12-17 08:46:34.916397 [DEBUG] switch_core_codec.c:111 sofia/default/3001@10.100.17.104:5138 Original read codec set to PCMA:8
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:5911 sofia/default/3001@10.100.17.104:5138 Set 2833 dtmf send payload to 101 recv payload to 101
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/3001@10.100.17.104:5138] 10.151.10.3 port 30026 -> 10.100.17.104 port 10068 codec: 8 ms: 20
2021-12-17 08:46:34.916397 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:8977 sofia/default/3001@10.100.17.104:5138 Set 2833 dtmf send payload to 101
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:8984 sofia/default/3001@10.100.17.104:5138 Set 2833 dtmf receive payload to 101
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media.c:9007 sofia/default/3001@10.100.17.104:5138 Set rtp dtmf delay to 40
2021-12-17 08:46:34.916397 [NOTICE] sofia.c:8504 Channel [sofia/default/3001@10.100.17.104:5138] has been answered
EXECUTE [depth=1] sofia/default/3001@10.100.17.104:5138 record_session(/var/lib/freeswitch/recordings/9f395804-7d80-4d5d-bed2-f9c76e29f4c0.wav)
2021-12-17 08:46:34.916397 [DEBUG] switch_core_codec.c:248 sofia/default/+302331051709@172.17.12.2 Restore previous codec PCMA:8.
2021-12-17 08:46:34.916397 [NOTICE] switch_ivr_originate.c:3759 Hangup pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001 [CS_CONSUME_MEDIA] [LOSE_RACE]
2021-12-17 08:46:34.916397 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/3001@10.100.17.104:5138]
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:585 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Running State Change CS_HANGUP (Cur 4 Tot 4689)
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:848 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Callstate Change DOWN -> HANGUP
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:850 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State HANGUP
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:60 pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001 Standard HANGUP, cause: LOSE_RACE
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:850 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State HANGUP going to sleep
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:620 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State Change CS_HANGUP -> CS_REPORTING
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:585 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Running State Change CS_REPORTING (Cur 4 Tot 4689)
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:936 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State REPORTING
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:936 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State REPORTING going to sleep
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:611 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State Change CS_REPORTING -> CS_DESTROY
2021-12-17 08:46:34.916397 [DEBUG] switch_core_session.c:1726 Session 4689 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Locked, Waiting on external entities
2021-12-17 08:46:34.916397 [NOTICE] switch_core_session.c:1744 Session 4689 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Ended
2021-12-17 08:46:34.916397 [NOTICE] switch_core_session.c:1748 Close Channel pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001 [CS_DESTROY]
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:739 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) Running State Change CS_DESTROY (Cur 3 Tot 4689)
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:749 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State DESTROY
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:181 pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001 Standard DESTROY
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:749 (pickup/ΓΙΑΤΡΑΣ ΒΑΣΙΛΕΙΟΣ_3001) State DESTROY going to sleep
2021-12-17 08:46:34.916397 [DEBUG] switch_ivr_async.c:1351 Record session sample rate: 8000 -> 8000
2021-12-17 08:46:34.916397 [DEBUG] switch_core_media_bug.c:970 Attaching BUG to sofia/default/3001@10.100.17.104:5138
2021-12-17 08:46:34.916397 [DEBUG] switch_channel.c:3865 (sofia/default/3001@10.100.17.104:5138) Callstate Change RINGING -> ACTIVE
2021-12-17 08:46:34.916397 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/3001@10.100.17.104:5138) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:585 (sofia/default/3001@10.100.17.104:5138) Running State Change CS_EXCHANGE_MEDIA (Cur 3 Tot 4689)
2021-12-17 08:46:34.916397 [DEBUG] switch_core_state_machine.c:654 (sofia/default/3001@10.100.17.104:5138) State EXCHANGE_MEDIA
2021-12-17 08:46:34.916397 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
2021-12-17 08:46:34.916397 [DEBUG] switch_ivr_async.c:1640 No silence detection configured; assuming start of speech
2021-12-17 08:46:35.036371 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-badphone.wav
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(original_caller_id_number=)
2021-12-17 08:46:35.036371 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [original_caller_id_number]=[UNDEF]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(error_cdr=1)
2021-12-17 08:46:35.036371 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [error_cdr]=[1]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(callstart=2021-12-17 06:46:32)
2021-12-17 08:46:35.036371 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [callstart]=[2021-12-17 06:46:32]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(account_id=7)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [account_id]=[7]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(parent_id=0)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [parent_id]=[0]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(call_direction=outbound)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [call_direction]=[outbound]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(sip_ignore_remote_cause=true)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [sip_ignore_remote_cause]=[true]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(call_processed=internal)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [call_processed]=[internal]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(effective_destination_number=3023320419996980388888)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [effective_destination_number]=[3023320419996980388888]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
2021-12-17 08:46:35.056375 [DEBUG] mod_dptools.c:1672 SET sofia/default/2007@costaspbx.wifiber.gr [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
EXECUTE [depth=0] sofia/default/2007@costaspbx.wifiber.gr hangup(ORIGINATION_RATE_NOT_FOUND)
2021-12-17 08:46:35.056375 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/2007@costaspbx.wifiber.gr [CS_EXECUTE] [NORMAL_CLEARING]
2021-12-17 08:46:35.056375 [DEBUG] switch_core_session.c:2905 sofia/default/2007@costaspbx.wifiber.gr skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:651 (sofia/default/2007@costaspbx.wifiber.gr) State EXECUTE going to sleep
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_HANGUP (Cur 3 Tot 4689)
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:848 (sofia/default/2007@costaspbx.wifiber.gr) Callstate Change ACTIVE -> HANGUP
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2007@costaspbx.wifiber.gr) State HANGUP
2021-12-17 08:46:35.056375 [DEBUG] mod_sofia.c:453 Channel sofia/default/2007@costaspbx.wifiber.gr hanging up, cause: NORMAL_CLEARING
2021-12-17 08:46:35.056375 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/2007@costaspbx.wifiber.gr
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:60 sofia/default/2007@costaspbx.wifiber.gr Standard HANGUP, cause: NORMAL_CLEARING
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:850 (sofia/default/2007@costaspbx.wifiber.gr) State HANGUP going to sleep
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:620 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_HANGUP -> CS_REPORTING
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:585 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_REPORTING (Cur 3 Tot 4689)
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2007@costaspbx.wifiber.gr) State REPORTING
2021-12-17 08:46:35.056375 [INFO] mod_json_cdr.c:271 Process [72130798-ca98-4e4c-8342-ca9cfd252413.cdr.json]
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:174 sofia/default/2007@costaspbx.wifiber.gr Standard REPORTING, cause: NORMAL_CLEARING
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:936 (sofia/default/2007@costaspbx.wifiber.gr) State REPORTING going to sleep
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:611 (sofia/default/2007@costaspbx.wifiber.gr) State Change CS_REPORTING -> CS_DESTROY
2021-12-17 08:46:35.056375 [DEBUG] switch_core_session.c:1726 Session 4687 (sofia/default/2007@costaspbx.wifiber.gr) Locked, Waiting on external entities
2021-12-17 08:46:35.056375 [NOTICE] switch_core_session.c:1744 Session 4687 (sofia/default/2007@costaspbx.wifiber.gr) Ended
2021-12-17 08:46:35.056375 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/2007@costaspbx.wifiber.gr [CS_DESTROY]
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:739 (sofia/default/2007@costaspbx.wifiber.gr) Running State Change CS_DESTROY (Cur 2 Tot 4689)
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2007@costaspbx.wifiber.gr) State DESTROY
2021-12-17 08:46:35.056375 [DEBUG] mod_sofia.c:364 sofia/default/2007@costaspbx.wifiber.gr SOFIA DESTROY
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:181 sofia/default/2007@costaspbx.wifiber.gr Standard DESTROY
2021-12-17 08:46:35.056375 [DEBUG] switch_core_state_machine.c:749 (sofia/default/2007@costaspbx.wifiber.gr) State DESTROY going to sleep
2021-12-17 08:46:35.116368 [DEBUG] switch_ivr_bridge.c:655 sofia/default/3001@10.100.17.104:5138 Bridge execute app sched_hangup(+12000 normal_clearing)
2021-12-17 08:46:35.136351 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2021-12-17 08:46:35.136351 [DEBUG] switch_ivr.c:632 sofia/default/3001@10.100.17.104:5138 Command Execute [depth=0] sched_hangup(+12000 normal_clearing)
EXECUTE [depth=0] sofia/default/3001@10.100.17.104:5138 sched_hangup(+12000 normal_clearing)
2021-12-17 08:46:35.136351 [DEBUG] switch_scheduler.c:252 Added task 1308 switch_ivr_schedule_hangup (48dd8ec5-59bb-4f74-9ac7-37c0aafd5343) to run at 1639735595
2021-12-17 08:46:35.356366 [INFO] switch_rtp.c:7719 Auto Changing audio port from 10.100.17.104:10068 to 10.100.17.104:1024