aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/rtp.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-16 22:11:02 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-16 22:11:02 +0000
commit20ce7815f315364cbd9b4e72cf6f9d3854a8de62 (patch)
tree16a03f4e88229adb3de2cd5470afd1e4048a3956 /include/asterisk/rtp.h
parent80f7ac0af5c8e6a4559d7a3d75c8680a11becd35 (diff)
mark RTP sessions that are not carrying DTMF
allow native bridging of RTP sessions that are not carrying DTMF even when the bridge needs to listen to DTMF (when SIP INFO is used for DTMF, for example) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27559 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/rtp.h')
-rw-r--r--include/asterisk/rtp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 7235639f1..5b03d1d86 100644
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -151,6 +151,9 @@ char *ast_rtp_lookup_mime_multiple(char *buf, int size, const int capability, co
void ast_rtp_setnat(struct ast_rtp *rtp, int nat);
+/*! \brief Indicate whether this RTP session is carrying DTMF or not */
+void ast_rtp_setdtmf(struct ast_rtp *rtp, int dtmf);
+
int ast_rtp_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc, int timeoutms);
int ast_rtp_proto_register(struct ast_rtp_protocol *proto);