public class BridgeExecEvent extends ManagerEvent
It is implemented in main/features.c
Available since Asterisk 1.6.
Modifier and Type | Field and Description |
---|---|
static String |
RESPONSE_FAILED |
static String |
RESPONSE_SUCCESS |
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
BridgeExecEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getChannel1()
The name of the first channel.
|
String |
getChannel2()
The name of the second channel.
|
String |
getReason()
Returns the reason for failure.
|
String |
getResponse()
Returns whether bridging succeeded or failed.
|
void |
setChannel1(String channel1) |
void |
setChannel2(String channel2) |
void |
setReason(String reason) |
void |
setResponse(String response) |
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public static final String RESPONSE_FAILED
public static final String RESPONSE_SUCCESS
public BridgeExecEvent(Object source)
public String getResponse()
RESPONSE_FAILED
,
RESPONSE_SUCCESS
public void setResponse(String response)
public String getReason()
null
on success.public void setReason(String reason)
public String getChannel1()
public void setChannel1(String channel1)
public String getChannel2()
public void setChannel2(String channel2)
Copyright © 2004–2022. All rights reserved.