Virtual Method

PurpleProtocolMediasend_dtmf

since: 3.0

Declaration [src]

gboolean
send_dtmf (
  PurpleProtocolMedia* protocol_media,
  PurpleMedia* media,
  gchar dtmf,
  guint8 volume,
  guint8 duration
)

Description [src]

Sends a DTMF (dual-tone multi-frequency) signal via the established media for the given duration at the given volume.

It is up to the specific implementation if DTMF is send in or out of band.

Available since: 3.0

Parameters

media

Type: PurpleMedia

The PurpleMedia instance.

The data is owned by the caller of the function.
dtmf

Type: gchar

A DTMF to send.

volume

Type: guint8

The volume to send dtmf at.

duration

Type: guint8

The duration to send dtmf (in ms?)

Return value

Type: gboolean

TRUE if successful, FALSE otherwise.