Class a.s.DigitsJob(object):

Part of aculab.speech View Source View In Hierarchy

Job to play a string of DTMF digits.
Method __init__ Prepare to play a string of DTMF digits.
Method start Generic job interface method.
Method on_write Reactor callback.
Method stop Generic job interface method.
def __init__(self, channel, digits, inter_digit_delay=0, digit_duration=0): (source)

Prepare to play a string of DTMF digits.

Related Aculab documentation sm_play_digits.

Only kSMDTMFDigits is supported as type.

See SpeechChannel.digits for shorthand.
ParametersdigitsString of DTMF Digits. A digit can be 0-9, A-D, * and #.
inter_digit_delayDelay between digits in milliseconds. Zero for the default value (exact value unknown).
digit_durationDuration of each digit in milliseconds. Zero for the default value (exact value unknown).
def start(self): (source)

Generic job interface method.

Applications should use SpeechChannel.digits or SpeechChannel.start.
def on_write(self): (source)
Reactor callback.
def stop(self): (source)
Generic job interface method.
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.