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