exec

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
Created by: pinhole, Last modification: Fri 17 of Jun, 2005 (15:46 UTC) by pumi


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+

Page Changes | Comments

 

Featured -

Search: