27#ifndef TELEPHONYEVENTS_H
28#define TELEPHONYEVENTS_H
67 mblk_t *packet, uint8_t event,
int end, uint8_t volume, uint16_t duration);
76ORTP_PUBLIC
void rtp_session_check_telephone_events(
RtpSession *session,
mblk_t *m0);
83#define TELEPHONY_EVENTS_ALLOCATED_SIZE (4*sizeof(telephone_event_t))
96#define TEV_DTMF_STAR (10)
97#define TEV_DTMF_POUND (11)
98#define TEV_DTMF_A (12)
99#define TEV_DTMF_B (13)
100#define TEV_DTMF_C (14)
101#define TEV_DTMF_D (15)
102#define TEV_FLASH (16)
Definition: rtpsession.h:202
Definition: telephonyevents.h:34
Definition: str_utils.h:50
ORTP_PUBLIC mblk_t * rtp_session_create_telephone_event_packet(RtpSession *session, int start)
Definition: telephonyevents.c:96
ORTP_PUBLIC int rtp_session_read_telephone_event(RtpSession *session, mblk_t *packet, telephone_event_t **tab)
Definition: telephonyevents.c:304
ORTP_PUBLIC int rtp_session_telephone_events_supported(RtpSession *session)
Definition: telephonyevents.c:44
ORTP_PUBLIC int rtp_session_send_dtmf2(RtpSession *session, char dtmf, uint32_t userts, int duration)
Definition: telephonyevents.c:187
ORTP_PUBLIC int rtp_session_send_telephone_events_supported(RtpSession *session)
Definition: telephonyevents.c:61
ORTP_PUBLIC int rtp_session_recv_telephone_events_supported(RtpSession *session)
Definition: telephonyevents.c:75
ORTP_PUBLIC int rtp_session_send_dtmf(RtpSession *session, char dtmf, uint32_t userts)
Definition: telephonyevents.c:173
ORTP_PUBLIC int rtp_session_add_telephone_event(RtpSession *session, mblk_t *packet, uint8_t event, int end, uint8_t volume, uint16_t duration)
Definition: telephonyevents.c:137