public class SetContextCommand extends AbstractAgiCommand
Sets channel context.
| Constructor and Description |
|---|
SetContextCommand(String context)
Creates a new SetPriorityCommand.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getContext()
Returns the context for continuation upon exiting the application.
|
void |
setContext(String context)
Sets the context for continuation upon exiting the application.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic SetContextCommand(String context)
context - the context for continuation upon exiting the application.public String getContext()
public void setContext(String context)
context - the context for continuation upon exiting the application.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2024. All rights reserved.