Ciao Olle, Tilghman,

> >> How could I do it using the hint mechanism?
> >
> > Just create a module that subscribes to every single device and when  
> > the state
> > changes, your callback will get an event with the device name that  
> > changed.
> > You could then update your database with an SQL query (or whatever  
> > else you
> > like).
> 
> The manager interface is our preferred connection to Asterisk from  
> third-party
> modules. The AMI will report all device state changes, so you can  
> create an
> app that updates your database based on this information.

Thanks to both of you for the hints. :)
Bye

-- 
Dott. Andrea Spadaccini
Multimedia Technologies Institute s.r.l.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to