Inherited from AGI
AGI::$asmanager
AGI::$audio
AGI::$config
AGI::$in
AGI::$option_delim
AGI::$out
AGI::$request
Constructor
Get the status of the specified channel.
Read $len characters as DTMF codes
Plays the given file and receives DTMF data.
This is similar to STREAM FILE, but this command can accept and return many DTMF digits, while STREAM FILE returns immediately after the first DTMF digit is detected.
Asterisk looks for the file to play in /var/lib/asterisk/sounds by default.
If the user doesn't press any keys when the message plays, there is $timeout milliseconds of silence then the command ends.
The user has the opportunity to press a key at any time during the message or the post-message silence. If the user presses a key while the message is playing, the message stops playing. When the first key is pressed a timer starts counting for $timeout milliseconds. Every time the user presses another key the timer is restarted. The command ends when the counter goes to zero or the maximum number of digits is entered, whichever happens first.
Pressing the # key has the same effect as the timer running out: the command ends and any previously keyed digits are returned. A side effect of this is that there is no way to read a # key using this command.
Goto - Set context, extension and priority
Check for error in result structure
Play the given audio file, allowing playback to be interrupted by a #. This command is similar to the GET DATA command but this command returns after the first DTMF digit has been pressed while GET DATA can accumulated any number of digits before returning.
Record sound to a file until an acceptable DTMF digit is received or a specified amount of time has passed. Optionally the file BEEP is played before recording begins.
Get the response code from the last command
Get the response data from the last command
Get the result code from the last command
Get the response variable from the last command
Say the given digit string, returning early if # is received on the channel.
Say the given number, returning early if # is received on the channel.
Say a given time, returning early if # is received on the channel.
Set Language
Sends $message to the Asterisk console via the 'verbose' message system.
If the Asterisk verbosity level is $vbl or greater, send $str to the console.
The Asterisk verbosity system works as follows. The Asterisk user gets to set the desired verbosity at startup time or later using the console 'set verbose' command. Messages are displayed on the console if their verbose level is less than or equal to desired verbosity set by the user. More important messages should have a low verbose level; less important messages should have a high verbose level.
Log to console if debug mode
Deletes an entry in the Asterisk database for a given family and key.
Retrieves an entry in the Asterisk database for a given family and key.
Adds or updates an entry in the Asterisk database for a given family, key, and value.
Perform enum lookup
Perform enum txt lookup
Fetch the value of a variable.
Does not work with global variables. Does not work with some variables that are generated by modules.
Send the specified image on a channel.
Most channels do not support the transmission of images.
Send the given text to the connected channel.
Most channels do not support transmission of text.
Sets a variable to the specified value. The variables so created can later be used by later using ${<variablename>} in the dialplan.
These variables live in the channel Asterisk creates when you pickup a phone and as such they are both local and temporary. Variables created in one channel can not be accessed by another channel. When you hang up the phone, the channel is deleted and any variables in that channel are deleted as well.
Inherited From AGI
AGI::__construct()
AGI::answer()
AGI::channel_status()
AGI::conlog()
AGI::database_del()
AGI::database_deltree()
AGI::database_get()
AGI::database_put()
AGI::evaluate()
AGI::exec()
AGI::exec_absolutetimeout()
AGI::exec_agi()
AGI::exec_dial()
AGI::exec_enumlookup()
AGI::exec_goto()
AGI::exec_setlanguage()
AGI::fastpass_get_data()
AGI::fastpass_say_digits()
AGI::fastpass_say_number()
AGI::fastpass_say_phonetic()
AGI::fastpass_say_punctuation()
AGI::fastpass_say_time()
AGI::fastpass_stream_file()
AGI::fastpass_swift()
AGI::fastpass_text2wav()
AGI::get_data()
AGI::get_fullvariable()
AGI::get_variable()
AGI::hangup()
AGI::make_folder()
AGI::menu()
AGI::new_AsteriskManager()
AGI::noop()
AGI::parse_callerid()
AGI::receive_char()
AGI::record_file()
AGI::say_digits()
AGI::say_number()
AGI::say_phonetic()
AGI::say_punctuation()
AGI::say_time()
AGI::send_image()
AGI::send_text()
AGI::setContext()
AGI::set_autohangup()
AGI::set_callerid()
AGI::set_context()
AGI::set_extension()
AGI::set_global_var()
AGI::set_music()
AGI::set_priority()
AGI::set_var()
AGI::set_variable()
AGI::stream_file()
AGI::swift()
AGI::tdd_mode()
AGI::text2wav()
AGI::text_input()
AGI::verbose()
AGI::wait_for_digit()
AGI::which()
Documentation generated on Thu, 30 Sep 2010 02:22:07 -0700 by phpDocumentor 1.4.2