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