Ticket #4603 (closed Bugs: fixed)

Opened 3 years ago

Last modified 2 years ago

archive_recording includes astman unnecessarily

Reported by: mbrevda Assigned to: p_lindheimer
Priority: minor Milestone: 2.9
Component: Core Version: 2.8-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

The only time it actually uses the connection is in the check_recording_option() function, where it is trying to get "RECORD-IN" from the astDB. This value will never exists, hence making the call in vain and adding multiple (x1000) manager connections with no purpose. This present two issues:

  • in some circumstances, php-astmanager will return an error due to a missing function. Its is futile to ty and fix this so close to implementing a bootstrap script
  • These thousands of consecutive connections have (unscientifically) been found to cause asterisk to do strange things. This script is classically run at night - and hides some nasty surprise for the users in the morning (hypothetically due to all the logins/out).

Change History

10/24/10 13:49:07 changed by mbrevda

(In [10443]) re #4603 - no need to connect to asterisk to archive recoded calls

11/13/10 18:33:16 changed by mbrevda

  • status changed from new to closed.
  • resolution set to fixed.

11/29/10 17:21:24 changed by p_lindheimer

(In [10635]) Merged revisions 10416-10493,10495-10634 via svnmerge from http://www.freepbx.org/v2/svn/freepbx/branches/2.8

........

r10443 | mbrevda | 2010-10-24 10:49:06 -0700 (Sun, 24 Oct 2010) | 1 line

re #4603 - no need to connect to asterisk to archive recoded calls

........

r10453 | p_lindheimer | 2010-11-01 10:34:27 -0700 (Mon, 01 Nov 2010) | 1 line

fixes #4615 XSS to Module Admin

........

r10513 | GameGamer?43 | 2010-11-01 15:39:24 -0700 (Mon, 01 Nov 2010) | 1 line

closes #4616 - if trunk, assume 1.8 not 1.6

........

r10602 | p_lindheimer | 2010-11-20 13:13:57 -0800 (Sat, 20 Nov 2010) | 1 line

undefined variable could be resulting in hints not being defined when in DYNAMICHINTS mode

........