[asterisk-users] What's up with the Manager Interface?!?!

Dovid B asteriskusers at dovid.net
Thu Nov 30 01:45:11 MST 2006


----- Original Message ----- 
From: "Douglas Garstang" <dgarstang at oneeighty.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Thursday, November 30, 2006 12:19 AM
Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!


> -----Original Message-----
> From: James Texter [mailto:james.texter at cox.net]
> Sent: Wednesday, November 29, 2006 3:03 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] What's up with the Manager Interface?!?!
>
>
> Doug,
>     Your issue isn't with the manager.  It's with the CLI
> output you are
> trying to hijack via manager :D  If you run "sip show peer
> 2944093" in the
> CLI, you'll see a blank line, followed by a line that is "* Name".  It
> appears what you really want is a manager Action to show a
> sip peer, in
> which case I would recommend adding a new manager command
> that returns a
> string which is much more machine readable.  Remember, CLI output is
> designed to be human readable.

James.

Ok... that sounds like an objective distinction. Maybe it's just the output 
that I get as a result of:

Action: Command
Command: foo

that's causing problems.

eg:
Action: Command
Command: sip show subscriptions

I don't know why every CLI command doesn't have a corresponding action.
I won't be adding any new manager commands, as I am not a C programmer.

Doug.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Do what I do when I used to get desperate. Throw money at a developer (or 
what I ended up doing is getting a partner that is a C programmer). 




More information about the asterisk-users mailing list