org.mobicents.media.server.mgcp.pkg.au
Class PlayRecord
java.lang.Object
org.mobicents.media.server.mgcp.controller.signal.Signal
org.mobicents.media.server.mgcp.pkg.au.PlayRecord
public class PlayRecord
- extends Signal
Implements play announcement signal.
Plays a prompt and collects DTMF digits entered by a user. If no
digits are entered or an invalid digit pattern is entered, the
user may be reprompted and given another chance to enter a correct
pattern of digits. The following digits are supported: 0-9, *,
#, A, B, C, D. By default PlayCollect does not play an initial
prompt, makes only one attempt to collect digits, and therefore
functions as a simple Collect operation. Various special purpose
keys, key sequences, and key sets can be defined for use during
the PlayCollect operation.
- Author:
- oifa yulian
| Fields inherited from class org.mobicents.media.server.mgcp.controller.signal.Signal |
events |
| Methods inherited from class org.mobicents.media.server.mgcp.controller.signal.Signal |
accept, complete, getConnection, getEndpoint, getName, getPackage, getTrigger, sendEvent, sendEvent, setPackage, setTrigger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayRecord
public PlayRecord(String name)
execute
public void execute()
- Description copied from class:
Signal
- Executes this signal
- Specified by:
execute in class Signal
doAccept
public boolean doAccept(Text event)
- Specified by:
doAccept in class Signal
cancel
public void cancel()
- Specified by:
cancel in class Signal
reset
public void reset()
- Overrides:
reset in class Signal
Copyright © 2012 TeleStax, Inc.. All Rights Reserved.