Name

UserEvent() — Sends an arbitrary event to the Manager Interface

Synopsis

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
UserEvent: eventname
	           body

If the body is not specified, only the Event and UserEvent fields will be present in the Manager event.

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

See Also

manager.conf, Asterisk Manager Interface