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, -- Jose P. Espinal http://www.eslackware.com IRC: [OFTC|FreeNode] Khratos @ #slackware | #asterisk/-doc/-bugs -- _____________________________________________________________________ -- 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
