27 #ifndef TELEPHONYEVENTS_H
28 #define TELEPHONYEVENTS_H
66 mblk_t *packet, uint8_t event,
int end, uint8_t volume, uint16_t duration);
75 ORTP_PUBLIC
void rtp_session_check_telephone_events(
RtpSession *session,
mblk_t *m0);
82 #define TELEPHONY_EVENTS_ALLOCATED_SIZE (4*sizeof(telephone_event_t))
85 #define TEV_DTMF_0 (0)
86 #define TEV_DTMF_1 (1)
87 #define TEV_DTMF_2 (2)
88 #define TEV_DTMF_3 (3)
89 #define TEV_DTMF_4 (4)
90 #define TEV_DTMF_5 (5)
91 #define TEV_DTMF_6 (6)
92 #define TEV_DTMF_7 (7)
93 #define TEV_DTMF_8 (8)
94 #define TEV_DTMF_9 (9)
95 #define TEV_DTMF_STAR (10)
96 #define TEV_DTMF_POUND (11)
97 #define TEV_DTMF_A (12)
98 #define TEV_DTMF_B (13)
99 #define TEV_DTMF_C (14)
100 #define TEV_DTMF_D (15)
101 #define TEV_FLASH (16)
ORTP_PUBLIC int rtp_session_recv_telephone_events_supported(RtpSession *session)
Definition: telephonyevents.c:75
ORTP_PUBLIC int rtp_session_read_telephone_event(RtpSession *session, mblk_t *packet, telephone_event_t **tab)
Definition: telephonyevents.c:303
Definition: rtpsession.h:348
Definition: str_utils.h:49
ORTP_PUBLIC int rtp_session_send_telephone_events_supported(RtpSession *session)
Definition: telephonyevents.c:63
ORTP_PUBLIC int rtp_session_send_dtmf2(RtpSession *session, char dtmf, uint32_t userts, int duration)
Definition: telephonyevents.c:186
ORTP_PUBLIC int rtp_session_telephone_events_supported(RtpSession *session)
Definition: telephonyevents.c:44
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:136
ORTP_PUBLIC int rtp_session_send_dtmf(RtpSession *session, char dtmf, uint32_t userts)
Definition: telephonyevents.c:172
Definition: telephonyevents.h:33
ORTP_PUBLIC mblk_t * rtp_session_create_telephone_event_packet(RtpSession *session, int start)
Definition: telephonyevents.c:94