- 2021-12-20 14:14:26.362574 99.33% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [b6f5a26d-5073-4add-9196-19af90dc7c99]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 3 Tot 2531)
- 2021-12-20 14:14:26.362574 99.33% [INFO] sofia.c:10462 sofia/external_sip/6974108809@voips.modulus.gr receiving invite from 185.73.43.250:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 1bcba7516a187f161b4471cc4eee4e64@voips.modulus.gr
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] sofia.c:7509 Remote SDP:
- v=0
- o=root 848418412 848418412 IN IP4 185.73.43.253
- s=modCOM v2 Media Gateway
- c=IN IP4 185.73.43.253
- t=0 0
- m=audio 45236 RTP/AVP 8 9 0 18 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:0 PCMU/8000
- a=rtpmap:18 G729/8000
- a=fmtp:18 annexb=no
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=rtcp:45237
- a=ptime:20
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/6974108809@voips.modulus.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 3 Tot 2531)
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 3 Tot 2531)
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
- 2021-12-20 14:14:26.362574 99.33% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:26.362574 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
- 2021-12-20 14:14:26.362574 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 6974108809 / 6974108809
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2102202732" LIMIT 1
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2102202732" limit 1
- 2021-12-20 14:14:26.362574 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.73.43.250") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "2102202732" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
- 2021-12-20 14:14:26.362574 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2102202732.*' OR blocked_patterns = '^210220273.*' OR blocked_patterns = '^21022027.*' OR blocked_patterns = '^2102202.*' OR blocked_patterns = '^210220.*' OR blocked_patterns = '^21022.*' OR blocked_patterns = '^2102.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 9 limit 1
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
- 2021-12-20 14:14:26.362574 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
- 2021-12-20 14:14:26.362574 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
- 2021-12-20 14:14:26.362574 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^302102202732.*' OR patterns = '^30210220273.*' OR patterns = '^3021022027.*' OR patterns = '^302102202.*' OR patterns = '^30210220.*' OR patterns = '^3021022.*' OR patterns = '^302102.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="302102202732" AND A.accountid = '9' limit 1
- 2021-12-20 14:14:26.362574 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
- 2021-12-20 14:14:26.362574 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="302102202732" LIMIT 1
- 2021-12-20 14:14:26.362574 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '302102202732' OR number = '30210220273' OR number = '3021022027' OR number = '302102202' OR number = '30210220' OR number = '3021022' OR number = '302102' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302102202732*' OR number = '30210220273*' OR number = '3021022027*' OR number = '302102202*' OR number = '30210220*' OR number = '3021022*' OR number = '302102*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '302102202732' OR routing_prefix = '30210220273' OR routing_prefix = '3021022027' OR routing_prefix = '302102202' OR routing_prefix = '30210220' OR routing_prefix = '3021022' OR routing_prefix = '302102' OR routing_prefix = '30210' OR routing_prefix = '3021' 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-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="302102202732" LIMIT 1
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
- 2021-12-20 14:14:26.382576 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302".....6974108809
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302".....6974108809
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11 and status = 0 limit 1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [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="302102202732">
- <condition field="destination_number" expression="2102202732">
- <action application="set" data="effective_destination_number=302102202732"/>
- <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
- <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
- <action application="set" data="nibble_account=9"/>
- <action application="set" data="nibble_rate=0.00000"/>
- <action application="set" data="nibble_increment=0"/>
- <action application="set" data="nibble_minimum=0.00000"/>
- <action application="nibblebill" data="heartbeat 30"/>
- <action application="set" data="callstart=2021-12-20 14:14:26"/>
- <action application="set" data="hangup_after_bridge=true"/>
- <action application="set" data="continue_on_fail=TRUE"/>
- <action application="set" data="account_id=9"/>
- <action application="set" data="parent_id=0"/>
- <action application="set" data="entity_id=3"/>
- <action application="set" data="call_processed=internal"/>
- <action application="set" data="call_direction=inbound"/>
- <action application="set" data="accountname=ModulusIncoming"/>
- <action application="set" data="origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
- <action application="set" data="origination_rates=0"/>
- <action application="set" data="original_caller_id_name=6974108809"/>
- <action application="set" data="original_caller_id_number=6974108809"/>
- <action application="limit" data="db 2976257734 user_2976257734 60 "/>
- <action application="limit" data="db 11 user_11 2 "/>
- <action application="set" data="effective_caller_id_name=6974108809"/>
- <action application="set" data="effective_caller_id_number=6974108809"/>
- <action application="set" data="receiver_accid=11"/>
- <action application="export" data="domain_name="/>
- <action application="export" data="sip_to_host="/>
- <action application="limit" data="db 302102202732 did_302102202732 2 "/>
- <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
- <action application="export" data="call_type=4"/>
- <action application="set" data="calltype=STANDARD"/>
- <action application="set" data="accountcode=7772615170"/>
- <action application="set" data="caller_did_account_id=9"/>
- <action application="set" data="did_number=302102202732"/>
- <action application="set" data="did_init_inc=0"/>
- <action application="set" data="did_inc=0"/>
- <action application="set" data="did_cost=0.00000"/>
- <action application="set" data="did_connectcost=0.00000"/>
- <action application="set" data="origination_rates_did=0"/>
- <action application="transfer" data="6974485168 XML default"/>
- </condition>
- </extension>
- </context>
- </section>
- </document>
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-20 14:14:26)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=302102202732)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 3 Tot 2531)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302102202732)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302102202732]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
- 2021-12-20 14:14:26.382576 99.33% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_scheduler.c:263 Added task 492 switch_core_session_sched_heartbeat (b6f5a26d-5073-4add-9196-19af90dc7c99) to run at 1640009696
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-20 14:14:26)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-20 14:14:26]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=6974108809)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=6974108809)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 302102202732 did_302102202732 2 )
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_db.c:194 Usage for 302102202732_did_302102202732 is now 1/2
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=302102202732)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[302102202732]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
- 2021-12-20 14:14:26.382576 99.33% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 3 Tot 2531)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 15.746800)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:523 Comparing 15.746800 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 15.746800)
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
- 2021-12-20 14:14:26.382576 99.33% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 6974485168
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '21022027326974485168' AND status=0 limit 1
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 6974108809 / 6974108809
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="21022027326974485168" LIMIT 1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21022027326974485168" limit 1
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
- 2021-12-20 14:14:26.382576 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21022027326974485168.*' OR blocked_patterns = '^2102202732697448516.*' OR blocked_patterns = '^210220273269744851.*' OR blocked_patterns = '^21022027326974485.*' OR blocked_patterns = '^2102202732697448.*' OR blocked_patterns = '^210220273269744.*' OR blocked_patterns = '^21022027326974.*' OR blocked_patterns = '^2102202732697.*' OR blocked_patterns = '^210220273269.*' OR blocked_patterns = '^21022027326.*' OR blocked_patterns = '^2102202732.*' OR blocked_patterns = '^210220273.*' OR blocked_patterns = '^21022027.*' OR blocked_patterns = '^2102202.*' OR blocked_patterns = '^210220.*' OR blocked_patterns = '^21022.*' OR blocked_patterns = '^2102.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 11 limit 1
- 2021-12-20 14:14:26.382576 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="21022027326974485168" AND (accountid = 0 OR status = 1) LIMIT 1
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^3021022027326974485168.*' OR patterns = '^302102202732697448516.*' OR patterns = '^30210220273269744851.*' OR patterns = '^3021022027326974485.*' OR patterns = '^302102202732697448.*' OR patterns = '^30210220273269744.*' OR patterns = '^3021022027326974.*' OR patterns = '^302102202732697.*' OR patterns = '^30210220273269.*' OR patterns = '^3021022027326.*' OR patterns = '^302102202732.*' OR patterns = '^30210220273.*' OR patterns = '^3021022027.*' OR patterns = '^302102202.*' OR patterns = '^30210220.*' OR patterns = '^3021022.*' OR patterns = '^302102.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="3021022027326974485168" AND A.accountid = '11' limit 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3021022027326974485168" LIMIT 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3021022027326974485168" limit 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '3021022027326974485168' OR number = '302102202732697448516' OR number = '30210220273269744851' OR number = '3021022027326974485' OR number = '302102202732697448' OR number = '30210220273269744' OR number = '3021022027326974' OR number = '302102202732697' OR number = '30210220273269' OR number = '3021022027326' OR number = '302102202732' OR number = '30210220273' OR number = '3021022027' OR number = '302102202' OR number = '30210220' OR number = '3021022' OR number = '302102' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '3021022027326974485168*' OR number = '302102202732697448516*' OR number = '30210220273269744851*' OR number = '3021022027326974485*' OR number = '302102202732697448*' OR number = '30210220273269744*' OR number = '3021022027326974*' OR number = '302102202732697*' OR number = '30210220273269*' OR number = '3021022027326*' OR number = '302102202732*' OR number = '30210220273*' OR number = '3021022027*' OR number = '302102202*' OR number = '30210220*' OR number = '3021022*' OR number = '302102*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3021022027326974485168' OR routing_prefix = '302102202732697448516' OR routing_prefix = '30210220273269744851' OR routing_prefix = '3021022027326974485' OR routing_prefix = '302102202732697448' OR routing_prefix = '30210220273269744' OR routing_prefix = '3021022027326974' OR routing_prefix = '302102202732697' OR routing_prefix = '30210220273269' OR routing_prefix = '3021022027326' OR routing_prefix = '302102202732' OR routing_prefix = '30210220273' OR routing_prefix = '3021022027' OR routing_prefix = '302102202' OR routing_prefix = '30210220' OR routing_prefix = '3021022' OR routing_prefix = '302102' OR routing_prefix = '30210' OR routing_prefix = '3021' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 15.55477
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027326974485168.*' OR pattern = '^302102202732697448516.*' OR pattern = '^30210220273269744851.*' OR pattern = '^3021022027326974485.*' OR pattern = '^302102202732697448.*' OR pattern = '^30210220273269744.*' OR pattern = '^3021022027326974.*' OR pattern = '^302102202732697.*' OR pattern = '^30210220273269.*' OR pattern = '^3021022027326.*' OR pattern = '^302102202732.*' OR pattern = '^30210220273.*' OR pattern = '^3021022027.*' OR pattern = '^302102202.*' OR pattern = '^30210220.*' OR pattern = '^3021022.*' OR pattern = '^302102.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 3 OR accountid=11) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 132323
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01215
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your15.55477 balance Accountid 11 !!!
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3021022027326974485168.*' OR blocked_patterns = '^302102202732697448516.*' OR blocked_patterns = '^30210220273269744851.*' OR blocked_patterns = '^3021022027326974485.*' OR blocked_patterns = '^302102202732697448.*' OR blocked_patterns = '^30210220273269744.*' OR blocked_patterns = '^3021022027326974.*' OR blocked_patterns = '^302102202732697.*' OR blocked_patterns = '^30210220273269.*' OR blocked_patterns = '^3021022027326.*' OR blocked_patterns = '^302102202732.*' OR blocked_patterns = '^30210220273.*' OR blocked_patterns = '^3021022027.*' OR blocked_patterns = '^302102202.*' OR blocked_patterns = '^30210220.*' OR blocked_patterns = '^3021022.*' OR blocked_patterns = '^302102.*' OR blocked_patterns = '^30210.*' OR blocked_patterns = '^3021.*' OR blocked_patterns = '^302.*' OR blocked_patterns = '^30.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 664.81721
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027326974485168.*' OR pattern = '^302102202732697448516.*' OR pattern = '^30210220273269744851.*' OR pattern = '^3021022027326974485.*' OR pattern = '^302102202732697448.*' OR pattern = '^30210220273269744.*' OR pattern = '^3021022027326974.*' OR pattern = '^302102202732697.*' OR pattern = '^30210220273269.*' OR pattern = '^3021022027326.*' OR pattern = '^302102202732.*' OR pattern = '^30210220273.*' OR pattern = '^3021022027.*' OR pattern = '^302102202.*' OR pattern = '^30210220.*' OR pattern = '^3021022.*' OR pattern = '^302102.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=8) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 122936
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00800
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your664.81721 balance Accountid 8 !!!
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 11
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.01215
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 132323
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^3021022027326974485168.*' OR pattern = '^302102202732697448516.*' OR pattern = '^30210220273269744851.*' OR pattern = '^3021022027326974485.*' OR pattern = '^302102202732697448.*' OR pattern = '^30210220273269744.*' OR pattern = '^3021022027326974.*' OR pattern = '^302102202732697.*' OR pattern = '^30210220273269.*' OR pattern = '^3021022027326.*' OR pattern = '^302102202732.*' OR pattern = '^30210220273.*' OR pattern = '^3021022027.*' OR pattern = '^302102202.*' OR pattern = '^30210220.*' OR pattern = '^3021022.*' OR pattern = '^302102.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8862
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^302.*
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Greece
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^302.*
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 9991
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:26.402557 99.33% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/9991.....3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 99913021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2102202732" LIMIT 1
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_cpp.cpp:1465 [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="3021022027326974485168">
- <condition field="destination_number" expression="6974485168">
- <action application="set" data="effective_destination_number=3021022027326974485168"/>
- <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
- <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
- <action application="set" data="nibble_account=11"/>
- <action application="set" data="nibble_rate=0.01215"/>
- <action application="set" data="nibble_increment=1"/>
- <action application="set" data="nibble_minimum=0.00000"/>
- <action application="nibblebill" data="heartbeat 30"/>
- <action application="set" data="callstart=2021-12-20 14:14:26"/>
- <action application="set" data="hangup_after_bridge=true"/>
- <action application="set" data="continue_on_fail=TRUE"/>
- <action application="set" data="account_id=11"/>
- <action application="set" data="parent_id=8"/>
- <action application="set" data="entity_id=0"/>
- <action application="set" data="call_processed=internal"/>
- <action application="set" data="call_direction=outbound"/>
- <action application="set" data="accountname=default"/>
- <action application="set" data="origination_rates=ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8"/>
- <action application="set" data="original_caller_id_name=306974108809"/>
- <action application="set" data="original_caller_id_number=306974108809"/>
- <action application="set" data="effective_caller_id_name=306974108809"/>
- <action application="set" data="effective_caller_id_number=306974108809"/>
- <action application="set" data="calltype=STANDARD"/>
- <action application="set" data="termination_rates=ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
- <action application="set" data="trunk_id=3"/>
- <action application="set" data="provider_id=9"/>
- <action application="set" data="rate_flag=0"/>
- <action application="set" data="force_trunk_flag=132323"/>
- <action application="export" data="presence_data=trunk_id=3"/>
- <action application="set" data="intcall=0"/>
- <action application="export" data="presence_id=3021022027326974485168"/>
- <action application="export" data="presence_data=x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece"/>
- <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027326974485168"/>
- </condition>
- </extension>
- </context>
- </section>
- </document>
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->3021022027326974485168] continue=false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [3021022027326974485168] destination_number(6974485168) =~ /6974485168/ break=on-false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=3021022027326974485168)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.01215)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=1)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-20 14:14:26)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(termination_rates=ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=132323)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=3021022027326974485168)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027326974485168)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 3 Tot 2531)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
- 2021-12-20 14:14:26.402557 99.33% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_scheduler.c:263 Added task 493 switch_core_session_sched_heartbeat (b6f5a26d-5073-4add-9196-19af90dc7c99) to run at 1640009696
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_scheduler.c:147 Deleting task 492 switch_core_session_sched_heartbeat (b6f5a26d-5073-4add-9196-19af90dc7c99)
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=3021022027326974485168)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[3021022027326974485168]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=11)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.01215)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.01215]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=1)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[1]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
- 2021-12-20 14:14:26.402557 99.33% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_scheduler.c:263 Added task 494 switch_core_session_sched_heartbeat (b6f5a26d-5073-4add-9196-19af90dc7c99) to run at 1640009696
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_scheduler.c:147 Deleting task 493 switch_core_session_sched_heartbeat (b6f5a26d-5073-4add-9196-19af90dc7c99)
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-20 14:14:26)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-20 14:14:26]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=306974108809)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=306974108809)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(termination_rates=ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [termination_rates]=[ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=132323)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[132323]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=3021022027326974485168)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[3021022027326974485168]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027326974485168)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece] to event
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece] to event
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[3021022027326974485168] to event
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece] to event
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
- 2021-12-20 14:14:26.402557 99.33% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/99913021022027326974485168 [f0c37fcf-298e-4ae1-848a-b416bd5a3633]
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/99913021022027326974485168) State Change CS_NEW -> CS_INIT
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_INIT (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027326974485168) State INIT
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/99913021022027326974485168 SOFIA INIT
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/99913021022027326974485168
- 2021-12-20 14:14:26.402557 99.33% [INFO] sofia_glue.c:1651 sofia/external_without_reg/99913021022027326974485168 sending invite call-id: (null)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/99913021022027326974485168 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
- Local SDP:
- v=0
- o=FreeSWITCH 1639981062 1639981063 IN IP4 94.130.242.106
- s=FreeSWITCH
- c=IN IP4 94.130.242.106
- t=0 0
- m=audio 28604 RTP/AVP 8 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-15
- a=ptime:20
- a=sendrecv
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/99913021022027326974485168 Standard INIT
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/99913021022027326974485168) State Change CS_INIT -> CS_ROUTING
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027326974485168) State INIT going to sleep
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_ROUTING (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027326974485168) State ROUTING
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/99913021022027326974485168 SOFIA ROUTING
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/99913021022027326974485168) State Change CS_ROUTING -> CS_CONSUME_MEDIA
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027326974485168) State ROUTING going to sleep
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027326974485168) State CONSUME_MEDIA
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027326974485168) State CONSUME_MEDIA going to sleep
- 2021-12-20 14:14:26.402557 99.33% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027326974485168 entering state [calling][0]
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027326974485168 entering state [terminated][503]
- 2021-12-20 14:14:26.542575 99.33% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/99913021022027326974485168 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_HANGUP (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/99913021022027326974485168) Callstate Change DOWN -> HANGUP
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027326974485168) State HANGUP
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/99913021022027326974485168 hanging up, cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/99913021022027326974485168 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027326974485168) State HANGUP going to sleep
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/99913021022027326974485168) State Change CS_HANGUP -> CS_REPORTING
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_REPORTING (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027326974485168) State REPORTING
- 2021-12-20 14:14:26.542575 99.33% [INFO] mod_json_cdr.c:271 Process [f0c37fcf-298e-4ae1-848a-b416bd5a3633.cdr.json]
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
- 2021-12-20 14:14:26.542575 99.33% [INFO] mod_dptools.c:3653 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:26.542575 99.33% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
- 2021-12-20 14:14:26.542575 99.33% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 503 from the other leg
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.01215 per minute to account 11
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:518 Not billing 11 - call is not in answered state
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 15.554770)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:523 Comparing 15.554770 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 15.554770)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 4 Tot 2532)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
- 2021-12-20 14:14:26.542575 99.33% [INFO] mod_json_cdr.c:271 Process [b6f5a26d-5073-4add-9196-19af90dc7c99.cdr.json]
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/99913021022027326974485168 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027326974485168) State REPORTING going to sleep
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/99913021022027326974485168) State Change CS_REPORTING -> CS_DESTROY
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_session.c:1753 Session 2532 (sofia/external_without_reg/99913021022027326974485168) Locked, Waiting on external entities
- 2021-12-20 14:14:26.542575 99.33% [NOTICE] switch_core_session.c:1771 Session 2532 (sofia/external_without_reg/99913021022027326974485168) Ended
- 2021-12-20 14:14:26.542575 99.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/99913021022027326974485168 [CS_DESTROY]
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_DESTROY (Cur 3 Tot 2532)
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027326974485168) State DESTROY
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/99913021022027326974485168 SOFIA DESTROY
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/99913021022027326974485168 Standard DESTROY
- 2021-12-20 14:14:26.542575 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027326974485168) State DESTROY going to sleep
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_session.c:1753 Session 2531 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
- 2021-12-20 14:14:26.582557 99.33% [NOTICE] switch_core_session.c:1771 Session 2531 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
- 2021-12-20 14:14:26.582557 99.33% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 2 Tot 2532)
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
- 2021-12-20 14:14:26.582557 99.33% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
- 2021-12-20 14:14:26.902564 99.07% [DEBUG] switch_scheduler.c:147 Deleting task 494 switch_core_session_sched_heartbeat (b6f5a26d-5073-4add-9196-19af90dc7c99)
- 2021-12-20 14:14:27.062566 99.07% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [8bafd9e5-f62b-41a0-88a7-4a6ad01cc714]
- 2021-12-20 14:14:27.062566 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 3 Tot 2533)
- 2021-12-20 14:14:27.062566 99.07% [INFO] sofia.c:10462 sofia/external_sip/6974108809@voips.modulus.gr receiving invite from 185.73.43.250:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 28618356551343f602ec735c7258bdeb@voips.modulus.gr
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] sofia.c:7509 Remote SDP:
- v=0
- o=root 1983046120 1983046120 IN IP4 185.73.43.252
- s=modCOM v2 Media Gateway
- c=IN IP4 185.73.43.252
- t=0 0
- m=audio 47508 RTP/AVP 8 9 0 18 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:9 G722/8000
- a=rtpmap:0 PCMU/8000
- a=rtpmap:18 G729/8000
- a=fmtp:18 annexb=no
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-16
- a=rtcp:47509
- a=ptime:20
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/6974108809@voips.modulus.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 3 Tot 2533)
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 3 Tot 2533)
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
- 2021-12-20 14:14:27.082564 99.07% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 6974108809 / 6974108809
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2102202732" LIMIT 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2102202732" limit 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.73.43.250") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 - SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1)) AND "2102202732" LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2102202732.*' OR blocked_patterns = '^210220273.*' OR blocked_patterns = '^21022027.*' OR blocked_patterns = '^2102202.*' OR blocked_patterns = '^210220.*' OR blocked_patterns = '^21022.*' OR blocked_patterns = '^2102.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 9 limit 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
- 2021-12-20 14:14:27.082564 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
- 2021-12-20 14:14:27.082564 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
- 2021-12-20 14:14:27.082564 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^302102202732.*' OR patterns = '^30210220273.*' OR patterns = '^3021022027.*' OR patterns = '^302102202.*' OR patterns = '^30210220.*' OR patterns = '^3021022.*' OR patterns = '^302102.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="302102202732" AND A.accountid = '9' limit 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="302102202732" LIMIT 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '302102202732' OR number = '30210220273' OR number = '3021022027' OR number = '302102202' OR number = '30210220' OR number = '3021022' OR number = '302102' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302102202732*' OR number = '30210220273*' OR number = '3021022027*' OR number = '302102202*' OR number = '30210220*' OR number = '3021022*' OR number = '302102*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '302102202732' OR routing_prefix = '30210220273' OR routing_prefix = '3021022027' OR routing_prefix = '302102202' OR routing_prefix = '30210220' OR routing_prefix = '3021022' OR routing_prefix = '302102' OR routing_prefix = '30210' OR routing_prefix = '3021' 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-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="302102202732" LIMIT 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : inbound
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
- 2021-12-20 14:14:27.082564 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length :: 100
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:27.082564 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302".....6974108809
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302".....6974108809
- 2021-12-20 14:14:27.082564 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11 and status = 0 limit 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [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="302102202732">
- <condition field="destination_number" expression="2102202732">
- <action application="set" data="effective_destination_number=302102202732"/>
- <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
- <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
- <action application="set" data="nibble_account=9"/>
- <action application="set" data="nibble_rate=0.00000"/>
- <action application="set" data="nibble_increment=0"/>
- <action application="set" data="nibble_minimum=0.00000"/>
- <action application="nibblebill" data="heartbeat 30"/>
- <action application="set" data="callstart=2021-12-20 14:14:27"/>
- <action application="set" data="hangup_after_bridge=true"/>
- <action application="set" data="continue_on_fail=TRUE"/>
- <action application="set" data="account_id=9"/>
- <action application="set" data="parent_id=0"/>
- <action application="set" data="entity_id=3"/>
- <action application="set" data="call_processed=internal"/>
- <action application="set" data="call_direction=inbound"/>
- <action application="set" data="accountname=ModulusIncoming"/>
- <action application="set" data="origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
- <action application="set" data="origination_rates=0"/>
- <action application="set" data="original_caller_id_name=6974108809"/>
- <action application="set" data="original_caller_id_number=6974108809"/>
- <action application="limit" data="db 2976257734 user_2976257734 60 "/>
- <action application="limit" data="db 11 user_11 2 "/>
- <action application="set" data="effective_caller_id_name=6974108809"/>
- <action application="set" data="effective_caller_id_number=6974108809"/>
- <action application="set" data="receiver_accid=11"/>
- <action application="export" data="domain_name="/>
- <action application="export" data="sip_to_host="/>
- <action application="limit" data="db 302102202732 did_302102202732 2 "/>
- <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
- <action application="export" data="call_type=4"/>
- <action application="set" data="calltype=STANDARD"/>
- <action application="set" data="accountcode=7772615170"/>
- <action application="set" data="caller_did_account_id=9"/>
- <action application="set" data="did_number=302102202732"/>
- <action application="set" data="did_init_inc=0"/>
- <action application="set" data="did_inc=0"/>
- <action application="set" data="did_cost=0.00000"/>
- <action application="set" data="did_connectcost=0.00000"/>
- <action application="set" data="origination_rates_did=0"/>
- <action application="transfer" data="6974485168 XML default"/>
- </condition>
- </extension>
- </context>
- </section>
- </document>
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-20 14:14:27)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=6974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=302102202732)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 3 Tot 2533)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302102202732)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302102202732]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
- 2021-12-20 14:14:27.102559 99.07% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_scheduler.c:263 Added task 495 switch_core_session_sched_heartbeat (8bafd9e5-f62b-41a0-88a7-4a6ad01cc714) to run at 1640009697
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-20 14:14:27)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-20 14:14:27]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=6974108809)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=6974108809)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[6974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 302102202732 did_302102202732 2 )
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_db.c:194 Usage for 302102202732_did_302102202732 is now 1/2
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=302102202732)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[302102202732]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 3 Tot 2533)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 15.746800)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:523 Comparing 15.746800 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 15.746800)
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
- 2021-12-20 14:14:27.102559 99.07% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 6974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '21022027326974485168' AND status=0 limit 1
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number : 6974108809 / 6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="21022027326974485168" LIMIT 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="21022027326974485168" limit 1
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21022027326974485168.*' OR blocked_patterns = '^2102202732697448516.*' OR blocked_patterns = '^210220273269744851.*' OR blocked_patterns = '^21022027326974485.*' OR blocked_patterns = '^2102202732697448.*' OR blocked_patterns = '^210220273269744.*' OR blocked_patterns = '^21022027326974.*' OR blocked_patterns = '^2102202732697.*' OR blocked_patterns = '^210220273269.*' OR blocked_patterns = '^21022027326.*' OR blocked_patterns = '^2102202732.*' OR blocked_patterns = '^210220273.*' OR blocked_patterns = '^21022027.*' OR blocked_patterns = '^2102202.*' OR blocked_patterns = '^210220.*' OR blocked_patterns = '^21022.*' OR blocked_patterns = '^2102.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 11 limit 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="21022027326974485168" AND (accountid = 0 OR status = 1) LIMIT 1
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 3021022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^3021022027326974485168.*' OR patterns = '^302102202732697448516.*' OR patterns = '^30210220273269744851.*' OR patterns = '^3021022027326974485.*' OR patterns = '^302102202732697448.*' OR patterns = '^30210220273269744.*' OR patterns = '^3021022027326974.*' OR patterns = '^302102202732697.*' OR patterns = '^30210220273269.*' OR patterns = '^3021022027326.*' OR patterns = '^302102202732.*' OR patterns = '^30210220273.*' OR patterns = '^3021022027.*' OR patterns = '^302102202.*' OR patterns = '^30210220.*' OR patterns = '^3021022.*' OR patterns = '^302102.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="3021022027326974485168" AND A.accountid = '11' limit 1
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3021022027326974485168
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3021022027326974485168" LIMIT 1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3021022027326974485168" limit 1
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '3021022027326974485168' OR number = '302102202732697448516' OR number = '30210220273269744851' OR number = '3021022027326974485' OR number = '302102202732697448' OR number = '30210220273269744' OR number = '3021022027326974' OR number = '302102202732697' OR number = '30210220273269' OR number = '3021022027326' OR number = '302102202732' OR number = '30210220273' OR number = '3021022027' OR number = '302102202' OR number = '30210220' OR number = '3021022' OR number = '302102' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '3021022027326974485168*' OR number = '302102202732697448516*' OR number = '30210220273269744851*' OR number = '3021022027326974485*' OR number = '302102202732697448*' OR number = '30210220273269744*' OR number = '3021022027326974*' OR number = '302102202732697*' OR number = '30210220273269*' OR number = '3021022027326*' OR number = '302102202732*' OR number = '30210220273*' OR number = '3021022027*' OR number = '302102202*' OR number = '30210220*' OR number = '3021022*' OR number = '302102*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3021022027326974485168' OR routing_prefix = '302102202732697448516' OR routing_prefix = '30210220273269744851' OR routing_prefix = '3021022027326974485' OR routing_prefix = '302102202732697448' OR routing_prefix = '30210220273269744' OR routing_prefix = '3021022027326974' OR routing_prefix = '302102202732697' OR routing_prefix = '30210220273269' OR routing_prefix = '3021022027326' OR routing_prefix = '302102202732' OR routing_prefix = '30210220273' OR routing_prefix = '3021022027' OR routing_prefix = '302102202' OR routing_prefix = '30210220' OR routing_prefix = '3021022' OR routing_prefix = '302102' OR routing_prefix = '30210' OR routing_prefix = '3021' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 15.55477
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027326974485168.*' OR pattern = '^302102202732697448516.*' OR pattern = '^30210220273269744851.*' OR pattern = '^3021022027326974485.*' OR pattern = '^302102202732697448.*' OR pattern = '^30210220273269744.*' OR pattern = '^3021022027326974.*' OR pattern = '^302102202732697.*' OR pattern = '^30210220273269.*' OR pattern = '^3021022027326.*' OR pattern = '^302102202732.*' OR pattern = '^30210220273.*' OR pattern = '^3021022027.*' OR pattern = '^302102202.*' OR pattern = '^30210220.*' OR pattern = '^3021022.*' OR pattern = '^302102.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 3 OR accountid=11) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 132323
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01215
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
- 2021-12-20 14:14:27.102559 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your15.55477 balance Accountid 11 !!!
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
- 2021-12-20 14:14:27.102559 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
- 2021-12-20 14:14:27.102559 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3021022027326974485168.*' OR blocked_patterns = '^302102202732697448516.*' OR blocked_patterns = '^30210220273269744851.*' OR blocked_patterns = '^3021022027326974485.*' OR blocked_patterns = '^302102202732697448.*' OR blocked_patterns = '^30210220273269744.*' OR blocked_patterns = '^3021022027326974.*' OR blocked_patterns = '^302102202732697.*' OR blocked_patterns = '^30210220273269.*' OR blocked_patterns = '^3021022027326.*' OR blocked_patterns = '^302102202732.*' OR blocked_patterns = '^30210220273.*' OR blocked_patterns = '^3021022027.*' OR blocked_patterns = '^302102202.*' OR blocked_patterns = '^30210220.*' OR blocked_patterns = '^3021022.*' OR blocked_patterns = '^302102.*' OR blocked_patterns = '^30210.*' OR blocked_patterns = '^3021.*' OR blocked_patterns = '^302.*' OR blocked_patterns = '^30.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 8 limit 1
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 664.81721
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027326974485168.*' OR pattern = '^302102202732697448516.*' OR pattern = '^30210220273269744851.*' OR pattern = '^3021022027326974485.*' OR pattern = '^302102202732697448.*' OR pattern = '^30210220273269744.*' OR pattern = '^3021022027326974.*' OR pattern = '^302102202732697.*' OR pattern = '^30210220273269.*' OR pattern = '^3021022027326.*' OR pattern = '^302102202732.*' OR pattern = '^30210220273.*' OR pattern = '^3021022027.*' OR pattern = '^302102202.*' OR pattern = '^30210220.*' OR pattern = '^3021022.*' OR pattern = '^302102.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 2 OR accountid=8) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Direction : outbound
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 122936
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00800
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your664.81721 balance Accountid 8 !!!
- 2021-12-20 14:14:27.122558 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 11
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.01215
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 132323
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^3021022027326974485168.*' OR pattern = '^302102202732697448516.*' OR pattern = '^30210220273269744851.*' OR pattern = '^3021022027326974485.*' OR pattern = '^302102202732697448.*' OR pattern = '^30210220273269744.*' OR pattern = '^3021022027326974.*' OR pattern = '^302102202732697.*' OR pattern = '^30210220273269.*' OR pattern = '^3021022027326.*' OR pattern = '^302102202732.*' OR pattern = '^30210220273.*' OR pattern = '^3021022027.*' OR pattern = '^302102202.*' OR pattern = '^30210220.*' OR pattern = '^3021022.*' OR pattern = '^302102.*' OR pattern = '^30210.*' OR pattern = '^3021.*' OR pattern = '^302.*' OR pattern = '^30.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (3) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,3),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8862
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^302.*
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Greece
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^302.*
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 9991
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] Maxlength : 100
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
- 2021-12-20 14:14:27.122558 99.07% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 3) AND status=0 limit 1
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 9) AND status=0 limit 1
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/9991.....3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 99913021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="2102202732" LIMIT 1
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_cpp.cpp:1465 [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="3021022027326974485168">
- <condition field="destination_number" expression="6974485168">
- <action application="set" data="effective_destination_number=3021022027326974485168"/>
- <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
- <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
- <action application="set" data="nibble_account=11"/>
- <action application="set" data="nibble_rate=0.01215"/>
- <action application="set" data="nibble_increment=1"/>
- <action application="set" data="nibble_minimum=0.00000"/>
- <action application="nibblebill" data="heartbeat 30"/>
- <action application="set" data="callstart=2021-12-20 14:14:27"/>
- <action application="set" data="hangup_after_bridge=true"/>
- <action application="set" data="continue_on_fail=TRUE"/>
- <action application="set" data="account_id=11"/>
- <action application="set" data="parent_id=8"/>
- <action application="set" data="entity_id=0"/>
- <action application="set" data="call_processed=internal"/>
- <action application="set" data="call_direction=outbound"/>
- <action application="set" data="accountname=default"/>
- <action application="set" data="origination_rates=ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8"/>
- <action application="set" data="original_caller_id_name=306974108809"/>
- <action application="set" data="original_caller_id_number=306974108809"/>
- <action application="set" data="effective_caller_id_name=306974108809"/>
- <action application="set" data="effective_caller_id_number=306974108809"/>
- <action application="set" data="calltype=STANDARD"/>
- <action application="set" data="termination_rates=ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
- <action application="set" data="trunk_id=3"/>
- <action application="set" data="provider_id=9"/>
- <action application="set" data="rate_flag=0"/>
- <action application="set" data="force_trunk_flag=132323"/>
- <action application="export" data="presence_data=trunk_id=3"/>
- <action application="set" data="intcall=0"/>
- <action application="export" data="presence_id=3021022027326974485168"/>
- <action application="export" data="presence_data=x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece"/>
- <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027326974485168"/>
- </condition>
- </extension>
- </context>
- </section>
- </document>
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->3021022027326974485168] continue=false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [3021022027326974485168] destination_number(6974485168) =~ /6974485168/ break=on-false
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=3021022027326974485168)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.01215)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=1)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-20 14:14:27)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(termination_rates=ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=132323)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=3021022027326974485168)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece)
- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027326974485168)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 3 Tot 2533)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
- 2021-12-20 14:14:27.122558 99.07% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_scheduler.c:263 Added task 496 switch_core_session_sched_heartbeat (8bafd9e5-f62b-41a0-88a7-4a6ad01cc714) to run at 1640009697
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_scheduler.c:147 Deleting task 495 switch_core_session_sched_heartbeat (8bafd9e5-f62b-41a0-88a7-4a6ad01cc714)
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=3021022027326974485168)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[3021022027326974485168]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=11)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.01215)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.01215]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=1)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[1]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
- 2021-12-20 14:14:27.122558 99.07% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_scheduler.c:263 Added task 497 switch_core_session_sched_heartbeat (8bafd9e5-f62b-41a0-88a7-4a6ad01cc714) to run at 1640009697
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_scheduler.c:147 Deleting task 496 switch_core_session_sched_heartbeat (8bafd9e5-f62b-41a0-88a7-4a6ad01cc714)
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-20 14:14:27)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-20 14:14:27]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[ID:132323|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01215|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:122936|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:0|ACCID:8]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=306974108809)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=306974108809)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(termination_rates=ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [termination_rates]=[ID:8862|CODE:^302.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00400|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=132323)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[132323]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=3021022027326974485168)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[3021022027326974485168]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece]
- EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027326974485168)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece] to event
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece] to event
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[3021022027326974485168] to event
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^302.* // Greece // 0.01215 |||ModulusOutgoing // ^302.* // Greece // 0.00400 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^302.* // Greece] to event
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
- 2021-12-20 14:14:27.122558 99.07% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/99913021022027326974485168 [05e05de3-787e-484d-991b-48ebe2f43346]
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/99913021022027326974485168) State Change CS_NEW -> CS_INIT
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_INIT (Cur 4 Tot 2534)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027326974485168) State INIT
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/99913021022027326974485168 SOFIA INIT
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/99913021022027326974485168
- 2021-12-20 14:14:27.122558 99.07% [INFO] sofia_glue.c:1651 sofia/external_without_reg/99913021022027326974485168 sending invite call-id: (null)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/99913021022027326974485168 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
- Local SDP:
- v=0
- o=FreeSWITCH 1639980765 1639980766 IN IP4 94.130.242.106
- s=FreeSWITCH
- c=IN IP4 94.130.242.106
- t=0 0
- m=audio 28902 RTP/AVP 8 101
- a=rtpmap:8 PCMA/8000
- a=rtpmap:101 telephone-event/8000
- a=fmtp:101 0-15
- a=ptime:20
- a=sendrecv
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/99913021022027326974485168 Standard INIT
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/99913021022027326974485168) State Change CS_INIT -> CS_ROUTING
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027326974485168) State INIT going to sleep
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_ROUTING (Cur 4 Tot 2534)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027326974485168) State ROUTING
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/99913021022027326974485168 SOFIA ROUTING
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/99913021022027326974485168) State Change CS_ROUTING -> CS_CONSUME_MEDIA
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027326974485168) State ROUTING going to sleep
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 2534)
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027326974485168 entering state [calling][0]
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027326974485168) State CONSUME_MEDIA
- 2021-12-20 14:14:27.122558 99.07% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027326974485168) State CONSUME_MEDIA going to sleep
- 2021-12-20 14:14:27.202564 99.07% [DEBUG] sofia_reg.c:2665 Changing expire time to 118 by request of proxy sip:voips.modulus.gr:5060
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027326974485168 entering state [terminated][503]
- 2021-12-20 14:14:27.242566 99.07% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/99913021022027326974485168 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_HANGUP (Cur 4 Tot 2534)
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/99913021022027326974485168) Callstate Change DOWN -> HANGUP
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027326974485168) State HANGUP
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/99913021022027326974485168 hanging up, cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/99913021022027326974485168 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027326974485168) State HANGUP going to sleep
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/99913021022027326974485168) State Change CS_HANGUP -> CS_REPORTING
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_REPORTING (Cur 4 Tot 2534)
- 2021-12-20 14:14:27.242566 99.07% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027326974485168) State REPORTING
- 2021-12-20 14:14:27.242566 99.07% [INFO] mod_json_cdr.c:271 Process [05e05de3-787e-484d-991b-48ebe2f43346.cdr.json]
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/99913021022027326974485168 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027326974485168) State REPORTING going to sleep
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/99913021022027326974485168) State Change CS_REPORTING -> CS_DESTROY
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_session.c:1753 Session 2534 (sofia/external_without_reg/99913021022027326974485168) Locked, Waiting on external entities
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
- 2021-12-20 14:14:27.262563 99.07% [NOTICE] switch_core_session.c:1771 Session 2534 (sofia/external_without_reg/99913021022027326974485168) Ended
- 2021-12-20 14:14:27.262563 99.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/99913021022027326974485168 [CS_DESTROY]
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/99913021022027326974485168) Running State Change CS_DESTROY (Cur 3 Tot 2534)
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027326974485168) State DESTROY
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/99913021022027326974485168 SOFIA DESTROY
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/99913021022027326974485168 Standard DESTROY
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027326974485168) State DESTROY going to sleep
- 2021-12-20 14:14:27.262563 99.07% [INFO] mod_dptools.c:3653 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
- 2021-12-20 14:14:27.262563 99.07% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
- 2021-12-20 14:14:27.262563 99.07% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 3 Tot 2534)
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 503 from the other leg
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.01215 per minute to account 11
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:518 Not billing 11 - call is not in answered state
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 15.554770)
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:523 Comparing 15.554770 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 15.554770)
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 3 Tot 2534)
- 2021-12-20 14:14:27.262563 99.07% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
- 2021-12-20 14:14:27.262563 99.07% [INFO] mod_json_cdr.c:271 Process [8bafd9e5-f62b-41a0-88a7-4a6ad01cc714.cdr.json]
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_session.c:1753 Session 2533 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
- 2021-12-20 14:14:27.302565 99.07% [NOTICE] switch_core_session.c:1771 Session 2533 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
- 2021-12-20 14:14:27.302565 99.07% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 2 Tot 2534)
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
- 2021-12-20 14:14:27.302565 99.07% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
- 2021-12-20 14:14:27.622561 98.50% [DEBUG] switch_scheduler.c:147 Deleting task 497 switch_core_session_sched_heartbeat (8bafd9e5-f62b-41a0-88a7-4a6ad01cc714)
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.03983 per minute to account 19
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:573 28 seconds passed since last bill time of 2021-12-20 14:14:02
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:590 Billing $0.019251 to 19 (Call: 438f262e-da9a-4395-9990-41a2c71f1552 / 0.830456 so far)
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:395 Doing update query
- [Update accounts SET balance=IF(posttoexternal=1,balance+0.019251,balance-0.019251) WHERE id='19']
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:422 Doing lookup query
- [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='19']
- 2021-12-20 14:14:31.122564 98.47% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 19 (balance = 37.747290)