|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asteriskjava.fastagi.AgiOperations
org.asteriskjava.fastagi.BaseAgiScript
org.opennms.netmgt.asterisk.agi.scripts.BaseOnmsAgiScript
public abstract class BaseOnmsAgiScript
Abstract BaseOnmsAgiScript class.
| Field Summary | |
|---|---|
protected static String |
VAR_INTERRUPT_DIGITS
Constant VAR_INTERRUPT_DIGITS="INTERRUPT_DIGITS" |
static String |
VAR_OPENNMS_INTERFACE
Constant VAR_OPENNMS_INTERFACE="OPENNMS_INTERFACE" |
static String |
VAR_OPENNMS_NODEID
Constant VAR_OPENNMS_NODEID="OPENNMS_NODEID" |
static String |
VAR_OPENNMS_NODELABEL
Constant VAR_OPENNMS_NODELABEL="OPENNMS_NODELABEL" |
static String |
VAR_OPENNMS_NOTIFY_BODY
Constant VAR_OPENNMS_NOTIFY_BODY="OPENNMS_NOTIFY_BODY" |
static String |
VAR_OPENNMS_NOTIFY_SUBJECT
Constant VAR_OPENNMS_NOTIFY_SUBJECT="OPENNMS_NOTIFY_SUBJECT" |
static String |
VAR_OPENNMS_SERVICE
Constant VAR_OPENNMS_SERVICE="OPENNMS_SERVICE" |
static String |
VAR_OPENNMS_USER_PIN
Constant VAR_OPENNMS_USER_PIN="OPENNMS_USER_PIN" |
static String |
VAR_OPENNMS_USERNAME
Constant VAR_OPENNMS_USERNAME="OPENNMS_USERNAME" |
| Constructor Summary | |
|---|---|
BaseOnmsAgiScript()
|
|
| Method Summary | |
|---|---|
protected ThreadCategory |
log()
log |
protected char |
sayAlphaInterruptible(String text)
sayAlphaInterruptible |
protected char |
sayDateTimeInterruptible(long time)
sayDateTimeInterruptible |
protected char |
sayDigitsInterruptible(String digits)
sayDigitsInterruptible |
protected char |
sayIpAddressInterruptible(InetAddress addr)
sayIpAddressInterruptible |
protected char |
sayIpAddressInterruptible(String addrString)
sayIpAddressInterruptible |
protected char |
sayNumberInterruptible(String number)
sayNumberInterruptible |
protected char |
sayPhoneticInterruptible(String text)
sayPhoneticInterruptible |
protected char |
sayTimeInterruptible(long time)
sayTimeInterruptible |
protected char |
streamFileInterruptible(String file)
streamFileInterruptible |
| Methods inherited from class org.asteriskjava.fastagi.AgiOperations |
|---|
answer, continueAt, controlStreamFile, controlStreamFile, controlStreamFile, controlStreamFile, databaseDel, databaseDelTree, databaseDelTree, databaseGet, databasePut, exec, exec, getChannel, getChannelStatus, getData, getData, getData, getFullVariable, getFullVariable, getLastReply, getName, getOption, getOption, getUniqueId, getVariable, hangup, playMusicOnHold, playMusicOnHold, 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, waitForDigit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.asteriskjava.fastagi.AgiScript |
|---|
service |
| Field Detail |
|---|
protected static final String VAR_INTERRUPT_DIGITS
VAR_INTERRUPT_DIGITS="INTERRUPT_DIGITS"
public static final String VAR_OPENNMS_INTERFACE
VAR_OPENNMS_INTERFACE="OPENNMS_INTERFACE"
public static final String VAR_OPENNMS_SERVICE
VAR_OPENNMS_SERVICE="OPENNMS_SERVICE"
public static final String VAR_OPENNMS_NODEID
VAR_OPENNMS_NODEID="OPENNMS_NODEID"
public static final String VAR_OPENNMS_NODELABEL
VAR_OPENNMS_NODELABEL="OPENNMS_NODELABEL"
public static final String VAR_OPENNMS_NOTIFY_SUBJECT
VAR_OPENNMS_NOTIFY_SUBJECT="OPENNMS_NOTIFY_SUBJECT"
public static final String VAR_OPENNMS_NOTIFY_BODY
VAR_OPENNMS_NOTIFY_BODY="OPENNMS_NOTIFY_BODY"
public static final String VAR_OPENNMS_USER_PIN
VAR_OPENNMS_USER_PIN="OPENNMS_USER_PIN"
public static final String VAR_OPENNMS_USERNAME
VAR_OPENNMS_USERNAME="OPENNMS_USERNAME"
| Constructor Detail |
|---|
public BaseOnmsAgiScript()
| Method Detail |
|---|
protected char sayAlphaInterruptible(String text)
throws org.asteriskjava.fastagi.AgiException
sayAlphaInterruptible
text - a String object.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayDateTimeInterruptible(long time)
throws org.asteriskjava.fastagi.AgiException
sayDateTimeInterruptible
time - a long.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayDigitsInterruptible(String digits)
throws org.asteriskjava.fastagi.AgiException
sayDigitsInterruptible
digits - a String object.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayNumberInterruptible(String number)
throws org.asteriskjava.fastagi.AgiException
sayNumberInterruptible
number - a String object.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayPhoneticInterruptible(String text)
throws org.asteriskjava.fastagi.AgiException
sayPhoneticInterruptible
text - a String object.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayTimeInterruptible(long time)
throws org.asteriskjava.fastagi.AgiException
sayTimeInterruptible
time - a long.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayIpAddressInterruptible(InetAddress addr)
throws org.asteriskjava.fastagi.AgiException
sayIpAddressInterruptible
addr - a InetAddress object.
org.asteriskjava.fastagi.AgiException - if any.
protected char sayIpAddressInterruptible(String addrString)
throws org.asteriskjava.fastagi.AgiException
sayIpAddressInterruptible
addrString - a String object.
org.asteriskjava.fastagi.AgiException - if any.
protected char streamFileInterruptible(String file)
throws org.asteriskjava.fastagi.AgiException
streamFileInterruptible
file - a String object.
org.asteriskjava.fastagi.AgiException - if any.protected ThreadCategory log()
log
ThreadCategory object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||