[asterisk-users] ExtensionStatus event

Danny Nicholas danny at debsinc.com
Tue Apr 17 08:26:39 CDT 2012


I did this in 1.4 using hints.  The most efficient (IMO) approach now would
probably to use "core show channels verbose".

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Vieri
Sent: Tuesday, April 17, 2012 5:29 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] ExtensionStatus event

Hi,

I'm wondering if someone has already done a web application that queries
'ExtensionStatus' events.

On my web site I have an extension listing. Next to each number I'd like to
add an icon or something that shows the extension status. I'd like this
status to be as real-time as possible. Being a web app, I was thinking of
doing javascript JSON calls to Asterisk AJAM every x seconds.

Has anyone done this already? (so I don't need to reinvent the wheel)

Are there better approaches than querying for the ExtensionSatus for each
extension on a web page listing?

Asterisk and HTTP daemon are on different machines.

Thanks,

Vieri


--
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list