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


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to