----- Original Message -----
From: "Douglas Garstang" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users@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:[EMAIL PROTECTED]
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).
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users