public class ExampleCallIn extends BaseAgiScript
| Constructor and Description |
|---|
ExampleCallIn() |
| Modifier and Type | Method and Description |
|---|---|
void |
service(AgiRequest request,
AgiChannel channel)
The service method is called by the AsteriskServer whenever this
AgiScript should handle an incoming AgiRequest.
|
answer, bridge, confbridge, continueAt, controlStreamFile, controlStreamFile, controlStreamFile, controlStreamFile, databaseDel, databaseDelTree, databaseDelTree, databaseGet, databasePut, dial, exec, exec, getAsteriskVersion, getChannel, getChannelStatus, getData, getData, getData, getFullVariable, getFullVariable, getLastReply, getName, getOption, getOption, getUniqueId, getVariable, gosub, gosub, hangup, meetme, playMusicOnHold, playMusicOnHold, queue, recordFile, recordFile, sayAlpha, sayAlpha, sayDateTime, sayDateTime, sayDateTime, sayDateTime, sayDigits, sayDigits, sayNumber, sayNumber, sayPhonetic, sayPhonetic, sayTime, sayTime, sendCommand, setAutoHangup, setCallerId, setContext, setExtension, setPriority, setVariable, speechActivateGrammar, speechCreate, speechCreate, speechDeactivateGrammar, speechDestroy, speechLoadGrammar, speechRecognize, speechRecognize, speechSet, speechUnloadGrammar, stopMusicOnHold, streamFile, streamFile, streamFile, verbose, waitForDigitpublic void service(AgiRequest request, AgiChannel channel) throws AgiException
AgiScriptrequest - the initial data received from Asterisk when requesting
this script.channel - a handle to communicate with Asterisk such as sending
commands to the channel sending the request.AgiException - any exception thrown by your script will be logged.Copyright © 2004–2024. All rights reserved.