[Home]

Summary:ASTERISK-04706: [patch] show function is now not case-sensitive
Reporter:Clod Patry (junky)Labels:
Date Opened:2005-07-27 11:26:11Date Closed:2011-06-07 14:10:37
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) function_ncase.txt
Description:Currently, when doing show function foobar,
the function name is case sensive.

But in the dialplan, these functions are not case sensitive.

examples:
asterisk*CLI> show function set
No function by that name registered.
asterisk*CLI> show function Set
No function by that name registered.
asterisk*CLI> show function SET
asterisk*CLI>
 -= Info about function 'SET' =-

[Syntax]
SET(<varname>=[<value>])

[Synopsis]
SET assigns a value to a channel variable

[Description]
Not available
asterisk*CLI>

(We can see it works only for SET).


Now we can do show function Set,set,SET, eveything works fine, instead of getting that messages all the time:
No function by that name registered.
Comments:By: Russell Bryant (russell) 2005-07-27 12:00:01

Set is an application - not to be confused with the SET function.

While applications are *not* case sensitive, dialplan functions *are*.

My feeling is that the CLI commands should reflect that same thing.

By: Clod Patry (junky) 2005-07-27 12:00:27

sorry, my bad.