From 08a1b16674038fc7e601f55238d51128d56fa247 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 18 Apr 2010 02:26:16 +0800 Subject: nat: Return the SCCP Connection again... We will reset the multiplex in a DLCX message and then we can reset the multiplex as well...even if the MGCP connection is staying open. or at least this is a theory. The MSC likes to leave a connection open during CallControl when hanging up early enough in the process. --- openbsc/tests/bsc-nat/bsc_nat_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/tests') diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index 12141ef7b..e547ee479 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -432,14 +432,14 @@ static void test_mgcp_find(void) abort(); } - if (bsc_mgcp_find_con(nat, 12) != con) { + if (bsc_mgcp_find_con(nat, 12) != sccp_con) { fprintf(stderr, "Didn't find the connection\n"); abort(); } sccp_con->msc_timeslot = 0; sccp_con->bsc_timeslot = 0; - if (bsc_mgcp_find_con(nat, 1) != con) { + if (bsc_mgcp_find_con(nat, 1) != sccp_con) { fprintf(stderr, "Didn't find the connection\n"); abort(); } -- cgit v1.2.3