aboutsummaryrefslogtreecommitdiffstats
path: root/src/msc_conn.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-09-15 19:30:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-09-15 19:30:20 +0200
commitb1dfc462dfa308d62b939847dbee2218c3a25fc1 (patch)
tree45e37d40b8cb870873a66586217e04ca7d0e84fa /src/msc_conn.c
parent588754c7d391482de6b903e3a80a0df103d314d8 (diff)
cellmgr: Patch the MGCP messages and replace the domain name
Replace the domain name with a new name domain that can be configured via the VTY interface.
Diffstat (limited to 'src/msc_conn.c')
-rw-r--r--src/msc_conn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/msc_conn.c b/src/msc_conn.c
index 551a781..0e61dd3 100644
--- a/src/msc_conn.c
+++ b/src/msc_conn.c
@@ -27,6 +27,7 @@
#include <mtp_data.h>
#include <cellmgr_debug.h>
#include <ss7_application.h>
+#include <mgcp_patch.h>
#include <osmocom/core/talloc.h>
#include <osmocom/gsm/tlv.h>
@@ -158,6 +159,7 @@ static int ipaccess_a_fd_cb(struct osmo_fd *bfd)
} else if (hh->proto == IPAC_PROTO_SCCP) {
msc_dispatch_sccp(fw, msg);
} else if (hh->proto == NAT_MUX) {
+ msg = mgcp_patch(fw->app, msg);
mgcp_forward(fw, msg->l2h, msgb_l2len(msg));
} else {
LOGP(DMSC, LOGL_ERROR, "Unknown IPA proto 0x%x\n", hh->proto);