From Tiny Wolf, 1 Month ago, written in HTML5.
- view diff
Embed
  1. 2025-01-07 11:12:59.208751 98.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876300012@196.31.25.86 [3875dabe-c3b4-40cc-8613-cfbcf20f4e4c]
  2. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_NEW (Cur 1 Tot 138)
  3. 2025-01-07 11:12:59.208751 98.63% [INFO] sofia.c:10462 sofia/default/27876300012@196.31.25.86 receiving invite from 102.220.232.10:5060 version: 1.10.7 -release 64bit call-id: 6d40c71a-477a-123e-6597-b8ac6f871369
  4. 2025-01-07 11:12:59.208751 98.63% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.220.232.10:0.
  5. 2025-01-07 11:12:59.208751 98.63% [DEBUG] sofia.c:10585 IP 102.220.232.10 Approved by acl "default[]". Access Granted.
  6. 2025-01-07 11:12:59.208751 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.86 entering state [received][100]
  7. 2025-01-07 11:12:59.208751 98.63% [DEBUG] sofia.c:7509 Remote SDP:
  8. v=0
  9. o=FreeSWITCH 1736210309 1736210310 IN IP4 196.31.25.86
  10. s=FreeSWITCH
  11. c=IN IP4 196.31.25.86
  12. t=0 0
  13. m=audio 30868 RTP/AVP 18 8 0 101
  14. a=rtpmap:18 G729/8000
  15. a=fmtp:18 annexb=no
  16. a=rtpmap:8 PCMA/8000
  17. a=rtpmap:0 PCMU/8000
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=ptime:20
  21.  
  22. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  23. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
  24. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  25. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  26. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
  27. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  28. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  29. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  30. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  31. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  32. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  35. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  36. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
  37. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  38. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27876300012@196.31.25.86 G729/8000 20 ms 160 samples 8000 bits 1 channels
  39. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_codec.c:111 sofia/default/27876300012@196.31.25.86 Original read codec set to G729:18
  40. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  41. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_media.c:5973 sofia/default/27876300012@196.31.25.86 Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2025-01-07 11:12:59.208751 98.63% [DEBUG] sofia.c:7933 (sofia/default/27876300012@196.31.25.86) State Change CS_NEW -> CS_INIT
  43. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:600 (sofia/default/27876300012@196.31.25.86) State NEW
  44. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_INIT (Cur 1 Tot 138)
  45. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.86) State INIT
  46. 2025-01-07 11:12:59.208751 98.63% [DEBUG] mod_sofia.c:97 sofia/default/27876300012@196.31.25.86 SOFIA INIT
  47. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876300012@196.31.25.86 Standard INIT
  48. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876300012@196.31.25.86) State Change CS_INIT -> CS_ROUTING
  49. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876300012@196.31.25.86) State INIT going to sleep
  50. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 138)
  51. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_channel.c:2380 (sofia/default/27876300012@196.31.25.86) Callstate Change DOWN -> RINGING
  52. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING
  53. 2025-01-07 11:12:59.208751 98.63% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.86 SOFIA ROUTING
  54. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.86 Standard ROUTING
  55. 2025-01-07 11:12:59.208751 98.63% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->27876304007 in context default
  56. 2025-01-07 11:12:59.208751 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  57. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  58. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  59. 2025-01-07 11:12:59.208751 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  60. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27876304007
  61. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27876304007' AND status=0 limit 1
  62. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] SOURCE NUMBERgw+GoldtelASTPPv6JB1
  63. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  64. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL SOURCE] Query :SELECT accountid FROM sip_devices WHERE username = '27876304007' limit 1
  65. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL DOMAIN] Query :SELECT accountid from sip_devices where accountid = '465' and username = '27876304007' limit 1
  66. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION LOCAL] Query :SELECT local_effective_caller_id_name,local_effective_caller_id_number FROM sip_devices WHERE username = 'gw+GoldtelASTPPv6JB1' limit 1                                                                                                                                                                                          
  67. 2025-01-07 11:12:59.228712 98.63% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  68. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  69. 2025-01-07 11:12:59.228712 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  70. 2025-01-07 11:12:59.228712 98.63% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  71. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  72. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  73. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  74. 2025-01-07 11:12:59.228712 98.63% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  75. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  76. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  77. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  78. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  79. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  80. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  81. 2025-01-07 11:12:59.228712 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  82. 2025-01-07 11:12:59.228712 98.63% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  83. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  84. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  85. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  86. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27876304007" AND (accountid = 0 OR status = 1) LIMIT 1
  87. 2025-01-07 11:12:59.228712 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  88. 2025-01-07 11:12:59.228712 98.63% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  89. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  90. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 465
  91. 2025-01-07 11:12:59.228712 98.63% [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 P.is_terminated = 0 AND (patterns = '^27876304007.*' OR patterns = '^2787630400.*' OR patterns = '^278763040.*' OR patterns = '^27876304.*' OR patterns = '^2787630.*' OR patterns = '^278763.*' OR patterns = '^27876.*' OR patterns = '^2787.*' OR patterns = '^278.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 465 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  92. 2025-01-07 11:12:59.228712 98.63% [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 ="27876304007" AND A.accountid = '159' limit 1                                                                                                                                                                
  93. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27876304007
  94. 2025-01-07 11:12:59.228712 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  95. 2025-01-07 11:12:59.228712 98.63% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  96. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  97. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  98. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  99. 2025-01-07 11:12:59.228712 98.63% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  100. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  101. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  102. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '27876304007' OR number = '2787630400' OR number = '278763040' OR number = '27876304' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876304007*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876304007' OR number = '2787630400' OR number = '278763040' OR number = '27876304' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876304007*' OR number = '2787630400*' OR number = '278763040*' OR number = '27876304*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  103. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  104. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27876304007' OR routing_prefix = '2787630400' OR routing_prefix = '278763040' OR routing_prefix = '27876304' OR routing_prefix = '2787630' OR routing_prefix = '278763' OR routing_prefix = '27876' OR routing_prefix = '2787' OR routing_prefix = '278' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  105. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  106. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  107. 2025-01-07 11:12:59.228712 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  108. 2025-01-07 11:12:59.228712 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  109. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9705
  110. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  111. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215
  112. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  113. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  114. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  115. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  116. 2025-01-07 11:12:59.248722 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  117. 2025-01-07 11:12:59.248722 98.63% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  118. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  119. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  120. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  121. 2025-01-07 11:12:59.248722 98.63% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  122. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 465  and status = 0 limit 1
  124. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :43.....27876304007
  125. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID_RESELLER] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.connectcost,A.includedseconds,A.cost,C.reseller_cost as reseller_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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination,D.id as product_id, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B, reseller_products AS C, products AS D WHERE B.status=0 AND B.deleted=0 AND A.product_id=C.product_id AND A.parent_id=C.account_id AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1                                                                                  
  126. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  127. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  128. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 309
  129. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  130. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  131. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  132. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  133. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  134. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  135. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  136. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  137. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.9705 balance Accountid 159 !!!
  138. 2025-01-07 11:12:59.248722 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  139. 2025-01-07 11:12:59.248722 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 425
  140. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "425" OR number = "425") AND deleted = 0 limit 1
  141. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  142. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  143. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 425
  144. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4375278430
  145. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  146. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 7.9705
  147. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  148. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 193
  149. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 193 AND status = 0
  150. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  151. 2025-01-07 11:12:59.248722 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  152. 2025-01-07 11:12:59.248722 98.63% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  153. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  154. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  155. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  156. 2025-01-07 11:12:59.248722 98.63% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  157. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  158. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  159. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  160. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 309
  161. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  162. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  163. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  164. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : George Western Cape
  165. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 171
  166. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 425
  167. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  168. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  169. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your7.9705 balance Accountid 425 !!!
  170. 2025-01-07 11:12:59.248722 98.63% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  171. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] check_routing_type for resellers origination rates  
  172. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425                                                                                                                                                                                        
  173. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  174. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 0
  175. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  176. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  177. 2025-01-07 11:12:59.248722 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  178. 2025-01-07 11:12:59.248722 98.63% [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 = 159 AND status=0 LIMIT 1                                                                                                                                                                                      
  179. 2025-01-07 11:12:59.248722 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (id = "465" OR number = "465") AND deleted = 0 limit 1
  180. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] account call balance :SELECT * FROM accounts WHERE id =465
  181. 2025-01-07 11:12:59.268721 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:159
  182. 2025-01-07 11:12:59.268721 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:159
  183. 2025-01-07 11:12:59.268721 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 159
  184. 2025-01-07 11:12:59.268721 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  185. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv6JB1' and status = 0 limit 1                                                                                                                                                                                                                  
  186. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  187. 2025-01-07 11:12:59.268721 98.63% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  188. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_0
  189. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT daily_call_credit_limit,daily_call_used_limit,monthly_call_credit_limit,monthly_call_used_limit FROM accounts WHERE (number = 465 or id = 465 ) and status = 0 limit 1                                                                                                                                                        
  190. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  191. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [sip_codec_for_outbound] Query :SELECT sip_devices.codec as sip_codec  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="27876304007" limit 1                                                                                                
  192. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  193. <document type="freeswitch/xml">                                                                                                                                                                                  
  194. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  195. <context name="default">                                                                                                                                                                                          
  196. <extension name="27876304007">                                                                                                                                                                                    
  197. <condition field="destination_number" expression="27876304007">                                                                                                                                                    
  198. <action application="set" data="effective_destination_number=27876304007"/>                                                                                                                                        
  199. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  200. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  201. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  202. <action application="set" data="type=3"/>                                                                                                                                                                          
  203. <action application="set" data="callstart=2025-01-07 09:12:59"/>                                                                                                                                                  
  204. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  205. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  206. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  207. <action application="set" data="parent_id=425"/>                                                                                                                                                                  
  208. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  209. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  210. <action application="set" data="call_direction=inbound"/>                                                                                                                                                          
  211. <action application="set" data="accountname=default"/>                                                                                                                                                            
  212. <action application="set" data="origination_rates_did=ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425"/>          
  213. <action application="set" data="origination_rates=0"/>                                                                                                                                                            
  214. <action application="set" data="original_caller_id_name=27876304007"/>                                                                                                                                            
  215. <action application="set" data="original_caller_id_number=27876304007"/>                                                                                                                                          
  216. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                                                            
  217. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  218. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  219. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  220. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}DID-LOCAL_465.wav"/>                                                                                              
  221. <action application="set" data="effective_caller_id_name=27876304007"/>                                                                                                                                            
  222. <action application="set" data="effective_caller_id_number=27876304007"/>                                                                                                                                          
  223. <action application="set" data="receiver_accid=465"/>                                                                                                                                                              
  224. <action application="export" data="domain_name="/>                                                                                                                                                                
  225. <action application="export" data="sip_to_host="/>                                                                                                                                                                
  226. <action application="export" data="presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91"/>                                              
  227. <action application="export" data="call_type=0"/>                                                                                                                                                                  
  228. <action application="set" data="calltype=DID-LOCAL"/>                                                                                                                                                              
  229. <action application="set" data="daily_call_credit_limit=5.00000"/>                                                                                                                                                
  230. <action application="set" data="monthly_call_credit_limit=8.00000"/>                                                                                                                                              
  231. <action application="set" data="daily_call_used_limit=0.01970"/>                                                                                                                                                  
  232. <action application="set" data="monthly_call_used_limit=0.01970"/>                                                                                                                                                
  233. <action application="bridge" data="{sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/${sofia_profile_name}/27876304007@dewaldv6.astppbilling.org;fs_path=sip:102.220.232.10:5060"/>                              
  234. <condition field="${cond(${user_data 27876304007@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                        
  235. <action application="answer"/>                                                                                                                                                                                    
  236. <action application="export" data="voicemail_alternate_greet_id=27876304007"/>                                                                                                                                    
  237. <action application="voicemail" data="default $${domain_name} 27876304007"/>                                                                                                                                      
  238. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  239. </condition>                                                                                                                                                                                                      
  240. <action application="set" data="did_id=309"/>                                                                                                                                                                      
  241. <action application="set" data="destination_number=27876304007"/>                                                                                                                                                  
  242. <action application="set" data="leg_timeout=10"/>                                                                                                                                                                  
  243. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                                                            
  244. <action application="set" data="did_as_cid_flag=0"/>                                                                                                                                                              
  245. <action application="set" data="is_local_extension=1"/>                                                                                                                                                            
  246. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                                                        
  247. </condition>                                                                                                                                                                                                      
  248. </extension>                                                                                                                                                                                                      
  249. </context>                                                                                                                                                                                                        
  250. </section>                                                                                                                                                                                                        
  251. </document>                                                                                                                                                                                                        
  252. Dialplan: sofia/default/27876300012@196.31.25.86 parsing [default->27876304007] continue=false
  253. Dialplan: sofia/default/27876300012@196.31.25.86 Regex (PASS) [27876304007] destination_number(27876304007) =~ /27876304007/ break=on-false
  254. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_destination_number=27876304007)
  255. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  256. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(notify_flag=0)
  257. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(notify_credit_limit=1.00000)
  258. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(type=3)
  259. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(callstart=2025-01-07 09:12:59)
  260. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(hangup_after_bridge=true)
  261. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(continue_on_fail=TRUE)
  262. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(account_id=159)
  263. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(parent_id=425)
  264. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(entity_id=3)
  265. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_processed=internal)
  266. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_direction=inbound)
  267. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(accountname=default)
  268. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(origination_rates_did=ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425)                                                                                                                                                                                                    
  269. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(origination_rates=0)
  270. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_name=27876304007)
  271. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_number=27876304007)
  272. Dialplan: sofia/default/27876300012@196.31.25.86 Action limit(db 3786491283 user_3786491283 10 )
  273. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(is_recording=1)
  274. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(media_bug_answer_req=true)
  275. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(record_sample_rate=8000)
  276. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}DID-LOCAL_465.wav)
  277. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_caller_id_name=27876304007)
  278. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_caller_id_number=27876304007)
  279. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(receiver_accid=465)
  280. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(domain_name=)
  281. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(sip_to_host=)
  282. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  283. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(call_type=0)
  284. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(calltype=DID-LOCAL)
  285. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(daily_call_credit_limit=5.00000)
  286. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(monthly_call_credit_limit=8.00000)
  287. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(daily_call_used_limit=0.01970)
  288. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(monthly_call_used_limit=0.01970)
  289. Dialplan: sofia/default/27876300012@196.31.25.86 Action bridge({sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/${sofia_profile_name}/27876304007@dewaldv6.astppbilling.org;fs_path=sip:102.220.232.10:5060)
  290. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_id=309)
  291. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(destination_number=27876304007)
  292. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(leg_timeout=10)
  293. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_type_vm_flag=1)
  294. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_as_cid_flag=0)
  295. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(is_local_extension=1)
  296. Dialplan: sofia/default/27876300012@196.31.25.86 Action lua(did_call_forwarding.lua)
  297. |--- Dialplan: Processing recursive conditions level:1 [27876304007_recur_1] require-nested=TRUE
  298. |--- Dialplan: sofia/default/27876300012@196.31.25.86 Regex (FAIL) [27876304007_recur_1] ${cond(${user_data 27876304007@${domain_name} param vm-enabled} == true ? YES : NO)}(NO) =~ /^YES$/ break=on-false
  299. |--- Dialplan: sofia/default/27876300012@196.31.25.86 ANTI-Action hangup(${originate_disposition})
  300. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  301. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING going to sleep
  302. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 138)
  303. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE
  304. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.86 SOFIA EXECUTE
  305. 2025-01-07 11:12:59.268721 98.63% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.86 Standard EXECUTE
  306. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_destination_number=27876304007)
  307. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_destination_number]=[27876304007]
  308. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  309. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  310. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(notify_flag=0)
  311. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [notify_flag]=[0]
  312. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(notify_credit_limit=1.00000)
  313. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [notify_credit_limit]=[1.00000]
  314. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(type=3)
  315. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [type]=[3]
  316. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(callstart=2025-01-07 09:12:59)
  317. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [callstart]=[2025-01-07 09:12:59]
  318. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(hangup_after_bridge=true)
  319. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [hangup_after_bridge]=[true]
  320. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(continue_on_fail=TRUE)
  321. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [continue_on_fail]=[TRUE]
  322. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(account_id=159)
  323. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [account_id]=[159]
  324. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(parent_id=425)
  325. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [parent_id]=[425]
  326. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(entity_id=3)
  327. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [entity_id]=[3]
  328. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_processed=internal)
  329. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_processed]=[internal]
  330. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_direction=inbound)
  331. 2025-01-07 11:12:59.268721 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_direction]=[inbound]
  332. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(accountname=default)
  333. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [accountname]=[default]
  334. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(origination_rates_did=ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425)                                                                                                                                                                                                  
  335. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [origination_rates_did]=[ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:465||ID:309|CODE:^27876304007.*|DESTINATION:George Western Cape|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:0|COST:0.00000|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:0|CI:171|ACCID:425]                                                                                                                                                    
  336. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(origination_rates=0)
  337. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [origination_rates]=[0]
  338. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_name=27876304007)
  339. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_name]=[27876304007]
  340. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_number=27876304007)
  341. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_number]=[27876304007]
  342. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 limit(db 3786491283 user_3786491283 10 )
  343. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  344. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  345. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(is_recording=1)
  346. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  347. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(media_bug_answer_req=true)
  348. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  349. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(record_sample_rate=8000)
  350. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  351. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4cDID-LOCAL_465.wav)
  352. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4cDID-LOCAL_465.wav]
  353. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_caller_id_name=27876304007)
  354. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_caller_id_name]=[27876304007]
  355. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_caller_id_number=27876304007)
  356. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_caller_id_number]=[27876304007]
  357. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(receiver_accid=465)
  358. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [receiver_accid]=[465]
  359. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(domain_name=)
  360. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  361. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(sip_to_host=)
  362. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  363. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(presence_data=x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91)
  364. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91]                                                                                                                                                                                                              
  365. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(call_type=0)
  366. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[0]
  367. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(calltype=DID-LOCAL)
  368. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [calltype]=[DID-LOCAL]
  369. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(daily_call_credit_limit=5.00000)
  370. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [daily_call_credit_limit]=[5.00000]
  371. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(monthly_call_credit_limit=8.00000)
  372. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [monthly_call_credit_limit]=[8.00000]
  373. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(daily_call_used_limit=0.01970)
  374. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [daily_call_used_limit]=[0.01970]
  375. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(monthly_call_used_limit=0.01970)
  376. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [monthly_call_used_limit]=[0.01970]
  377. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 bridge({sip_invite_params=user=LOCAL}[leg_timeout=10]sofia/default/27876304007@dewaldv6.astppbilling.org;fs_path=sip:102.220.232.10:5060)
  378. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [is_recording]=[1] to event
  379. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  380. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  381. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4cDID-LOCAL_465.wav] to event                                                                                                                                                                  
  382. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [presence_data]=[x//425|||Dimension Data(3786491283)|||^27876304007.* // George Western Cape // 0.00000|||||||||DID|||196.31.25.91] to event                                                                                                                                                            
  383. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [call_type]=[0] to event
  384. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  385. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  386. 2025-01-07 11:12:59.288712 98.63% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27876304007@dewaldv6.astppbilling.org [05e66a12-7a20-4f28-b036-8bc80eda3dc2]
  387. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_sofia.c:5121 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_NEW -> CS_INIT
  388. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_ivr_originate.c:3151 sofia/default/27876304007@dewaldv6.astppbilling.org Setting leg timeout to 10
  389. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_INIT (Cur 2 Tot 139)
  390. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876304007@dewaldv6.astppbilling.org) State INIT
  391. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_sofia.c:97 sofia/default/27876304007@dewaldv6.astppbilling.org SOFIA INIT
  392. 2025-01-07 11:12:59.288712 98.63% [DEBUG] sofia_glue.c:1620 sip:102.220.232.10:5060 Setting proxy route to sofia/default/27876304007@dewaldv6.astppbilling.org
  393. 2025-01-07 11:12:59.288712 98.63% [INFO] sofia_glue.c:1651 sofia/default/27876304007@dewaldv6.astppbilling.org sending invite call-id: (null)
  394. 2025-01-07 11:12:59.288712 98.63% [DEBUG] sofia_glue.c:1654 sofia/default/27876304007@dewaldv6.astppbilling.org sending invite version: 1.10.7 -release 64bit
  395. Local SDP:                                                                                                                                                                                                        
  396. v=0                                                                                                                                                                                                                
  397. o=FreeSWITCH 1736215547 1736215548 IN IP4 102.220.232.10                                                                                                                                                          
  398. s=FreeSWITCH                                                                                                                                                                                                      
  399. c=IN IP4 102.220.232.10                                                                                                                                                                                            
  400. t=0 0                                                                                                                                                                                                              
  401. m=audio 25632 RTP/AVP 18 101                                                                                                                                                                                      
  402. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  403. a=fmtp:18 annexb=no                                                                                                                                                                                                
  404. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  405. a=fmtp:101 0-15                                                                                                                                                                                                    
  406. a=ptime:20                                                                                                                                                                                                        
  407. a=sendrecv                                                                                                                                                                                                        
  408.  
  409. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:40 sofia/default/27876304007@dewaldv6.astppbilling.org Standard INIT
  410. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_INIT -> CS_ROUTING
  411. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27876304007@dewaldv6.astppbilling.org) State INIT going to sleep
  412. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_ROUTING (Cur 2 Tot 139)
  413. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876304007@dewaldv6.astppbilling.org) State ROUTING
  414. 2025-01-07 11:12:59.288712 98.63% [DEBUG] mod_sofia.c:158 sofia/default/27876304007@dewaldv6.astppbilling.org SOFIA ROUTING
  415. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  416. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876304007@dewaldv6.astppbilling.org) State ROUTING going to sleep
  417. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 139)
  418. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876304007@dewaldv6.astppbilling.org) State CONSUME_MEDIA
  419. 2025-01-07 11:12:59.288712 98.63% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27876304007@dewaldv6.astppbilling.org) State CONSUME_MEDIA going to sleep
  420. 2025-01-07 11:12:59.288712 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@dewaldv6.astppbilling.org entering state [calling][0]
  421. 2025-01-07 11:12:59.488747 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/27876304007@dewaldv6.astppbilling.org entering state [proceeding][180]
  422. 2025-01-07 11:12:59.488747 98.63% [NOTICE] sofia.c:7610 Ring-Ready sofia/default/27876304007@dewaldv6.astppbilling.org!
  423. 2025-01-07 11:12:59.488747 98.63% [DEBUG] switch_channel.c:3494 (sofia/default/27876304007@dewaldv6.astppbilling.org) Callstate Change DOWN -> RINGING
  424. 2025-01-07 11:12:59.488747 98.63% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/27876300012@196.31.25.86!
  425. 2025-01-07 11:12:59.488747 98.63% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.86 entering state [early][180]
  426. 2025-01-07 11:12:59.488747 98.63% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/default/27876300012@196.31.25.86!
  427. 2025-01-07 11:13:10.008714 98.70% [NOTICE] switch_ivr_originate.c:364 Hangup sofia/default/27876304007@dewaldv6.astppbilling.org [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
  428. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_HANGUP (Cur 2 Tot 139)
  429. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876304007@dewaldv6.astppbilling.org) Callstate Change RINGING -> HANGUP
  430. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876304007@dewaldv6.astppbilling.org) State HANGUP
  431. 2025-01-07 11:13:10.008714 98.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876304007@dewaldv6.astppbilling.org hanging up, cause: ALLOTTED_TIMEOUT
  432. 2025-01-07 11:13:10.008714 98.70% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/default/27876304007@dewaldv6.astppbilling.org
  433. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876304007@dewaldv6.astppbilling.org Standard HANGUP, cause: ALLOTTED_TIMEOUT
  434. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876304007@dewaldv6.astppbilling.org) State HANGUP going to sleep
  435. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_HANGUP -> CS_REPORTING
  436. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_REPORTING (Cur 2 Tot 139)
  437. 2025-01-07 11:13:10.008714 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876304007@dewaldv6.astppbilling.org) State REPORTING
  438. 2025-01-07 11:13:10.008714 98.70% [INFO] mod_json_cdr.c:271 Process [05e66a12-7a20-4f28-b036-8bc80eda3dc2.cdr.json]
  439. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876304007@dewaldv6.astppbilling.org Standard REPORTING, cause: ALLOTTED_TIMEOUT
  440. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876304007@dewaldv6.astppbilling.org) State REPORTING going to sleep
  441. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876304007@dewaldv6.astppbilling.org) State Change CS_REPORTING -> CS_DESTROY
  442. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_session.c:1753 Session 139 (sofia/default/27876304007@dewaldv6.astppbilling.org) Locked, Waiting on external entities
  443. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
  444. 2025-01-07 11:13:10.028724 98.70% [NOTICE] switch_core_session.c:1771 Session 139 (sofia/default/27876304007@dewaldv6.astppbilling.org) Ended
  445. 2025-01-07 11:13:10.028724 98.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876304007@dewaldv6.astppbilling.org [CS_DESTROY]
  446. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876304007@dewaldv6.astppbilling.org) Running State Change CS_DESTROY (Cur 1 Tot 139)
  447. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876304007@dewaldv6.astppbilling.org) State DESTROY
  448. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_sofia.c:379 sofia/default/27876304007@dewaldv6.astppbilling.org SOFIA DESTROY
  449. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876304007@dewaldv6.astppbilling.org Standard DESTROY
  450. 2025-01-07 11:13:10.028724 98.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876304007@dewaldv6.astppbilling.org) State DESTROY going to sleep
  451. 2025-01-07 11:13:10.028724 98.70% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  452. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_id=309)
  453. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_id]=[309]
  454. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(destination_number=27876304007)
  455. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [destination_number]=[27876304007]
  456. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(leg_timeout=10)
  457. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [leg_timeout]=[10]
  458. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_type_vm_flag=1)
  459. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_type_vm_flag]=[1]
  460. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(did_as_cid_flag=0)
  461. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [did_as_cid_flag]=[0]
  462. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(is_local_extension=1)
  463. 2025-01-07 11:13:10.028724 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [is_local_extension]=[1]
  464. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 lua(did_call_forwarding.lua)
  465. 2025-01-07 11:13:10.048709 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  466. 2025-01-07 11:13:10.048709 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  467. 2025-01-07 11:13:10.048709 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  468. 2025-01-07 11:13:10.048709 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 0 This Is DiD Id :
  469. 2025-01-07 11:13:10.048709 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Dispositions ALLOTTED_TIMEOUT This Is DiD Id : 309
  470. 2025-01-07 11:13:10.048709 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  SQL : select number,extensions,always,always_destination,always_vm_flag,no_answer,no_answer_destination,no_answer_vm_flag from dids where id='309' and status='0'                                                                                                                                                                                              
  471. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 sleep(500)
  472. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  This Is Calltype : 4And Destination : 27740451462
  473. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('DID_NUMBER', '(null)')
  474. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('call_forwarding', 'true')
  475. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('last_did_rates', '(null)')
  476. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('calltype', 'STANDARD')
  477. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('did_as_cid_flag', '0')
  478. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 transfer(27740451462 XML default)
  479. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_ivr.c:2289 (sofia/default/27876300012@196.31.25.86) State Change CS_EXECUTE -> CS_ROUTING
  480. 2025-01-07 11:13:10.548711 98.70% [NOTICE] switch_ivr.c:2296 Transfer sofia/default/27876300012@196.31.25.86 to XML[27740451462@default]
  481. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1209 sofia/default/27876300012@196.31.25.86 destroy/unlink session from object
  482. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE going to sleep
  483. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_ROUTING (Cur 1 Tot 139)
  484. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING
  485. 2025-01-07 11:13:10.548711 98.70% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  486. 2025-01-07 11:13:10.548711 98.70% [DEBUG] mod_sofia.c:158 sofia/default/27876300012@196.31.25.86 SOFIA ROUTING
  487. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_core_state_machine.c:230 sofia/default/27876300012@196.31.25.86 Standard ROUTING
  488. 2025-01-07 11:13:10.548711 98.70% [INFO] mod_dialplan_xml.c:639 Processing 27876300012 <27876300012>->27740451462 in context default
  489. 2025-01-07 11:13:10.548711 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CACHE FAIL
  490. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
  491. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','international_prefixes','interconnect_code')                                                                                                                                                                                                
  492. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  493. 2025-01-07 11:13:10.548711 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 27740451462
  494. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '27740451462' AND status=0 limit 1
  495. 2025-01-07 11:13:10.548711 98.70% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  496. 2025-01-07 11:13:10.548711 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : "27876300012" / 27876300012
  497. 2025-01-07 11:13:10.548711 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  498. 2025-01-07 11:13:10.548711 98.70% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  499. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  500. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  501. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  502. 2025-01-07 11:13:10.548711 98.70% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27740451462" LIMIT 1        
  503. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  504. 2025-01-07 11:13:10.548711 98.70% [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,sip_devices.codec as sip_codec 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="27740451462" limit 1                                                                                                                                                                  
  505. 2025-01-07 11:13:10.548711 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  506. 2025-01-07 11:13:10.548711 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [OPENSIP_FROM_IP] from_ip : 196.31.25.91
  507. 2025-01-07 11:13:10.548711 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3786491283]
  508. 2025-01-07 11:13:10.548711 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE (number = "3786491283" OR id = "3786491283") AND deleted = 0 limit 1
  509. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^27740451462.*' OR blocked_patterns = '^2774045146.*' OR blocked_patterns = '^277404514.*' OR blocked_patterns = '^27740451.*' OR blocked_patterns = '^2774045.*' OR blocked_patterns = '^277404.*' OR blocked_patterns = '^27740.*' OR blocked_patterns = '^2774.*' OR blocked_patterns = '^277.*' OR blocked_patterns = '^27.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 159 limit 1                                                                        
  510. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 43
  511. 2025-01-07 11:13:10.568719 98.70% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  512. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  513. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  514. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  515. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="27740451462" AND (accountid = 0 OR status = 1) LIMIT 1
  516. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 55
  517. 2025-01-07 11:13:10.568719 98.70% [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 = 55 AND status=0 limit 1                                                                                                                                                                                          
  518. 2025-01-07 11:13:10.568719 98.70% [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 P.is_terminated = 0 AND (patterns = '^27740451462.*' OR patterns = '^2774045146.*' OR patterns = '^277404514.*' OR patterns = '^27740451.*' OR patterns = '^2774045.*' OR patterns = '^277404.*' OR patterns = '^27740.*' OR patterns = '^2774.*' OR patterns = '^277.*' OR patterns = '^27.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 159 ORDER BY LENGTH(PKGPTR.patterns) DESC                                                                                                                                                                                                            
  519. 2025-01-07 11:13:10.568719 98.70% [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 ="27740451462" AND A.accountid = '159' limit 1                                                                                                                                                                
  520. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 27740451462
  521. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  522. 2025-01-07 11:13:10.568719 98.70% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  523. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  524. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  525. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27740451462
  526. 2025-01-07 11:13:10.568719 98.70% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27740451462" LIMIT 1        
  527. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  528. 2025-01-07 11:13:10.568719 98.70% [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,sip_devices.codec as sip_codec 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="27740451462" limit 1                                                                                                                                                                  
  529. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  530. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type,accountid FROM call_barring WHERE ((number = '27740451462' OR number = '2774045146' OR number = '277404514' OR number = '27740451' OR number = '2774045' OR number = '277404' OR number = '27740' OR number = '2774' OR number = '277' OR number = '27' OR number = '2' OR number ='--') OR (number = '27740451462*' OR number = '2774045146*' OR number = '277404514*' OR number = '27740451*' OR number = '2774045*' OR number = '277404*' OR number = '27740*' OR number = '2774*' OR number = '277*' OR number = '27*' OR number = '2*' OR number ='--') OR (number = '27876300012' OR number = '2787630001' OR number = '278763000' OR number = '27876300' OR number = '2787630' OR number = '278763' OR number = '27876' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27876300012*' OR number = '2787630001*' OR number = '278763000*' OR number = '27876300*' OR number = '2787630*' OR number = '278763*' OR number = '27876*' OR number = '2787*' OR number = '278*' OR number = '27*' OR number = '2*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC                                                                                                                                                                                  
  531. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  532. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '27740451462' OR routing_prefix = '2774045146' OR routing_prefix = '277404514' OR routing_prefix = '27740451' OR routing_prefix = '2774045' OR routing_prefix = '277404' OR routing_prefix = '27740' OR routing_prefix = '2774' OR routing_prefix = '277' OR routing_prefix = '27' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1                                                                            
  533. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] Get Destination Number (27740451462)!!!!
  534. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [PORTED_NUMBER] After Append Ported Number : (27740451462)!!!!
  535. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  536. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 159
  537. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3786491283
  538. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 20000.02659
  539. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  540. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 215
  541. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 8
  542. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  543. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  544. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  545. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  546. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^27740451462.*' OR pattern = '^2774045146.*' OR pattern = '^277404514.*' OR pattern = '^27740451.*' OR pattern = '^2774045.*' OR pattern = '^277404.*' OR pattern = '^27740.*' OR pattern = '^2774.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND (caller_id_pattern = '^27876300012.*' OR caller_id_pattern = '^2787630001.*' OR caller_id_pattern = '^278763000.*' OR caller_id_pattern = '^27876300.*' OR caller_id_pattern = '^2787630.*' OR caller_id_pattern = '^278763.*' OR caller_id_pattern = '^27876.*' OR caller_id_pattern = '^2787.*' OR caller_id_pattern = '^278.*' OR caller_id_pattern = '^27.*' OR caller_id_pattern = '^2.*' OR caller_id_pattern ='^.*') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 215 OR accountid=159)  ORDER BY accountid DESC,LENGTH(pattern) DESC,LENGTH(caller_id_pattern) DESC,cost DESC,effective_date DESC LIMIT 1                      
  547. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  548. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  549. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 21458479
  550. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  551. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  552. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.1600000000
  553. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : RSA Cellc Mobile
  554. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 0
  555. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 159
  556. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 97
  557. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  558. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  559. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your20000.02659 balance Accountid 159 !!!
  560. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 60 mins!
  561. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 60 minutes
  562. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 21458479
  563. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id :97
  564. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.sip_cid_type,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 = '^27740451462.*' OR pattern = '^2774045146.*' OR pattern = '^277404514.*' OR pattern = '^27740451.*' OR pattern = '^2774045.*' OR pattern = '^277404.*' OR pattern = '^27740.*' OR pattern = '^2774.*' OR pattern = '^277.*' OR pattern = '^27.*' OR pattern = '^2.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (97)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,97),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC                                                                            
  565. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  566. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  567. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4671333
  568. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^2774.*
  569. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : RSA Cellc Mobile
  570. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.0000000000
  571. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  572. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^2774.*
  573. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  574. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  575. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 97
  576. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : Goldtel
  577. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  578. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : Goldtel
  579. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 159
  580. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  581. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  582. 2025-01-07 11:13:10.568719 98.70% [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 = 159 AND status=0 LIMIT 1                                                                                                                                                                                      
  583. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 60
  584. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_sip_device_info_for_did_pstn_call] Query :SELECT username FROM sip_devices WHERE username = 'gw+GoldtelASTPPv6JB1' and status = 0 limit 1                                                                                                                                                                                                                  
  585. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  586. 2025-01-07 11:13:10.568719 98.70% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  587. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 215 AND status = 0
  588. 2025-01-07 11:13:10.568719 98.70% [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 = 159) AND status=0 limit 1                                                                                                                                                                
  589. 2025-01-07 11:13:10.568719 98.70% [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 = 97) AND status=0 limit 1                                                                                                                                                                    
  590. 2025-01-07 11:13:10.568719 98.70% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 43
  591. 2025-01-07 11:13:10.568719 98.70% [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 = 43 AND status=0 limit 1                                                                                                                                                                                          
  592. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  593. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  594. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"0/27/*/*,270/00/*/*,10/27010/*/*".....27876304007
  595. 2025-01-07 11:13:10.568719 98.70% [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, A.codec as did_codec,A.provider_id as provider_id,A.always as always,A.always_destination as always_destination, A.did_as_cid as did_as_cid FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="27876304007" LIMIT 1        
  596. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  597. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DIDQUERY] Query :SELECT * FROM dids WHERE id ="309" and status = 0 limit 1
  598. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  599. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  600. <document type="freeswitch/xml">                                                                                                                                                                                  
  601. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  602. <context name="default">                                                                                                                                                                                          
  603. <extension name="27740451462">                                                                                                                                                                                    
  604. <condition field="destination_number" expression="27740451462">                                                                                                                                                    
  605. <action application="set" data="effective_destination_number=27740451462"/>                                                                                                                                        
  606. <action application="set" data="execute_on_answer_1=sched_hangup +3600 normal_clearing"/>                                                                                                                          
  607. <action application="set" data="notify_flag=0"/>                                                                                                                                                                  
  608. <action application="set" data="notify_credit_limit=1.00000"/>                                                                                                                                                    
  609. <action application="set" data="type=3"/>                                                                                                                                                                          
  610. <action application="set" data="callstart=2025-01-07 09:13:10"/>                                                                                                                                                  
  611. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  612. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  613. <action application="set" data="account_id=159"/>                                                                                                                                                                  
  614. <action application="set" data="parent_id=0"/>                                                                                                                                                                    
  615. <action application="set" data="entity_id=3"/>                                                                                                                                                                    
  616. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  617. <action application="set" data="call_direction=outbound"/>                                                                                                                                                        
  618. <action application="set" data="accountname=default"/>                                                                                                                                                            
  619. <action application="set" data="origination_rates=ID:21458479|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1600000000|INC:1|INITIALBLOCK:1|RATEGROUP:215|MARKUP:0|CI:0|ACCID:159"/>                                                                                                                                                                                            
  620. <action application="set" data="original_caller_id_name="27876300012""/>                                                                                                                                          
  621. <action application="set" data="original_caller_id_number=27876300012"/>                                                                                                                                          
  622. <action application="limit" data="db 3786491283 user_3786491283 10 "/>                                                                                                                                            
  623.  
  624. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  625. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  626. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  627. <action application="export" data="execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                            
  628. <action application="set" data="effective_caller_id_name="27876300012""/>                                                                                                                                          
  629. <action application="set" data="effective_caller_id_number=27876300012"/>                                                                                                                                          
  630. <action application="set" data="calltype=STANDARD"/>                                                                                                                                                              
  631. <action application="set" data="termination_rates=ID:4671333|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159"/>                                                                                                                                                                                                                  
  632. <action application="set" data="trunk_id=97"/>                                                                                                                                                                    
  633. <action application="set" data="provider_id=159"/>                                                                                                                                                                
  634. <action application="set" data="rate_flag=0"/>                                                                                                                                                                    
  635. <action application="set" data="daily_call_credit_limit=0.00000"/>                                                                                                                                                
  636. <action application="set" data="monthly_call_credit_limit=0.00000"/>                                                                                                                                              
  637. <action application="set" data="daily_call_used_limit=0.00000"/>                                                                                                                                                  
  638. <action application="set" data="monthly_call_used_limit=0.00000"/>                                                                                                                                                
  639. <action application="set" data="quality_trunk_seq=97"/>                                                                                                                                                            
  640. <action application="set" data="force_trunk_flag=21458479"/>                                                                                                                                                      
  641. <action application="export" data="presence_data=trunk_id=97"/>                                                                                                                                                    
  642. <action application="set" data="intcall=0"/>                                                                                                                                                                      
  643. <action application="export" data="presence_id=27740451462"/>                                                                                                                                                      
  644. <action application="export" data="presence_data=x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91"/>                                                                                                                                                                                                        
  645. <action application="limit" data="db Goldtel gw_Goldtel 20 "/>                                                                                                                                                    
  646. <action application="bridge" data="{sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27740451462;fs_path=sip:102.220.232.10:5060"/>                                  
  647. <action application="set" data="did_id=309"/>                                                                                                                                                                      
  648. <action application="set" data="destination_number=27740451462"/>                                                                                                                                                  
  649. <action application="set" data="leg_timeout=10"/>                                                                                                                                                                  
  650. <action application="set" data="call_type_vm_flag=1"/>                                                                                                                                                            
  651. <action application="set" data="did_as_cid_flag=0"/>                                                                                                                                                              
  652. <action application="set" data="is_local_extension=0"/>                                                                                                                                                            
  653. <action application="lua" data="did_call_forwarding.lua"/>                                                                                                                                                        
  654. </condition>                                                                                                                                                                                                      
  655. </extension>                                                                                                                                                                                                      
  656. </context>                                                                                                                                                                                                        
  657. </section>                                                                                                                                                                                                        
  658. </document>                                                                                                                                                                                                        
  659. Dialplan: sofia/default/27876300012@196.31.25.86 parsing [default->27740451462] continue=false
  660. Dialplan: sofia/default/27876300012@196.31.25.86 Regex (PASS) [27740451462] destination_number(27740451462) =~ /27740451462/ break=on-false
  661. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_destination_number=27740451462)
  662. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  663. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(notify_flag=0)
  664. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(notify_credit_limit=1.00000)
  665. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(type=3)
  666. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(callstart=2025-01-07 09:13:10)
  667. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(hangup_after_bridge=true)
  668. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(continue_on_fail=TRUE)
  669. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(account_id=159)
  670. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(parent_id=0)
  671. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(entity_id=3)
  672. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_processed=internal)
  673. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_direction=outbound)
  674. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(accountname=default)
  675. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(origination_rates=ID:21458479|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1600000000|INC:1|INITIALBLOCK:1|RATEGROUP:215|MARKUP:0|CI:0|ACCID:159)                                                                                                                                                                  
  676. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_name=)
  677. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(original_caller_id_number=27876300012)
  678. Dialplan: sofia/default/27876300012@196.31.25.86 Action limit(db 3786491283 user_3786491283 10 )
  679. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(is_recording=1)
  680. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(media_bug_answer_req=true)
  681. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(record_sample_rate=8000)
  682. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(execute_on_answer_2=record_session $${recordings_dir}/${uuid}.wav)
  683. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_caller_id_name=)
  684. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(effective_caller_id_number=27876300012)
  685. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(calltype=STANDARD)
  686. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(termination_rates=ID:4671333|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                        
  687. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(trunk_id=97)
  688. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(provider_id=159)
  689. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(rate_flag=0)
  690. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(daily_call_credit_limit=0.00000)
  691. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(monthly_call_credit_limit=0.00000)
  692. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(daily_call_used_limit=0.00000)
  693. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(monthly_call_used_limit=0.00000)
  694. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(quality_trunk_seq=97)
  695. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(force_trunk_flag=21458479)
  696. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(presence_data=trunk_id=97)
  697. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(intcall=0)
  698. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(presence_id=27740451462)
  699. Dialplan: sofia/default/27876300012@196.31.25.86 Action export(presence_data=x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91)                                                                                                                                                                              
  700. Dialplan: sofia/default/27876300012@196.31.25.86 Action limit(db Goldtel gw_Goldtel 20 )
  701. Dialplan: sofia/default/27876300012@196.31.25.86 Action bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27740451462;fs_path=sip:102.220.232.10:5060)
  702. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_id=309)
  703. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(destination_number=27740451462)
  704. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(leg_timeout=10)
  705. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(call_type_vm_flag=1)
  706. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(did_as_cid_flag=0)
  707. Dialplan: sofia/default/27876300012@196.31.25.86 Action set(is_local_extension=0)
  708. Dialplan: sofia/default/27876300012@196.31.25.86 Action lua(did_call_forwarding.lua)
  709. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_core_state_machine.c:281 (sofia/default/27876300012@196.31.25.86) State Change CS_ROUTING -> CS_EXECUTE
  710. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27876300012@196.31.25.86) State ROUTING going to sleep
  711. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_EXECUTE (Cur 1 Tot 139)
  712. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE
  713. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_sofia.c:213 sofia/default/27876300012@196.31.25.86 SOFIA EXECUTE
  714. 2025-01-07 11:13:10.568719 98.70% [DEBUG] switch_core_state_machine.c:323 sofia/default/27876300012@196.31.25.86 Standard EXECUTE
  715. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_destination_number=27740451462)
  716. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_destination_number]=[27740451462]
  717. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(execute_on_answer_1=sched_hangup +3600 normal_clearing)
  718. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [execute_on_answer_1]=[sched_hangup +3600 normal_clearing]
  719. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(notify_flag=0)
  720. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [notify_flag]=[0]
  721. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(notify_credit_limit=1.00000)
  722. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [notify_credit_limit]=[1.00000]
  723. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(type=3)
  724. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [type]=[3]
  725. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(callstart=2025-01-07 09:13:10)
  726. 2025-01-07 11:13:10.568719 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [callstart]=[2025-01-07 09:13:10]
  727. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(hangup_after_bridge=true)
  728. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [hangup_after_bridge]=[true]
  729. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(continue_on_fail=TRUE)
  730. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [continue_on_fail]=[TRUE]
  731. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(account_id=159)
  732. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [account_id]=[159]
  733. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(parent_id=0)
  734. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [parent_id]=[0]
  735. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(entity_id=3)
  736. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [entity_id]=[3]
  737. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_processed=internal)
  738. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_processed]=[internal]
  739. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(call_direction=outbound)
  740. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [call_direction]=[outbound]
  741. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(accountname=default)
  742. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [accountname]=[default]
  743. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(origination_rates=ID:21458479|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1600000000|INC:1|INITIALBLOCK:1|RATEGROUP:215|MARKUP:0|CI:0|ACCID:159)                                                                                                                                                                  
  744. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [origination_rates]=[ID:21458479|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|CT:|COST:0.1600000000|INC:1|INITIALBLOCK:1|RATEGROUP:215|MARKUP:0|CI:0|ACCID:159]                                                                                                                    
  745. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_name=)
  746. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_name]=[UNDEF]
  747. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(original_caller_id_number=27876300012)
  748. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [original_caller_id_number]=[27876300012]
  749. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 limit(db 3786491283 user_3786491283 10 )
  750. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_limit.c:124 incr called: 3786491283_user_3786491283 max:10, interval:0
  751. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_db.c:194 Usage for 3786491283_user_3786491283 is now 1/10
  752. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(is_recording=1)
  753. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  754. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(media_bug_answer_req=true)
  755. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  756. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(record_sample_rate=8000)
  757. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  758. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(execute_on_answer_2=record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav)
  759. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav]
  760. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_caller_id_name=)
  761. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_caller_id_name]=[UNDEF]
  762. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(effective_caller_id_number=27876300012)
  763. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [effective_caller_id_number]=[27876300012]
  764. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(calltype=STANDARD)
  765. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [calltype]=[STANDARD]
  766. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(termination_rates=ID:4671333|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159)                                                                                                                                                                                      
  767. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [termination_rates]=[ID:4671333|CODE:^2774.*|DESTINATION:RSA Cellc Mobile|CONNECTIONCOST:0.0000000000|INCLUDEDSECONDS:0|COST:0.1600000000|INC:1|INITIALBLOCK:1|TRUNK:97|PROVIDER:159]                                                                                                                                        
  768. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(trunk_id=97)
  769. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [trunk_id]=[97]
  770. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(provider_id=159)
  771. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [provider_id]=[159]
  772. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(rate_flag=0)
  773. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [rate_flag]=[0]
  774. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(daily_call_credit_limit=0.00000)
  775. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [daily_call_credit_limit]=[0.00000]
  776. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(monthly_call_credit_limit=0.00000)
  777. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [monthly_call_credit_limit]=[0.00000]
  778. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(daily_call_used_limit=0.00000)
  779. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [daily_call_used_limit]=[0.00000]
  780. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(monthly_call_used_limit=0.00000)
  781. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [monthly_call_used_limit]=[0.00000]
  782. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(quality_trunk_seq=97)
  783. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [quality_trunk_seq]=[97]
  784. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(force_trunk_flag=21458479)
  785. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [force_trunk_flag]=[21458479]
  786. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(presence_data=trunk_id=97)
  787. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[trunk_id=97]
  788. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 set(intcall=0)
  789. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_dptools.c:1685 SET sofia/default/27876300012@196.31.25.86 [intcall]=[0]
  790. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(presence_id=27740451462)
  791. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_id]=[27740451462]
  792. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 export(presence_data=x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91)                                                                                                                                                                            
  793. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91]                                                                                                                                                    
  794. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 limit(db Goldtel gw_Goldtel 20 )
  795. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_limit.c:124 incr called: Goldtel_gw_Goldtel max:20, interval:0
  796. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_db.c:194 Usage for Goldtel_gw_Goldtel is now 1/20
  797. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 bridge({sip_cid_type=none}[leg_timeout=0,absolute_codec_string=^^:PCMA:PCMU:G729]sofia/gateway/Goldtel/27740451462;fs_path=sip:102.220.232.10:5060)
  798. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [is_recording]=[1] to event
  799. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  800. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  801. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav] to event                                                                                                                                                                              
  802. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [presence_data]=[x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91] to event                                                                                                  
  803. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [call_type]=[0] to event
  804. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [is_recording]=[1] to event
  805. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  806. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  807. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [execute_on_answer_2]=[record_session /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav] to event                                                                                                                                                                              
  808. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [presence_data]=[x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91] to event                                                                                                  
  809. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [presence_id]=[27740451462] to event
  810. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_channel.c:1269 sofia/default/27876300012@196.31.25.86 EXPORTING[export_vars] [presence_data]=[x|||Dimension Data(3786491283)|||^2774.* // RSA Cellc Mobile // 0.1600000000 |||Goldtel // ^2774.* // RSA Cellc Mobile // 0.1600000000 // trunk_id=97|||STD|||196.31.25.91] to event                                                                                                  
  811. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  812. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  813. 2025-01-07 11:13:10.588710 98.70% [NOTICE] switch_channel.c:1123 New Channel sofia/default/27740451462 [34352f65-af7d-4a4a-a3cf-36c89d59b8df]
  814. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_sofia.c:5121 (sofia/default/27740451462) State Change CS_NEW -> CS_INIT
  815. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_INIT (Cur 2 Tot 140)
  816. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27740451462) State INIT
  817. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_sofia.c:97 sofia/default/27740451462 SOFIA INIT
  818. 2025-01-07 11:13:10.588710 98.70% [DEBUG] sofia_glue.c:1620 sip:102.220.232.10 Setting proxy route to sofia/default/27740451462
  819. 2025-01-07 11:13:10.588710 98.70% [INFO] sofia_glue.c:1651 sofia/default/27740451462 sending invite call-id: (null)
  820. 2025-01-07 11:13:10.588710 98.70% [DEBUG] sofia_glue.c:1654 sofia/default/27740451462 sending invite version: 1.10.7 -release 64bit
  821. Local SDP:                                                                                                                                                                                                        
  822. v=0                                                                                                                                                                                                                
  823. o=FreeSWITCH 1736213880 1736213881 IN IP4 102.220.232.10                                                                                                                                                          
  824. s=FreeSWITCH                                                                                                                                                                                                      
  825. c=IN IP4 102.220.232.10                                                                                                                                                                                            
  826. t=0 0                                                                                                                                                                                                              
  827. m=audio 27310 RTP/AVP 8 0 18 101                                                                                                                                                                                  
  828. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  829. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  830. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  831. a=fmtp:18 annexb=no                                                                                                                                                                                                
  832. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  833. a=fmtp:101 0-15                                                                                                                                                                                                    
  834. a=ptime:20                                                                                                                                                                                                        
  835. a=sendrecv                                                                                                                                                                                                        
  836.  
  837. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:40 sofia/default/27740451462 Standard INIT
  838. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:48 (sofia/default/27740451462) State Change CS_INIT -> CS_ROUTING
  839. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:624 (sofia/default/27740451462) State INIT going to sleep
  840. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_ROUTING (Cur 2 Tot 140)
  841. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27740451462) State ROUTING
  842. 2025-01-07 11:13:10.588710 98.70% [DEBUG] mod_sofia.c:158 sofia/default/27740451462 SOFIA ROUTING
  843. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_ivr_originate.c:67 (sofia/default/27740451462) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  844. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:640 (sofia/default/27740451462) State ROUTING going to sleep
  845. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 140)
  846. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27740451462) State CONSUME_MEDIA
  847. 2025-01-07 11:13:10.588710 98.70% [DEBUG] switch_core_state_machine.c:659 (sofia/default/27740451462) State CONSUME_MEDIA going to sleep
  848. 2025-01-07 11:13:10.588710 98.70% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [calling][0]
  849. 2025-01-07 11:13:13.828712 98.43% [INFO] sofia.c:1348 sofia/default/27740451462 Update Callee ID to "Outbound Call" <27740451462>
  850. 2025-01-07 11:13:13.828712 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [proceeding][183]
  851. 2025-01-07 11:13:13.828712 98.43% [DEBUG] sofia.c:7509 Remote SDP:
  852. v=0                                                                                                                                                                                                                
  853. o=FreeSWITCH 1736214262 1736214263 IN IP4 196.31.25.88                                                                                                                                                            
  854. s=FreeSWITCH                                                                                                                                                                                                      
  855. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  856. t=0 0                                                                                                                                                                                                              
  857. m=audio 26930 RTP/AVP 8 101                                                                                                                                                                                        
  858. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  859. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  860. a=fmtp:101 0-16                                                                                                                                                                                                    
  861. a=ptime:20                                                                                                                                                                                                        
  862.  
  863. 2025-01-07 11:13:13.828712 98.43% [NOTICE] sofia.c:7512 Pre-Answer sofia/default/27740451462!
  864. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_channel.c:3622 (sofia/default/27740451462) Callstate Change DOWN -> EARLY
  865. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  866. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  867. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  868. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  869. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  870. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/27740451462 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  871. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_codec.c:111 sofia/default/27740451462 Original read codec set to PCMA:8
  872. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  873. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:5973 sofia/default/27740451462 Set 2833 dtmf send payload to 101 recv payload to 101
  874. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27740451462] 102.220.232.10 port 27310 -> 196.31.25.88 port 26930 codec: 8 ms: 20
  875. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  876. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:9089 sofia/default/27740451462 Set 2833 dtmf send payload to 101
  877. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:9096 sofia/default/27740451462 Set 2833 dtmf receive payload to 101
  878. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:9119 sofia/default/27740451462 Set rtp dtmf delay to 40
  879. 2025-01-07 11:13:13.828712 98.43% [INFO] switch_ivr_originate.c:3841 Sending early media
  880. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/27876300012@196.31.25.86] 102.220.232.10 port 26396 -> 196.31.25.86 port 30868 codec: 18 ms: 20
  881. 2025-01-07 11:13:13.828712 98.43% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
  882. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_core_media.c:9089 sofia/default/27876300012@196.31.25.86 Set 2833 dtmf send payload to 101
  883. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_core_media.c:9096 sofia/default/27876300012@196.31.25.86 Set 2833 dtmf receive payload to 101
  884. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_core_media.c:9119 sofia/default/27876300012@196.31.25.86 Set rtp dtmf delay to 40
  885. 2025-01-07 11:13:13.848703 98.43% [DEBUG] mod_sofia.c:2610 Ring SDP:
  886. v=0                                                                                                                                                                                                                
  887. o=FreeSWITCH 1736214797 1736214798 IN IP4 102.220.232.10                                                                                                                                                          
  888. s=FreeSWITCH                                                                                                                                                                                                      
  889. c=IN IP4 102.220.232.10                                                                                                                                                                                            
  890. t=0 0                                                                                                                                                                                                              
  891. m=audio 26396 RTP/AVP 18 101                                                                                                                                                                                      
  892. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  893. a=fmtp:18 annexb=no                                                                                                                                                                                                
  894. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  895. a=fmtp:101 0-15                                                                                                                                                                                                    
  896. a=ptime:20                                                                                                                                                                                                        
  897. a=sendrecv                                                                                                                                                                                                        
  898.  
  899. 2025-01-07 11:13:13.848703 98.43% [NOTICE] mod_sofia.c:2613 Pre-Answer sofia/default/27876300012@196.31.25.86!
  900. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_channel.c:3622 (sofia/default/27876300012@196.31.25.86) Callstate Change RINGING -> EARLY
  901. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_ivr_originate.c:3892 Originate Resulted in Success: [sofia/default/27740451462] Peer UUID: 34352f65-af7d-4a4a-a3cf-36c89d59b8df
  902. 2025-01-07 11:13:13.848703 98.43% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.86 entering state [early][183]
  903. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/27740451462) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  904. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 140)
  905. 2025-01-07 11:13:13.848703 98.43% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27740451462) State EXCHANGE_MEDIA
  906. 2025-01-07 11:13:13.848703 98.43% [DEBUG] mod_sofia.c:671 SOFIA EXCHANGE_MEDIA
  907. 2025-01-07 11:13:13.888707 98.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  908. 2025-01-07 11:13:13.928710 98.43% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  909. 2025-01-07 11:13:17.688726 98.13% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [completing][200]
  910. 2025-01-07 11:13:17.688726 98.13% [DEBUG] sofia.c:7506 Duplicate SDP
  911. v=0                                                                                                                                                                                                                
  912. o=FreeSWITCH 1736214262 1736214263 IN IP4 196.31.25.88                                                                                                                                                            
  913. s=FreeSWITCH                                                                                                                                                                                                      
  914. c=IN IP4 196.31.25.88                                                                                                                                                                                              
  915. t=0 0                                                                                                                                                                                                              
  916. m=audio 26930 RTP/AVP 8 101                                                                                                                                                                                        
  917. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  918. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  919. a=fmtp:101 0-16                                                                                                                                                                                                    
  920. a=ptime:20                                                                                                                                                                                                        
  921.  
  922. 2025-01-07 11:13:17.708717 98.13% [DEBUG] sofia.c:7499 Channel sofia/default/27740451462 entering state [ready][200]
  923. 2025-01-07 11:13:17.708717 98.13% [NOTICE] sofia.c:8624 Channel [sofia/default/27740451462] has been answered
  924. EXECUTE [depth=0] sofia/default/27740451462 record_session(/usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav)
  925. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_core_media.c:8759 Audio params are unchanged for sofia/default/27876300012@196.31.25.86.
  926. 2025-01-07 11:13:17.728723 98.13% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/27876300012@196.31.25.86:
  927. v=0                                                                                                                                                                                                                
  928. o=FreeSWITCH 1736214797 1736214799 IN IP4 102.220.232.10                                                                                                                                                          
  929. s=FreeSWITCH                                                                                                                                                                                                      
  930. c=IN IP4 102.220.232.10                                                                                                                                                                                            
  931. t=0 0                                                                                                                                                                                                              
  932. m=audio 26396 RTP/AVP 18 101                                                                                                                                                                                      
  933. a=rtpmap:18 G729/8000                                                                                                                                                                                              
  934. a=fmtp:18 annexb=no                                                                                                                                                                                                
  935. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  936. a=fmtp:101 0-15                                                                                                                                                                                                    
  937. a=ptime:20                                                                                                                                                                                                        
  938. a=sendrecv                                                                                                                                                                                                        
  939.  
  940. 2025-01-07 11:13:17.728723 98.13% [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/27876300012@196.31.25.86] has been answered
  941. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 sched_hangup(+3600 normal_clearing)
  942. 2025-01-07 11:13:17.728723 98.13% [DEBUG] sofia.c:7499 Channel sofia/default/27876300012@196.31.25.86 entering state [completed][200]
  943. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_scheduler.c:263 Added task 25 switch_ivr_schedule_hangup (3875dabe-c3b4-40cc-8613-cfbcf20f4e4c) to run at 1736244797
  944. EXECUTE [depth=0] sofia/default/27876300012@196.31.25.86 record_session(/usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav)
  945. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  946. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27740451462
  947. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_channel.c:3950 (sofia/default/27740451462) Callstate Change EARLY -> ACTIVE
  948. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_ivr_async.c:1503 Record session sample rate: 8000 -> 8000
  949. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_core_media_bug.c:978 Attaching BUG to sofia/default/27876300012@196.31.25.86
  950. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_channel.c:3950 (sofia/default/27876300012@196.31.25.86) Callstate Change EARLY -> ACTIVE
  951. 2025-01-07 11:13:17.728723 98.13% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  952. 2025-01-07 11:13:17.748722 98.13% [DEBUG] switch_ivr_async.c:1777 No silence detection configured; assuming start of speech
  953. 2025-01-07 11:13:17.768727 98.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  954. 2025-01-07 11:13:17.768727 98.13% [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  955. 2025-01-07 11:13:17.768727 98.13% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
  956. 2025-01-07 11:13:17.788729 98.13% [DEBUG] switch_core_io.c:448 Setting BUG Codec G729:18
  957. 2025-01-07 11:13:20.848721 97.70% [NOTICE] sofia.c:1065 Hangup sofia/default/27740451462 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  958. 2025-01-07 11:13:20.848721 97.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27740451462]
  959. 2025-01-07 11:13:20.848721 97.70% [DEBUG] switch_core_state_machine.c:650 (sofia/default/27740451462) State EXCHANGE_MEDIA going to sleep
  960. 2025-01-07 11:13:20.848721 97.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_HANGUP (Cur 2 Tot 140)
  961. 2025-01-07 11:13:20.848721 97.70% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav
  962. 2025-01-07 11:13:20.848721 97.70% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  963. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_ivr_bridge.c:820 sofia/default/27740451462 ending bridge by request from write function
  964. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27740451462
  965. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27740451462) Callstate Change ACTIVE -> HANGUP
  966. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/27876300012@196.31.25.86]
  967. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27740451462) State HANGUP
  968. 2025-01-07 11:13:20.868710 97.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/27740451462 hanging up, cause: NORMAL_CLEARING
  969. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/27740451462 skip receive message [UNBRIDGE] (channel is hungup already)
  970. 2025-01-07 11:13:20.868710 97.70% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/27876300012@196.31.25.86 [CS_EXECUTE] [NORMAL_CLEARING]
  971. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/27740451462 Standard HANGUP, cause: NORMAL_CLEARING
  972. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27740451462) State HANGUP going to sleep
  973. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27740451462) State Change CS_HANGUP -> CS_REPORTING
  974. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_session.c:2983 sofia/default/27876300012@196.31.25.86 skip receive message [PHONE_EVENT] (channel is hungup already)
  975. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:647 (sofia/default/27876300012@196.31.25.86) State EXECUTE going to sleep
  976. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_HANGUP (Cur 2 Tot 140)
  977. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27740451462) Running State Change CS_REPORTING (Cur 2 Tot 140)
  978. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_ivr_async.c:1596 Stop recording file /usr/local/freeswitch/recordings/3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.wav
  979. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27740451462) State REPORTING
  980. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  981. 2025-01-07 11:13:20.868710 97.70% [INFO] mod_json_cdr.c:271 Process [34352f65-af7d-4a4a-a3cf-36c89d59b8df.cdr.json]
  982. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/27876300012@196.31.25.86
  983. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:844 (sofia/default/27876300012@196.31.25.86) Callstate Change ACTIVE -> HANGUP
  984. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.86) State HANGUP
  985. 2025-01-07 11:13:20.868710 97.70% [DEBUG] mod_sofia.c:462 sofia/default/27876300012@196.31.25.86 Overriding SIP cause 480 with 200 from the other leg
  986. 2025-01-07 11:13:20.868710 97.70% [DEBUG] mod_sofia.c:468 Channel sofia/default/27876300012@196.31.25.86 hanging up, cause: NORMAL_CLEARING
  987. 2025-01-07 11:13:20.868710 97.70% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/27876300012@196.31.25.86
  988. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:59 sofia/default/27876300012@196.31.25.86 Standard HANGUP, cause: NORMAL_CLEARING
  989. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:846 (sofia/default/27876300012@196.31.25.86) State HANGUP going to sleep
  990. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:616 (sofia/default/27876300012@196.31.25.86) State Change CS_HANGUP -> CS_REPORTING
  991. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:581 (sofia/default/27876300012@196.31.25.86) Running State Change CS_REPORTING (Cur 2 Tot 140)
  992. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.86) State REPORTING
  993. 2025-01-07 11:13:20.868710 97.70% [INFO] mod_json_cdr.c:271 Process [3875dabe-c3b4-40cc-8613-cfbcf20f4e4c.cdr.json]
  994. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/27740451462 Standard REPORTING, cause: NORMAL_CLEARING
  995. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27740451462) State REPORTING going to sleep
  996. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27740451462) State Change CS_REPORTING -> CS_DESTROY
  997. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_session.c:1753 Session 140 (sofia/default/27740451462) Locked, Waiting on external entities
  998. 2025-01-07 11:13:20.868710 97.70% [NOTICE] switch_core_session.c:1771 Session 140 (sofia/default/27740451462) Ended
  999. 2025-01-07 11:13:20.868710 97.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27740451462 [CS_DESTROY]
  1000. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27740451462) Running State Change CS_DESTROY (Cur 1 Tot 140)
  1001. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27740451462) State DESTROY
  1002. 2025-01-07 11:13:20.868710 97.70% [DEBUG] mod_sofia.c:379 sofia/default/27740451462 SOFIA DESTROY
  1003. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/27740451462 Standard DESTROY
  1004. 2025-01-07 11:13:20.868710 97.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27740451462) State DESTROY going to sleep
  1005. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:168 sofia/default/27876300012@196.31.25.86 Standard REPORTING, cause: NORMAL_CLEARING
  1006. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:932 (sofia/default/27876300012@196.31.25.86) State REPORTING going to sleep
  1007. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:607 (sofia/default/27876300012@196.31.25.86) State Change CS_REPORTING -> CS_DESTROY
  1008. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_session.c:1753 Session 138 (sofia/default/27876300012@196.31.25.86) Locked, Waiting on external entities
  1009. 2025-01-07 11:13:20.888717 97.70% [NOTICE] switch_core_session.c:1771 Session 138 (sofia/default/27876300012@196.31.25.86) Ended
  1010. 2025-01-07 11:13:20.888717 97.70% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/27876300012@196.31.25.86 [CS_DESTROY]
  1011. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:735 (sofia/default/27876300012@196.31.25.86) Running State Change CS_DESTROY (Cur 0 Tot 140)
  1012. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.86) State DESTROY
  1013. 2025-01-07 11:13:20.888717 97.70% [DEBUG] mod_sofia.c:379 sofia/default/27876300012@196.31.25.86 SOFIA DESTROY
  1014. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:175 sofia/default/27876300012@196.31.25.86 Standard DESTROY
  1015. 2025-01-07 11:13:20.888717 97.70% [DEBUG] switch_core_state_machine.c:745 (sofia/default/27876300012@196.31.25.86) State DESTROY going to sleep
  1016. 2025-01-07 11:13:21.228739 97.70% [DEBUG] switch_scheduler.c:147 Deleting task 25 switch_ivr_schedule_hangup (3875dabe-c3b4-40cc-8613-cfbcf20f4e4c)
  1017.