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 |
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, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, 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–2016. All rights reserved.