Telephony events (RFC2833)

Name

Telephony events (RFC2833) -- 

Synopsis


#include <telephonyevents.h>


gint        rtp_session_send_dtmf           (RtpSession *session,
                                             gchar dtmf,
                                             guint32 userts);

Description

Details

rtp_session_send_dtmf ()

gint        rtp_session_send_dtmf           (RtpSession *session,
                                             gchar dtmf,
                                             guint32 userts);

This functions creates telephony events packets for dtmf and sends them. It uses rtp_session_create_telephone_event_packet() and rtp_session_add_telephone_event() to create them and finally rtp_session_sendm_with_ts() to send them.