From NIkunj, 3 Years ago, written in FreeSWITCH.
This paste is a reply to Untitled from Sexy Goat
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2021-12-16 06:28:25.429188 98.10% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [1b0c8773-4868-459a-9767-c7f1d9007453]
  2. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 1302)
  3. 2021-12-16 06:28:25.429188 98.10% [INFO] sofia.c:10462 sofia/external_sip/6974108809@voips.modulus.gr receiving invite from 185.73.43.250:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 49e7901a1e5f30a40f2b1d113acd8f2a@voips.modulus.gr
  4. 2021-12-16 06:28:25.429188 98.10% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  5. 2021-12-16 06:28:25.429188 98.10% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  6. 2021-12-16 06:28:25.429188 98.10% [DEBUG] sofia.c:7509 Remote SDP:
  7. v=0
  8. o=root 44452150 44452150 IN IP4 185.73.42.253
  9. s=modCOM v2 Media Gateway
  10. c=IN IP4 185.73.42.253
  11. t=0 0
  12. m=audio 53166 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:53167
  21. a=ptime:20
  22.  
  23. 2021-12-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 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-16 06:28:25.429188 98.10% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  34. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/6974108809@voips.modulus.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  35. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  36. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  37. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2021-12-16 06:28:25.429188 98.10% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  39. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  40. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 1302)
  41. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  42. 2021-12-16 06:28:25.429188 98.10% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  43. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  44. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  45. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  46. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 1302)
  47. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  48. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  49. 2021-12-16 06:28:25.429188 98.10% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  50. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  51. 2021-12-16 06:28:25.429188 98.10% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  52. 2021-12-16 06:28:25.429188 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-16 06:28:25.429188 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2021-12-16 06:28:25.429188 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  55. 2021-12-16 06:28:25.429188 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-16 06:28:25.429188 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  57. 2021-12-16 06:28:25.429188 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-16 06:28:25.429188 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  59. 2021-12-16 06:28:25.429188 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
  60. 2021-12-16 06:28:25.429188 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  61. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  62. 2021-12-16 06:28:25.429188 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
  63. 2021-12-16 06:28:25.429188 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  64. 2021-12-16 06:28:25.429188 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
  65. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  66. 2021-12-16 06:28:25.429188 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  67. 2021-12-16 06:28:25.429188 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 = '^2102202732.*' OR patterns = '^210220273.*' OR patterns = '^21022027.*' OR patterns = '^2102202.*' OR patterns = '^210220.*' OR patterns = '^21022.*' OR patterns = '^2102.*' OR patterns = '^210.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  68. 2021-12-16 06:28:25.449183 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 ="2102202732" AND A.accountid = '9' limit 1
  69. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2102202732
  70. 2021-12-16 06:28:25.449183 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
  71. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  72. 2021-12-16 06:28:25.449183 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 = '2102202732' OR number = '210220273' OR number = '21022027' OR number = '2102202' OR number = '210220' OR number = '21022' OR number = '2102' OR number = '210' OR number = '21' OR number = '2' OR number ='--') OR (number = '2102202732*' OR number = '210220273*' OR number = '21022027*' OR number = '2102202*' OR number = '210220*' OR number = '21022*' OR number = '2102*' OR number = '210*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  73. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  74. 2021-12-16 06:28:25.449183 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 = '2102202732' OR routing_prefix = '210220273' OR routing_prefix = '21022027' OR routing_prefix = '2102202' OR routing_prefix = '210220' OR routing_prefix = '21022' OR routing_prefix = '2102' OR routing_prefix = '210' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  75. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  76. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  77. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  78. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  79. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  80. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  81. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  82. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  83. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  84. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  85. 2021-12-16 06:28:25.449183 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
  86. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  87. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  88. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  89. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  90. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  91. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  92. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 2102202732
  93. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  94. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  95. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  96. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  97. 2021-12-16 06:28:25.449183 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  98. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  99. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  100. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  101. 2021-12-16 06:28:25.449183 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
  102. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  103. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  104. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  105. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  106. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  107. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  108. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  109. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  110. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  111. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  112. <document type="freeswitch/xml">
  113. <section name="dialplan" description="ASTPP Dialplan">
  114. <context name="default">
  115. <extension name="2102202732">
  116. <condition field="destination_number" expression="2102202732">
  117. <action application="set" data="effective_destination_number=2102202732"/>
  118. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  119. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  120. <action application="set" data="callstart=2021-12-16 06:28:25"/>
  121. <action application="set" data="hangup_after_bridge=true"/>
  122. <action application="set" data="continue_on_fail=TRUE"/>
  123. <action application="set" data="account_id=9"/>
  124. <action application="set" data="parent_id=0"/>
  125. <action application="set" data="entity_id=3"/>
  126. <action application="set" data="call_processed=internal"/>
  127. <action application="set" data="call_direction=inbound"/>
  128. <action application="set" data="accountname=ModulusIncoming"/>
  129. <action application="set" data="origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
  130. <action application="set" data="origination_rates=0"/>
  131. <action application="set" data="original_caller_id_name=6974108809"/>
  132. <action application="set" data="original_caller_id_number=6974108809"/>
  133. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  134. <action application="limit" data="db 11 user_11 2 "/>
  135. <action application="set" data="effective_caller_id_name=6974108809"/>
  136. <action application="set" data="effective_caller_id_number=6974108809"/>
  137. <action application="set" data="receiver_accid=11"/>
  138. <action application="export" data="domain_name="/>
  139. <action application="export" data="sip_to_host="/>
  140. <action application="limit" data="db 2102202732 did_2102202732 2 "/>
  141. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  142. <action application="export" data="call_type=4"/>
  143. <action application="set" data="calltype=STANDARD"/>
  144. <action application="set" data="accountcode=7772615170"/>
  145. <action application="set" data="caller_did_account_id=9"/>
  146. <action application="set" data="did_number=2102202732"/>
  147. <action application="set" data="did_init_inc=0"/>
  148. <action application="set" data="did_inc=0"/>
  149. <action application="set" data="did_cost=0.00000"/>
  150. <action application="set" data="did_connectcost=0.00000"/>
  151. <action application="set" data="origination_rates_did=0"/>
  152. <action application="transfer" data="6974485168 XML default"/>
  153. </condition>
  154. </extension>
  155. </context>
  156. </section>
  157. </document>
  158. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2102202732] continue=false
  159. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  160. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=2102202732)
  161. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  162. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  163. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-16 06:28:25)
  164. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  165. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  166. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  167. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  168. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  169. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  170. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  171. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  172. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  173. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  174. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  175. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  176. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  177. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  178. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=6974108809)
  179. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=6974108809)
  180. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  181. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  182. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  183. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2102202732 did_2102202732 2 )
  184. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  185. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
  186. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  187. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
  188. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
  189. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=2102202732)
  190. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
  191. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
  192. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
  193. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
  194. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
  195. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
  196. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  197. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  198. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 1302)
  199. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  200. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  201. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  202. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=2102202732)
  203. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[2102202732]
  204. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  205. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  206. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  207. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  208. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-16 06:28:25)
  209. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-16 06:28:25]
  210. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  211. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  212. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  213. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  214. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  215. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  216. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  217. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  218. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  219. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  220. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  221. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  222. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  223. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  224. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  225. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  226. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  227. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
  228. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  229. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  230. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  231. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  232. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  233. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  234. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  235. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  236. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  237. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  238. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  239. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  240. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=6974108809)
  241. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[6974108809]
  242. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=6974108809)
  243. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[6974108809]
  244. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  245. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  246. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  247. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  248. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  249. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  250. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2102202732 did_2102202732 2 )
  251. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_limit.c:124 incr called: 2102202732_did_2102202732 max:2, interval:0
  252. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_db.c:194 Usage for 2102202732_did_2102202732 is now 1/2
  253. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  254. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  255. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
  256. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  257. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  258. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  259. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
  260. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
  261. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
  262. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
  263. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=2102202732)
  264. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[2102202732]
  265. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
  266. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
  267. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
  268. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
  269. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
  270. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
  271. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
  272. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
  273. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
  274. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
  275. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
  276. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  277. 2021-12-16 06:28:25.449183 98.10% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
  278. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  279. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 1302)
  280. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  281. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  282. 2021-12-16 06:28:25.449183 98.10% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  283. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  284. 2021-12-16 06:28:25.449183 98.10% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
  285. 2021-12-16 06:28:25.449183 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')
  286. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  287. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  288. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  289. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  290. 2021-12-16 06:28:25.449183 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
  291. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  292. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
  293. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
  294. 2021-12-16 06:28:25.449183 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
  295. 2021-12-16 06:28:25.449183 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  296. 2021-12-16 06:28:25.449183 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
  297. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  298. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  299. 2021-12-16 06:28:25.449183 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 = '^2102202732.*' OR patterns = '^210220273.*' OR patterns = '^21022027.*' OR patterns = '^2102202.*' OR patterns = '^210220.*' OR patterns = '^21022.*' OR patterns = '^2102.*' OR patterns = '^210.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  300. 2021-12-16 06:28:25.449183 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 ="2102202732" AND A.accountid = '11' limit 1
  301. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2102202732
  302. 2021-12-16 06:28:25.449183 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
  303. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  304. 2021-12-16 06:28:25.449183 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 = '2102202732' OR number = '210220273' OR number = '21022027' OR number = '2102202' OR number = '210220' OR number = '21022' OR number = '2102' OR number = '210' OR number = '21' OR number = '2' OR number ='--') OR (number = '2102202732*' OR number = '210220273*' OR number = '21022027*' OR number = '2102202*' OR number = '210220*' OR number = '21022*' OR number = '2102*' OR number = '210*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  305. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  306. 2021-12-16 06:28:25.449183 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 = '2102202732' OR routing_prefix = '210220273' OR routing_prefix = '21022027' OR routing_prefix = '2102202' OR routing_prefix = '210220' OR routing_prefix = '21022' OR routing_prefix = '2102' OR routing_prefix = '210' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1
  307. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  308. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
  309. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
  310. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 15.99242
  311. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  312. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  313. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  314. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  315. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  316. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  317. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  318. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' 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
  319. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  320. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  321. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 156164
  322. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  323. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  324. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01500
  325. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
  326. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  327. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
  328. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  329. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  330. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  331. 2021-12-16 06:28:25.449183 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your15.99242 balance Accountid 11 !!!
  332. 2021-12-16 06:28:25.449183 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  333. 2021-12-16 06:28:25.449183 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
  334. 2021-12-16 06:28:25.449183 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
  335. 2021-12-16 06:28:25.469182 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 = 8 limit 1
  336. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  337. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  338. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
  339. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 677.81788
  340. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  341. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  342. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  343. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  344. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  345. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' 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
  346. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  347. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  348. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 156161
  349. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  350. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  351. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00800
  352. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : GreeceL
  353. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  354. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  355. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
  356. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  357. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  358. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your677.81788 balance Accountid 8 !!!
  359. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  360. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8
  361. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  362. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  363. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  364. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 156164
  365. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
  366. 2021-12-16 06:28:25.469182 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 = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' 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
  367. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  368. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32370
  369. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^21.*
  370. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : test
  371. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  372. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  373. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^21.*
  374. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  375. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 9991
  376. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  377. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
  378. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  379. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  380. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  381. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  382. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
  383. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  384. 2021-12-16 06:28:25.469182 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
  385. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  386. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  387. 2021-12-16 06:28:25.469182 98.10% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  388. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  389. 2021-12-16 06:28:25.469182 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
  390. 2021-12-16 06:28:25.469182 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
  391. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  392. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  393. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  394. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  395. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  396. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  397. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  398. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  399. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  400. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  401. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  402. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  403. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  404. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  405. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  406. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  407. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  408. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  409. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/9991.....302102202732
  410. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 302102202732
  411. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9991302102202732
  412. 2021-12-16 06:28:25.469182 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
  413. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  414. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  415. <document type="freeswitch/xml">
  416. <section name="dialplan" description="ASTPP Dialplan">
  417. <context name="default">
  418. <extension name="2102202732">
  419. <condition field="destination_number" expression="6974485168">
  420. <action application="set" data="effective_destination_number=2102202732"/>
  421. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  422. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  423. <action application="set" data="callstart=2021-12-16 06:28:25"/>
  424. <action application="set" data="hangup_after_bridge=true"/>
  425. <action application="set" data="continue_on_fail=TRUE"/>
  426. <action application="set" data="account_id=11"/>
  427. <action application="set" data="parent_id=8"/>
  428. <action application="set" data="entity_id=0"/>
  429. <action application="set" data="call_processed=internal"/>
  430. <action application="set" data="call_direction=outbound"/>
  431. <action application="set" data="accountname=default"/>
  432. <action application="set" data="origination_rates=ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8"/>
  433. <action application="set" data="original_caller_id_name=6974108809"/>
  434. <action application="set" data="original_caller_id_number=6974108809"/>
  435.  
  436. <action application="set" data="effective_caller_id_name=306974108809"/>
  437. <action application="set" data="effective_caller_id_number=306974108809"/>
  438. <action application="set" data="calltype=STANDARD"/>
  439. <action application="set" data="termination_rates=ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
  440. <action application="set" data="trunk_id=3"/>
  441. <action application="set" data="provider_id=9"/>
  442. <action application="set" data="rate_flag=0"/>
  443. <action application="set" data="force_trunk_flag=156164"/>
  444. <action application="export" data="presence_data=trunk_id=3"/>
  445. <action application="set" data="intcall=0"/>
  446. <action application="export" data="presence_id=2102202732"/>
  447. <action application="export" data="presence_data=x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL"/>
  448. <action application="limit" data="db 11 user_11 2 "/>
  449. <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/9991302102202732"/>
  450. </condition>
  451. </extension>
  452. </context>
  453. </section>
  454. </document>
  455. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2102202732] continue=false
  456. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2102202732] destination_number(6974485168) =~ /6974485168/ break=on-false
  457. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=2102202732)
  458. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  459. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  460. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-16 06:28:25)
  461. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  462. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  463. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
  464. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
  465. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
  466. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  467. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  468. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
  469. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8)
  470. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  471. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  472. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  473. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  474. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  475. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(termination_rates=ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  476. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
  477. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
  478. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
  479. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=156164)
  480. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
  481. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
  482. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=2102202732)
  483. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL)
  484. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  485. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/9991302102202732)
  486. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  487. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  488. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 1302)
  489. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  490. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  491. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  492. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=2102202732)
  493. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[2102202732]
  494. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  495. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  496. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  497. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  498. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-16 06:28:25)
  499. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-16 06:28:25]
  500. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  501. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  502. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  503. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  504. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
  505. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
  506. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
  507. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
  508. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
  509. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
  510. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  511. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  512. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  513. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  514. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
  515. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
  516. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8)
  517. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8]
  518. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  519. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  520. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  521. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  522. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  523. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  524. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  525. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  526. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  527. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  528. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(termination_rates=ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  529. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [termination_rates]=[ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
  530. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
  531. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
  532. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
  533. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
  534. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
  535. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
  536. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=156164)
  537. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[156164]
  538. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
  539. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  540. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
  541. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
  542. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=2102202732)
  543. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[2102202732]
  544. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL)
  545. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL]
  546. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  547. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  548. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  549. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/9991302102202732)
  550. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL] to event
  551. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
  552. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL] to event
  553. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[2102202732] to event
  554. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL] to event
  555. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  556. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  557. 2021-12-16 06:28:25.469182 98.10% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/9991302102202732 [c924b42a-4a7b-4dd9-b4c3-5509767a8f1e]
  558. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/9991302102202732) State Change CS_NEW -> CS_INIT
  559. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_INIT (Cur 2 Tot 1303)
  560. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/9991302102202732) State INIT
  561. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/9991302102202732 SOFIA INIT
  562. 2021-12-16 06:28:25.469182 98.10% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/9991302102202732
  563. 2021-12-16 06:28:25.469182 98.10% [INFO] sofia_glue.c:1651 sofia/external_without_reg/9991302102202732 sending invite call-id: (null)
  564. 2021-12-16 06:28:25.469182 98.10% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/9991302102202732 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  565. Local SDP:
  566. v=0
  567. o=FreeSWITCH 1639613787 1639613788 IN IP4 94.130.242.106
  568. s=FreeSWITCH
  569. c=IN IP4 94.130.242.106
  570. t=0 0
  571. m=audio 22318 RTP/AVP 8 101
  572. a=rtpmap:8 PCMA/8000
  573. a=rtpmap:101 telephone-event/8000
  574. a=fmtp:101 0-15
  575. a=ptime:20
  576. a=sendrecv
  577.  
  578. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/9991302102202732 Standard INIT
  579. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/9991302102202732) State Change CS_INIT -> CS_ROUTING
  580. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/9991302102202732) State INIT going to sleep
  581. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_ROUTING (Cur 2 Tot 1303)
  582. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/9991302102202732) State ROUTING
  583. 2021-12-16 06:28:25.469182 98.10% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/9991302102202732 SOFIA ROUTING
  584. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/9991302102202732) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  585. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/9991302102202732) State ROUTING going to sleep
  586. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 1303)
  587. 2021-12-16 06:28:25.469182 98.10% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/9991302102202732 entering state [calling][0]
  588. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/9991302102202732) State CONSUME_MEDIA
  589. 2021-12-16 06:28:25.469182 98.10% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/9991302102202732) State CONSUME_MEDIA going to sleep
  590. 2021-12-16 06:28:25.929189 97.77% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [47854059-97d4-467b-a28d-3e802d218eb0]
  591. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 3 Tot 1304)
  592. 2021-12-16 06:28:25.929189 97.77% [INFO] sofia.c:10462 sofia/external_sip/6974108809@voips.modulus.gr receiving invite from 185.73.43.250:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 173bc61f1e5246364357e606736ccaf3@voips.modulus.gr
  593. 2021-12-16 06:28:25.929189 97.77% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  594. 2021-12-16 06:28:25.929189 97.77% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  595. 2021-12-16 06:28:25.929189 97.77% [DEBUG] sofia.c:7509 Remote SDP:
  596. v=0
  597. o=root 1740681342 1740681342 IN IP4 185.73.43.253
  598. s=modCOM v2 Media Gateway
  599. c=IN IP4 185.73.43.253
  600. t=0 0
  601. m=audio 33452 RTP/AVP 8 9 0 18 101
  602. a=rtpmap:8 PCMA/8000
  603. a=rtpmap:9 G722/8000
  604. a=rtpmap:0 PCMU/8000
  605. a=rtpmap:18 G729/8000
  606. a=fmtp:18 annexb=no
  607. a=rtpmap:101 telephone-event/8000
  608. a=fmtp:101 0-16
  609. a=rtcp:33453
  610. a=ptime:20
  611.  
  612. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  613. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  614. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  615. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  616. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  617. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  618. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  619. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  620. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  621. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  622. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  623. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/6974108809@voips.modulus.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  624. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  625. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  626. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  627. 2021-12-16 06:28:25.929189 97.77% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  628. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  629. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 3 Tot 1304)
  630. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  631. 2021-12-16 06:28:25.929189 97.77% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  632. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  633. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  634. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  635. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 3 Tot 1304)
  636. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  637. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  638. 2021-12-16 06:28:25.929189 97.77% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  639. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  640. 2021-12-16 06:28:25.929189 97.77% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  641. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  642. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  643. 2021-12-16 06:28:25.929189 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  644. 2021-12-16 06:28:25.929189 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  645. 2021-12-16 06:28:25.929189 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  646. 2021-12-16 06:28:25.929189 97.77% [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
  647. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  648. 2021-12-16 06:28:25.949182 97.77% [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
  649. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  650. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  651. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  652. 2021-12-16 06:28:25.949182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  653. 2021-12-16 06:28:25.949182 97.77% [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
  654. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  655. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  656. 2021-12-16 06:28:25.949182 97.77% [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 = '^2102202732.*' OR patterns = '^210220273.*' OR patterns = '^21022027.*' OR patterns = '^2102202.*' OR patterns = '^210220.*' OR patterns = '^21022.*' OR patterns = '^2102.*' OR patterns = '^210.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  657. 2021-12-16 06:28:25.949182 97.77% [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 ="2102202732" AND A.accountid = '9' limit 1
  658. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2102202732
  659. 2021-12-16 06:28:25.949182 97.77% [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
  660. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  661. 2021-12-16 06:28:25.949182 97.77% [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 = '2102202732' OR number = '210220273' OR number = '21022027' OR number = '2102202' OR number = '210220' OR number = '21022' OR number = '2102' OR number = '210' OR number = '21' OR number = '2' OR number ='--') OR (number = '2102202732*' OR number = '210220273*' OR number = '21022027*' OR number = '2102202*' OR number = '210220*' OR number = '21022*' OR number = '2102*' OR number = '210*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  662. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  663. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2102202732' OR routing_prefix = '210220273' OR routing_prefix = '21022027' OR routing_prefix = '2102202' OR routing_prefix = '210220' OR routing_prefix = '21022' OR routing_prefix = '2102' OR routing_prefix = '210' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  664. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  665. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  666. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  667. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  668. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  669. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  670. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  671. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  672. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  673. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  674. 2021-12-16 06:28:25.949182 97.77% [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
  675. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  676. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  677. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  678. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  679. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  680. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  681. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 2102202732
  682. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  683. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  684. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  685. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  686. 2021-12-16 06:28:25.949182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  687. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  688. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  689. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  690. 2021-12-16 06:28:25.949182 97.77% [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
  691. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  692. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  693. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  694. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  695. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  696. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  697. 2021-12-16 06:28:25.949182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  698. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  699. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_4
  700. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  701. <document type="freeswitch/xml">
  702. <section name="dialplan" description="ASTPP Dialplan">
  703. <context name="default">
  704. <extension name="2102202732">
  705. <condition field="destination_number" expression="2102202732">
  706. <action application="set" data="effective_destination_number=2102202732"/>
  707. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  708. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  709. <action application="set" data="callstart=2021-12-16 06:28:25"/>
  710. <action application="set" data="hangup_after_bridge=true"/>
  711. <action application="set" data="continue_on_fail=TRUE"/>
  712. <action application="set" data="account_id=9"/>
  713. <action application="set" data="parent_id=0"/>
  714. <action application="set" data="entity_id=3"/>
  715. <action application="set" data="call_processed=internal"/>
  716. <action application="set" data="call_direction=inbound"/>
  717. <action application="set" data="accountname=ModulusIncoming"/>
  718. <action application="set" data="origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
  719. <action application="set" data="origination_rates=0"/>
  720. <action application="set" data="original_caller_id_name=6974108809"/>
  721. <action application="set" data="original_caller_id_number=6974108809"/>
  722. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  723. <action application="limit" data="db 11 user_11 2 "/>
  724. <action application="set" data="effective_caller_id_name=6974108809"/>
  725. <action application="set" data="effective_caller_id_number=6974108809"/>
  726. <action application="set" data="receiver_accid=11"/>
  727. <action application="export" data="domain_name="/>
  728. <action application="export" data="sip_to_host="/>
  729. <action application="limit" data="db 2102202732 did_2102202732 2 "/>
  730. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  731. <action application="export" data="call_type=4"/>
  732. <action application="set" data="calltype=STANDARD"/>
  733. <action application="set" data="accountcode=7772615170"/>
  734. <action application="set" data="caller_did_account_id=9"/>
  735. <action application="set" data="did_number=2102202732"/>
  736. <action application="set" data="did_init_inc=0"/>
  737. <action application="set" data="did_inc=0"/>
  738. <action application="set" data="did_cost=0.00000"/>
  739. <action application="set" data="did_connectcost=0.00000"/>
  740. <action application="set" data="origination_rates_did=0"/>
  741. <action application="transfer" data="6974485168 XML default"/>
  742. </condition>
  743. </extension>
  744. </context>
  745. </section>
  746. </document>
  747. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2102202732] continue=false
  748. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  749. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=2102202732)
  750. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  751. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  752. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-16 06:28:25)
  753. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  754. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  755. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  756. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  757. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  758. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  759. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  760. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  761. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  762. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  763. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  764. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  765. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  766. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  767. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=6974108809)
  768. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=6974108809)
  769. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  770. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  771. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  772. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2102202732 did_2102202732 2 )
  773. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  774. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=4)
  775. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  776. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountcode=7772615170)
  777. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(caller_did_account_id=9)
  778. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_number=2102202732)
  779. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_init_inc=0)
  780. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_inc=0)
  781. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_cost=0.00000)
  782. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_connectcost=0.00000)
  783. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=0)
  784. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action transfer(6974485168 XML default)
  785. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  786. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  787. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 3 Tot 1304)
  788. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  789. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  790. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  791. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=2102202732)
  792. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[2102202732]
  793. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  794. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  795. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  796. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  797. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-16 06:28:25)
  798. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-16 06:28:25]
  799. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  800. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  801. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  802. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  803. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  804. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  805. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  806. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  807. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  808. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  809. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  810. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  811. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  812. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  813. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  814. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  815. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  816. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^2102202732.*|DESTINATION:2102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
  817. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  818. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  819. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  820. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  821. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  822. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  823. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  824. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  825. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  826. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  827. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  828. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 2/2
  829. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=6974108809)
  830. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[6974108809]
  831. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=6974108809)
  832. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[6974108809]
  833. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  834. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  835. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  836. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  837. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  838. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  839. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2102202732 did_2102202732 2 )
  840. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_limit.c:124 incr called: 2102202732_did_2102202732 max:2, interval:0
  841. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_db.c:194 Usage for 2102202732_did_2102202732 is now 1/2
  842. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  843. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  844. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=4)
  845. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[4]
  846. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  847. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  848. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountcode=7772615170)
  849. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountcode]=[7772615170]
  850. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(caller_did_account_id=9)
  851. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [caller_did_account_id]=[9]
  852. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_number=2102202732)
  853. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_number]=[2102202732]
  854. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_init_inc=0)
  855. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_init_inc]=[0]
  856. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_inc=0)
  857. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_inc]=[0]
  858. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_cost=0.00000)
  859. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_cost]=[0.00000]
  860. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_connectcost=0.00000)
  861. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_connectcost]=[0.00000]
  862. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=0)
  863. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[0]
  864. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(6974485168 XML default)
  865. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  866. 2021-12-16 06:28:25.949182 97.77% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[6974485168@default]
  867. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  868. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 3 Tot 1304)
  869. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  870. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  871. 2021-12-16 06:28:25.949182 97.77% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  872. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  873. 2021-12-16 06:28:25.949182 97.77% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->6974485168 in context default
  874. 2021-12-16 06:28:25.949182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  875. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  876. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  877. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  878. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  879. 2021-12-16 06:28:25.969182 97.77% [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
  880. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  881. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 7772615170]
  882. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "7772615170" AND deleted = 0 limit 1
  883. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  884. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  885. 2021-12-16 06:28:25.969182 97.77% [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
  886. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  887. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 11
  888. 2021-12-16 06:28:25.969182 97.77% [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 = '^2102202732.*' OR patterns = '^210220273.*' OR patterns = '^21022027.*' OR patterns = '^2102202.*' OR patterns = '^210220.*' OR patterns = '^21022.*' OR patterns = '^2102.*' OR patterns = '^210.*' OR patterns = '^21.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 11 ORDER BY LENGTH(PKGPTR.patterns) DESC
  889. 2021-12-16 06:28:25.969182 97.77% [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 ="2102202732" AND A.accountid = '11' limit 1
  890. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2102202732
  891. 2021-12-16 06:28:25.969182 97.77% [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
  892. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  893. 2021-12-16 06:28:25.969182 97.77% [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 = '2102202732' OR number = '210220273' OR number = '21022027' OR number = '2102202' OR number = '210220' OR number = '21022' OR number = '2102' OR number = '210' OR number = '21' OR number = '2' OR number ='--') OR (number = '2102202732*' OR number = '210220273*' OR number = '21022027*' OR number = '2102202*' OR number = '210220*' OR number = '21022*' OR number = '2102*' OR number = '210*' OR number = '21*' OR number = '2*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  894. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  895. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2102202732' OR routing_prefix = '210220273' OR routing_prefix = '21022027' OR routing_prefix = '2102202' OR routing_prefix = '210220' OR routing_prefix = '21022' OR routing_prefix = '2102' OR routing_prefix = '210' OR routing_prefix = '21' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 8 limit 1
  896. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  897. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 11
  898. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 7772615170
  899. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 15.99242
  900. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  901. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 3
  902. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  903. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  904. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  905. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  906. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 3 AND status = 0
  907. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' 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
  908. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  909. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  910. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 156164
  911. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  912. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  913. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.01500
  914. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Greece
  915. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  916. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 11
  917. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  918. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  919. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  920. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your15.99242 balance Accountid 11 !!!
  921. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  922. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 8
  923. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "8" AND deleted = 0 limit 1
  924. 2021-12-16 06:28:25.969182 97.77% [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 = 8 limit 1
  925. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  926. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 8
  927. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 1990008209
  928. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 677.81788
  929. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  930. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  931. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  932. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  933. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  934. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' 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
  935. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  936. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  937. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 156161
  938. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  939. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  940. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00800
  941. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : GreeceL
  942. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  943. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 8
  944. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 3
  945. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  946. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  947. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your677.81788 balance Accountid 8 !!!
  948. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  949. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8
  950. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  951. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  952. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  953. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 156164
  954. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :3
  955. 2021-12-16 06:28:25.969182 97.77% [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 = '^2102202732.*' OR pattern = '^210220273.*' OR pattern = '^21022027.*' OR pattern = '^2102202.*' OR pattern = '^210220.*' OR pattern = '^21022.*' OR pattern = '^2102.*' OR pattern = '^210.*' OR pattern = '^21.*' OR pattern = '^2.*' 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
  956. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  957. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 32370
  958. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^21.*
  959. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : test
  960. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  961. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  962. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^21.*
  963. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  964. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend : 9991
  965. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 3
  966. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : ModulusOutgoing
  967. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  968. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  969. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  970. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  971. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : ModulusOutgoing
  972. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  973. 2021-12-16 06:28:25.969182 97.77% [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
  974. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  975. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  976. 2021-12-16 06:28:25.969182 97.77% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  977. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  978. 2021-12-16 06:28:25.969182 97.77% [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
  979. 2021-12-16 06:28:25.969182 97.77% [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
  980. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  981. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  982. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  983. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  984. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  985. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  986. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  987. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306".....6974108809
  988. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  989. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  990. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  991. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  992. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  993. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  994. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  995. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  996. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  997. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  998. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :*/9991.....302102202732
  999. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 302102202732
  1000. 2021-12-16 06:28:25.969182 97.77% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 9991302102202732
  1001. 2021-12-16 06:28:25.969182 97.77% [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
  1002. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1003. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1004. <document type="freeswitch/xml">
  1005. <section name="dialplan" description="ASTPP Dialplan">
  1006. <context name="default">
  1007. <extension name="2102202732">
  1008. <condition field="destination_number" expression="6974485168">
  1009. <action application="set" data="effective_destination_number=2102202732"/>
  1010. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1011. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1012. <action application="set" data="callstart=2021-12-16 06:28:25"/>
  1013. <action application="set" data="hangup_after_bridge=true"/>
  1014. <action application="set" data="continue_on_fail=TRUE"/>
  1015. <action application="set" data="account_id=11"/>
  1016. <action application="set" data="parent_id=8"/>
  1017. <action application="set" data="entity_id=0"/>
  1018. <action application="set" data="call_processed=internal"/>
  1019. <action application="set" data="call_direction=outbound"/>
  1020. <action application="set" data="accountname=default"/>
  1021. <action application="set" data="origination_rates=ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8"/>
  1022. <action application="set" data="original_caller_id_name=6974108809"/>
  1023. <action application="set" data="original_caller_id_number=6974108809"/>
  1024.  
  1025. <action application="set" data="effective_caller_id_name=306974108809"/>
  1026. <action application="set" data="effective_caller_id_number=306974108809"/>
  1027. <action application="set" data="calltype=STANDARD"/>
  1028. <action application="set" data="termination_rates=ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9"/>
  1029. <action application="set" data="trunk_id=3"/>
  1030. <action application="set" data="provider_id=9"/>
  1031. <action application="set" data="rate_flag=0"/>
  1032. <action application="set" data="force_trunk_flag=156164"/>
  1033. <action application="export" data="presence_data=trunk_id=3"/>
  1034. <action application="set" data="intcall=0"/>
  1035. <action application="export" data="presence_id=2102202732"/>
  1036. <action application="export" data="presence_data=x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL"/>
  1037. <action application="limit" data="db 11 user_11 2 "/>
  1038. <action application="bridge" data="[leg_timeout=0]sofia/gateway/ModulusOutgoing/9991302102202732"/>
  1039. </condition>
  1040. </extension>
  1041. </context>
  1042. </section>
  1043. </document>
  1044. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2102202732] continue=false
  1045. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2102202732] destination_number(6974485168) =~ /6974485168/ break=on-false
  1046. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=2102202732)
  1047. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1048. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1049. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-16 06:28:25)
  1050. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  1051. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  1052. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=11)
  1053. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=8)
  1054. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=0)
  1055. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  1056. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  1057. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=default)
  1058. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8)
  1059. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  1060. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  1061. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  1062. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  1063. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=STANDARD)
  1064. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(termination_rates=ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  1065. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(trunk_id=3)
  1066. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(provider_id=9)
  1067. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(rate_flag=0)
  1068. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(force_trunk_flag=156164)
  1069. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=trunk_id=3)
  1070. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(intcall=0)
  1071. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_id=2102202732)
  1072. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL)
  1073. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  1074. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/9991302102202732)
  1075. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  1076. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  1077. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 3 Tot 1304)
  1078. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  1079. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  1080. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  1081. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=2102202732)
  1082. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[2102202732]
  1083. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  1084. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  1085. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1086. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1087. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-16 06:28:25)
  1088. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-16 06:28:25]
  1089. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  1090. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  1091. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  1092. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  1093. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=11)
  1094. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[11]
  1095. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=8)
  1096. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[8]
  1097. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=0)
  1098. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[0]
  1099. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  1100. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  1101. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  1102. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  1103. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=default)
  1104. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[default]
  1105. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8)
  1106. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[ID:156164|CODE:^21.*|DESTINATION:Greece|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.01500|INC:1|INITIALBLOCK:1|RATEGROUP:3|MARKUP:0|CI:0|ACCID:11||ID:156161|CODE:^21.*|DESTINATION:GreeceL|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00800|INC:1|INITIALBLOCK:1|RATEGROUP:2|MARKUP:0|CI:75|ACCID:8]
  1107. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  1108. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  1109. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  1110. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  1111. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  1112. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  1113. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  1114. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  1115. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=STANDARD)
  1116. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[STANDARD]
  1117. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(termination_rates=ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9)
  1118. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [termination_rates]=[ID:32370|CODE:^21.*|DESTINATION:test|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00040|INC:1|INITIALBLOCK:1|TRUNK:3|PROVIDER:9]
  1119. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(trunk_id=3)
  1120. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [trunk_id]=[3]
  1121. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(provider_id=9)
  1122. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [provider_id]=[9]
  1123. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(rate_flag=0)
  1124. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [rate_flag]=[0]
  1125. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(force_trunk_flag=156164)
  1126. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [force_trunk_flag]=[156164]
  1127. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=trunk_id=3)
  1128. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=3]
  1129. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(intcall=0)
  1130. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [intcall]=[0]
  1131. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_id=2102202732)
  1132. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[2102202732]
  1133. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL)
  1134. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL]
  1135. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  1136. 2021-12-16 06:28:25.969182 97.77% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  1137. 2021-12-16 06:28:25.969182 97.77% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 2/2
  1138. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge([leg_timeout=0]sofia/gateway/ModulusOutgoing/9991302102202732)
  1139. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL] to event
  1140. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[4] to event
  1141. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL] to event
  1142. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_id]=[2102202732] to event
  1143. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x//8|||Martha(7772615170)|||^21.* // Greece // 0.01500 |||ModulusOutgoing // ^21.* // test // 0.00040 // trunk_id=3|||STD|||185.73.43.250|||0.00800 // ^21.* // GreeceL] to event
  1144. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  1145. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  1146. 2021-12-16 06:28:25.989178 97.77% [NOTICE] switch_channel.c:1123 New Channel sofia/external_without_reg/9991302102202732 [b40c79ba-4a38-4699-8b96-d83b24116d65]
  1147. 2021-12-16 06:28:25.989178 97.77% [DEBUG] mod_sofia.c:5121 (sofia/external_without_reg/9991302102202732) State Change CS_NEW -> CS_INIT
  1148. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_INIT (Cur 4 Tot 1305)
  1149. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/9991302102202732) State INIT
  1150. 2021-12-16 06:28:25.989178 97.77% [DEBUG] mod_sofia.c:97 sofia/external_without_reg/9991302102202732 SOFIA INIT
  1151. 2021-12-16 06:28:25.989178 97.77% [DEBUG] sofia_glue.c:1620 sip:148.251.66.230:5060 Setting proxy route to sofia/external_without_reg/9991302102202732
  1152. 2021-12-16 06:28:25.989178 97.77% [INFO] sofia_glue.c:1651 sofia/external_without_reg/9991302102202732 sending invite call-id: (null)
  1153. 2021-12-16 06:28:25.989178 97.77% [DEBUG] sofia_glue.c:1654 sofia/external_without_reg/9991302102202732 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  1154. Local SDP:
  1155. v=0
  1156. o=FreeSWITCH 1639618485 1639618486 IN IP4 94.130.242.106
  1157. s=FreeSWITCH
  1158. c=IN IP4 94.130.242.106
  1159. t=0 0
  1160. m=audio 17620 RTP/AVP 8 101
  1161. a=rtpmap:8 PCMA/8000
  1162. a=rtpmap:101 telephone-event/8000
  1163. a=fmtp:101 0-15
  1164. a=ptime:20
  1165. a=sendrecv
  1166.  
  1167. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:40 sofia/external_without_reg/9991302102202732 Standard INIT
  1168. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:48 (sofia/external_without_reg/9991302102202732) State Change CS_INIT -> CS_ROUTING
  1169. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:624 (sofia/external_without_reg/9991302102202732) State INIT going to sleep
  1170. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_ROUTING (Cur 4 Tot 1305)
  1171. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/9991302102202732) State ROUTING
  1172. 2021-12-16 06:28:25.989178 97.77% [DEBUG] mod_sofia.c:158 sofia/external_without_reg/9991302102202732 SOFIA ROUTING
  1173. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_ivr_originate.c:67 (sofia/external_without_reg/9991302102202732) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1174. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:640 (sofia/external_without_reg/9991302102202732) State ROUTING going to sleep
  1175. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_CONSUME_MEDIA (Cur 4 Tot 1305)
  1176. 2021-12-16 06:28:25.989178 97.77% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/9991302102202732 entering state [calling][0]
  1177. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/9991302102202732) State CONSUME_MEDIA
  1178. 2021-12-16 06:28:25.989178 97.77% [DEBUG] switch_core_state_machine.c:659 (sofia/external_without_reg/9991302102202732) State CONSUME_MEDIA going to sleep
  1179. 2021-12-16 06:28:26.049176 97.77% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/9991302102202732 entering state [terminated][403]
  1180. 2021-12-16 06:28:26.049176 97.77% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/9991302102202732 [CS_CONSUME_MEDIA] [CALL_REJECTED]
  1181. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_HANGUP (Cur 4 Tot 1305)
  1182. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/9991302102202732) Callstate Change DOWN -> HANGUP
  1183. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/9991302102202732) State HANGUP
  1184. 2021-12-16 06:28:26.049176 97.77% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/9991302102202732 hanging up, cause: CALL_REJECTED
  1185. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/9991302102202732 Standard HANGUP, cause: CALL_REJECTED
  1186. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/9991302102202732) State HANGUP going to sleep
  1187. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/9991302102202732) State Change CS_HANGUP -> CS_REPORTING
  1188. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_REPORTING (Cur 4 Tot 1305)
  1189. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/9991302102202732) State REPORTING
  1190. 2021-12-16 06:28:26.049176 97.77% [INFO] mod_json_cdr.c:271 Process [c924b42a-4a7b-4dd9-b4c3-5509767a8f1e.cdr.json]
  1191. 2021-12-16 06:28:26.049176 97.77% [DEBUG] sofia.c:7499 Channel sofia/external_without_reg/9991302102202732 entering state [terminated][403]
  1192. 2021-12-16 06:28:26.049176 97.77% [NOTICE] sofia.c:8738 Hangup sofia/external_without_reg/9991302102202732 [CS_CONSUME_MEDIA] [CALL_REJECTED]
  1193. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_HANGUP (Cur 4 Tot 1305)
  1194. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:844 (sofia/external_without_reg/9991302102202732) Callstate Change DOWN -> HANGUP
  1195. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/9991302102202732) State HANGUP
  1196. 2021-12-16 06:28:26.049176 97.77% [DEBUG] mod_sofia.c:468 Channel sofia/external_without_reg/9991302102202732 hanging up, cause: CALL_REJECTED
  1197. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:59 sofia/external_without_reg/9991302102202732 Standard HANGUP, cause: CALL_REJECTED
  1198. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_without_reg/9991302102202732) State HANGUP going to sleep
  1199. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:616 (sofia/external_without_reg/9991302102202732) State Change CS_HANGUP -> CS_REPORTING
  1200. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_without_reg/9991302102202732) Running State Change CS_REPORTING (Cur 4 Tot 1305)
  1201. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/9991302102202732) State REPORTING
  1202. 2021-12-16 06:28:26.049176 97.77% [INFO] mod_json_cdr.c:271 Process [b40c79ba-4a38-4699-8b96-d83b24116d65.cdr.json]
  1203. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/9991302102202732 Standard REPORTING, cause: CALL_REJECTED
  1204. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/9991302102202732) State REPORTING going to sleep
  1205. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/9991302102202732) State Change CS_REPORTING -> CS_DESTROY
  1206. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_session.c:1753 Session 1303 (sofia/external_without_reg/9991302102202732) Locked, Waiting on external entities
  1207. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:168 sofia/external_without_reg/9991302102202732 Standard REPORTING, cause: CALL_REJECTED
  1208. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_without_reg/9991302102202732) State REPORTING going to sleep
  1209. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:607 (sofia/external_without_reg/9991302102202732) State Change CS_REPORTING -> CS_DESTROY
  1210. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_session.c:1753 Session 1305 (sofia/external_without_reg/9991302102202732) Locked, Waiting on external entities
  1211. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
  1212. 2021-12-16 06:28:26.049176 97.77% [NOTICE] switch_core_session.c:1771 Session 1303 (sofia/external_without_reg/9991302102202732) Ended
  1213. 2021-12-16 06:28:26.049176 97.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/9991302102202732 [CS_DESTROY]
  1214. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/9991302102202732) Running State Change CS_DESTROY (Cur 3 Tot 1305)
  1215. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/9991302102202732) State DESTROY
  1216. 2021-12-16 06:28:26.049176 97.77% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/9991302102202732 SOFIA DESTROY
  1217. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/9991302102202732 Standard DESTROY
  1218. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/9991302102202732) State DESTROY going to sleep
  1219. 2021-12-16 06:28:26.049176 97.77% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: CALL_REJECTED
  1220. 2021-12-16 06:28:26.049176 97.77% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
  1221. 2021-12-16 06:28:26.049176 97.77% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  1222. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  1223. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 3 Tot 1305)
  1224. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  1225. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  1226. 2021-12-16 06:28:26.049176 97.77% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 403 from the other leg
  1227. 2021-12-16 06:28:26.049176 97.77% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  1228. 2021-12-16 06:28:26.049176 97.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 403
  1229. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  1230. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  1231. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  1232. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 3 Tot 1305)
  1233. 2021-12-16 06:28:26.049176 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  1234. 2021-12-16 06:28:26.049176 97.77% [INFO] mod_json_cdr.c:271 Process [1b0c8773-4868-459a-9767-c7f1d9007453.cdr.json]
  1235. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 21 [CALL_REJECTED]
  1236. 2021-12-16 06:28:26.069179 97.77% [NOTICE] switch_core_session.c:1771 Session 1305 (sofia/external_without_reg/9991302102202732) Ended
  1237. 2021-12-16 06:28:26.069179 97.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_without_reg/9991302102202732 [CS_DESTROY]
  1238. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:735 (sofia/external_without_reg/9991302102202732) Running State Change CS_DESTROY (Cur 2 Tot 1305)
  1239. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/9991302102202732) State DESTROY
  1240. 2021-12-16 06:28:26.069179 97.77% [DEBUG] mod_sofia.c:379 sofia/external_without_reg/9991302102202732 SOFIA DESTROY
  1241. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:175 sofia/external_without_reg/9991302102202732 Standard DESTROY
  1242. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_without_reg/9991302102202732) State DESTROY going to sleep
  1243. 2021-12-16 06:28:26.069179 97.77% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: CALL_REJECTED
  1244. 2021-12-16 06:28:26.069179 97.77% [NOTICE] switch_core_state_machine.c:382 sofia/external_sip/6974108809@voips.modulus.gr has executed the last dialplan instruction, hanging up.
  1245. 2021-12-16 06:28:26.069179 97.77% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  1246. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  1247. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 2 Tot 1305)
  1248. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  1249. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  1250. 2021-12-16 06:28:26.069179 97.77% [DEBUG] mod_sofia.c:462 sofia/external_sip/6974108809@voips.modulus.gr Overriding SIP cause 480 with 403 from the other leg
  1251. 2021-12-16 06:28:26.069179 97.77% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  1252. 2021-12-16 06:28:26.069179 97.77% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 403
  1253. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  1254. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  1255. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  1256. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 2 Tot 1305)
  1257. 2021-12-16 06:28:26.069179 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  1258. 2021-12-16 06:28:26.069179 97.77% [INFO] mod_json_cdr.c:271 Process [47854059-97d4-467b-a28d-3e802d218eb0.cdr.json]
  1259. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  1260. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  1261. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  1262. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_session.c:1753 Session 1302 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  1263. 2021-12-16 06:28:26.089186 97.77% [NOTICE] switch_core_session.c:1771 Session 1302 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  1264. 2021-12-16 06:28:26.089186 97.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  1265. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 1 Tot 1305)
  1266. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  1267. 2021-12-16 06:28:26.089186 97.77% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  1268. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  1269. 2021-12-16 06:28:26.089186 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  1270. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  1271. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  1272. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  1273. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_session.c:1753 Session 1304 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  1274. 2021-12-16 06:28:26.109179 97.77% [NOTICE] switch_core_session.c:1771 Session 1304 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  1275. 2021-12-16 06:28:26.109179 97.77% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  1276. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 1305)
  1277. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  1278. 2021-12-16 06:28:26.109179 97.77% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  1279. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  1280. 2021-12-16 06:28:26.109179 97.77% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  1281. 2021-12-16 06:29:07.249191 98.43% [DEBUG] sofia_reg.c:2665 Changing expire time to 111 by request of proxy sip:voips.modulus.gr:5060
  1282.  
captcha