Re: [Asterisk-Users] Programming the Manager API

2006-03-22 Thread Moises Silva
Message- From: El Flynn [mailto:[EMAIL PROTECTED] Sent: Tue 3/21/2006 10:20 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Programming the Manager API Douglas Garstang wrote

RE: [Asterisk-Users] Programming the Manager API

2006-03-22 Thread Michael Collins
That's way too much Java for me. I'm lost already. Doug, I'm a Perl guy myself, so I think in terms of Perl and CPAN. I'm sure Python has its own version of CPAN where people upload modules for other programmers to use. CPAN has a Perl module: POE::Component::Client::Asterisk::Manager It's

Re: [Asterisk-Users] Programming the Manager API

2006-03-22 Thread Stefan Reuter
Michael Collins wrote: Just curious if someone out there might have already solved this problem and created a Python module that you could borrow... A python package is available from http://py-asterisk.berlios.de/py-asterisk.php. It doesn't seem to be activly maintained but it might serve as a

[Asterisk-Users] Programming the Manager API

2006-03-21 Thread Douglas Garstang
I just started poking around with writing a python module to interface to the Manager API, and it suddenly hit me... how the heck are you supposed to program this thing? All the events seem to be dumped to all the open connections. If I send a command, such as a login, there seems to me to be

Re: [Asterisk-Users] Programming the Manager API

2006-03-21 Thread El Flynn
Douglas Garstang wrote: I just started poking around with writing a python module to interface to the Manager API, and it suddenly hit me... how the heck are you supposed to program this thing? All the events seem to be dumped to all the open connections. If I send a command, such as a

RE: [Asterisk-Users] Programming the Manager API

2006-03-21 Thread Douglas Garstang
:[EMAIL PROTECTED] Sent: Tue 3/21/2006 10:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] Programming the Manager API Douglas Garstang wrote: I just started poking around

Re: [Asterisk-Users] Programming the Manager API

2006-03-21 Thread El Flynn
Douglas Garstang wrote: Yikes. Java. Yuck. I'll stick with Python... Thanks anyway. I just worked it out... you can supply an actionid to the request to know what reply to look for, although it will still be tricky filtering out the noise. Well, with the Asterisk java code it's pretty much

RE: [Asterisk-Users] Programming the Manager API

2006-03-21 Thread Douglas Garstang
] Programming the Manager API Douglas Garstang wrote: Yikes. Java. Yuck. I'll stick with Python... Thanks anyway. I just worked it out... you can supply an actionid to the request to know what reply to look for, although it will still be tricky filtering out