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 0.
exten => 123,1,UserEvent(BossCalled,${CALLERIDNAME} has called the boss!)
exten => 123,2,Dial(${BOSS})
See Also
manager.conf,
Asterisk Manager interface
|