login | register
Sat 04 of Jul, 2009 [13:00 UTC]

voip-info.org

History

exec

Created by: pinhole,Last modification on Fri 17 of Jun, 2005 [15:46 UTC] by pumi
Usage: EXEC <application> <options>


Executes with given <options>.

Applications are the functions you use to create a dial plan in extensions.conf.

Returns:
failure: 200 result=-2
success: 200 result=<ret>

<ret> is whatever the application returns

EXAMPLE:

EXEC Dial Zap/g1/123456


Also, you have to use the pipe character (|) to separate arguments for the application:

EXEC Dial "IAX2/alice|20"



Go back to Asterisk AGI

Comments