[asterisk-bugs] [Asterisk 0013016]: [patch] new CLI commands for handling dialplan variables and name standartization for the old ones
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Jul 17 08:52:41 CDT 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.digium.com/view.php?id=13016
======================================================================
Reported By: caio1982
Assigned To: svnbot
======================================================================
Project: Asterisk
Issue ID: 13016
Category: Core/PBX
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 128638
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 07-07-2008 15:16 CDT
Last Modified: 07-17-2008 08:52 CDT
======================================================================
Summary: [patch] new CLI commands for handling dialplan
variables and name standartization for the old ones
Description:
Some commands like 'core set global' should actually be called 'dialplan
set global' as they deal with dialplan variables directly (they even state
that in their help messages), so I decided to change them after commenting
about it on #asterisk-dev. I'm not sure about the consequences of it since
a deprecated warning should be printed, but I will let it to someone more
experienced to decide.
Since there are CLI commands to set new global and per channel variables I
also decided to create equivalent ones to unset these variables as they'd
stay in memory forever until a reload or restart is executed. Not good, now
I can unset them :-)
Ultimately there was not a way to list all those per channel variables set
with 'dialplan set chanvar <channel> <name> <value>', except parsing the
very long output of DumpChan(). I created a command called 'dialplan show
chanvar <channel>', using the same idea from 'show globals' and dumping all
variables associated with the given channel.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
07-17-08 08:52 svnbot Status new => resolved
07-17-08 08:52 svnbot Resolution open => fixed
07-17-08 08:52 svnbot Assigned To => svnbot
======================================================================
More information about the asterisk-bugs
mailing list