From 05b9e2fd84dd79ccb10724fb2ba640bf577482fb Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 25 Sep 2005 03:49:22 +0000 Subject: Fix GetVar manager action result (bug #5275) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6641 f38db490-d61c-443f-a65b-d21fe96a405b --- UPGRADE.txt | 24 +++++++++++++++++------- manager.c | 2 +- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/UPGRADE.txt b/UPGRADE.txt index 17240db15..5704da230 100755 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -164,10 +164,20 @@ chan_modem: MeetMe: * The conference application now allows users to increase/decrease their -speaking volume and listening volume (independently of each other and other -users); the 'admin' and 'user' menus have changed, and new sound files are -included with this release. However, if a user calling in over a Zaptel channel -that does NOT have hardware DTMF detection increases their speaking volume, -it is likely they will no longer be able to enter/exit the menu or make -any further adjustments, as the software DTMF detector will not be able to -recognize the DTMF coming from their device. + speaking volume and listening volume (independently of each other and + other users); the 'admin' and 'user' menus have changed, and new sound + files are included with this release. However, if a user calling in + over a Zaptel channel that does NOT have hardware DTMF detection + increases their speaking volume, it is likely they will no longer be + able to enter/exit the menu or make any further adjustments, as the + software DTMF detector will not be able to recognize the DTMF coming + from their device. + +GetVar Manager Action: + +* Previously, the behavior of the GetVar manager action reported the value + of a variable in the following manner: + > name: value + This has been changed to a manner similar to the SetVar action and is now + > Variable: name + > Value: value diff --git a/manager.c b/manager.c index 307cf84b1..568c23f64 100755 --- a/manager.c +++ b/manager.c @@ -704,7 +704,7 @@ static int action_getvar(struct mansession *s, struct message *m) ast_mutex_unlock(&c->lock); ast_mutex_lock(&s->lock); ast_cli(s->fd, "Response: Success\r\n" - "%s: %s\r\n" ,varname,varval2); + "Variable: %s\r\nValue: %s\r\n" ,varname,varval2); if (id && !ast_strlen_zero(id)) ast_cli(s->fd, "ActionID: %s\r\n",id); ast_cli(s->fd, "\r\n"); -- cgit v1.2.3