Have you checked out UserEvent:
http://www.voip-info.org/wiki/view/Asterisk+cmd+UserEvent

Martin Smith, Systems Developer
[EMAIL PROTECTED]
Bureau of Economic and Business Research
University of Florida
(352) 392-0171 Ext. 221 

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Russell Brown
> Sent: Wednesday, August 08, 2007 1:39 PM
> To: [email protected]
> 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: [EMAIL PROTECTED] 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
> 

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