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: eventnamebody

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

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.