Tap here to compare the top VoIP providersTap here to hide the top VoIP Providers
Asterisk cmd UserEvent
SynopsisSend an arbitrary event to the manager interface
Sends an arbitrary event to the manager interface, with an optional body representing additional arguments. To split body text to several lines | character could be used in Asterisk 1.4. There's no way to do multiple lines in Asterisk 1.2. The format of the event will be:
Event: UserEvent<specified event name>
Channel: <channel name>
Uniqueid: <call uniqueid>
If the body is not specified, only Event, Channel, and Uniqueid fields will be present.
In Asterisk 1.4, the format of the event is :
Privilege: <privilege (user,all for example)>
UserEvent: <specified event name>
Return valueAlways returns 0.
UserEvent(ASTDB|Family: dnd|State: on) in 1.4
UserEvent(ASTDB,Family: dnd,State: on) in 1.6
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+