org.mobicents.mscontrol.events.dtmf
Interface MsDtmfRequestedEvent

All Superinterfaces:
MsRequestedEvent, java.io.Serializable

public interface MsDtmfRequestedEvent
extends MsRequestedEvent

Instance of MsDtmfRequestedSignal is passed to endpoint to request endpoint to fire DTMF (captured by endpoint) to listening application (that implements MsNotificationListener)

 
 MsEventFactory factory = msProvider.getEventFactory();
 MsDtmfRequestedEvent dtmf = (MsDtmfRequestedEvent) factory.createRequestedEvent(DTMF.TONE);
 MsRequestedSignal[] signals = new MsRequestedSignal[] {};
 MsRequestedEvent[] events = new MsRequestedEvent[] { dtmf };
 
 msEndpoint.execute(signals, events, connection);
 

Author:
Oleg Kulikov

Method Summary
 java.lang.String getPattern()
           
 void setPattern(java.lang.String pattern)
          Application can pass the pattern to be matched by Endpoint.
 
Methods inherited from interface org.mobicents.mscontrol.events.MsRequestedEvent
getAction, getID, setEventAction
 

Method Detail

getPattern

java.lang.String getPattern()

setPattern

void setPattern(java.lang.String pattern)
Application can pass the pattern to be matched by Endpoint. Only if the pattern matches endpoint will fire DTMF events containing matched pattern of DTMF

Parameters:
pattern -


Copyright © 2008. All Rights Reserved.