[Asterisk-Users] Programming the Manager API

Douglas Garstang dgarstang at oneeighty.com
Tue Mar 21 22:11:49 MST 2006


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.
 
Doug.

	-----Original Message----- 
	From: El Flynn [mailto:el_flynn at lanvik-icu.com] 
	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 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 no way to determine which response are intended for me, and which may be intended for another open session. There's no reference number, or anything which indicates who events are for. This would seem to make it pretty much impossible to program.... at all.
	> 
	> Anyone done this???
	> 
	> Doug.
	> 
	
	There's a Java packaged that contains numerous classes allowing you to interact
	with Asterisk. It interacts via the FastAGI protocol as well as the Asterisk
	Manager API.
	
	Check it out at http://asterisk-java.sourceforge.net/
	
	Flynn
	
	
	_______________________________________________
	--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
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5114 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060321/7426536b/attachment.bin


More information about the asterisk-users mailing list