From Lousy Plover, 2 Years ago, written in Plain Text.
- view diff
Embed
  1. +OK log level  [7]
  2. 2021-12-22 06:19:43.042570 99.87% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [77cac8c8-86af-46b8-bc73-3e9598ac73c2]
  3. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 2753)
  4. 2021-12-22 06:19:43.042570 99.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: 6305abe41a30d73c006515107e9e8fd3@voips.modulus.gr
  5. 2021-12-22 06:19:43.042570 99.87% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  6. 2021-12-22 06:19:43.042570 99.87% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  7. 2021-12-22 06:19:43.042570 99.87% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=root 238137857 238137857 IN IP4 185.73.43.253
  10. s=modCOM v2 Media Gateway
  11. c=IN IP4 185.73.43.253
  12. t=0 0
  13. m=audio 38740 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:38741
  22. a=ptime:20
  23.  
  24. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  25. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  26. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  27. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  29. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  32. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  33. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  34. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  35. 2021-12-22 06:19:43.042570 99.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
  36. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  37. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  38. 2021-12-22 06:19:43.042570 99.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
  39. 2021-12-22 06:19:43.042570 99.87% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  40. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  41. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 2753)
  42. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  43. 2021-12-22 06:19:43.042570 99.87% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  44. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  45. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  46. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  47. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 2753)
  48. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  49. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  50. 2021-12-22 06:19:43.042570 99.87% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  51. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  52. 2021-12-22 06:19:43.042570 99.87% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  53. 2021-12-22 06:19:43.042570 99.87% [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-22 06:19:43.042570 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  55. 2021-12-22 06:19:43.042570 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  56. 2021-12-22 06:19:43.042570 99.87% [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-22 06:19:43.042570 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  58. 2021-12-22 06:19:43.042570 99.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
  59. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2102202732" limit 1
  60. 2021-12-22 06:19:43.042570 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  61. 2021-12-22 06:19:43.042570 99.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
  62. 2021-12-22 06:19:43.042570 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  63. 2021-12-22 06:19:43.042570 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  64. 2021-12-22 06:19:43.042570 99.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 = 9 limit 1
  65. 2021-12-22 06:19:43.062571 99.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
  66. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  67. 2021-12-22 06:19:43.062571 99.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
  68. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  69. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  70. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  71. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  72. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  73. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  74. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  75. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  76. 2021-12-22 06:19:43.062571 99.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 = '^302102202732.*' OR patterns = '^30210220273.*' OR patterns = '^3021022027.*' OR patterns = '^302102202.*' OR patterns = '^30210220.*' OR patterns = '^3021022.*' OR patterns = '^302102.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
  77. 2021-12-22 06:19:43.062571 99.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 ="302102202732" AND A.accountid = '9' limit 1
  78. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
  79. 2021-12-22 06:19:43.062571 99.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 ="302102202732" LIMIT 1
  80. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  81. 2021-12-22 06:19:43.062571 99.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 = '302102202732' OR number = '30210220273' OR number = '3021022027' OR number = '302102202' OR number = '30210220' OR number = '3021022' OR number = '302102' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302102202732*' OR number = '30210220273*' OR number = '3021022027*' OR number = '302102202*' OR number = '30210220*' OR number = '3021022*' OR number = '302102*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  82. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  83. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '302102202732' OR routing_prefix = '30210220273' OR routing_prefix = '3021022027' OR routing_prefix = '302102202' OR routing_prefix = '30210220' OR routing_prefix = '3021022' OR routing_prefix = '302102' OR routing_prefix = '30210' OR routing_prefix = '3021' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  84. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  85. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  86. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  87. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  88. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  89. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  90. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  91. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  92. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  93. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  94. 2021-12-22 06:19:43.062571 99.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 ="302102202732" LIMIT 1
  95. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  96. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  97. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  98. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  99. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  100. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  101. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
  102. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  103. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  104. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  105. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  106. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  107. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
  108. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  109. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  110. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  111. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  112. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  113. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  114. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  115. 2021-12-22 06:19:43.062571 99.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
  116. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  117. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  118. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  119. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  120. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  121. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  122. 2021-12-22 06:19:43.062571 99.87% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  123. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  124. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  125. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  126. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  127. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  128. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  129. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  130. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  131. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  132. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  133. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  134. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  135. <document type="freeswitch/xml">
  136. <section name="dialplan" description="ASTPP Dialplan">
  137. <context name="default">
  138. <extension name="302102202732">
  139. <condition field="destination_number" expression="2102202732">
  140. <action application="set" data="effective_destination_number=302102202732"/>
  141. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  142. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  143. <action application="set" data="nibble_account=9"/>
  144. <action application="set" data="nibble_rate=0.00000"/>
  145. <action application="set" data="nibble_increment=0"/>
  146. <action application="set" data="nibble_minimum=0.00000"/>
  147. <action application="nibblebill" data="heartbeat 30"/>
  148. <action application="set" data="callstart=2021-12-22 06:19:43"/>
  149. <action application="set" data="hangup_after_bridge=true"/>
  150. <action application="set" data="continue_on_fail=TRUE"/>
  151. <action application="set" data="account_id=9"/>
  152. <action application="set" data="parent_id=0"/>
  153. <action application="set" data="entity_id=3"/>
  154. <action application="set" data="call_processed=internal"/>
  155. <action application="set" data="call_direction=inbound"/>
  156. <action application="set" data="accountname=ModulusIncoming"/>
  157. <action application="set" data="origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
  158. <action application="set" data="origination_rates=0"/>
  159. <action application="set" data="original_caller_id_name=6974108809"/>
  160. <action application="set" data="original_caller_id_number=6974108809"/>
  161. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  162. <action application="limit" data="db 11 user_11 2 "/>
  163. <action application="set" data="effective_caller_id_name=306974108809"/>
  164. <action application="set" data="effective_caller_id_number=306974108809"/>
  165. <action application="set" data="receiver_accid=11"/>
  166. <action application="export" data="domain_name="/>
  167. <action application="export" data="sip_to_host="/>
  168. <action application="limit" data="db 302102202732 did_302102202732 2 "/>
  169. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  170. <action application="export" data="call_type=5"/>
  171. <action application="set" data="calltype=SIP-DID"/>
  172. <action application="bridge" data="{sip_contact_user=302102202732}[leg_timeout=0]sofia/${sofia_profile_name}/302102202732${regex(${sofia_contact(7772615170@${domain_name})}|^[^@]+(.*)|%1)}"/>
  173. <condition field="${cond(${user_data 7772615170@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  174. <action application="answer"/>
  175. <action application="export" data="voicemail_alternate_greet_id=302102202732"/>
  176. <action application="voicemail" data="default $${domain_name} 7772615170"/>
  177. <anti-action application="hangup" data="${originate_disposition}"/>
  178. </condition>
  179. <action application="set" data="did_id=1"/>
  180. <action application="set" data="destination_number=302102202732"/>
  181. <action application="set" data="leg_timeout=0"/>
  182. <action application="set" data="call_type_vm_flag=1"/>
  183. <action application="set" data="is_local_extension=1"/>
  184. <action application="lua" data="did_call_forwarding.lua"/>
  185. </condition>
  186. </extension>
  187. </context>
  188. </section>
  189. </document>
  190. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
  191. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  192. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
  193. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  194. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  195. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
  196. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
  197. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
  198. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  199. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  200. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2021-12-22 06:19:43)
  201. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  202. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  203. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  204. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  205. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  206. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  207. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  208. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  209. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  210. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  211. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  212. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  213. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  214. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  215. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  216. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  217. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  218. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  219. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  220. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
  221. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  222. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=5)
  223. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=SIP-DID)
  224. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge({sip_contact_user=302102202732}[leg_timeout=0]sofia/${sofia_profile_name}/302102202732${regex(${sofia_contact(7772615170@${domain_name})}|^[^@]+(.*)|%1)})
  225. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_id=1)
  226. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(destination_number=302102202732)
  227. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(leg_timeout=0)
  228. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_type_vm_flag=1)
  229. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(is_local_extension=1)
  230. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action lua(did_call_forwarding.lua)
  231. |--- Dialplan: Processing recursive conditions level:1 [302102202732_recur_1] require-nested=TRUE
  232. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732_recur_1] ${cond(${user_data 7772615170@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  233. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action answer()
  234. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(voicemail_alternate_greet_id=302102202732)
  235. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action voicemail(default $${domain_name} 7772615170)
  236. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  237. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  238. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 2753)
  239. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  240. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  241. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  242. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302102202732)
  243. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302102202732]
  244. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  245. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  246. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  247. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  248. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
  249. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
  250. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
  251. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
  252. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
  253. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
  254. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  255. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  256. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  257. 2021-12-22 06:19:43.062571 99.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.
  258. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_scheduler.c:263 Added task 598 switch_core_session_sched_heartbeat (77cac8c8-86af-46b8-bc73-3e9598ac73c2) to run at 1640154013
  259. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2021-12-22 06:19:43)
  260. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2021-12-22 06:19:43]
  261. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  262. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  263. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  264. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  265. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  266. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  267. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  268. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  269. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  270. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  271. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  272. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  273. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  274. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  275. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  276. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  277. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  278. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
  279. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  280. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  281. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  282. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  283. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  284. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  285. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  286. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  287. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  288. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  289. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  290. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  291. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  292. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  293. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  294. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  295. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  296. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  297. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  298. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  299. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  300. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  301. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 302102202732 did_302102202732 2 )
  302. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
  303. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_db.c:194 Usage for 302102202732_did_302102202732 is now 1/2
  304. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  305. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  306. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=5)
  307. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[5]
  308. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=SIP-DID)
  309. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[SIP-DID]
  310. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge({sip_contact_user=302102202732}[leg_timeout=0]sofia/external_sip/302102202732@194.219.29.89:6060;rinstance=a67a6abd8232a0a1;fs_nat=yes;fs_path=sip%3A7772615170%40194.219.29.89%3A6060%3Brinstance%3Da67a6abd8232a0a1)
  311. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250] to event
  312. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[5] to event
  313. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  314. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  315. 2021-12-22 06:19:43.062571 99.87% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/302102202732@194.219.29.89:6060 [b51b3673-001d-4f23-9ab6-972c90feda48]
  316. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_sofia.c:5121 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_NEW -> CS_INIT
  317. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_INIT (Cur 2 Tot 2754)
  318. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/302102202732@194.219.29.89:6060) State INIT
  319. 2021-12-22 06:19:43.062571 99.87% [DEBUG] mod_sofia.c:97 sofia/external_sip/302102202732@194.219.29.89:6060 SOFIA INIT
  320. 2021-12-22 06:19:43.062571 99.87% [DEBUG] sofia_glue.c:1620 sip:7772615170@194.219.29.89:6060;rinstance=a67a6abd8232a0a1 Setting proxy route to sofia/external_sip/302102202732@194.219.29.89:6060
  321. 2021-12-22 06:19:43.062571 99.87% [INFO] sofia_glue.c:1651 sofia/external_sip/302102202732@194.219.29.89:6060 sending invite call-id: (null)
  322. 2021-12-22 06:19:43.062571 99.87% [DEBUG] sofia_glue.c:1654 sofia/external_sip/302102202732@194.219.29.89:6060 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  323. Local SDP:
  324. v=0
  325. o=FreeSWITCH 1640137217 1640137218 IN IP4 94.130.242.106
  326. s=FreeSWITCH
  327. c=IN IP4 94.130.242.106
  328. t=0 0
  329. m=audio 16766 RTP/AVP 8 101
  330. a=rtpmap:8 PCMA/8000
  331. a=rtpmap:101 telephone-event/8000
  332. a=fmtp:101 0-15
  333. a=ptime:20
  334. a=sendrecv
  335.  
  336. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/302102202732@194.219.29.89:6060 Standard INIT
  337. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_INIT -> CS_ROUTING
  338. 2021-12-22 06:19:43.062571 99.87% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/302102202732@194.219.29.89:6060) State INIT going to sleep
  339. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_ROUTING (Cur 2 Tot 2754)
  340. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/302102202732@194.219.29.89:6060) State ROUTING
  341. 2021-12-22 06:19:43.082563 99.87% [DEBUG] mod_sofia.c:158 sofia/external_sip/302102202732@194.219.29.89:6060 SOFIA ROUTING
  342. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_ivr_originate.c:67 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  343. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/302102202732@194.219.29.89:6060) State ROUTING going to sleep
  344. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2754)
  345. 2021-12-22 06:19:43.082563 99.87% [DEBUG] sofia.c:7499 Channel sofia/external_sip/302102202732@194.219.29.89:6060 entering state [calling][0]
  346. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_core_state_machine.c:659 (sofia/external_sip/302102202732@194.219.29.89:6060) State CONSUME_MEDIA
  347. 2021-12-22 06:19:43.082563 99.87% [DEBUG] switch_core_state_machine.c:659 (sofia/external_sip/302102202732@194.219.29.89:6060) State CONSUME_MEDIA going to sleep
  348. 2021-12-22 06:19:43.302560 99.87% [DEBUG] sofia.c:7499 Channel sofia/external_sip/302102202732@194.219.29.89:6060 entering state [proceeding][180]
  349. 2021-12-22 06:19:43.302560 99.87% [NOTICE] sofia.c:7610 Ring-Ready sofia/external_sip/302102202732@194.219.29.89:6060!
  350. 2021-12-22 06:19:43.302560 99.87% [DEBUG] switch_channel.c:3494 (sofia/external_sip/302102202732@194.219.29.89:6060) Callstate Change DOWN -> RINGING
  351. 2021-12-22 06:19:43.322553 99.87% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/external_sip/6974108809@voips.modulus.gr!
  352. 2021-12-22 06:19:43.322553 99.87% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [early][180]
  353. 2021-12-22 06:19:43.322553 99.87% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/external_sip/6974108809@voips.modulus.gr!
  354. 2021-12-22 06:19:46.482565 99.67% [DEBUG] sofia.c:7499 Channel sofia/external_sip/302102202732@194.219.29.89:6060 entering state [completing][200]
  355. 2021-12-22 06:19:46.482565 99.67% [DEBUG] sofia.c:7509 Remote SDP:
  356. v=0
  357. o=3cxPS 8780257209352192 34956832774553601 IN IP4 194.219.29.89
  358. s=3cxPS Audio call
  359. c=IN IP4 194.219.29.89
  360. t=0 0
  361. m=audio 9562 RTP/AVP 8 101
  362. a=rtpmap:8 PCMA/8000
  363. a=rtpmap:101 telephone-event/8000
  364.  
  365. 2021-12-22 06:19:46.482565 99.67% [DEBUG] sofia.c:7499 Channel sofia/external_sip/302102202732@194.219.29.89:6060 entering state [ready][200]
  366. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  367. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  368. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  369. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/302102202732@194.219.29.89:6060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  370. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_codec.c:111 sofia/external_sip/302102202732@194.219.29.89:6060 Original read codec set to PCMA:8
  371. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  372. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:5973 sofia/external_sip/302102202732@194.219.29.89:6060 Set 2833 dtmf send payload to 101 recv payload to 101
  373. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/external_sip/302102202732@194.219.29.89:6060] 172.16.0.30 port 16766 -> 194.219.29.89 port 9562 codec: 8 ms: 20
  374. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_rtp.c:4641 Not using a timer
  375. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:9089 sofia/external_sip/302102202732@194.219.29.89:6060 Set 2833 dtmf send payload to 101
  376. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:9096 sofia/external_sip/302102202732@194.219.29.89:6060 Set 2833 dtmf receive payload to 101
  377. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:9119 sofia/external_sip/302102202732@194.219.29.89:6060 Set rtp dtmf delay to 40
  378. 2021-12-22 06:19:46.482565 99.67% [NOTICE] sofia.c:8683 Channel [sofia/external_sip/302102202732@194.219.29.89:6060] has been answered
  379. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_channel.c:3950 (sofia/external_sip/302102202732@194.219.29.89:6060) Callstate Change RINGING -> ACTIVE
  380. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/external_sip/6974108809@voips.modulus.gr] 172.16.0.30 port 28332 -> 185.73.43.253 port 38740 codec: 8 ms: 20
  381. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_rtp.c:4641 Not using a timer
  382. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:8997 Activating RTCP PORT 38741
  383. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_rtp.c:5017 RTCP send rate is: 1000 and packet rate is: 20000 Remote Port: 38741
  384. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 185.73.43.253:38741 2
  385. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:9089 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101
  386. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:9096 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf receive payload to 101
  387. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_media.c:9119 sofia/external_sip/6974108809@voips.modulus.gr Set rtp dtmf delay to 40
  388. 2021-12-22 06:19:46.482565 99.67% [DEBUG] mod_sofia.c:913 Local SDP sofia/external_sip/6974108809@voips.modulus.gr:
  389. v=0
  390. o=FreeSWITCH 1640125654 1640125655 IN IP4 94.130.242.106
  391. s=FreeSWITCH
  392. c=IN IP4 94.130.242.106
  393. t=0 0
  394. m=audio 28332 RTP/AVP 8 101
  395. a=rtpmap:8 PCMA/8000
  396. a=rtpmap:101 telephone-event/8000
  397. a=fmtp:101 0-15
  398. a=ptime:20
  399. a=sendrecv
  400. a=rtcp:28333 IN IP4 94.130.242.106
  401.  
  402. 2021-12-22 06:19:46.482565 99.67% [NOTICE] switch_ivr_originate.c:3834 Channel [sofia/external_sip/6974108809@voips.modulus.gr] has been answered
  403. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_channel.c:3950 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> ACTIVE
  404. 2021-12-22 06:19:46.482565 99.67% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [completed][200]
  405. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/external_sip/302102202732@194.219.29.89:6060] Peer UUID: b51b3673-001d-4f23-9ab6-972c90feda48
  406. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_ivr_bridge.c:1793 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  407. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 2754)
  408. 2021-12-22 06:19:46.482565 99.67% [DEBUG] switch_core_state_machine.c:650 (sofia/external_sip/302102202732@194.219.29.89:6060) State EXCHANGE_MEDIA
  409. 2021-12-22 06:19:46.482565 99.67% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  410. 2021-12-22 06:19:46.502564 99.67% [INFO] switch_rtp.c:7310 Auto Changing audio RTCP port from 185.73.43.253:38741 to 172.16.0.30:28333
  411. 2021-12-22 06:19:46.502564 99.67% [DEBUG] switch_rtp.c:2776 Setting RTCP remote addr to 172.16.0.30:28333 2
  412. 2021-12-22 06:19:46.522571 99.67% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  413. 2021-12-22 06:19:46.542571 99.67% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [ready][200]
  414. 2021-12-22 06:19:46.682559 99.63% [DEBUG] switch_ivr_bridge.c:655 sofia/external_sip/302102202732@194.219.29.89:6060 Bridge execute app sched_hangup(+6000 normal_clearing)
  415. 2021-12-22 06:19:46.702576 99.63% [DEBUG] switch_ivr.c:632 sofia/external_sip/302102202732@194.219.29.89:6060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  416. EXECUTE [depth=0] sofia/external_sip/302102202732@194.219.29.89:6060 sched_hangup(+6000 normal_clearing)
  417. 2021-12-22 06:19:46.702576 99.63% [DEBUG] switch_scheduler.c:263 Added task 599 switch_ivr_schedule_hangup (b51b3673-001d-4f23-9ab6-972c90feda48) to run at 1640159986
  418. 2021-12-22 06:19:46.942565 99.63% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  419. 2021-12-22 06:19:46.962560 99.63% [DEBUG] switch_rtp.c:1982 rtcp_stats_init: audio ssrc[131308579] base_seq[19302]
  420. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  421. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  422. 2021-12-22 06:20:13.202565 98.83% [INFO] mod_nibblebill.c:565 Beginning new billing on 77cac8c8-86af-46b8-bc73-3e9598ac73c2
  423. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:573 26 seconds passed since last bill time of 2021-12-22 06:19:46
  424. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 9 (Call: 77cac8c8-86af-46b8-bc73-3e9598ac73c2 / 0.000000 so far)
  425. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:395 Doing update query
  426. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='9']
  427. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  428. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  429. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 17.308000)
  430. 2021-12-22 06:20:13.202565 98.83% [DEBUG] mod_nibblebill.c:645 Balance of 17.308000 fell below low balance amount of 25.000000! (Account 9)
  431. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr playback(/usr/share/freeswitch/sounds/en/us/callie/astpp-not-enough-credit.wav)
  432. 2021-12-22 06:20:13.202565 98.83% [DEBUG] switch_core_file.c:444 File /usr/share/freeswitch/sounds/en/us/callie/astpp-not-enough-credit.wav sample rate 16000 doesn't match requested rate 8000
  433. 2021-12-22 06:20:13.202565 98.83% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
  434. 2021-12-22 06:20:14.902591 98.90% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/share/freeswitch/sounds/en/us/callie/astpp-not-enough-credit.wav
  435. 2021-12-22 06:20:22.242570 98.87% [NOTICE] sofia.c:1065 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  436. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/external_sip/6974108809@voips.modulus.gr]
  437. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_ivr_bridge.c:820 sofia/external_sip/6974108809@voips.modulus.gr ending bridge by request from write function
  438. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/external_sip/302102202732@194.219.29.89:6060]
  439. 2021-12-22 06:20:22.242570 98.87% [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/external_sip/302102202732@194.219.29.89:6060 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  440. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:650 (sofia/external_sip/302102202732@194.219.29.89:6060) State EXCHANGE_MEDIA going to sleep
  441. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_HANGUP (Cur 2 Tot 2754)
  442. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/302102202732@194.219.29.89:6060) Callstate Change ACTIVE -> HANGUP
  443. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/302102202732@194.219.29.89:6060) State HANGUP
  444. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_sofia.c:462 sofia/external_sip/302102202732@194.219.29.89:6060 Overriding SIP cause 480 with 200 from the other leg
  445. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/302102202732@194.219.29.89:6060 hanging up, cause: NORMAL_CLEARING
  446. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/external_sip/302102202732@194.219.29.89:6060
  447. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/302102202732@194.219.29.89:6060 Standard HANGUP, cause: NORMAL_CLEARING
  448. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/302102202732@194.219.29.89:6060) State HANGUP going to sleep
  449. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_HANGUP -> CS_REPORTING
  450. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_REPORTING (Cur 2 Tot 2754)
  451. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/302102202732@194.219.29.89:6060) State REPORTING
  452. 2021-12-22 06:20:22.242570 98.87% [INFO] mod_json_cdr.c:271 Process [b51b3673-001d-4f23-9ab6-972c90feda48.cdr.json]
  453. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_ivr_bridge.c:1892 sofia/external_sip/302102202732@194.219.29.89:6060 skip receive message [UNBRIDGE] (channel is hungup already)
  454. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_ivr_bridge.c:1895 sofia/external_sip/6974108809@voips.modulus.gr skip receive message [UNBRIDGE] (channel is hungup already)
  455. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_session.c:2983 sofia/external_sip/6974108809@voips.modulus.gr skip receive message [PHONE_EVENT] (channel is hungup already)
  456. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  457. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 2 Tot 2754)
  458. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change ACTIVE -> HANGUP
  459. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  460. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  461. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  462. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:573 35 seconds passed since last bill time of 2021-12-22 06:19:46
  463. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 9 (Call: 77cac8c8-86af-46b8-bc73-3e9598ac73c2 / 0.000000 so far)
  464. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:395 Doing update query
  465. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='9']
  466. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:395 Doing update query
  467. [Update accounts SET balance=IF(posttoexternal=1,balance+0.000000,balance-0.000000) WHERE id='9']
  468. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  469. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  470. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 17.308000)
  471. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  472. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  473. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  474. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 2 Tot 2754)
  475. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  476. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/302102202732@194.219.29.89:6060 Standard REPORTING, cause: NORMAL_CLEARING
  477. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/302102202732@194.219.29.89:6060) State REPORTING going to sleep
  478. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_REPORTING -> CS_DESTROY
  479. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_session.c:1753 Session 2754 (sofia/external_sip/302102202732@194.219.29.89:6060) Locked, Waiting on external entities
  480. 2021-12-22 06:20:22.242570 98.87% [NOTICE] switch_core_session.c:1771 Session 2754 (sofia/external_sip/302102202732@194.219.29.89:6060) Ended
  481. 2021-12-22 06:20:22.242570 98.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/302102202732@194.219.29.89:6060 [CS_DESTROY]
  482. 2021-12-22 06:20:22.242570 98.87% [INFO] mod_json_cdr.c:271 Process [77cac8c8-86af-46b8-bc73-3e9598ac73c2.cdr.json]
  483. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_DESTROY (Cur 1 Tot 2754)
  484. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/302102202732@194.219.29.89:6060) State DESTROY
  485. 2021-12-22 06:20:22.242570 98.87% [DEBUG] mod_sofia.c:379 sofia/external_sip/302102202732@194.219.29.89:6060 SOFIA DESTROY
  486. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/302102202732@194.219.29.89:6060 Standard DESTROY
  487. 2021-12-22 06:20:22.242570 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/302102202732@194.219.29.89:6060) State DESTROY going to sleep
  488. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  489. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  490. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  491. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_session.c:1753 Session 2753 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  492. 2021-12-22 06:20:22.282556 98.87% [NOTICE] switch_core_session.c:1771 Session 2753 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  493. 2021-12-22 06:20:22.282556 98.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  494. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 2754)
  495. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  496. 2021-12-22 06:20:22.282556 98.87% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  497. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  498. 2021-12-22 06:20:22.282556 98.87% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  499. 2021-12-22 06:20:22.702577 98.77% [DEBUG] switch_scheduler.c:147 Deleting task 598 switch_core_session_sched_heartbeat (77cac8c8-86af-46b8-bc73-3e9598ac73c2)
  500. 2021-12-22 06:20:22.702577 98.77% [DEBUG] switch_scheduler.c:147 Deleting task 599 switch_ivr_schedule_hangup (b51b3673-001d-4f23-9ab6-972c90feda48)