From 84f67b2832f984fd28e78596bc3d7fbbc661e04f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 30 Jun 2013 13:13:59 +0200 Subject: Don't establish RSL at same time as OML link on IPA type lines If we have a BTS-side e1inp_line, we can only establish OML at the time of line_update. We have to wait with RSL until the BTS explicitly tells us the RSL destination IP and port (received via OML from BSC). This is now handled in a new function called e1inp_ipa_bts_rsl_connect(). --- tests/e1inp_ipa_bts_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/e1inp_ipa_bts_test.c b/tests/e1inp_ipa_bts_test.c index 31aac95..02a4cb3 100644 --- a/tests/e1inp_ipa_bts_test.c +++ b/tests/e1inp_ipa_bts_test.c @@ -70,6 +70,7 @@ sign_link_up(void *unit, struct e1inp_line *line, enum e1inp_sign_type type) /* Now we can send OML messages to the BSC. */ bts_state = BTS_TEST_OML_SIGN_LINK_UP; } + e1inp_ipa_bts_rsl_connect(line, "127.0.0.1", IPA_TCP_PORT_RSL); break; case E1INP_SIGN_RSL: LOGP(DBTSTEST, LOGL_NOTICE, "RSL link up request received.\n"); -- cgit v1.2.3