This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Start sending a DTMF tone to all eligible streams in the channel.
Where possible, the tone will continue until
Tone overlaping or queueing is not supported, so this method can only be called if no DTMF tones are already being played.
A string representation of one or more DTMF events. Implementations of this method MUST support all of the following characters in this string:
Send multiple DTMF events to all eligible streams in the channel. Each tone will be played for an implementation-defined number of milliseconds (typically 250ms), followed by a gap before the next tone is played (typically 100ms). The duration and gap are defined by the protocol or connection manager.
In cases where the client knows in advance the tone sequence it wants to send, it's easier to use this method than manually start and stop each tone in the sequence.
The tone and gap lengths may need to vary for interoperability,
according to the protocol and other implementations' ability to
recognise tones. At the time of writing, GStreamer uses a
minimum of 250ms tones and 100ms gaps when playing in-band DTMF
in the normal audio stream, or 70ms tones and 50ms gaps when
encoding DTMF as audio/telephone-event
.
Tone overlaping or queueing is not supported, so this method can only be called if no DTMF tones are already being played.
If non-empty in a channel request that will create a new channel, the connection manager should send the tones immediately after at least one eligible audio stream has been created in the channel.
This should only be used with InitialAudio=true.
This property is immutable (cannot change).
The tones waiting for the user to continue, if any.
When this property is set to a non-empty value,
Emitted when 'w' or 'W', indicating "wait for the user to continue",
is encountered while playing a DTMF string queued by
When the channel handler is ready to continue, it MAY pass the
value of
This signal SHOULD NOT be emitted if there is nothing left to play, i.e. if the 'w' was the last character in the DTMF string.
DTMF tone(s)are being sent to all eligible streams in the channel.
The signal is provided to indicating the fact that the streams are
currently being used to send one or more DTMF tones, so any other
media input is not getting through to the audio stream. It also
serves as a cue for the
DTMF tones have finished playing on streams in this channel.