aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-10 03:10:34 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-10 03:10:34 +0000
commitab05545a7e63f545e6b4633a6bb986617fe82cb9 (patch)
tree1b9454c2d52706352f9262db85f522f66c10e391 /include
parent95267b108e477044a553f5901630f0cf21d037e8 (diff)
initial import of Asterisk SIP support for network security devices
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@7927 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/rtp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index bdb0391fd..f1e771e34 100644
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -100,6 +100,11 @@ void ast_rtp_get_peer(struct ast_rtp *rtp, struct sockaddr_in *them);
void ast_rtp_get_us(struct ast_rtp *rtp, struct sockaddr_in *us);
+#ifdef MIDCOM
+void ast_rtp_nat_us(struct ast_rtp *rtp, struct sockaddr_in *our_nat);
+void ast_rtp_get_their_nat(struct ast_rtp *rtp, struct sockaddr_in *their_nat);
+#endif
+
void ast_rtp_destroy(struct ast_rtp *rtp);
void ast_rtp_reset(struct ast_rtp *rtp);