From Trivial Lion, 3 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and Untitled
  1. [This app Best viewed at 160x60 or more..]
  2. +OK log level  [7]
  3. 2021-12-03 12:08:17.269193 98.67% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [a1621fd0-3fc8-4bb1-b7ec-02bd33bf68cc]
  4. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 7)
  5. 2021-12-03 12:08:17.269193 98.67% [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: 7197c6211acd7dc73e50eafe662be462@voips.modulus.gr
  6. 2021-12-03 12:08:17.269193 98.67% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  7. 2021-12-03 12:08:17.269193 98.67% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  8. 2021-12-03 12:08:17.269193 98.67% [DEBUG] sofia.c:7509 Remote SDP:
  9. v=0
  10. o=root 778154986 778154986 IN IP4 185.73.43.253
  11. s=modCOM v2 Media Gateway
  12. c=IN IP4 185.73.43.253
  13. t=0 0
  14. m=audio 57462 RTP/AVP 8 9 0 18 101
  15. a=rtpmap:8 PCMA/8000
  16. a=rtpmap:9 G722/8000
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:18 G729/8000
  19. a=fmtp:18 annexb=no
  20. a=rtpmap:101 telephone-event/8000
  21. a=fmtp:101 0-16
  22. a=rtcp:57463
  23. a=ptime:20
  24.  
  25. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  26. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  27. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  28. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  32. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  33. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  34. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  35. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  36. 2021-12-03 12:08:17.269193 98.67% [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
  37. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  38. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  39. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  40. 2021-12-03 12:08:17.269193 98.67% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  41. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  42. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 7)
  43. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  44. 2021-12-03 12:08:17.269193 98.67% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  45. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  46. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  47. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  48. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 7)
  49. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  50. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  51. 2021-12-03 12:08:17.269193 98.67% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  52. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  53. 2021-12-03 12:08:17.269193 98.67% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  54. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  55. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  56. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  57. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  58. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  59. 2021-12-03 12:08:17.269193 98.67% [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
  60. 2021-12-03 12:08:17.269193 98.67% [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
  61. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  62. 2021-12-03 12:08:17.269193 98.67% [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
  63. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  64. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  65. 2021-12-03 12:08:17.269193 98.67% [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
  66. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  67. 2021-12-03 12:08:17.269193 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  68. 2021-12-03 12:08:17.269193 98.67% [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
  69. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  70. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  71. 2021-12-03 12:08:17.269193 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  72. 2021-12-03 12:08:17.269193 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  73. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  74. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  75. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  76. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  77. 2021-12-03 12:08:17.269193 98.67% [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
  78. 2021-12-03 12:08:17.269193 98.67% [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
  79. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
  80. 2021-12-03 12:08:17.269193 98.67% [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
  81. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  82. 2021-12-03 12:08:17.269193 98.67% [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
  83. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  84. 2021-12-03 12:08:17.269193 98.67% [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
  85. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  86. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  87. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  88. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  89. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  90. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  91. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  92. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  93. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  94. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  95. 2021-12-03 12:08:17.269193 98.67% [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
  96. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  97. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  98. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  99. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  100. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  101. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  102. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
  103. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  104. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  105. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  106. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  107. 2021-12-03 12:08:17.269193 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  108. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
  109. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  110. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  111. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  112. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  113. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  114. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  115. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  116. 2021-12-03 12:08:17.269193 98.67% [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
  117. 2021-12-03 12:08:17.269193 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  118. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  119. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  120. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  121. 2021-12-03 12:08:17.269193 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  122. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2021-12-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  124. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  125. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  126. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  127. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  128. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....306974108809
  129. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  130. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....6974108809
  131. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  132. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  133. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306,00/*".....306974108809
  134. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  135. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  136. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  137. <document type="freeswitch/xml">
  138. <section name="dialplan" description="ASTPP Dialplan">
  139. <context name="default">
  140. <extension name="302102202732">
  141. <condition field="destination_number" expression="2102202732">
  142. <action application="set" data="effective_destination_number=302102202732"/>
  143. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  144. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  145. <action application="set" data="nibble_account=9"/>
  146. <action application="set" data="nibble_rate=0.00000"/>
  147. <action application="set" data="nibble_increment=0"/>
  148. <action application="set" data="nibble_minimum=0.00000"/>
  149. <action application="nibblebill" data="heartbeat 30"/>
  150. <action application="set" data="callstart=2021-12-03 12:08:17"/>
  151. <action application="set" data="hangup_after_bridge=true"/>
  152. <action application="set" data="continue_on_fail=TRUE"/>
  153. <action application="set" data="account_id=9"/>
  154. <action application="set" data="parent_id=0"/>
  155. <action application="set" data="entity_id=3"/>
  156. <action application="set" data="call_processed=internal"/>
  157. <action application="set" data="call_direction=inbound"/>
  158. <action application="set" data="accountname=ModulusIncoming"/>
  159. <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"/>
  160. <action application="set" data="origination_rates=0"/>
  161. <action application="set" data="original_caller_id_name=6974108809"/>
  162. <action application="set" data="original_caller_id_number=6974108809"/>
  163. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  164. <action application="limit" data="db 11 user_11 2 "/>
  165. <action application="set" data="effective_caller_id_name=306974108809"/>
  166. <action application="set" data="effective_caller_id_number=306974108809"/>
  167. <action application="set" data="receiver_accid=11"/>
  168. <action application="export" data="domain_name="/>
  169. <action application="export" data="sip_to_host="/>
  170. <action application="limit" data="db 302102202732 did_302102202732 2 "/>
  171. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  172. <action application="export" data="call_type=4"/>
  173. <action application="set" data="calltype=STANDARD"/>
  174. <action application="set" data="accountcode=7772615170"/>
  175. <action application="set" data="caller_did_account_id=9"/>
  176. <action application="set" data="did_number=302102202732"/>
  177. <action application="set" data="did_init_inc=0"/>
  178. <action application="set" data="did_inc=0"/>
  179. <action application="set" data="did_cost=0.00000"/>
  180. <action application="set" data="did_connectcost=0.00000"/>
  181. <action application="set" data="origination_rates_did=0"/>
  182. <action application="transfer" data="306974485168 XML default"/>
  183. </condition>
  184. </extension>
  185. </context>
  186. </section>
  187. </document>
  188. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
  189. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  190. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
  191. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  192. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  193. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
  194. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
  195. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
  196. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  197. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  198. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-03 12:08:17)
  199. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  200. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  201. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  202. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  203. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  204. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  205. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  206. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  207. 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)
  208. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  209. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  210. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  211. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  212. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  213. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  214. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  215. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  216. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  217. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  218. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
  219. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  220. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
  221. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  222. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
  223. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
  224. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=302102202732)
  225. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
  226. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
  227. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
  228. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
  229. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
  230. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(306974485168 XML default)
  231. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  232. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  233. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 7)
  234. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  235. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  236. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_scheduler.c:263 Added task 10 switch_core_session_sched_heartbeat (a1621fd0-3fc8-4bb1-b7ec-02bd33bf68cc) to run at 1638533327
  252. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-03 12:08:17)
  253. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-03 12:08:17]
  254. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  255. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  280. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  283. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
  296. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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(306974485168 XML default)
  320. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  321. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[306974485168@default]
  322. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  323. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 7)
  324. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  325. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  326. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  327. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  328. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  329. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 11.510150)
  332. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_nibblebill.c:523 Comparing 11.510150 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  333. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 11.510150)
  336. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  337. 2021-12-03 12:08:17.289196 98.67% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->306974485168 in context default
  338. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  340. 2021-12-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  341. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 306974108809 / 306974108809
  343. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  346. 2021-12-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
  347. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
  348. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  351. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027322102202732
  353. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....21022027322102202732
  354. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 21022027322102202732
  355. 2021-12-03 12:08:17.289196 98.67% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 3021022027322102202732
  356. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  357. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  358. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  359. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....3021022027322102202732
  360. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 3021022027322102202732
  363. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  366. 2021-12-03 12:08:17.289196 98.67% [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-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  368. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 306974108809
  369. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 8
  370. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='306974108809' and status=0
  371. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_COUNT] COUNT :0
  372. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from ani_map where number='306974108809' and status=0
  373. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  374. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 11
  375. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  376. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  377. <document type="freeswitch/xml">
  378. <section name="dialplan" description="ASTPP Dialplan">
  379. <context name="default">
  380. <extension name="306974485168">
  381. <condition field="destination_number" expression="306974485168">
  382. <action application="log" data="WARNING CALLERID_NOT_FOUND 11"/>
  383. <action application="set" data="original_caller_id_name=306974108809"/>
  384. <action application="set" data="original_caller_id_number=306974108809"/>
  385. <action application="set" data="error_cdr=1"/>
  386. <action application="set" data="callstart=2021-12-03 12:08:17"/>
  387. <action application="set" data="account_id=11"/>
  388. <action application="set" data="parent_id=8"/>
  389. <action application="set" data="call_direction=outbound"/>
  390. <action application="set" data="sip_ignore_remote_cause=true"/>
  391. <action application="set" data="call_processed=internal"/>
  392. <action application="set" data="effective_destination_number=3021022027322102202732"/>
  393. <action application="set" data="last_bridge_hangup_cause=CALLERID_NOT_FOUND"/>
  394. <action application="hangup" data="CALLERID_NOT_FOUND"/>
  395. </condition>
  396. </extension>
  397. </context>
  398. </section>
  399. </document>
  400. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  401. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 11
  402. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  403. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  404. <document type="freeswitch/xml">
  405. <section name="dialplan" description="ASTPP Dialplan">
  406. <context name="default">
  407. <extension name="306974485168">
  408. <condition field="destination_number" expression="306974485168">
  409. <action application="log" data="WARNING Accountcode 7772615170. Dialed number (3021022027322102202732) is blocked for account!!"/>
  410. <action application="set" data="original_caller_id_name=306974108809"/>
  411. <action application="set" data="original_caller_id_number=306974108809"/>
  412. <action application="set" data="error_cdr=1"/>
  413. <action application="set" data="callstart=2021-12-03 12:08:17"/>
  414. <action application="set" data="account_id=11"/>
  415. <action application="set" data="parent_id=8"/>
  416. <action application="set" data="call_direction=outbound"/>
  417. <action application="set" data="sip_ignore_remote_cause=true"/>
  418. <action application="set" data="call_processed=internal"/>
  419. <action application="set" data="effective_destination_number=3021022027322102202732"/>
  420. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
  421. <action application="hangup" data="DESTINATION_BLOCKED"/>
  422. </condition>
  423. </extension>
  424. </context>
  425. </section>
  426. </document>
  427. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->306974485168] continue=false
  428. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [306974485168] destination_number(306974485168) =~ /306974485168/ break=on-false
  429. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action log(WARNING Accountcode 7772615170. Dialed number (3021022027322102202732) is blocked for account!!)
  430. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=306974108809)
  431. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=306974108809)
  432. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(error_cdr=1)
  433. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-03 12:08:17)
  434. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
  435. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  436. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(sip_ignore_remote_cause=true)
  437. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  438. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=3021022027322102202732)
  439. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  440. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action hangup(DESTINATION_BLOCKED)
  441. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  442. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  443. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 7)
  444. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  445. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  446. 2021-12-03 12:08:17.289196 98.67% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  447. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_scheduler.c:263 Added task 11 switch_core_session_sched_heartbeat (a1621fd0-3fc8-4bb1-b7ec-02bd33bf68cc) to run at 1638533327
  448. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  449. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr log(WARNING Accountcode 7772615170. Dialed number (3021022027322102202732) is blocked for account!!)
  450. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_scheduler.c:147 Deleting task 10 switch_core_session_sched_heartbeat (a1621fd0-3fc8-4bb1-b7ec-02bd33bf68cc)
  451. 2021-12-03 12:08:17.289196 98.67% [WARNING] mod_dptools.c:1879 Accountcode 7772615170. Dialed number (3021022027322102202732) is blocked for account!!
  452. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=306974108809)
  453. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[306974108809]
  454. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=306974108809)
  455. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[306974108809]
  456. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(error_cdr=1)
  457. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [error_cdr]=[1]
  458. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-03 12:08:17)
  459. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-03 12:08:17]
  460. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
  461. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
  462. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
  463. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
  464. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  465. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  466. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(sip_ignore_remote_cause=true)
  467. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [sip_ignore_remote_cause]=[true]
  468. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  469. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  470. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=3021022027322102202732)
  471. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[3021022027322102202732]
  472. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  473. 2021-12-03 12:08:17.289196 98.67% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  474. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr hangup(DESTINATION_BLOCKED)
  475. 2021-12-03 12:08:17.289196 98.67% [NOTICE] mod_dptools.c:1387 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  476. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_session.c:2983 sofia/external_sip/6974108809@voips.modulus.gr skip receive message [PHONE_EVENT] (channel is hungup already)
  477. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  478. 2021-12-03 12:08:17.289196 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 1 Tot 7)
  479. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  480. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  481. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  482. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  483. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  484. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  485. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  486. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  487. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 11.510150)
  488. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:523 Comparing 11.510150 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  489. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  490. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  491. 2021-12-03 12:08:17.309203 98.67% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 11.510150)
  492. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  493. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  494. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  495. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 1 Tot 7)
  496. 2021-12-03 12:08:17.309203 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  497. 2021-12-03 12:08:17.309203 98.67% [INFO] mod_json_cdr.c:271 Process [a1621fd0-3fc8-4bb1-b7ec-02bd33bf68cc.cdr.json]
  498. 2021-12-03 12:08:17.329180 98.67% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  499. 2021-12-03 12:08:17.329180 98.67% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  500. 2021-12-03 12:08:17.329180 98.67% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  501. 2021-12-03 12:08:17.329180 98.67% [DEBUG] switch_core_session.c:1753 Session 7 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  502. 2021-12-03 12:08:17.329180 98.67% [NOTICE] switch_core_session.c:1771 Session 7 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  503. 2021-12-03 12:08:17.329180 98.67% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  504. 2021-12-03 12:08:17.329180 98.67% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 7)
  505. 2021-12-03 12:08:17.349184 98.67% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  506. 2021-12-03 12:08:17.349184 98.67% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  507. 2021-12-03 12:08:17.349184 98.67% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  508. 2021-12-03 12:08:17.349184 98.67% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  509. 2021-12-03 12:08:17.789194 98.67% [DEBUG] switch_scheduler.c:147 Deleting task 11 switch_core_session_sched_heartbeat (a1621fd0-3fc8-4bb1-b7ec-02bd33bf68cc)
  510. 2021-12-03 12:08:25.969198 98.30% [DEBUG] sofia_reg.c:2665 Changing expire time to 89 by request of proxy sip:voips.modulus.gr:5060
  511. 2021-12-03 12:09:23.969180 97.97% [DEBUG] sofia_reg.c:2665 Changing expire time to 98 by request of proxy sip:voips.modulus.gr:5060
  512. 2021-12-03 12:10:26.009187 97.60% [DEBUG] sofia_reg.c:2665 Changing expire time to 117 by request of proxy sip:voips.modulus.gr:5060
  513.