[asterisk-users] 1.6.2 No "soft hangup"?

sean darcy seandarcy2 at gmail.com
Wed Apr 21 20:03:10 CDT 2010


Steve Edwards wrote:
> On Tue, 20 Apr 2010, Jared Smith wrote:
> 
>> On Tue, 2010-04-20 at 09:49 -0700, Steve Edwards wrote:
>>> I'd like to see a more natural and intuitive interface following a "verb
>>> noun" model like Oracle, MySQL, or even GDB.
>> We're close to that now, and that's one of the reasons that the "soft
>> hangup" command was changed to "channel request hangup".  While it's not
>> "verb noun", most (if not all) of the commands in the Asterisk CLI
>> should follow the "module verb noun" model.
> 
> Having to know which module implements a command is an obstacle.
> 
> Being the 1.2 Luddite that I am, I'll withhold further criticism until I 
> play with 1.6 a bit.
> 
> An "apropos" command would be a nice addition.
> 
This is a great idea. At least "help hangup" should show any commands 
that include "hangup" and their description. Now:

asterisk*CLI> help hangup
                 hangup request <no description available>


So you need to know what's the answer before you can see it:

asterisk*CLI> help channel request hangup
Usage: channel request hangup <channel>
        Request that a channel be hung up. The hangup takes effect
        the next time the driver reads or writes from the channel

sean




More information about the asterisk-users mailing list