# dtmfdetect

This element will detect DTMF tones and emit messages.

The message is called `dtmf-event` and has the following fields:

- gint `type` (0-1): The application uses this field to specify which of the two methods specified in RFC 2833 to use. The value should be 0 for tones and 1 for named events. Tones are specified by their frequencies and events are specified by their number. This element can only take events as input. Do not confuse with "method" which specified the output.
- gint `number` (0-16): The event number.
- gint `method` (2): This field will always been 2 (ie sound) from this element.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──dtmfdetect

## Factory details

Authors: – Olivier Crete

Classification: – `Filter/Analyzer/Audio`

Rank – marginal

Plugin – spandsp

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/x-raw:
             format: S16LE
               rate: 8000
           channels: 1

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S16LE
               rate: 8000
           channels: 1

Presence – always

Direction – src

Object type – GstPad

## Properties

### qos

    “qos” gboolean

Handle Quality-of-Service events

Flags : Read / Write

Default value : false

The results of the search are