From Cobalt Agouti, 10 Months ago, written in FreeSWITCH.
- view diff
Embed
  1. span style="color: cornflowerblue; font-weight: bold;"> 2024-02-08 12:54:04.613707 98.30% [NOTICE] sofia.c:1065 Hangup sofia/default/3168900@psbcs.bulltechgroup.co.za [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3168900@psbcs.bulltechgroup.co.za]
  3. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:650 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State EXCHANGE_MEDIA going to sleep
  4. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3168900@psbcs.bulltechgroup.co.za) Running State Change CS_HANGUP (Cur 2 Tot 670)
  5. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/349359bc-063f-42ab-b3a2-a5d7be8ab439.wav
  6. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  7. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/3168900@psbcs.bulltechgroup.co.za
  8. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3168900@psbcs.bulltechgroup.co.za) Callstate Change ACTIVE -> HANGUP
  9. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State HANGUP
  10. 2024-02-08 12:54:04.633691 98.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/3168900@psbcs.bulltechgroup.co.za hanging up, cause: NORMAL_CLEARING
  11. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/3168900@psbcs.bulltechgroup.co.za Standard HANGUP, cause: NORMAL_CLEARING
  12. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State HANGUP going to sleep
  13. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State Change CS_HANGUP -> CS_REPORTING
  14. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3168900@psbcs.bulltechgroup.co.za) Running State Change CS_REPORTING (Cur 2 Tot 670)
  15. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State REPORTING
  16. 2024-02-08 12:54:04.633691 98.30% [INFO] mod_json_cdr.c:271 Process [225dc4e3-a060-4468-9162-b8e2417ccaa4.cdr.json]
  17. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_bridge.c:820 sofia/default/3168900@psbcs.bulltechgroup.co.za ending bridge by request from write function
  18. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/3951853@10.100.4.132]
  19. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_bridge.c:1892 sofia/default/3168900@psbcs.bulltechgroup.co.za skip receive message [UNBRIDGE] (channel is hungup already)
  20. 2024-02-08 12:54:04.633691 98.30% [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/3951853@10.100.4.132 [CS_EXECUTE] [NORMAL_CLEARING]
  21. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_session.c:2983 sofia/default/3951853@10.100.4.132 skip receive message [PHONE_EVENT] (channel is hungup already)
  22. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3951853@10.100.4.132) State EXECUTE going to sleep
  23. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3951853@10.100.4.132) Running State Change CS_HANGUP (Cur 2 Tot 670)
  24. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_async.c:1596 Stop recording file /var/lib/freeswitch/recordings/349359bc-063f-42ab-b3a2-a5d7be8ab439.wav
  25. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_ivr_async.c:1677 Channel is hung up
  26. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_media_bug.c:1328 Removing BUG from sofia/default/3951853@10.100.4.132
  27. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3951853@10.100.4.132) Callstate Change ACTIVE -> HANGUP
  28. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3951853@10.100.4.132) State HANGUP
  29. 2024-02-08 12:54:04.633691 98.30% [DEBUG] mod_sofia.c:462 sofia/default/3951853@10.100.4.132 Overriding SIP cause 480 with 200 from the other leg
  30. 2024-02-08 12:54:04.633691 98.30% [DEBUG] mod_sofia.c:468 Channel sofia/default/3951853@10.100.4.132 hanging up, cause: NORMAL_CLEARING
  31. 2024-02-08 12:54:04.633691 98.30% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/3951853@10.100.4.132
  32. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/3951853@10.100.4.132 Standard HANGUP, cause: NORMAL_CLEARING
  33. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3951853@10.100.4.132) State HANGUP going to sleep
  34. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3951853@10.100.4.132) State Change CS_HANGUP -> CS_REPORTING
  35. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3951853@10.100.4.132) Running State Change CS_REPORTING (Cur 2 Tot 670)
  36. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3951853@10.100.4.132) State REPORTING
  37. 2024-02-08 12:54:04.633691 98.30% [INFO] mod_json_cdr.c:271 Process [349359bc-063f-42ab-b3a2-a5d7be8ab439.cdr.json]
  38. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/3168900@psbcs.bulltechgroup.co.za Standard REPORTING, cause: NORMAL_CLEARING
  39. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State REPORTING going to sleep
  40. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State Change CS_REPORTING -> CS_DESTROY
  41. 2024-02-08 12:54:04.633691 98.30% [DEBUG] switch_core_session.c:1753 Session 667 (sofia/default/3168900@psbcs.bulltechgroup.co.za) Locked, Waiting on external entities
  42. 2024-02-08 12:54:04.633691 98.30% [NOTICE] switch_core_session.c:1771 Session 667 (sofia/default/3168900@psbcs.bulltechgroup.co.za) Ended
  43. 2024-02-08 12:54:04.633691 98.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3168900@psbcs.bulltechgroup.co.za [CS_DESTROY]
  44. 2024-02-08 12:54:04.653697 98.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3168900@psbcs.bulltechgroup.co.za) Running State Change CS_DESTROY (Cur 1 Tot 670)
  45. 2024-02-08 12:54:04.653697 98.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State DESTROY
  46. 2024-02-08 12:54:04.653697 98.30% [DEBUG] mod_sofia.c:379 sofia/default/3168900@psbcs.bulltechgroup.co.za SOFIA DESTROY
  47. 2024-02-08 12:54:04.653697 98.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/3168900@psbcs.bulltechgroup.co.za Standard DESTROY
  48. 2024-02-08 12:54:04.653697 98.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3168900@psbcs.bulltechgroup.co.za) State DESTROY going to sleep
  49. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/3951853@10.100.4.132 Standard REPORTING, cause: NORMAL_CLEARING
  50. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3951853@10.100.4.132) State REPORTING going to sleep
  51. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3951853@10.100.4.132) State Change CS_REPORTING -> CS_DESTROY
  52. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_session.c:1753 Session 666 (sofia/default/3951853@10.100.4.132) Locked, Waiting on external entities
  53. 2024-02-08 12:54:04.673791 98.30% [NOTICE] switch_core_session.c:1771 Session 666 (sofia/default/3951853@10.100.4.132) Ended
  54. 2024-02-08 12:54:04.673791 98.30% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3951853@10.100.4.132 [CS_DESTROY]
  55. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/3951853@10.100.4.132) Running State Change CS_DESTROY (Cur 0 Tot 670)
  56. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3951853@10.100.4.132) State DESTROY
  57. 2024-02-08 12:54:04.673791 98.30% [DEBUG] mod_sofia.c:379 sofia/default/3951853@10.100.4.132 SOFIA DESTROY
  58. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/3951853@10.100.4.132 Standard DESTROY
  59. 2024-02-08 12:54:04.673791 98.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/3951853@10.100.4.132) State DESTROY going to sleep
  60. 2024-02-08 12:54:05.093705 98.30% [DEBUG] switch_scheduler.c:147 Deleting task 161 switch_ivr_schedule_hangup (225dc4e3-a060-4468-9162-b8e2417ccaa4)
  61. 2024-02-08 12:54:05.213656 98.30% [NOTICE] switch_channel.c:1123 New Channel sofia/default/100@TT.netway.africa [ece8ed83-b215-466d-8eb3-d3cca74c88f9]
  62. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@TT.netway.africa) Running State Change CS_NEW (Cur 1 Tot 671)
  63. 2024-02-08 12:54:05.213656 98.30% [INFO] sofia.c:10462 sofia/default/100@TT.netway.africa receiving invite from 102.222.8.132:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: NzQ4YjFlNGUwZTFjMjFmNGI3NDM0ZWEzNzg2OGE0NzM.                                                                                                                                                                                                
  64. 2024-02-08 12:54:05.213656 98.30% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 102.222.8.132:0.
  65. 2024-02-08 12:54:05.213656 98.30% [DEBUG] sofia.c:10585 IP 102.222.8.132 Approved by acl "default[]". Access Granted.
  66. 2024-02-08 12:54:05.213656 98.30% [DEBUG] sofia.c:7499 Channel sofia/default/100@TT.netway.africa entering state [received][100]
  67. 2024-02-08 12:54:05.213656 98.30% [DEBUG] sofia.c:7509 Remote SDP:
  68. v=0                                                                                                                                                                                                                
  69. o=Z 0 0 IN IP4 103.240.35.46                                                                                                                                                                                      
  70. s=Z                                                                                                                                                                                                                
  71. c=IN IP4 103.240.35.46                                                                                                                                                                                            
  72. t=0 0                                                                                                                                                                                                              
  73. m=audio 8000 RTP/AVP 3 110 8 0 98 101                                                                                                                                                                              
  74. a=rtpmap:110 speex/8000                                                                                                                                                                                            
  75. a=rtpmap:98 iLBC/8000                                                                                                                                                                                              
  76. a=fmtp:98 mode=20                                                                                                                                                                                                  
  77. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  78. a=fmtp:101 0-15                                                                                                                                                                                                    
  79.  
  80. 2024-02-08 12:54:05.213656 98.30% [DEBUG] sofia.c:7912 (sofia/default/100@TT.netway.africa) State Change CS_NEW -> CS_INIT
  81. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:600 (sofia/default/100@TT.netway.africa) State NEW
  82. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@TT.netway.africa) Running State Change CS_INIT (Cur 1 Tot 671)
  83. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100@TT.netway.africa) State INIT
  84. 2024-02-08 12:54:05.213656 98.30% [DEBUG] mod_sofia.c:97 sofia/default/100@TT.netway.africa SOFIA INIT
  85. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:40 sofia/default/100@TT.netway.africa Standard INIT
  86. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:48 (sofia/default/100@TT.netway.africa) State Change CS_INIT -> CS_ROUTING
  87. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:624 (sofia/default/100@TT.netway.africa) State INIT going to sleep
  88. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@TT.netway.africa) Running State Change CS_ROUTING (Cur 1 Tot 671)
  89. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_channel.c:2380 (sofia/default/100@TT.netway.africa) Callstate Change DOWN -> RINGING
  90. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100@TT.netway.africa) State ROUTING
  91. 2024-02-08 12:54:05.213656 98.30% [DEBUG] mod_sofia.c:158 sofia/default/100@TT.netway.africa SOFIA ROUTING
  92. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_core_state_machine.c:230 sofia/default/100@TT.netway.africa Standard ROUTING
  93. 2024-02-08 12:54:05.213656 98.30% [INFO] mod_dialplan_xml.c:639 Processing 100 <100>->102 in context default
  94. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  95. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  96. 2024-02-08 12:54:05.213656 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 102
  97. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '102' AND status=0 limit 1
  98. 2024-02-08 12:54:05.213656 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : <null> / 27874744110
  99. 2024-02-08 12:54:05.213656 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
  100. 2024-02-08 12:54:05.213656 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1                                                                                                                                                                                            
  101. 2024-02-08 12:54:05.233658 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="102" LIMIT 1                                                                                                                                                              
  102. 2024-02-08 12:54:05.233658 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="102" limit 1                                                                                                                                                                                                          
  103. 2024-02-08 12:54:05.233658 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
  104. 2024-02-08 12:54:05.233658 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 5427]
  105. 2024-02-08 12:54:05.233658 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "5427" AND deleted = 0 limit 1
  106. 2024-02-08 12:54:05.273661 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 2
  107. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1                                                                                                                                                                                            
  108. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="102" AND (accountid = 0 OR status = 1) LIMIT 1
  109. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE P.is_terminated = 0 AND (patterns = '^102.*' OR patterns = '^10.*' OR patterns = '^1.*' OR patterns ='--') AND accountid = 54 ORDER BY LENGTH(PKGPTR.patterns) DESC    
  110. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="102" AND A.accountid = '54' limit 1                                                                                                                                                                        
  111. 2024-02-08 12:54:05.273661 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 102
  112. 2024-02-08 12:54:05.273661 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 2
  113. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 2 AND status=0 limit 1                                                                                                                                                                                            
  114. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="102" LIMIT 1                                                                                                                                                              
  115. 2024-02-08 12:54:05.273661 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="102" limit 1                                                                                                                                                                                                          
  116. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : local
  117. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '102' OR number = '10' OR number = '1' OR number ='--') OR (number = '102*' OR number = '10*' OR number = '1*' OR number ='--') OR (number = '27874744110' OR number = '2787474411' OR number = '278747441' OR number = '27874744' OR number = '2787474' OR number = '278747' OR number = '27874' OR number = '2787' OR number = '278' OR number = '27' OR number = '2' OR number ='--') OR (number = '27874744110*' OR number = '2787474411*' OR number = '278747441*' OR number = '27874744*' OR number = '2787474*' OR number = '278747*' OR number = '27874*' 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                                                                                                                                      
  118. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  119. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '102' OR routing_prefix = '10' OR routing_prefix = '1' OR routing_prefix ='--') AND status = 0 and reseller_id = 52 limit 1                                                                                                            
  120. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  121. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 54
  122. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 5427
  123. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 1000
  124. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  125. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 22
  126. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  127. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  128. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 22 AND status = 0
  129. 2024-02-08 12:54:05.293691 98.30% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
  130. 2024-02-08 12:54:05.293691 98.30% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
  131. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your1000 balance Accountid 54 !!!
  132. 2024-02-08 12:54:05.293691 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  133. 2024-02-08 12:54:05.293691 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] FINDING LIMIT FOR RESELLER: 52
  134. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "52" AND deleted = 0 limit 1
  135. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Reseller Information ===================
  136. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 52
  137. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 13073
  138. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 993.11
  139. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  140. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 12
  141. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 12 AND status = 0
  142. 2024-02-08 12:54:05.293691 98.30% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
  143. 2024-02-08 12:54:05.293691 98.30% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
  144. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your993.11 balance Accountid 52 !!!
  145. 2024-02-08 12:54:05.293691 98.30% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  146. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Reseller xml_user_rates : ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:22|MARKUP:0|CI:0|ACCID:54||ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:12|MARKUP:0|CI:0|ACCID:52                                              
  147. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  148. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Lossless Routing Status : 1
  149. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  150. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="102" limit 1                                                                                                                                                                                                          
  151. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 54 AND status=0 LIMIT 1                                                                                                                                                                                        
  152. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  153. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  154. 2024-02-08 12:54:05.293691 98.30% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  155. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  156. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] Query :SELECT apns_token,callkit_token,mobile_type FROM dialer_device_info WHERE username='102'
  157. 2024-02-08 12:54:05.293691 98.30% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  158. <?xml version="1.0" encoding="UTF-8" standalone="no"?>                                                                                                                                                            
  159. <document type="freeswitch/xml">                                                                                                                                                                                  
  160. <section name="dialplan" description="ASTPP Dialplan">                                                                                                                                                            
  161. <context name="default">                                                                                                                                                                                          
  162. <extension name="102">                                                                                                                                                                                            
  163. <condition field="destination_number" expression="102">                                                                                                                                                            
  164. <action application="set" data="effective_destination_number=102"/>                                                                                                                                                
  165. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>                                                                                                                                        
  166. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>                                                                                                                              
  167. <action application="set" data="callstart=2024-02-08 12:54:04"/>                                                                                                                                                  
  168. <action application="set" data="hangup_after_bridge=true"/>                                                                                                                                                        
  169. <action application="set" data="continue_on_fail=TRUE"/>                                                                                                                                                          
  170. <action application="set" data="account_id=54"/>                                                                                                                                                                  
  171. <action application="set" data="parent_id=52"/>                                                                                                                                                                    
  172. <action application="set" data="entity_id=0"/>                                                                                                                                                                    
  173. <action application="set" data="call_processed=internal"/>                                                                                                                                                        
  174. <action application="set" data="call_direction=local"/>                                                                                                                                                            
  175. <action application="set" data="accountname=default"/>                                                                                                                                                            
  176. <action application="set" data="origination_rates=ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:22|MARKUP:0|CI:0|ACCID:54||ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:12|MARKUP:0|CI:0|ACCID:52"/>                                                                                        
  177. <action application="set" data="original_caller_id_number=27874744110"/>                                                                                                                                          
  178. <action application="limit" data="db 5427 user_5427 5 "/>                                                                                                                                                          
  179. <action application="limit" data="hash CPS_5427 CPS_user_5427 5/1 "/>                                                                                                                                              
  180. <action application="export" data="is_recording=1"/>                                                                                                                                                              
  181. <action application="export" data="media_bug_answer_req=true"/>                                                                                                                                                    
  182. <action application="export" data="record_sample_rate=8000"/>                                                                                                                                                      
  183. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>                                                                                                              
  184. <action application="set" data="effective_caller_id_number=27874744110"/>                                                                                                                                          
  185. <action application="set" data="calltype=LOCAL"/>                                                                                                                                                                  
  186. <action application="set" data="receiver_accid=54"/>                                                                                                                                                              
  187. <action application="export" data="presence_data=x//52|||Turner and Townsend(5427)|||^102.* // Local // 0||||||Local|||103.240.35.46"/>                                                                            
  188. <action application="export" data="presence_data=||||||||||||LOCAL|||103.240.35.46"/>                                                                                                                              
  189. <action application="ring_ready"/>                                                                                                                                                                                
  190. <action application="sleep" data="5000"/>                                                                                                                                                                          
  191. <action application="set" data="sip_h_X-call-type=did"/>                                                                                                                                                          
  192. <action application="set" data="sip_h_X-did-call-type=DID-LOCAL"/>                                                                                                                                                
  193. <action application="bridge" data="{sip_invite_params=user=LOCAL,sip_from_uri=102@${domain_name}}[leg_timeout=60]sofia/${sofia_profile_name}/102@10.100.4.132"/>                                                  
  194. <condition field="${cond(${user_data 102@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">                                                                                                
  195. <action application="answer"/>                                                                                                                                                                                    
  196. <action application="export" data="voicemail_alternate_greet_id=102"/>                                                                                                                                            
  197. <action application="voicemail" data="default $${domain_name} 102"/>                                                                                                                                              
  198. <anti-action application="hangup" data="${originate_disposition}"/>                                                                                                                                                
  199. </condition>                                                                                                                                                                                                      
  200. </condition>                                                                                                                                                                                                      
  201. </extension>                                                                                                                                                                                                      
  202. </context>                                                                                                                                                                                                        
  203. </section>                                                                                                                                                                                                        
  204. </document>                                                                                                                                                                                                        
  205. Dialplan: sofia/default/100@TT.netway.africa parsing [default->102] continue=false
  206. Dialplan: sofia/default/100@TT.netway.africa Regex (PASS) [102] destination_number(102) =~ /102/ break=on-false
  207. Dialplan: sofia/default/100@TT.netway.africa Action set(effective_destination_number=102)
  208. Dialplan: sofia/default/100@TT.netway.africa Action set(bridge_pre_execute_bleg_app=sched_hangup)
  209. Dialplan: sofia/default/100@TT.netway.africa Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  210. Dialplan: sofia/default/100@TT.netway.africa Action set(callstart=2024-02-08 12:54:04)
  211. Dialplan: sofia/default/100@TT.netway.africa Action set(hangup_after_bridge=true)
  212. Dialplan: sofia/default/100@TT.netway.africa Action set(continue_on_fail=TRUE)
  213. Dialplan: sofia/default/100@TT.netway.africa Action set(account_id=54)
  214. Dialplan: sofia/default/100@TT.netway.africa Action set(parent_id=52)
  215. Dialplan: sofia/default/100@TT.netway.africa Action set(entity_id=0)
  216. Dialplan: sofia/default/100@TT.netway.africa Action set(call_processed=internal)
  217. Dialplan: sofia/default/100@TT.netway.africa Action set(call_direction=local)
  218. Dialplan: sofia/default/100@TT.netway.africa Action set(accountname=default)
  219. Dialplan: sofia/default/100@TT.netway.africa Action set(origination_rates=ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:22|MARKUP:0|CI:0|ACCID:54||ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:12|MARKUP:0|CI:0|ACCID:52)                                                                  
  220. Dialplan: sofia/default/100@TT.netway.africa Action set(original_caller_id_number=27874744110)
  221. Dialplan: sofia/default/100@TT.netway.africa Action limit(db 5427 user_5427 5 )
  222. Dialplan: sofia/default/100@TT.netway.africa Action limit(hash CPS_5427 CPS_user_5427 5/1 )
  223. Dialplan: sofia/default/100@TT.netway.africa Action export(is_recording=1)
  224. Dialplan: sofia/default/100@TT.netway.africa Action export(media_bug_answer_req=true)
  225. Dialplan: sofia/default/100@TT.netway.africa Action export(record_sample_rate=8000)
  226. Dialplan: sofia/default/100@TT.netway.africa Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  227. Dialplan: sofia/default/100@TT.netway.africa Action set(effective_caller_id_number=27874744110)
  228. Dialplan: sofia/default/100@TT.netway.africa Action set(calltype=LOCAL)
  229. Dialplan: sofia/default/100@TT.netway.africa Action set(receiver_accid=54)
  230. Dialplan: sofia/default/100@TT.netway.africa Action export(presence_data=x//52|||Turner and Townsend(5427)|||^102.* // Local // 0||||||Local|||103.240.35.46)
  231. Dialplan: sofia/default/100@TT.netway.africa Action export(presence_data=||||||||||||LOCAL|||103.240.35.46)
  232. Dialplan: sofia/default/100@TT.netway.africa Action ring_ready()
  233. Dialplan: sofia/default/100@TT.netway.africa Action sleep(5000)
  234. Dialplan: sofia/default/100@TT.netway.africa Action set(sip_h_X-call-type=did)
  235. Dialplan: sofia/default/100@TT.netway.africa Action set(sip_h_X-did-call-type=DID-LOCAL)
  236. Dialplan: sofia/default/100@TT.netway.africa Action bridge({sip_invite_params=user=LOCAL,sip_from_uri=102@${domain_name}}[leg_timeout=60]sofia/${sofia_profile_name}/102@10.100.4.132)
  237. |--- Dialplan: Processing recursive conditions level:1 [102_recur_1] require-nested=TRUE
  238. |--- Dialplan: sofia/default/100@TT.netway.africa Regex (FAIL) [102_recur_1] ${cond(${user_data 102@${domain_name} param vm-enabled} == true ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false
  239. |--- Dialplan: sofia/default/100@TT.netway.africa ANTI-Action hangup(${originate_disposition})
  240. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_core_state_machine.c:281 (sofia/default/100@TT.netway.africa) State Change CS_ROUTING -> CS_EXECUTE
  241. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_core_state_machine.c:640 (sofia/default/100@TT.netway.africa) State ROUTING going to sleep
  242. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@TT.netway.africa) Running State Change CS_EXECUTE (Cur 1 Tot 671)
  243. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100@TT.netway.africa) State EXECUTE
  244. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_sofia.c:213 sofia/default/100@TT.netway.africa SOFIA EXECUTE
  245. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_core_state_machine.c:323 sofia/default/100@TT.netway.africa Standard EXECUTE
  246. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(effective_destination_number=102)
  247. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [effective_destination_number]=[102]
  248. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(bridge_pre_execute_bleg_app=sched_hangup)
  249. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [bridge_pre_execute_bleg_app]=[sched_hangup]
  250. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  251. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  252. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(callstart=2024-02-08 12:54:04)
  253. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [callstart]=[2024-02-08 12:54:04]
  254. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(hangup_after_bridge=true)
  255. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [hangup_after_bridge]=[true]
  256. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(continue_on_fail=TRUE)
  257. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [continue_on_fail]=[TRUE]
  258. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(account_id=54)
  259. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [account_id]=[54]
  260. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(parent_id=52)
  261. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [parent_id]=[52]
  262. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(entity_id=0)
  263. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [entity_id]=[0]
  264. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(call_processed=internal)
  265. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [call_processed]=[internal]
  266. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(call_direction=local)
  267. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [call_direction]=[local]
  268. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(accountname=default)
  269. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [accountname]=[default]
  270. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(origination_rates=ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:22|MARKUP:0|CI:0|ACCID:54||ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:12|MARKUP:0|CI:0|ACCID:52)                                                                  
  271. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [origination_rates]=[ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:22|MARKUP:0|CI:0|ACCID:54||ID:0|CODE:^102.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:12|MARKUP:0|CI:0|ACCID:52]                    
  272. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(original_caller_id_number=27874744110)
  273. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [original_caller_id_number]=[27874744110]
  274. EXECUTE [depth=0] sofia/default/100@TT.netway.africa limit(db 5427 user_5427 5 )
  275. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_limit.c:124 incr called: 5427_user_5427 max:5, interval:0
  276. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_db.c:194 Usage for 5427_user_5427 is now 1/5
  277. EXECUTE [depth=0] sofia/default/100@TT.netway.africa limit(hash CPS_5427 CPS_user_5427 5/1 )
  278. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_limit.c:124 incr called: CPS_5427_CPS_user_5427 max:5, interval:1
  279. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_hash.c:195 Usage for CPS_5427_CPS_user_5427 is now 1/5 for the last 1 seconds
  280. EXECUTE [depth=0] sofia/default/100@TT.netway.africa export(is_recording=1)
  281. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [is_recording]=[1]
  282. EXECUTE [depth=0] sofia/default/100@TT.netway.africa export(media_bug_answer_req=true)
  283. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [media_bug_answer_req]=[true]
  284. EXECUTE [depth=0] sofia/default/100@TT.netway.africa export(record_sample_rate=8000)
  285. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [record_sample_rate]=[8000]
  286. EXECUTE [depth=0] sofia/default/100@TT.netway.africa export(execute_on_answer=record_session /var/lib/freeswitch/recordings/ece8ed83-b215-466d-8eb3-d3cca74c88f9.wav)
  287. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/ece8ed83-b215-466d-8eb3-d3cca74c88f9.wav]
  288. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(effective_caller_id_number=27874744110)
  289. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [effective_caller_id_number]=[27874744110]
  290. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(calltype=LOCAL)
  291. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [calltype]=[LOCAL]
  292. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(receiver_accid=54)
  293. 2024-02-08 12:54:05.333699 98.30% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [receiver_accid]=[54]
  294. EXECUTE [depth=0] sofia/default/100@TT.netway.africa export(presence_data=x//52|||Turner and Townsend(5427)|||^102.* // Local // 0||||||Local|||103.240.35.46)
  295. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x//52|||Turner and Townsend(5427)|||^102.* // Local // 0||||||Local|||103.240.35.46]
  296. EXECUTE [depth=0] sofia/default/100@TT.netway.africa export(presence_data=||||||||||||LOCAL|||103.240.35.46)
  297. 2024-02-08 12:54:05.333699 98.30% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[||||||||||||LOCAL|||103.240.35.46]
  298. EXECUTE [depth=0] sofia/default/100@TT.netway.africa ring_ready()
  299. 2024-02-08 12:54:05.333699 98.30% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/default/100@TT.netway.africa!
  300. 2024-02-08 12:54:05.333699 98.30% [DEBUG] sofia.c:7499 Channel sofia/default/100@TT.netway.africa entering state [early][180]
  301. 2024-02-08 12:54:05.333699 98.30% [NOTICE] mod_dptools.c:1122 Ring Ready sofia/default/100@TT.netway.africa!
  302. EXECUTE [depth=0] sofia/default/100@TT.netway.africa sleep(5000)
  303. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(sip_h_X-call-type=did)
  304. 2024-02-08 12:54:10.373730 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [sip_h_X-call-type]=[did]
  305. EXECUTE [depth=0] sofia/default/100@TT.netway.africa set(sip_h_X-did-call-type=DID-LOCAL)
  306. 2024-02-08 12:54:10.373730 97.87% [DEBUG] mod_dptools.c:1685 SET sofia/default/100@TT.netway.africa [sip_h_X-did-call-type]=[DID-LOCAL]
  307. EXECUTE [depth=0] sofia/default/100@TT.netway.africa bridge({sip_invite_params=user=LOCAL,sip_from_uri=102@102.222.8.134}[leg_timeout=60]sofia/default/102@10.100.4.132)
  308. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_channel.c:1269 sofia/default/100@TT.netway.africa EXPORTING[export_vars] [is_recording]=[1] to event
  309. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_channel.c:1269 sofia/default/100@TT.netway.africa EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
  310. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_channel.c:1269 sofia/default/100@TT.netway.africa EXPORTING[export_vars] [record_sample_rate]=[8000] to event
  311. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_channel.c:1269 sofia/default/100@TT.netway.africa EXPORTING[export_vars] [execute_on_answer]=[record_session /var/lib/freeswitch/recordings/ece8ed83-b215-466d-8eb3-d3cca74c88f9.wav] to event                                                                                                                                                                                      
  312. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_channel.c:1269 sofia/default/100@TT.netway.africa EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||103.240.35.46] to event
  313. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_channel.c:1269 sofia/default/100@TT.netway.africa EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||103.240.35.46] to event
  314. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  315. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  316. 2024-02-08 12:54:10.373730 97.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/102@10.100.4.132 [c6e209a6-bd43-4e5a-9b45-ff0ce2afc266]
  317. 2024-02-08 12:54:10.373730 97.87% [DEBUG] mod_sofia.c:5121 (sofia/default/102@10.100.4.132) State Change CS_NEW -> CS_INIT
  318. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_ivr_originate.c:3151 sofia/default/102@10.100.4.132 Setting leg timeout to 60
  319. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/102@10.100.4.132) Running State Change CS_INIT (Cur 2 Tot 672)
  320. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/102@10.100.4.132) State INIT
  321. 2024-02-08 12:54:10.373730 97.87% [DEBUG] mod_sofia.c:97 sofia/default/102@10.100.4.132 SOFIA INIT
  322. 2024-02-08 12:54:10.373730 97.87% [INFO] sofia_glue.c:1651 sofia/default/102@10.100.4.132 sending invite call-id: (null)
  323. 2024-02-08 12:54:10.373730 97.87% [DEBUG] sofia_glue.c:1654 sofia/default/102@10.100.4.132 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  324. Local SDP:                                                                                                                                                                                                        
  325. v=0                                                                                                                                                                                                                
  326. o=FreeSWITCH 1707373194 1707373195 IN IP4 102.222.8.134                                                                                                                                                            
  327. s=FreeSWITCH                                                                                                                                                                                                      
  328. c=IN IP4 102.222.8.134                                                                                                                                                                                            
  329. t=0 0                                                                                                                                                                                                              
  330. m=audio 23656 RTP/AVP 8 0 101                                                                                                                                                                                      
  331. a=rtpmap:8 PCMA/8000                                                                                                                                                                                              
  332. a=rtpmap:0 PCMU/8000                                                                                                                                                                                              
  333. a=rtpmap:101 telephone-event/8000                                                                                                                                                                                  
  334. a=fmtp:101 0-15                                                                                                                                                                                                    
  335. a=ptime:20                                                                                                                                                                                                        
  336. a=sendrecv                                                                                                                                                                                                        
  337.  
  338. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:40 sofia/default/102@10.100.4.132 Standard INIT
  339. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:48 (sofia/default/102@10.100.4.132) State Change CS_INIT -> CS_ROUTING
  340. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:624 (sofia/default/102@10.100.4.132) State INIT going to sleep
  341. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/102@10.100.4.132) Running State Change CS_ROUTING (Cur 2 Tot 672)
  342. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/102@10.100.4.132) State ROUTING
  343. 2024-02-08 12:54:10.373730 97.87% [DEBUG] mod_sofia.c:158 sofia/default/102@10.100.4.132 SOFIA ROUTING
  344. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_ivr_originate.c:67 (sofia/default/102@10.100.4.132) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  345. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:640 (sofia/default/102@10.100.4.132) State ROUTING going to sleep
  346. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/102@10.100.4.132) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 672)
  347. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/102@10.100.4.132) State CONSUME_MEDIA
  348. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:659 (sofia/default/102@10.100.4.132) State CONSUME_MEDIA going to sleep
  349. 2024-02-08 12:54:10.373730 97.87% [DEBUG] sofia.c:7499 Channel sofia/default/102@10.100.4.132 entering state [calling][0]
  350. 2024-02-08 12:54:10.373730 97.87% [DEBUG] sofia.c:7499 Channel sofia/default/102@10.100.4.132 entering state [terminated][404]
  351. 2024-02-08 12:54:10.373730 97.87% [NOTICE] sofia.c:8738 Hangup sofia/default/102@10.100.4.132 [CS_CONSUME_MEDIA] [UNALLOCATED_NUMBER]
  352. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/102@10.100.4.132) Running State Change CS_HANGUP (Cur 2 Tot 672)
  353. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/102@10.100.4.132) Callstate Change DOWN -> HANGUP
  354. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/102@10.100.4.132) State HANGUP
  355. 2024-02-08 12:54:10.373730 97.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/102@10.100.4.132 hanging up, cause: UNALLOCATED_NUMBER
  356. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/102@10.100.4.132 Standard HANGUP, cause: UNALLOCATED_NUMBER
  357. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/102@10.100.4.132) State HANGUP going to sleep
  358. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/102@10.100.4.132) State Change CS_HANGUP -> CS_REPORTING
  359. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/102@10.100.4.132) Running State Change CS_REPORTING (Cur 2 Tot 672)
  360. 2024-02-08 12:54:10.373730 97.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/102@10.100.4.132) State REPORTING
  361. 2024-02-08 12:54:10.373730 97.87% [INFO] mod_json_cdr.c:271 Process [c6e209a6-bd43-4e5a-9b45-ff0ce2afc266.cdr.json]
  362. 2024-02-08 12:54:10.393770 97.87% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 1 [UNALLOCATED_NUMBER]
  363. 2024-02-08 12:54:10.393770 97.87% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: UNALLOCATED_NUMBER
  364. EXECUTE [depth=0] sofia/default/100@TT.netway.africa hangup(UNALLOCATED_NUMBER)
  365. 2024-02-08 12:54:10.393770 97.87% [NOTICE] mod_dptools.c:1387 Hangup sofia/default/100@TT.netway.africa [CS_EXECUTE] [UNALLOCATED_NUMBER]
  366. 2024-02-08 12:54:10.393770 97.87% [DEBUG] mod_hash.c:293 Usage for CPS_5427_CPS_user_5427 is now 0
  367. 2024-02-08 12:54:10.393770 97.87% [DEBUG] switch_core_session.c:2983 sofia/default/100@TT.netway.africa skip receive message [PHONE_EVENT] (channel is hungup already)
  368. 2024-02-08 12:54:10.393770 97.87% [DEBUG] switch_core_state_machine.c:647 (sofia/default/100@TT.netway.africa) State EXECUTE going to sleep
  369. 2024-02-08 12:54:10.393770 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@TT.netway.africa) Running State Change CS_HANGUP (Cur 2 Tot 672)
  370. 2024-02-08 12:54:10.393770 97.87% [DEBUG] switch_core_state_machine.c:844 (sofia/default/100@TT.netway.africa) Callstate Change RINGING -> HANGUP
  371. 2024-02-08 12:54:10.393770 97.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100@TT.netway.africa) State HANGUP
  372. 2024-02-08 12:54:10.393770 97.87% [DEBUG] mod_sofia.c:462 sofia/default/100@TT.netway.africa Overriding SIP cause 404 with 404 from the other leg
  373. 2024-02-08 12:54:10.393770 97.87% [DEBUG] mod_sofia.c:468 Channel sofia/default/100@TT.netway.africa hanging up, cause: UNALLOCATED_NUMBER
  374. 2024-02-08 12:54:10.413666 97.87% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 404
  375. 2024-02-08 12:54:10.413666 97.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/100@TT.netway.africa Standard HANGUP, cause: UNALLOCATED_NUMBER
  376. 2024-02-08 12:54:10.413666 97.87% [DEBUG] switch_core_state_machine.c:846 (sofia/default/100@TT.netway.africa) State HANGUP going to sleep
  377. 2024-02-08 12:54:10.413666 97.87% [DEBUG] switch_core_state_machine.c:616 (sofia/default/100@TT.netway.africa) State Change CS_HANGUP -> CS_REPORTING
  378. 2024-02-08 12:54:10.413666 97.87% [DEBUG] switch_core_state_machine.c:581 (sofia/default/100@TT.netway.africa) Running State Change CS_REPORTING (Cur 2 Tot 672)
  379. 2024-02-08 12:54:10.413666 97.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100@TT.netway.africa) State REPORTING
  380. 2024-02-08 12:54:10.413666 97.87% [INFO] mod_json_cdr.c:271 Process [ece8ed83-b215-466d-8eb3-d3cca74c88f9.cdr.json]
  381. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/100@TT.netway.africa Standard REPORTING, cause: UNALLOCATED_NUMBER
  382. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/100@TT.netway.africa) State REPORTING going to sleep
  383. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/100@TT.netway.africa) State Change CS_REPORTING -> CS_DESTROY
  384. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_session.c:1753 Session 671 (sofia/default/100@TT.netway.africa) Locked, Waiting on external entities
  385. 2024-02-08 12:54:10.433666 97.87% [NOTICE] switch_core_session.c:1771 Session 671 (sofia/default/100@TT.netway.africa) Ended
  386. 2024-02-08 12:54:10.433666 97.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/100@TT.netway.africa [CS_DESTROY]
  387. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/100@TT.netway.africa) Running State Change CS_DESTROY (Cur 1 Tot 672)
  388. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100@TT.netway.africa) State DESTROY
  389. 2024-02-08 12:54:10.433666 97.87% [DEBUG] mod_sofia.c:379 sofia/default/100@TT.netway.africa SOFIA DESTROY
  390. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/100@TT.netway.africa Standard DESTROY
  391. 2024-02-08 12:54:10.433666 97.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/100@TT.netway.africa) State DESTROY going to sleep
  392. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/102@10.100.4.132 Standard REPORTING, cause: UNALLOCATED_NUMBER
  393. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:932 (sofia/default/102@10.100.4.132) State REPORTING going to sleep
  394. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:607 (sofia/default/102@10.100.4.132) State Change CS_REPORTING -> CS_DESTROY
  395. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_session.c:1753 Session 672 (sofia/default/102@10.100.4.132) Locked, Waiting on external entities
  396. 2024-02-08 12:54:11.193704 97.87% [NOTICE] switch_core_session.c:1771 Session 672 (sofia/default/102@10.100.4.132) Ended
  397. 2024-02-08 12:54:11.193704 97.87% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/102@10.100.4.132 [CS_DESTROY]
  398. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:735 (sofia/default/102@10.100.4.132) Running State Change CS_DESTROY (Cur 0 Tot 672)
  399. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/102@10.100.4.132) State DESTROY
  400. 2024-02-08 12:54:11.193704 97.87% [DEBUG] mod_sofia.c:379 sofia/default/102@10.100.4.132 SOFIA DESTROY
  401. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:175 sofia/default/102@10.100.4.132 Standard DESTROY
  402. 2024-02-08 12:54:11.193704 97.87% [DEBUG] switch_core_state_machine.c:745 (sofia/default/102@10.100.4.132) State DESTROY going to sleep
  403.