Name
Exec() — Executes an Asterisk application dynamically
Allows an arbitrary application to be invoked even when
not hard-coded in to the dialplan. Exits exactly the same as the
underlying application
, or abnormally, if
the underlying application
cannot be found.
The arguments
are passed to the called
application
.
This application allows you to dynamically call applications by pulling them from a database or other external source.
exten => 123,1,Set(MYAPP=SayDigits(12345))
exten => 123,2,Exec(${MYAPP})
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.