From George_p, 2 Years ago, written in HTML5.
- go back
Embed
Viewing differences between and Untitled
  1. 2021-12-14 06:33:40.189193 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [1a1b5005-d7a1-4896-abd6-34318003de76]
  2. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 807)
  3. 2021-12-14 06:33:40.189193 98.37% [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: 14cecba47aa130d977f7aaa45cbec1c3@voips.modulus.gr
  4. 2021-12-14 06:33:40.189193 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  5. 2021-12-14 06:33:40.189193 98.37% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  6. 2021-12-14 06:33:40.189193 98.37% [DEBUG] sofia.c:7509 Remote SDP:
  7. v=0
  8. o=root 676060339 676060339 IN IP4 185.73.42.252
  9. s=modCOM v2 Media Gateway
  10. c=IN IP4 185.73.42.252
  11. t=0 0
  12. m=audio 31130 RTP/AVP 8 9 0 18 101
  13. a=rtpmap:8 PCMA/8000
  14. a=rtpmap:9 G722/8000
  15. a=rtpmap:0 PCMU/8000
  16. a=rtpmap:18 G729/8000
  17. a=fmtp:18 annexb=no
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=rtcp:31131
  21. a=ptime:20
  22.  
  23. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  25. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  26. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  28. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  32. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  33. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  34. 2021-12-14 06:33:40.189193 98.37% [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
  35. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  36. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  37. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2021-12-14 06:33:40.189193 98.37% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  39. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  40. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 807)
  41. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  42. 2021-12-14 06:33:40.189193 98.37% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  43. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  44. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  45. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  46. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 807)
  47. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  48. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  49. 2021-12-14 06:33:40.189193 98.37% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  50. 2021-12-14 06:33:40.189193 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  51. 2021-12-14 06:33:40.189193 98.37% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  52. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  53. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  55. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  56. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  57. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  58. 2021-12-14 06:33:40.209185 98.37% [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
  59. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  60. 2021-12-14 06:33:40.209185 98.37% [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
  61. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  62. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  63. 2021-12-14 06:33:40.209185 98.37% [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
  64. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  65. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  66. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  67. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  68. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  69. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  70. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  71. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  72. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  73. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  74. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  75. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (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
  76. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="302102202732" AND A.accountid = '9' limit 1
  77. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
  78. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  79. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  80. 2021-12-14 06:33:40.209185 98.37% [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
  81. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  82. 2021-12-14 06:33:40.209185 98.37% [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
  83. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  84. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  85. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  86. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  87. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  88. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  89. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  90. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  91. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  92. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  93. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  94. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  95. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  96. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  97. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  98. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  99. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  100. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
  101. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  102. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  103. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  104. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  105. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  106. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
  107. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  108. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  109. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  110. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  111. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  112. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  113. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  114. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
  115. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  116. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  117. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  118. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  119. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  120. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  121. 2021-12-14 06:33:40.209185 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  122. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  123. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  124. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  125. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  126. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....306974108809
  127. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  128. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  129. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  130. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  131. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....306974108809
  132. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  133. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  134. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  135. <document type="freeswitch/xml">
  136. <section name="dialplan" description="ASTPP Dialplan">
  137. <context name="default">
  138. <extension name="302102202732">
  139. <condition field="destination_number" expression="2102202732">
  140. <action application="set" data="effective_destination_number=302102202732"/>
  141. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  142. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  143. <action application="set" data="nibble_account=9"/>
  144. <action application="set" data="nibble_rate=0.00000"/>
  145. <action application="set" data="nibble_increment=0"/>
  146. <action application="set" data="nibble_minimum=0.00000"/>
  147. <action application="nibblebill" data="heartbeat 30"/>
  148. <action application="set" data="callstart=2021-12-14 06:33:40"/>
  149. <action application="set" data="hangup_after_bridge=true"/>
  150. <action application="set" data="continue_on_fail=TRUE"/>
  151. <action application="set" data="account_id=9"/>
  152. <action application="set" data="parent_id=0"/>
  153. <action application="set" data="entity_id=3"/>
  154. <action application="set" data="call_processed=internal"/>
  155. <action application="set" data="call_direction=inbound"/>
  156. <action application="set" data="accountname=ModulusIncoming"/>
  157. <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"/>
  158. <action application="set" data="origination_rates=0"/>
  159. <action application="set" data="original_caller_id_name=6974108809"/>
  160. <action application="set" data="original_caller_id_number=6974108809"/>
  161. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  162. <action application="limit" data="db 11 user_11 2 "/>
  163. <action application="set" data="effective_caller_id_name=306974108809"/>
  164. <action application="set" data="effective_caller_id_number=306974108809"/>
  165. <action application="set" data="receiver_accid=11"/>
  166. <action application="export" data="domain_name="/>
  167. <action application="export" data="sip_to_host="/>
  168. <action application="limit" data="db 302102202732 did_302102202732 2 "/>
  169. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  170. <action application="export" data="call_type=4"/>
  171. <action application="set" data="calltype=STANDARD"/>
  172. <action application="set" data="accountcode=7772615170"/>
  173. <action application="set" data="caller_did_account_id=9"/>
  174. <action application="set" data="did_number=302102202732"/>
  175. <action application="set" data="did_init_inc=0"/>
  176. <action application="set" data="did_inc=0"/>
  177. <action application="set" data="did_cost=0.00000"/>
  178. <action application="set" data="did_connectcost=0.00000"/>
  179. <action application="set" data="origination_rates_did=0"/>
  180. <action application="transfer" data="6974485168 XML default"/>
  181. </condition>
  182. </extension>
  183. </context>
  184. </section>
  185. </document>
  186. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
  187. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  188. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
  189. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  190. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  191. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
  192. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
  193. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
  194. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  195. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  196. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-14 06:33:40)
  197. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  198. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  199. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  200. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  201. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  202. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  203. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  204. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  205. 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)
  206. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  207. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  208. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  209. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  210. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  211. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  212. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  213. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  214. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  215. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  216. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
  217. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  218. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
  219. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  220. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
  221. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
  222. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=302102202732)
  223. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
  224. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
  225. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
  226. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
  227. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
  228. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
  229. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  230. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  231. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 807)
  232. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  233. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  234. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  235. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302102202732)
  236. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302102202732]
  237. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  238. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  239. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  240. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  241. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
  242. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
  243. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
  244. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
  245. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
  246. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
  247. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  248. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  249. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  250. 2021-12-14 06:33:40.209185 98.37% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  251. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_scheduler.c:263 Added task 955 switch_core_session_sched_heartbeat (1a1b5005-d7a1-4896-abd6-34318003de76) to run at 1639463650
  252. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-14 06:33:40)
  253. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-14 06:33:40]
  254. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  255. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  256. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  257. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  258. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  259. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  260. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  261. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  262. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  263. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  264. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  265. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  266. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  267. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  268. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  269. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  270. 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)
  271. 2021-12-14 06:33:40.209185 98.37% [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]
  272. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  273. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  274. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  275. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  276. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  277. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  278. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  279. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  280. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  281. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  282. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  283. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  284. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  285. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  286. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  287. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  288. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  289. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  290. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  291. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  292. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  293. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  294. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 302102202732 did_302102202732 2 )
  295. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
  296. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_db.c:194 Usage for 302102202732_did_302102202732 is now 1/2
  297. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  298. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  299. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
  300. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  301. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  302. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  303. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
  304. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
  305. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
  306. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
  307. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=302102202732)
  308. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[302102202732]
  309. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
  310. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
  311. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
  312. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
  313. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
  314. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
  315. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
  316. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
  317. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
  318. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
  319. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
  320. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  321. 2021-12-14 06:33:40.209185 98.37% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
  322. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  323. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 807)
  324. 2021-12-14 06:33:40.209185 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  325. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  326. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  327. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  328. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  329. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  330. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  331. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 14.392670)
  332. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:523 Comparing 14.392670 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  333. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  334. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  335. 2021-12-14 06:33:40.209185 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 14.392670)
  336. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  337. 2021-12-14 06:33:40.229182 98.37% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
  338. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  339. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  340. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  341. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '21022027322102202732' AND status=0 limit 1
  342. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 306974108809 / 306974108809
  343. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="21022027322102202732" LIMIT 1
  344. 2021-12-14 06:33:40.229182 98.37% [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="21022027322102202732" limit 1
  345. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  346. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
  347. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
  348. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21022027322102202732.*' OR blocked_patterns = '^2102202732210220273.*' OR blocked_patterns = '^210220273221022027.*' OR blocked_patterns = '^21022027322102202.*' OR blocked_patterns = '^2102202732210220.*' OR blocked_patterns = '^210220273221022.*' OR blocked_patterns = '^21022027322102.*' OR blocked_patterns = '^2102202732210.*' OR blocked_patterns = '^210220273221.*' OR blocked_patterns = '^21022027322.*' 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
  349. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="21022027322102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  350. 2021-12-14 06:33:40.229182 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  351. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  352. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027322102202732
  353. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027322102202732
  354. 2021-12-14 06:33:40.229182 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21022027322102202732
  355. 2021-12-14 06:33:40.229182 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 3021022027322102202732
  356. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  357. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  358. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  359. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  360. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^3021022027322102202732.*' OR patterns = '^302102202732210220273.*' OR patterns = '^30210220273221022027.*' OR patterns = '^3021022027322102202.*' OR patterns = '^302102202732210220.*' OR patterns = '^30210220273221022.*' OR patterns = '^3021022027322102.*' OR patterns = '^302102202732210.*' OR patterns = '^30210220273221.*' OR patterns = '^3021022027322.*' 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
  361. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="3021022027322102202732" AND A.accountid = '11' limit 1
  362. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3021022027322102202732
  363. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3021022027322102202732" LIMIT 1
  364. 2021-12-14 06:33:40.229182 98.37% [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="3021022027322102202732" limit 1
  365. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  366. 2021-12-14 06:33:40.229182 98.37% [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 = '3021022027322102202732' OR number = '302102202732210220273' OR number = '30210220273221022027' OR number = '3021022027322102202' OR number = '302102202732210220' OR number = '30210220273221022' OR number = '3021022027322102' OR number = '302102202732210' OR number = '30210220273221' OR number = '3021022027322' 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 = '3021022027322102202732*' OR number = '302102202732210220273*' OR number = '30210220273221022027*' OR number = '3021022027322102202*' OR number = '302102202732210220*' OR number = '30210220273221022*' OR number = '3021022027322102*' OR number = '302102202732210*' OR number = '30210220273221*' OR number = '3021022027322*' 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 = '306974108809' OR number = '30697410880' OR number = '3069741088' OR number = '306974108' OR number = '30697410' OR number = '3069741' OR number = '306974' OR number = '30697' OR number = '3069' OR number = '306' OR number = '30' OR number = '3' OR number ='--') OR (number = '306974108809*' OR number = '30697410880*' OR number = '3069741088*' OR number = '306974108*' OR number = '30697410*' OR number = '3069741*' OR number = '306974*' OR number = '30697*' OR number = '3069*' OR number = '306*' OR number = '30*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  367. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  368. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3021022027322102202732' OR routing_prefix = '302102202732210220273' OR routing_prefix = '30210220273221022027' OR routing_prefix = '3021022027322102202' OR routing_prefix = '302102202732210220' OR routing_prefix = '30210220273221022' OR routing_prefix = '3021022027322102' OR routing_prefix = '302102202732210' OR routing_prefix = '30210220273221' OR routing_prefix = '3021022027322' 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
  369. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  370. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
  371. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
  372. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.55035
  373. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  374. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  375. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  376. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  377. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  378. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  379. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  380. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  381. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  382. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  383. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  384. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  385. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  386. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  387. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  388. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  389. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  390. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  391. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  392. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027322102202732.*' OR pattern = '^302102202732210220273.*' OR pattern = '^30210220273221022027.*' OR pattern = '^3021022027322102202.*' OR pattern = '^302102202732210220.*' OR pattern = '^30210220273221022.*' OR pattern = '^3021022027322102.*' OR pattern = '^302102202732210.*' OR pattern = '^30210220273221.*' OR pattern = '^3021022027322.*' 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
  393. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  394. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  395. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 132323
  396. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  397. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  398. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01215
  399. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
  400. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  401. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
  402. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  403. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  404. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  405. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.55035 balance Accountid 11 !!!
  406. 2021-12-14 06:33:40.229182 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  407. 2021-12-14 06:33:40.229182 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
  408. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
  409. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3021022027322102202732.*' OR blocked_patterns = '^302102202732210220273.*' OR blocked_patterns = '^30210220273221022027.*' OR blocked_patterns = '^3021022027322102202.*' OR blocked_patterns = '^302102202732210220.*' OR blocked_patterns = '^30210220273221022.*' OR blocked_patterns = '^3021022027322102.*' OR blocked_patterns = '^302102202732210.*' OR blocked_patterns = '^30210220273221.*' OR blocked_patterns = '^3021022027322.*' 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
  410. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  411. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  412. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
  413. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 678.17134
  414. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  415. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  416. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  417. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  418. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  419. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027322102202732.*' OR pattern = '^302102202732210220273.*' OR pattern = '^30210220273221022027.*' OR pattern = '^3021022027322102202.*' OR pattern = '^302102202732210220.*' OR pattern = '^30210220273221022.*' OR pattern = '^3021022027322102.*' OR pattern = '^302102202732210.*' OR pattern = '^30210220273221.*' OR pattern = '^3021022027322.*' 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
  420. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  421. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  422. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 122936
  423. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  424. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  425. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00800
  426. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
  427. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  428. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  429. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
  430. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  431. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  432. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your678.17134 balance Accountid 8 !!!
  433. 2021-12-14 06:33:40.229182 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  434. 2021-12-14 06:33:40.229182 98.37% [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
  435. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  436. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  437. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 11
  438. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.01215
  439. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  440. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
  441. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1
  442. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  443. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 132323
  444. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
  445. 2021-12-14 06:33:40.229182 98.37% [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 = '^3021022027322102202732.*' OR pattern = '^302102202732210220273.*' OR pattern = '^30210220273221022027.*' OR pattern = '^3021022027322102202.*' OR pattern = '^302102202732210220.*' OR pattern = '^30210220273221022.*' OR pattern = '^3021022027322102.*' OR pattern = '^302102202732210.*' OR pattern = '^30210220273221.*' OR pattern = '^3021022027322.*' 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
  446. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  447. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8862
  448. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^302.*
  449. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Greece
  450. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  451. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  452. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^302.*
  453. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  454. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 9991
  455. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  456. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
  457. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  458. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  459. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  460. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  461. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
  462. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  463. 2021-12-14 06:33:40.229182 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
  464. 2021-12-14 06:33:40.229182 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  465. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  466. 2021-12-14 06:33:40.249175 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  467. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  468. 2021-12-14 06:33:40.249175 98.37% [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
  469. 2021-12-14 06:33:40.249175 98.37% [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
  470. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  471. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  472. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  473. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  474. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  475. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  476. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  477. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  478. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  479. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  480. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  481. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  482. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/9991.....3021022027322102202732
  483. 2021-12-14 06:33:40.249175 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3021022027322102202732
  484. 2021-12-14 06:33:40.249175 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 99913021022027322102202732
  485. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  486. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  487. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  488. <document type="freeswitch/xml">
  489. <section name="dialplan" description="ASTPP Dialplan">
  490. <context name="default">
  491. <extension name="3021022027322102202732">
  492. <condition field="destination_number" expression="6974485168">
  493. <action application="set" data="effective_destination_number=3021022027322102202732"/>
  494. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  495. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  496. <action application="set" data="nibble_account=11"/>
  497. <action application="set" data="nibble_rate=0.01215"/>
  498. <action application="set" data="nibble_increment=1"/>
  499. <action application="set" data="nibble_minimum=0.00000"/>
  500. <action application="nibblebill" data="heartbeat 30"/>
  501. <action application="set" data="callstart=2021-12-14 06:33:40"/>
  502. <action application="set" data="hangup_after_bridge=true"/>
  503. <action application="set" data="continue_on_fail=TRUE"/>
  504. <action application="set" data="account_id=11"/>
  505. <action application="set" data="parent_id=8"/>
  506. <action application="set" data="entity_id=0"/>
  507. <action application="set" data="call_processed=internal"/>
  508. <action application="set" data="call_direction=outbound"/>
  509. <action application="set" data="accountname=default"/>
  510. <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"/>
  511. <action application="set" data="original_caller_id_name=306974108809"/>
  512. <action application="set" data="original_caller_id_number=306974108809"/>
  513.  
  514. <action application="set" data="effective_caller_id_name=306974108809"/>
  515. <action application="set" data="effective_caller_id_number=306974108809"/>
  516. <action application="set" data="calltype=STANDARD"/>
  517. <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"/>
  518. <action application="set" data="trunk_id=3"/>
  519. <action application="set" data="provider_id=9"/>
  520. <action application="set" data="rate_flag=0"/>
  521. <action application="set" data="force_trunk_flag=132323"/>
  522. <action application="export" data="presence_data=trunk_id=3"/>
  523. <action application="set" data="intcall=0"/>
  524. <action application="export" data="presence_id=3021022027322102202732"/>
  525. <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"/>
  526. <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027322102202732"/>
  527. </condition>
  528. </extension>
  529. </context>
  530. </section>
  531. </document>
  532. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->3021022027322102202732] continue=false
  533. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [3021022027322102202732] destination_number(6974485168) =~ /6974485168/ break=on-false
  534. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=3021022027322102202732)
  535. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  536. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  537. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=11)
  538. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.01215)
  539. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=1)
  540. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  541. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  542. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-14 06:33:40)
  543. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  544. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  545. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
  546. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
  547. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
  548. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  549. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  550. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
  551. 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)
  552. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=306974108809)
  553. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=306974108809)
  554. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  555. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  556. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  557. 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)
  558. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
  559. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
  560. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
  561. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=132323)
  562. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
  563. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
  564. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=3021022027322102202732)
  565. 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)
  566. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027322102202732)
  567. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  568. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  569. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 807)
  570. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  571. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  572. 2021-12-14 06:33:40.249175 98.37% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  573. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_scheduler.c:263 Added task 956 switch_core_session_sched_heartbeat (1a1b5005-d7a1-4896-abd6-34318003de76) to run at 1639463650
  574. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  575. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_scheduler.c:147 Deleting task 955 switch_core_session_sched_heartbeat (1a1b5005-d7a1-4896-abd6-34318003de76)
  576. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=3021022027322102202732)
  577. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[3021022027322102202732]
  578. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  579. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  580. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  581. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  582. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=11)
  583. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[11]
  584. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.01215)
  585. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.01215]
  586. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=1)
  587. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[1]
  588. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  589. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  590. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  591. 2021-12-14 06:33:40.249175 98.37% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  592. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_scheduler.c:263 Added task 957 switch_core_session_sched_heartbeat (1a1b5005-d7a1-4896-abd6-34318003de76) to run at 1639463650
  593. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_scheduler.c:147 Deleting task 956 switch_core_session_sched_heartbeat (1a1b5005-d7a1-4896-abd6-34318003de76)
  594. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-14 06:33:40)
  595. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-14 06:33:40]
  596. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  597. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  598. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  599. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  600. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
  601. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
  602. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
  603. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
  604. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
  605. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
  606. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  607. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  608. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  609. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  610. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
  611. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
  612. 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)
  613. 2021-12-14 06:33:40.249175 98.37% [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]
  614. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=306974108809)
  615. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[306974108809]
  616. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=306974108809)
  617. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[306974108809]
  618. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  619. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  620. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  621. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  622. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  623. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  624. 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)
  625. 2021-12-14 06:33:40.249175 98.37% [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]
  626. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
  627. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
  628. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
  629. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
  630. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
  631. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
  632. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=132323)
  633. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[132323]
  634. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
  635. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  636. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
  637. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
  638. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=3021022027322102202732)
  639. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[3021022027322102202732]
  640. 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)
  641. 2021-12-14 06:33:40.249175 98.37% [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]
  642. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027322102202732)
  643. 2021-12-14 06:33:40.249175 98.37% [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
  644. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
  645. 2021-12-14 06:33:40.249175 98.37% [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
  646. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[3021022027322102202732] to event
  647. 2021-12-14 06:33:40.249175 98.37% [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
  648. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  649. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  650. 2021-12-14 06:33:40.249175 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/99913021022027322102202732 [9e0668e4-eefa-4757-889e-e70b264c0d45]
  651. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/99913021022027322102202732) State Change CS_NEW -> CS_INIT
  652. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_INIT (Cur 2 Tot 808)
  653. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027322102202732) State INIT
  654. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/99913021022027322102202732 SOFIA INIT
  655. 2021-12-14 06:33:40.249175 98.37% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/99913021022027322102202732
  656. 2021-12-14 06:33:40.249175 98.37% [INFO] sofia_glue.c:1651 sofia/external_without_reg/99913021022027322102202732 sending invite call-id: (null)
  657. 2021-12-14 06:33:40.249175 98.37% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/99913021022027322102202732 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  658. Local SDP:
  659. v=0
  660. o=FreeSWITCH 1639432488 1639432489 IN IP4 94.130.242.106
  661. s=FreeSWITCH
  662. c=IN IP4 94.130.242.106
  663. t=0 0
  664. m=audio 31132 RTP/AVP 8 101
  665. a=rtpmap:8 PCMA/8000
  666. a=rtpmap:101 telephone-event/8000
  667. a=fmtp:101 0-15
  668. a=ptime:20
  669. a=sendrecv
  670.  
  671. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/99913021022027322102202732 Standard INIT
  672. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/99913021022027322102202732) State Change CS_INIT -> CS_ROUTING
  673. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027322102202732) State INIT going to sleep
  674. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_ROUTING (Cur 2 Tot 808)
  675. 2021-12-14 06:33:40.249175 98.37% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027322102202732 entering state [calling][0]
  676. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027322102202732) State ROUTING
  677. 2021-12-14 06:33:40.249175 98.37% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/99913021022027322102202732 SOFIA ROUTING
  678. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/99913021022027322102202732) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  679. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027322102202732) State ROUTING going to sleep
  680. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 808)
  681. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027322102202732) State CONSUME_MEDIA
  682. 2021-12-14 06:33:40.249175 98.37% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027322102202732) State CONSUME_MEDIA going to sleep
  683. 2021-12-14 06:33:40.329178 98.37% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027322102202732 entering state [terminated][503]
  684. 2021-12-14 06:33:40.329178 98.37% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/99913021022027322102202732 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  685. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_HANGUP (Cur 2 Tot 808)
  686. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/99913021022027322102202732) Callstate Change DOWN -> HANGUP
  687. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027322102202732) State HANGUP
  688. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/99913021022027322102202732 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  689. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/99913021022027322102202732 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  690. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027322102202732) State HANGUP going to sleep
  691. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/99913021022027322102202732) State Change CS_HANGUP -> CS_REPORTING
  692. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_REPORTING (Cur 2 Tot 808)
  693. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027322102202732) State REPORTING
  694. 2021-12-14 06:33:40.329178 98.37% [INFO] mod_json_cdr.c:271 Process [9e0668e4-eefa-4757-889e-e70b264c0d45.cdr.json]
  695. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  696. 2021-12-14 06:33:40.329178 98.37% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  697. 2021-12-14 06:33:40.329178 98.37% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
  698. 2021-12-14 06:33:40.329178 98.37% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  699. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  700. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 2 Tot 808)
  701. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  702. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  703. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 503 from the other leg
  704. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  705. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
  706. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.01215 per minute to account 11
  707. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:518 Not billing 11 - call is not in answered state
  708. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  709. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  710. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 8.550350)
  711. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:523 Comparing 8.550350 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  712. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  713. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  714. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 8.550350)
  715. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  716. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  717. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  718. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 2 Tot 808)
  719. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  720. 2021-12-14 06:33:40.329178 98.37% [INFO] mod_json_cdr.c:271 Process [1a1b5005-d7a1-4896-abd6-34318003de76.cdr.json]
  721. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/99913021022027322102202732 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  722. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027322102202732) State REPORTING going to sleep
  723. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/99913021022027322102202732) State Change CS_REPORTING -> CS_DESTROY
  724. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_session.c:1753 Session 808 (sofia/external_without_reg/99913021022027322102202732) Locked, Waiting on external entities
  725. 2021-12-14 06:33:40.329178 98.37% [NOTICE] switch_core_session.c:1771 Session 808 (sofia/external_without_reg/99913021022027322102202732) Ended
  726. 2021-12-14 06:33:40.329178 98.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/99913021022027322102202732 [CS_DESTROY]
  727. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_DESTROY (Cur 1 Tot 808)
  728. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027322102202732) State DESTROY
  729. 2021-12-14 06:33:40.329178 98.37% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/99913021022027322102202732 SOFIA DESTROY
  730. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/99913021022027322102202732 Standard DESTROY
  731. 2021-12-14 06:33:40.329178 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027322102202732) State DESTROY going to sleep
  732. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  733. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  734. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  735. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_session.c:1753 Session 807 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  736. 2021-12-14 06:33:40.369184 98.37% [NOTICE] switch_core_session.c:1771 Session 807 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  737. 2021-12-14 06:33:40.369184 98.37% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  738. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 808)
  739. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  740. 2021-12-14 06:33:40.369184 98.37% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  741. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  742. 2021-12-14 06:33:40.369184 98.37% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  743. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_scheduler.c:147 Deleting task 957 switch_core_session_sched_heartbeat (1a1b5005-d7a1-4896-abd6-34318003de76)
  744. 2021-12-14 06:33:40.749188 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [9a7672d3-4e50-4ad5-bbc1-75bdc01ddade]
  745. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 809)
  746. 2021-12-14 06:33:40.749188 98.37% [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: 417da28a56ed0c15572a855708ebba7d@voips.modulus.gr
  747. 2021-12-14 06:33:40.749188 98.37% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  748. 2021-12-14 06:33:40.749188 98.37% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  749. 2021-12-14 06:33:40.749188 98.37% [DEBUG] sofia.c:7509 Remote SDP:
  750. v=0
  751. o=root 2097590254 2097590254 IN IP4 185.73.42.253
  752. s=modCOM v2 Media Gateway
  753. c=IN IP4 185.73.42.253
  754. t=0 0
  755. m=audio 56532 RTP/AVP 8 9 0 18 101
  756. a=rtpmap:8 PCMA/8000
  757. a=rtpmap:9 G722/8000
  758. a=rtpmap:0 PCMU/8000
  759. a=rtpmap:18 G729/8000
  760. a=fmtp:18 annexb=no
  761. a=rtpmap:101 telephone-event/8000
  762. a=fmtp:101 0-16
  763. a=rtcp:56533
  764. a=ptime:20
  765.  
  766. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  767. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  768. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  769. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  770. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  771. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  772. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  773. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  774. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  775. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  776. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  777. 2021-12-14 06:33:40.749188 98.37% [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
  778. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  779. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  780. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  781. 2021-12-14 06:33:40.749188 98.37% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  782. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  783. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 809)
  784. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  785. 2021-12-14 06:33:40.749188 98.37% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  786. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  787. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  788. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  789. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 809)
  790. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  791. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  792. 2021-12-14 06:33:40.749188 98.37% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  793. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  794. 2021-12-14 06:33:40.749188 98.37% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  795. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  796. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  797. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  798. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  799. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  800. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  801. 2021-12-14 06:33:40.749188 98.37% [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
  802. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  803. 2021-12-14 06:33:40.749188 98.37% [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
  804. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  805. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  806. 2021-12-14 06:33:40.749188 98.37% [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
  807. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  808. 2021-12-14 06:33:40.749188 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  809. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  810. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  811. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  812. 2021-12-14 06:33:40.749188 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  813. 2021-12-14 06:33:40.749188 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  814. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  815. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  816. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  817. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  818. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (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
  819. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="302102202732" AND A.accountid = '9' limit 1
  820. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
  821. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  822. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  823. 2021-12-14 06:33:40.749188 98.37% [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
  824. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  825. 2021-12-14 06:33:40.749188 98.37% [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
  826. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  827. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  828. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  829. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  830. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  831. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  832. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  833. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  834. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  835. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  836. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  837. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  838. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  839. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  840. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  841. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  842. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  843. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
  844. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  845. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  846. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  847. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  848. 2021-12-14 06:33:40.749188 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  849. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
  850. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  851. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  852. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  853. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  854. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  855. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  856. 2021-12-14 06:33:40.749188 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  857. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
  858. 2021-12-14 06:33:40.749188 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  859. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  860. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  861. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  862. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  863. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  864. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  865. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  866. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  867. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  868. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  869. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....306974108809
  870. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  871. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  872. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  873. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  874. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....306974108809
  875. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  876. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  877. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  878. <document type="freeswitch/xml">
  879. <section name="dialplan" description="ASTPP Dialplan">
  880. <context name="default">
  881. <extension name="302102202732">
  882. <condition field="destination_number" expression="2102202732">
  883. <action application="set" data="effective_destination_number=302102202732"/>
  884. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  885. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  886. <action application="set" data="nibble_account=9"/>
  887. <action application="set" data="nibble_rate=0.00000"/>
  888. <action application="set" data="nibble_increment=0"/>
  889. <action application="set" data="nibble_minimum=0.00000"/>
  890. <action application="nibblebill" data="heartbeat 30"/>
  891. <action application="set" data="callstart=2021-12-14 06:33:40"/>
  892. <action application="set" data="hangup_after_bridge=true"/>
  893. <action application="set" data="continue_on_fail=TRUE"/>
  894. <action application="set" data="account_id=9"/>
  895. <action application="set" data="parent_id=0"/>
  896. <action application="set" data="entity_id=3"/>
  897. <action application="set" data="call_processed=internal"/>
  898. <action application="set" data="call_direction=inbound"/>
  899. <action application="set" data="accountname=ModulusIncoming"/>
  900. <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"/>
  901. <action application="set" data="origination_rates=0"/>
  902. <action application="set" data="original_caller_id_name=6974108809"/>
  903. <action application="set" data="original_caller_id_number=6974108809"/>
  904. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  905. <action application="limit" data="db 11 user_11 2 "/>
  906. <action application="set" data="effective_caller_id_name=306974108809"/>
  907. <action application="set" data="effective_caller_id_number=306974108809"/>
  908. <action application="set" data="receiver_accid=11"/>
  909. <action application="export" data="domain_name="/>
  910. <action application="export" data="sip_to_host="/>
  911. <action application="limit" data="db 302102202732 did_302102202732 2 "/>
  912. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  913. <action application="export" data="call_type=4"/>
  914. <action application="set" data="calltype=STANDARD"/>
  915. <action application="set" data="accountcode=7772615170"/>
  916. <action application="set" data="caller_did_account_id=9"/>
  917. <action application="set" data="did_number=302102202732"/>
  918. <action application="set" data="did_init_inc=0"/>
  919. <action application="set" data="did_inc=0"/>
  920. <action application="set" data="did_cost=0.00000"/>
  921. <action application="set" data="did_connectcost=0.00000"/>
  922. <action application="set" data="origination_rates_did=0"/>
  923. <action application="transfer" data="6974485168 XML default"/>
  924. </condition>
  925. </extension>
  926. </context>
  927. </section>
  928. </document>
  929. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
  930. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  931. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
  932. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  933. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  934. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
  935. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
  936. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
  937. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  938. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  939. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-14 06:33:40)
  940. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  941. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  942. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  943. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  944. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  945. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  946. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  947. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  948. 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)
  949. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  950. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  951. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  952. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  953. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  954. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  955. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  956. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  957. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  958. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  959. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
  960. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  961. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
  962. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  963. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
  964. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
  965. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=302102202732)
  966. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
  967. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
  968. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
  969. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
  970. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
  971. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
  972. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  973. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  974. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 809)
  975. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  976. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  977. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  978. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302102202732)
  979. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302102202732]
  980. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  981. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  982. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  983. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  984. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
  985. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
  986. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
  987. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
  988. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
  989. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
  990. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  991. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  992. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  993. 2021-12-14 06:33:40.769179 98.37% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  994. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_scheduler.c:263 Added task 958 switch_core_session_sched_heartbeat (9a7672d3-4e50-4ad5-bbc1-75bdc01ddade) to run at 1639463650
  995. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-14 06:33:40)
  996. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-14 06:33:40]
  997. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  998. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  999. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  1000. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  1001. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  1002. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  1003. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  1004. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  1005. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  1006. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  1007. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  1008. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  1009. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  1010. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  1011. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  1012. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  1013. 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)
  1014. 2021-12-14 06:33:40.769179 98.37% [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]
  1015. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  1016. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  1017. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  1018. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  1019. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  1020. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  1021. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  1022. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  1023. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  1024. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  1025. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  1026. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  1027. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  1028. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  1029. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  1030. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  1031. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  1032. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  1033. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  1034. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  1035. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  1036. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  1037. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 302102202732 did_302102202732 2 )
  1038. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
  1039. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_db.c:194 Usage for 302102202732_did_302102202732 is now 1/2
  1040. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  1041. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  1042. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
  1043. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  1044. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  1045. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  1046. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
  1047. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
  1048. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
  1049. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
  1050. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=302102202732)
  1051. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[302102202732]
  1052. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
  1053. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
  1054. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
  1055. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
  1056. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
  1057. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
  1058. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
  1059. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
  1060. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
  1061. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
  1062. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
  1063. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  1064. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
  1065. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  1066. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 809)
  1067. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  1068. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  1069. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  1070. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  1071. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  1072. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1073. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  1074. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 14.392670)
  1075. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:523 Comparing 14.392670 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  1076. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1077. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  1078. 2021-12-14 06:33:40.769179 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 14.392670)
  1079. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  1080. 2021-12-14 06:33:40.769179 98.37% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
  1081. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1082. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1083. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  1084. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '21022027322102202732' AND status=0 limit 1
  1085. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 306974108809 / 306974108809
  1086. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="21022027322102202732" LIMIT 1
  1087. 2021-12-14 06:33:40.769179 98.37% [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="21022027322102202732" limit 1
  1088. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1089. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
  1090. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
  1091. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^21022027322102202732.*' OR blocked_patterns = '^2102202732210220273.*' OR blocked_patterns = '^210220273221022027.*' OR blocked_patterns = '^21022027322102202.*' OR blocked_patterns = '^2102202732210220.*' OR blocked_patterns = '^210220273221022.*' OR blocked_patterns = '^21022027322102.*' OR blocked_patterns = '^2102202732210.*' OR blocked_patterns = '^210220273221.*' OR blocked_patterns = '^21022027322.*' 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
  1092. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="21022027322102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  1093. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  1094. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  1095. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027322102202732
  1096. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027322102202732
  1097. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21022027322102202732
  1098. 2021-12-14 06:33:40.769179 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 3021022027322102202732
  1099. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1100. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1101. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1102. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1103. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^3021022027322102202732.*' OR patterns = '^302102202732210220273.*' OR patterns = '^30210220273221022027.*' OR patterns = '^3021022027322102202.*' OR patterns = '^302102202732210220.*' OR patterns = '^30210220273221022.*' OR patterns = '^3021022027322102.*' OR patterns = '^302102202732210.*' OR patterns = '^30210220273221.*' OR patterns = '^3021022027322.*' 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
  1104. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="3021022027322102202732" AND A.accountid = '11' limit 1
  1105. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3021022027322102202732
  1106. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="3021022027322102202732" LIMIT 1
  1107. 2021-12-14 06:33:40.769179 98.37% [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="3021022027322102202732" limit 1
  1108. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  1109. 2021-12-14 06:33:40.769179 98.37% [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 = '3021022027322102202732' OR number = '302102202732210220273' OR number = '30210220273221022027' OR number = '3021022027322102202' OR number = '302102202732210220' OR number = '30210220273221022' OR number = '3021022027322102' OR number = '302102202732210' OR number = '30210220273221' OR number = '3021022027322' 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 = '3021022027322102202732*' OR number = '302102202732210220273*' OR number = '30210220273221022027*' OR number = '3021022027322102202*' OR number = '302102202732210220*' OR number = '30210220273221022*' OR number = '3021022027322102*' OR number = '302102202732210*' OR number = '30210220273221*' OR number = '3021022027322*' 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 = '306974108809' OR number = '30697410880' OR number = '3069741088' OR number = '306974108' OR number = '30697410' OR number = '3069741' OR number = '306974' OR number = '30697' OR number = '3069' OR number = '306' OR number = '30' OR number = '3' OR number ='--') OR (number = '306974108809*' OR number = '30697410880*' OR number = '3069741088*' OR number = '306974108*' OR number = '30697410*' OR number = '3069741*' OR number = '306974*' OR number = '30697*' OR number = '3069*' OR number = '306*' OR number = '30*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1110. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1111. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '3021022027322102202732' OR routing_prefix = '302102202732210220273' OR routing_prefix = '30210220273221022027' OR routing_prefix = '3021022027322102202' OR routing_prefix = '302102202732210220' OR routing_prefix = '30210220273221022' OR routing_prefix = '3021022027322102' OR routing_prefix = '302102202732210' OR routing_prefix = '30210220273221' OR routing_prefix = '3021022027322' 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
  1112. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1113. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
  1114. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
  1115. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 8.55035
  1116. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1117. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  1118. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1119. 2021-12-14 06:33:40.769179 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1120. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1121. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1122. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1123. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1124. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1125. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1126. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1127. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1128. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1129. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1130. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1131. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1132. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  1133. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1134. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  1135. 2021-12-14 06:33:40.769179 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027322102202732.*' OR pattern = '^302102202732210220273.*' OR pattern = '^30210220273221022027.*' OR pattern = '^3021022027322102202.*' OR pattern = '^302102202732210220.*' OR pattern = '^30210220273221022.*' OR pattern = '^3021022027322102.*' OR pattern = '^302102202732210.*' OR pattern = '^30210220273221.*' OR pattern = '^3021022027322.*' 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
  1136. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1137. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1138. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 132323
  1139. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1140. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1141. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01215
  1142. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
  1143. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1144. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
  1145. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  1146. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1147. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1148. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your8.55035 balance Accountid 11 !!!
  1149. 2021-12-14 06:33:40.789180 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1150. 2021-12-14 06:33:40.789180 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
  1151. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
  1152. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^3021022027322102202732.*' OR blocked_patterns = '^302102202732210220273.*' OR blocked_patterns = '^30210220273221022027.*' OR blocked_patterns = '^3021022027322102202.*' OR blocked_patterns = '^302102202732210220.*' OR blocked_patterns = '^30210220273221022.*' OR blocked_patterns = '^3021022027322102.*' OR blocked_patterns = '^302102202732210.*' OR blocked_patterns = '^30210220273221.*' OR blocked_patterns = '^3021022027322.*' 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
  1153. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  1154. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  1155. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
  1156. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 678.17134
  1157. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1158. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  1159. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  1160. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  1161. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  1162. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^3021022027322102202732.*' OR pattern = '^302102202732210220273.*' OR pattern = '^30210220273221022027.*' OR pattern = '^3021022027322102202.*' OR pattern = '^302102202732210220.*' OR pattern = '^30210220273221022.*' OR pattern = '^3021022027322102.*' OR pattern = '^302102202732210.*' OR pattern = '^30210220273221.*' OR pattern = '^3021022027322.*' 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
  1163. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  1164. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  1165. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 122936
  1166. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1167. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  1168. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00800
  1169. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
  1170. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  1171. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  1172. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
  1173. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  1174. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  1175. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your678.17134 balance Accountid 8 !!!
  1176. 2021-12-14 06:33:40.789180 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1177. 2021-12-14 06:33:40.789180 98.37% [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
  1178. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1179. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  1180. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 11
  1181. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.01215
  1182. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  1183. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 1
  1184. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 1
  1185. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  1186. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 132323
  1187. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
  1188. 2021-12-14 06:33:40.789180 98.37% [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 = '^3021022027322102202732.*' OR pattern = '^302102202732210220273.*' OR pattern = '^30210220273221022027.*' OR pattern = '^3021022027322102202.*' OR pattern = '^302102202732210220.*' OR pattern = '^30210220273221022.*' OR pattern = '^3021022027322102.*' OR pattern = '^302102202732210.*' OR pattern = '^30210220273221.*' OR pattern = '^3021022027322.*' 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
  1189. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  1190. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 8862
  1191. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^302.*
  1192. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Greece
  1193. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  1194. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  1195. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^302.*
  1196. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  1197. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 9991
  1198. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  1199. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
  1200. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  1201. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  1202. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  1203. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  1204. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
  1205. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  1206. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 11 AND status=0 LIMIT 1
  1207. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  1208. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1209. 2021-12-14 06:33:40.789180 98.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1210. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  1211. 2021-12-14 06:33:40.789180 98.37% [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
  1212. 2021-12-14 06:33:40.789180 98.37% [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
  1213. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1214. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1215. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1216. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1217. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1218. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....306974108809
  1219. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1220. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1221. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1222. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1223. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1224. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  1225. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/9991.....3021022027322102202732
  1226. 2021-12-14 06:33:40.789180 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 3021022027322102202732
  1227. 2021-12-14 06:33:40.789180 98.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 99913021022027322102202732
  1228. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag 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
  1229. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1230. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1231. <document type="freeswitch/xml">
  1232. <section name="dialplan" description="ASTPP Dialplan">
  1233. <context name="default">
  1234. <extension name="3021022027322102202732">
  1235. <condition field="destination_number" expression="6974485168">
  1236. <action application="set" data="effective_destination_number=3021022027322102202732"/>
  1237. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1238. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1239. <action application="set" data="nibble_account=11"/>
  1240. <action application="set" data="nibble_rate=0.01215"/>
  1241. <action application="set" data="nibble_increment=1"/>
  1242. <action application="set" data="nibble_minimum=0.00000"/>
  1243. <action application="nibblebill" data="heartbeat 30"/>
  1244. <action application="set" data="callstart=2021-12-14 06:33:40"/>
  1245. <action application="set" data="hangup_after_bridge=true"/>
  1246. <action application="set" data="continue_on_fail=TRUE"/>
  1247. <action application="set" data="account_id=11"/>
  1248. <action application="set" data="parent_id=8"/>
  1249. <action application="set" data="entity_id=0"/>
  1250. <action application="set" data="call_processed=internal"/>
  1251. <action application="set" data="call_direction=outbound"/>
  1252. <action application="set" data="accountname=default"/>
  1253. <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"/>
  1254. <action application="set" data="original_caller_id_name=306974108809"/>
  1255. <action application="set" data="original_caller_id_number=306974108809"/>
  1256.  
  1257. <action application="set" data="effective_caller_id_name=306974108809"/>
  1258. <action application="set" data="effective_caller_id_number=306974108809"/>
  1259. <action application="set" data="calltype=STANDARD"/>
  1260. <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"/>
  1261. <action application="set" data="trunk_id=3"/>
  1262. <action application="set" data="provider_id=9"/>
  1263. <action application="set" data="rate_flag=0"/>
  1264. <action application="set" data="force_trunk_flag=132323"/>
  1265. <action application="export" data="presence_data=trunk_id=3"/>
  1266. <action application="set" data="intcall=0"/>
  1267. <action application="export" data="presence_id=3021022027322102202732"/>
  1268. <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"/>
  1269. <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027322102202732"/>
  1270. </condition>
  1271. </extension>
  1272. </context>
  1273. </section>
  1274. </document>
  1275. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->3021022027322102202732] continue=false
  1276. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [3021022027322102202732] destination_number(6974485168) =~ /6974485168/ break=on-false
  1277. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=3021022027322102202732)
  1278. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1279. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1280. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=11)
  1281. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.01215)
  1282. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=1)
  1283. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  1284. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  1285. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-14 06:33:40)
  1286. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  1287. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  1288. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
  1289. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
  1290. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
  1291. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  1292. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  1293. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
  1294. 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)
  1295. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=306974108809)
  1296. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=306974108809)
  1297. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  1298. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  1299. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  1300. 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)
  1301. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
  1302. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
  1303. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
  1304. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=132323)
  1305. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
  1306. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
  1307. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=3021022027322102202732)
  1308. 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)
  1309. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027322102202732)
  1310. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  1311. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  1312. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 809)
  1313. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  1314. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  1315. 2021-12-14 06:33:40.789180 98.37% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  1316. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_scheduler.c:263 Added task 959 switch_core_session_sched_heartbeat (9a7672d3-4e50-4ad5-bbc1-75bdc01ddade) to run at 1639463650
  1317. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  1318. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_scheduler.c:147 Deleting task 958 switch_core_session_sched_heartbeat (9a7672d3-4e50-4ad5-bbc1-75bdc01ddade)
  1319. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=3021022027322102202732)
  1320. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[3021022027322102202732]
  1321. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  1322. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  1323. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1324. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1325. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=11)
  1326. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[11]
  1327. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.01215)
  1328. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.01215]
  1329. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=1)
  1330. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[1]
  1331. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  1332. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  1333. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  1334. 2021-12-14 06:33:40.789180 98.37% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  1335. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_scheduler.c:263 Added task 960 switch_core_session_sched_heartbeat (9a7672d3-4e50-4ad5-bbc1-75bdc01ddade) to run at 1639463650
  1336. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_scheduler.c:147 Deleting task 959 switch_core_session_sched_heartbeat (9a7672d3-4e50-4ad5-bbc1-75bdc01ddade)
  1337. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-14 06:33:40)
  1338. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-14 06:33:40]
  1339. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  1340. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  1341. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  1342. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  1343. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
  1344. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
  1345. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
  1346. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
  1347. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
  1348. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
  1349. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  1350. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  1351. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  1352. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  1353. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
  1354. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
  1355. 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)
  1356. 2021-12-14 06:33:40.789180 98.37% [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]
  1357. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=306974108809)
  1358. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[306974108809]
  1359. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=306974108809)
  1360. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[306974108809]
  1361. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  1362. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  1363. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  1364. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  1365. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  1366. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  1367. 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)
  1368. 2021-12-14 06:33:40.789180 98.37% [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]
  1369. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
  1370. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
  1371. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
  1372. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
  1373. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
  1374. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
  1375. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=132323)
  1376. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[132323]
  1377. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
  1378. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  1379. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
  1380. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
  1381. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=3021022027322102202732)
  1382. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[3021022027322102202732]
  1383. 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)
  1384. 2021-12-14 06:33:40.789180 98.37% [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]
  1385. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/99913021022027322102202732)
  1386. 2021-12-14 06:33:40.789180 98.37% [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
  1387. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
  1388. 2021-12-14 06:33:40.789180 98.37% [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
  1389. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[3021022027322102202732] to event
  1390. 2021-12-14 06:33:40.789180 98.37% [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
  1391. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1392. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1393. 2021-12-14 06:33:40.789180 98.37% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/99913021022027322102202732 [110ae030-e260-41b2-9c73-0ad7513a6d12]
  1394. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/99913021022027322102202732) State Change CS_NEW -> CS_INIT
  1395. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_INIT (Cur 2 Tot 810)
  1396. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027322102202732) State INIT
  1397. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/99913021022027322102202732 SOFIA INIT
  1398. 2021-12-14 06:33:40.789180 98.37% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/99913021022027322102202732
  1399. 2021-12-14 06:33:40.789180 98.37% [INFO] sofia_glue.c:1651 sofia/external_without_reg/99913021022027322102202732 sending invite call-id: (null)
  1400. 2021-12-14 06:33:40.789180 98.37% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/99913021022027322102202732 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1401. Local SDP:
  1402. v=0
  1403. o=FreeSWITCH 1639434598 1639434599 IN IP4 94.130.242.106
  1404. s=FreeSWITCH
  1405. c=IN IP4 94.130.242.106
  1406. t=0 0
  1407. m=audio 29022 RTP/AVP 8 101
  1408. a=rtpmap:8 PCMA/8000
  1409. a=rtpmap:101 telephone-event/8000
  1410. a=fmtp:101 0-15
  1411. a=ptime:20
  1412. a=sendrecv
  1413.  
  1414. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/99913021022027322102202732 Standard INIT
  1415. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/99913021022027322102202732) State Change CS_INIT -> CS_ROUTING
  1416. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/99913021022027322102202732) State INIT going to sleep
  1417. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_ROUTING (Cur 2 Tot 810)
  1418. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027322102202732) State ROUTING
  1419. 2021-12-14 06:33:40.789180 98.37% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/99913021022027322102202732 SOFIA ROUTING
  1420. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/99913021022027322102202732) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1421. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/99913021022027322102202732) State ROUTING going to sleep
  1422. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 810)
  1423. 2021-12-14 06:33:40.789180 98.37% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027322102202732 entering state [calling][0]
  1424. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027322102202732) State CONSUME_MEDIA
  1425. 2021-12-14 06:33:40.789180 98.37% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/99913021022027322102202732) State CONSUME_MEDIA going to sleep
  1426. 2021-12-14 06:33:40.849178 98.37% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/99913021022027322102202732 entering state [terminated][503]
  1427. 2021-12-14 06:33:40.849178 98.37% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/99913021022027322102202732 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  1428. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_HANGUP (Cur 2 Tot 810)
  1429. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/99913021022027322102202732) Callstate Change DOWN -> HANGUP
  1430. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027322102202732) State HANGUP
  1431. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/99913021022027322102202732 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  1432. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/99913021022027322102202732 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  1433. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/99913021022027322102202732) State HANGUP going to sleep
  1434. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/99913021022027322102202732) State Change CS_HANGUP -> CS_REPORTING
  1435. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_REPORTING (Cur 2 Tot 810)
  1436. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027322102202732) State REPORTING
  1437. 2021-12-14 06:33:40.849178 98.37% [INFO] mod_json_cdr.c:271 Process [110ae030-e260-41b2-9c73-0ad7513a6d12.cdr.json]
  1438. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  1439. 2021-12-14 06:33:40.849178 98.37% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  1440. 2021-12-14 06:33:40.849178 98.37% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
  1441. 2021-12-14 06:33:40.849178 98.37% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  1442. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  1443. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 2 Tot 810)
  1444. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  1445. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  1446. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 503 from the other leg
  1447. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  1448. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 503
  1449. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.01215 per minute to account 11
  1450. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:518 Not billing 11 - call is not in answered state
  1451. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1452. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  1453. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 8.550350)
  1454. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:523 Comparing 8.550350 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  1455. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1456. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='11']
  1457. 2021-12-14 06:33:40.849178 98.37% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 11 (balance = 8.550350)
  1458. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  1459. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  1460. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  1461. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 2 Tot 810)
  1462. 2021-12-14 06:33:40.849178 98.37% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  1463. 2021-12-14 06:33:40.849178 98.37% [INFO] mod_json_cdr.c:271 Process [9a7672d3-4e50-4ad5-bbc1-75bdc01ddade.cdr.json]
  1464. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/99913021022027322102202732 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  1465. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/99913021022027322102202732) State REPORTING going to sleep
  1466. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/99913021022027322102202732) State Change CS_REPORTING -> CS_DESTROY
  1467. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_session.c:1753 Session 810 (sofia/external_without_reg/99913021022027322102202732) Locked, Waiting on external entities
  1468. 2021-12-14 06:33:40.869181 97.73% [NOTICE] switch_core_session.c:1771 Session 810 (sofia/external_without_reg/99913021022027322102202732) Ended
  1469. 2021-12-14 06:33:40.869181 97.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/99913021022027322102202732 [CS_DESTROY]
  1470. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/99913021022027322102202732) Running State Change CS_DESTROY (Cur 1 Tot 810)
  1471. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027322102202732) State DESTROY
  1472. 2021-12-14 06:33:40.869181 97.73% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/99913021022027322102202732 SOFIA DESTROY
  1473. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/99913021022027322102202732 Standard DESTROY
  1474. 2021-12-14 06:33:40.869181 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/99913021022027322102202732) State DESTROY going to sleep
  1475. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  1476. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  1477. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  1478. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_session.c:1753 Session 809 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  1479. 2021-12-14 06:33:40.889176 97.73% [NOTICE] switch_core_session.c:1771 Session 809 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  1480. 2021-12-14 06:33:40.889176 97.73% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  1481. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 810)
  1482. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  1483. 2021-12-14 06:33:40.889176 97.73% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  1484. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  1485. 2021-12-14 06:33:40.889176 97.73% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  1486. 2021-12-14 06:33:41.289180 97.73% [DEBUG] switch_scheduler.c:147 Deleting task 960 switch_core_session_sched_heartbeat (9a7672d3-4e50-4ad5-bbc1-75bdc01ddade)
  1487. 2021-12-14 06:33:43.469189 97.50% [DEBUG] sofia_reg.c:2665 Changing expire time to 94 by request of proxy sip:voips.modulus.gr:5060
  1488. 2021-12-14 06:34:35.509193 99.37% [DEBUG] sofia_reg.c:2665 Changing expire time to 103 by request of proxy sip:voips.modulus.gr:5060
  1489. 2021-12-14 06:35:26.469186 98.50% [DEBUG] sofia_reg.c:2665 Changing expire time to 116 by request of proxy sip:voips.modulus.gr:5060
  1490. freeswitch@billing>
  1491.