Class ReadNoticeDetailsAgiScript
- java.lang.Object
-
- org.asteriskjava.fastagi.AgiOperations
-
- org.asteriskjava.fastagi.BaseAgiScript
-
- org.opennms.netmgt.asterisk.agi.scripts.BaseOnmsAgiScript
-
- org.opennms.netmgt.asterisk.agi.scripts.ReadNoticeDetailsAgiScript
-
- All Implemented Interfaces:
org.asteriskjava.fastagi.AgiChannel
,org.asteriskjava.fastagi.AgiScript
public class ReadNoticeDetailsAgiScript extends BaseOnmsAgiScript
An AGI script that reads the node ID and service name of an OpenNMS notice to the called party- Version:
- $Id: $
- Author:
- Jeff Gehlbach, OpenNMS, Jeff Gehlbach, OpenNMS
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.asterisk.agi.scripts.BaseOnmsAgiScript
VAR_INTERRUPT_DIGITS, VAR_OPENNMS_INTERFACE, VAR_OPENNMS_NODEID, VAR_OPENNMS_NODELABEL, VAR_OPENNMS_NOTIFY_BODY, VAR_OPENNMS_NOTIFY_SUBJECT, VAR_OPENNMS_SERVICE, VAR_OPENNMS_USER_PIN, VAR_OPENNMS_USERNAME
-
-
Constructor Summary
Constructors Constructor Description ReadNoticeDetailsAgiScript()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authenticateUser()
authenticateUservoid
sayIpAddr()
sayIpAddrvoid
sayNode()
sayNodevoid
sayServiceName()
sayServiceNamevoid
service(org.asteriskjava.fastagi.AgiRequest req, org.asteriskjava.fastagi.AgiChannel chan)
-
Methods inherited from class org.opennms.netmgt.asterisk.agi.scripts.BaseOnmsAgiScript
sayAlphaInterruptible, sayDateTimeInterruptible, sayDigitsInterruptible, sayIpAddressInterruptible, sayIpAddressInterruptible, sayNumberInterruptible, sayPhoneticInterruptible, sayTimeInterruptible, 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, gosub, gosub, 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
-
-
-
-
Method Detail
-
service
public void service(org.asteriskjava.fastagi.AgiRequest req, org.asteriskjava.fastagi.AgiChannel chan) throws org.asteriskjava.fastagi.AgiException
- Throws:
org.asteriskjava.fastagi.AgiException
-
authenticateUser
public void authenticateUser() throws org.asteriskjava.fastagi.AgiException
authenticateUser
- Throws:
org.asteriskjava.fastagi.AgiException
- if any.
-
sayNode
public void sayNode() throws org.asteriskjava.fastagi.AgiException
sayNode
- Throws:
org.asteriskjava.fastagi.AgiException
- if any.
-
sayIpAddr
public void sayIpAddr() throws org.asteriskjava.fastagi.AgiException
sayIpAddr
- Throws:
org.asteriskjava.fastagi.AgiException
- if any.
-
sayServiceName
public void sayServiceName() throws org.asteriskjava.fastagi.AgiException
sayServiceName
- Throws:
org.asteriskjava.fastagi.AgiException
- if any.
-
-