[asterisk-bugs] [Asterisk 0016534]: mixmonitor CLI command is broken

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 5 10:10:15 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16534 
====================================================================== 
Reported By:                jlaguilar
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   16534
Category:                   Applications/app_mixmonitor
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-02 21:30 CST
Last Modified:              2010-01-05 10:10 CST
====================================================================== 
Summary:                    mixmonitor CLI command is broken
Description: 
In asterisk 1.6.2.0 the mixmonitor CLI command is being registered
incorrectly.

app_mixmonitor.c (Line 593):
e->command = "mixmonitor {start|stop} {<chan_name>} [args]";

It is expecting the 3rd argument to be exactly "<chan_name>". If it isn't,
asterisk will report that the command does not exist. And if you set it to
be "<chan_name>" it will find the command but it will obviuosly return that
the channel was not found.

Resgitering the command as:
e->command = "mixmonitor {start|stop}";

Fixes the problem.



====================================================================== 

---------------------------------------------------------------------- 
 (0116059) svnbot (reporter) - 2010-01-05 10:10
 https://issues.asterisk.org/view.php?id=16534#c116059 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 237658

_U  branches/1.6.0/

------------------------------------------------------------------------
r237658 | mvanbaak | 2010-01-05 10:10:15 -0600 (Tue, 05 Jan 2010) | 12
lines

Blocked revisions 237656 via svnmerge

........
  r237656 | mvanbaak | 2010-01-05 17:08:12 +0100 (Tue, 05 Jan 2010) | 6
lines
  
  Make CLI command 'mixmonitor start|stop <channel> work again.
  
  (closes issue https://issues.asterisk.org/view.php?id=16534)
  Reported by: jlaguilar
  Fix as suggested by jlaguilar in the bugreport
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=237658 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-05 10:10 svnbot         Checkin                                      
2010-01-05 10:10 svnbot         Note Added: 0116059                          
======================================================================




More information about the asterisk-bugs mailing list