From 7f100c9712de5c684462e809bf31a58c0c326337 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 23 Apr 2015 20:25:17 -0400 Subject: nat: Make mode-set patching optional --- openbsc/include/openbsc/bsc_nat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/include/openbsc/bsc_nat.h') diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 9d29d26c3..19144e3dd 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -285,6 +285,7 @@ struct bsc_nat { uint8_t mgcp_msg[4096]; int mgcp_length; int mgcp_ipa; + int sdp_ensure_amr_mode_set; /* msc things */ struct llist_head dests; @@ -421,7 +422,7 @@ int bsc_mgcp_nat_init(struct bsc_nat *nat); struct nat_sccp_connection *bsc_mgcp_find_con(struct bsc_nat *, int endpoint_number); struct msgb *bsc_mgcp_rewrite(char *input, int length, int endp, const char *ip, - int port, int osmux, int *payload_type); + int port, int osmux, int *payload_type, int mode_set); void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg); void bsc_mgcp_clear_endpoints_for(struct bsc_connection *bsc); -- cgit v1.2.3