Russell Brown
2007-Aug-08 17:38 UTC
[asterisk-users] Howto generate a Manager Event from the Dialplan?
I'd like to be able to generate a Manager Event from the dialplan but can't seem to find a way to do it. Alternatively, trigger and Event when a record in AstDB gets changed. Can anyone point me in the right direction? Thanks. By way of explanation, I've a app that connects to astmanproxy and I'd like it to know when a call group gets put into Nightservice. Putting the call group into Nightservice is done in the dialplan and sets a record in AstDB. It would be infriendly to poll AstDB; hence the requirement for the dialplan to trigger an Event. The call group could also be put into Nightservice by setting the appropriate record directly in AstDB; hence the Event triggered on a AstDB record change. -- Regards, Russell -------------------------------------------------------------------- | Russell Brown | MAIL: russell at lls.com PHONE: 01780 471800 | | Lady Lodge Systems | WWW Work: http://www.lls.com | | Peterborough, England | WWW Play: http://www.ruffle.me.uk | --------------------------------------------------------------------
Martin Smith
2007-Aug-08 17:45 UTC
[asterisk-users] Howto generate a Manager Event from the Dialplan?
Have you checked out UserEvent: http://www.voip-info.org/wiki/view/Asterisk+cmd+UserEvent Martin Smith, Systems Developer martins at bebr.ufl.edu Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of > Russell Brown > Sent: Wednesday, August 08, 2007 1:39 PM > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] Howto generate a Manager Event from > the Dialplan? > > > I'd like to be able to generate a Manager Event from the dialplan but > can't seem to find a way to do it. > > Alternatively, trigger and Event when a record in AstDB gets changed. > > Can anyone point me in the right direction? Thanks. > > > By way of explanation, I've a app that connects to astmanproxy and I'd > like it to know when a call group gets put into Nightservice. Putting > the call group into Nightservice is done in the dialplan and sets a > record in AstDB. > > It would be infriendly to poll AstDB; hence the requirement for the > dialplan to trigger an Event. > > The call group could also be put into Nightservice by setting the > appropriate record directly in AstDB; hence the Event triggered on a > AstDB record change. > > > -- > Regards, > Russell > -------------------------------------------------------------------- > | Russell Brown | MAIL: russell at lls.com PHONE: 01780 471800 | > | Lady Lodge Systems | WWW Work: http://www.lls.com | > | Peterborough, England | WWW Play: http://www.ruffle.me.uk | > -------------------------------------------------------------------- > > _______________________________________________ > --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 >