From 7897c4446b8f4a1731f4a8755b51f2567f8cb22a 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/bsc-nat/bsc_nat_test.c') diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index d2f6dbf26..d97a49194 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