Summary:ASTERISK-04677: [patch] Events manager command with EventMask set to 'on' does not return anything
Reporter:nicolasg (nicolasg)Labels:
Date Opened:2005-07-25 17:00:22Date Closed:2008-01-15 15:42:41.000-0600
Versions:Frequency of
Environment:Attachments:( 0) manager_patch.txt
Description:When issuing an Events manager command with EventMask set to on, the mask is set fine but you don't get any response from the manager. That is confusing because every manager command returns at least something.

In the current code, the response is sent only when the return value is zero or above zero, but the All mask returns -1. This patch just changes that condition so you always get a response from the Events command.


Disclaimer on file
Comments:By: Russell Bryant (russell) 2005-07-25 18:55:14

I have fixed this in CVS head in a different way.  We don't want to reply saying "Events Off" even if the input is bogus.  :)

By: Digium Subversion (svnbot) 2008-01-15 15:42:41.000-0600

Repository: asterisk
Revision: 6214

U   trunk/manager.c

r6214 | russell | 2008-01-15 15:42:40 -0600 (Tue, 15 Jan 2008) | 2 lines

make sure a reponse is sent when setting the EventMask to on (bug ASTERISK-4677)