[asterisk-users] AstManProxy

Ishfaq Malik ish at pack-net.co.uk
Fri May 20 10:46:01 CDT 2011


On Fri, 2011-05-20 at 11:27 -0400, Jose P. Espinal wrote:
> 
> > Building a web page which uses AJAX to get information from the AMI
> > every 10-30 seconds or so and not wanting to log on and off via AMI that
> > many times.
> 
> You could use HTTP AMI inteface. You would need to login only once, 
> start a session and send requests to Asterisk.
> 
> I've used this approach in PHP, becasue (as good as it is for the web) 
> it's not a very good option to work with generic sockets. I've been able 
> to send an considerable amount of requests per minutes (like 20 - 50) to 
> Asterisk, and worked Ok without problems.
> 
> In your case, one request per 10-30 seconds should be just fine.
> 
> Regards,
> 
Is this the same as AJAM?
http://www.voip-info.org/wiki/view/Aynchronous+Javascript+Asterisk
+Manager+(AJAM)
-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062




More information about the asterisk-users mailing list