2006-01-30 23:40:28 +00:00
|
|
|
/*
|
|
|
|
* (CAPI*)
|
|
|
|
*
|
2007-04-15 19:39:49 +00:00
|
|
|
* An implementation of Common ISDN API 2.0 for Asterisk
|
2006-01-30 23:40:28 +00:00
|
|
|
*
|
2007-02-11 14:51:30 +00:00
|
|
|
* Copyright (C) 2006-2007 Cytronics & Melware
|
2006-01-30 23:40:28 +00:00
|
|
|
*
|
|
|
|
* Armin Schindler <armin@melware.de>
|
|
|
|
*
|
|
|
|
* This program is free software and may be modified and
|
|
|
|
* distributed under the terms of the GNU Public License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PBX_CAPI_RTP_H
|
|
|
|
#define _PBX_CAPI_RTP_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* prototypes
|
|
|
|
*/
|
|
|
|
extern int capi_alloc_rtp(struct capi_pvt *i);
|
|
|
|
extern void voice_over_ip_profile(struct cc_capi_controller *cp);
|
|
|
|
extern int capi_write_rtp(struct ast_channel *c, struct ast_frame *f);
|
|
|
|
extern struct ast_frame *capi_read_rtp(struct capi_pvt *i, unsigned char *buf, int len);
|
|
|
|
extern _cstruct capi_rtp_ncpi(struct capi_pvt *i);
|
|
|
|
|
|
|
|
#endif
|