You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rtpengine/include/dtmf.h

24 lines
374 B

#ifndef _DTMF_H_
#define _DTMF_H_
#include <inttypes.h>
#include <glib.h>
#include "str.h"
struct media_packet;
struct dtmf_event {
int code;
int volume;
uint64_t ts;
};
void dtmf_init(void);
int dtmf_event(struct media_packet *, str *, int);
int dtmf_event_payload(str *, uint64_t *, uint64_t, struct dtmf_event *, GQueue *);
void dtmf_event_free(void *);
#endif