path: root/openbsc/include/openbsc
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-21 21:25:13 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-21 21:25:13 +0800
commitc71013091aa7995986438bcf06703e6df9e7f3eb (patch)
tree1d56094e9a04bbe3ce824412914a5956e60ab43b /openbsc/include/openbsc
parent4b1cde10fe52312fafd9a61796aef075593b94bb (diff)
[mgcp] Add a dummy send method...
This can be used by higher level code to send one dummy message from the audio port to the network. This can be used to make the remote discover the nated port of this endpoint.
Diffstat (limited to 'openbsc/include/openbsc')
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index 3a2832436..d5aec3080 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -73,5 +73,6 @@ struct mgcp_msg_ptr {
int mgcp_analyze_header(struct mgcp_config *cfg, struct msgb *msg,
struct mgcp_msg_ptr *ptr, int size,
const char **transaction_id, struct mgcp_endpoint **endp);
+int mgcp_send_dummy(struct mgcp_endpoint *endp);