diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-01-17 19:50:12 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-01-17 19:50:12 +0000 |
commit | 2511051beb79c1f0284738fb3042507dd31e194d (patch) | |
tree | b64992265dc2369c16bcd771a150d7081fa2edc7 /include | |
parent | 47ff9c54029a3012c7112e808a1c435e811c9823 (diff) |
Version 0.3.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@586 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/rtp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index 791e46e9f..8b21767f3 100755 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -32,6 +32,8 @@ struct ast_rtp *ast_rtp_new(struct sched_context *sched, struct io_context *io); void ast_rtp_set_peer(struct ast_rtp *rtp, struct sockaddr_in *them); +void ast_rtp_get_peer(struct ast_rtp *rpt, struct sockaddr_in *them); + void ast_rtp_get_us(struct ast_rtp *rtp, struct sockaddr_in *us); void ast_rtp_destroy(struct ast_rtp *rtp); @@ -42,6 +44,10 @@ void ast_rtp_set_data(struct ast_rtp *rtp, void *data); int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *f); +int ast_rtp_senddigit(struct ast_rtp *rtp, char digit); + +int ast_rtp_settos(struct ast_rtp *rtp, int tos); + int ast2rtp(int id); int rtp2ast(int id); |