- Original Message -
From: "Douglas Garstang" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
Sent: Thursday, November 30, 2006 12:19 AM
Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!
-Or
- Original Message -
From: "Douglas Garstang" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
Sent: Thursday, November 30, 2006 12:16 AM
Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!
-Or
At 03:49 PM 11/29/2006, you wrote:
That data is no easier to parse than the output generated from:
Action: Command
Command: sip show peer
Note the colons used both as a field delimiter AND stuck in the regcontact.
Actually, finding the data between a CR and a colon get's you the
data label
Lyman [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, November 29, 2006 3:30 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: Re: [asterisk-users] What's up with the Manager Interface?!?!
>>
>>
>> James Texter wrote:
>>
>>
Discussion
Subject: Re: [asterisk-users] What's up with the Manager Interface?!?!
James Texter wrote:
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"
: sip:[EMAIL PROTECTED]
ChanVariable:
parkstart,10
Doug.
> -Original Message-
> From: Richard Lyman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 29, 2006 3:30 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] What's
> -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
James Texter wrote:
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
> -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
> -Original Message-
> From: Steve Edwards [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 29, 2006 2:55 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!
>
>
>
]> wrote:
>> -Original Message-
>> From: Douglas Garstang
>> Sent: Wednesday, November 29, 2006 12:26 PM
>> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>> Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!
>
On Wed, 29 Nov 2006, Douglas Garstang wrote:
G. Here's another example...
Action: Command
Command: sip show peer 2944093
Response: Follows
Privilege: Command
* Name : 2944093
Secret :
MD5Secret:
Context : 180o_CallStart
Subscr.Cont. : 180o_WatchBLF
Why the HE
> -Original Message-
> From: Douglas Garstang
> Sent: Wednesday, November 29, 2006 12:26 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!
>
>
> > --
> Here's a good example. I'm trying to get SIP blf. I managed to split
my
> result into a list of lines by splitting on ANY of \r\n, \n or \r. I
was
> going use the column headings from the third line as my keys for my
> dictionary/hash, rather than hard coding them. Notice anything? The
'Call
> I
> -Original Message-
> From: Matt Florell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 29, 2006 12:52 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] What's up with the Manager Interface?!?!
>
>
>
On 11/29/06, Douglas Garstang <[EMAIL PROTECTED]> wrote:
The Asterisk Manager Interface is driving me nuts.
Whoever wrote it should be drawn and quartered.
You would need a ton of rope and a few hundred horses for that :)
The Manager API code is distributed across dozens of source files in
the
> -Original Message-
> From: Michael Collins [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 29, 2006 11:20 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] What's up with the Manager Interface?!?!
>
>
&g
Douglas Garstang wrote:
The Asterisk Manager Interface is driving me nuts.
Whoever wrote it should be drawn and quartered.
Sometimes the data comes back separated by \r\n, and sometimes it's separated
by \n.
The whole thing is completely inconsistent, and trying to write any kind of API
for it
> Sometimes the data comes back separated by \r\n, and sometimes it's
> separated by \n.
> The whole thing is completely inconsistent, and trying to write any
kind
> of API for it is -GHASTLY-
Doug,
What language(s) are you using? Just curious. I've been tinkering with
Perl, POE, and POE::Compo
19 matches
Mail list logo