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