|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MsEndpoint
Media Server contain endpoints on which the Call-Agent/Application can
create, modify and delete connections in order to establish and control media
sessions with other multimedia endpoints. MsEndpoint
represents the Endpoint in media server. Once the MsConnection
is created, application can get reference to MsEndpoint by
calling MsConnection.getEndpoint().
Endpoints in media server is broadly divided in two categories 1)
VirtualEndpoint for example Announcement Endpoint, IVR
Endpoint, Packet Relay Endpoint etc and 2) PhysicalEndpoint like Fax line,
DS0, TDM etc
MsEndpoint is useful to detect the events like
DTMF or apply signal like Play Announcement on MsConnection or
MsLink
| Method Summary | |
|---|---|
void |
addConnectionListener(MsConnectionListener listener)
Register MsConnectionListener to listen for changes in MsConnection state handled by this Endpoint |
void |
addNotificationListener(MsNotificationListener listener)
Register MsNotificationListener to listen for MsNotifyEvent
which are fired due to events detected by Endpoints like DTMF. |
void |
execute(MsRequestedSignal[] signals,
MsRequestedEvent[] events)
Call this method to Generate event or request Signal on Endpoint directly. |
void |
execute(MsRequestedSignal[] signals,
MsRequestedEvent[] events,
MsConnection connection)
Call this method to Generate event or request Signal on MsConnection in Endpoint. |
void |
execute(MsRequestedSignal[] signals,
MsRequestedEvent[] events,
MsLink link)
Call this method to Generate event or request Signal on MsLink in Endpint |
java.lang.String |
getLocalName()
Returns the fully qualified Endpoint Name |
java.lang.String[] |
getSupportedPackages()
This method gives the array of Supported Packages for given Endpoint. |
void |
removeConnectionListener(MsConnectionListener listener)
Removes the MsConnectionListener |
void |
removeNotificationListener(MsNotificationListener listener)
Remove the NotificationListener |
| Method Detail |
|---|
java.lang.String getLocalName()
MsEndpoint.
For example 'media/trunk/IVR/enp-3'
void execute(MsRequestedSignal[] signals,
MsRequestedEvent[] events)
signals - array of MsRequestedSignal to be applied on Endpointevents - array of MsRequestedEvent to be detected on Endpoint
void execute(MsRequestedSignal[] signals,
MsRequestedEvent[] events,
MsConnection connection)
signals - array of MsRequestedSignal to be applied on Endpointevents - array of MsRequestedEvent to be detected on Endpointconnection - MsConnection on which events/signals need to be applied
void execute(MsRequestedSignal[] signals,
MsRequestedEvent[] events,
MsLink link)
signals - array of MsRequestedSignal to be applied on Endpointevents - array of MsRequestedEvent to be detected on Endpointlink - MsLink on which events/signals need to be appliedvoid addNotificationListener(MsNotificationListener listener)
MsNotifyEvent
which are fired due to events detected by Endpoints like DTMF. Use above
execute methods to register for event, passing appropriate
MsRequestedEvent
listener - void removeNotificationListener(MsNotificationListener listener)
listener - void addConnectionListener(MsConnectionListener listener)
listener - void removeConnectionListener(MsConnectionListener listener)
listener - java.lang.String[] getSupportedPackages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||