UserEvent( )


UserEvent( ) Sends an arbitrary event to the Manager interface

 UserEvent(   eventname   [,   body   ]) 

Sends an arbitrary event to the Manager interface, with an optional body representing additional arguments. The format of the event is:

 Event: UserEvent   <specified event name>   Channel:   <channel name>   Uniqueid:   <call uniqueid>   [body] 

If the body is not specified, only the Event, Channel, and Uniqueid fields will be present.

Always returns .

  exten => 123,1,UserEvent(BossCalled,${CALLERIDNAME} has called the boss!)  exten => 123,2,Dial(${BOSS}) 

See Also

manager.conf , Asterisk Manager interface



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net