diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-04 22:42:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-04 22:47:25 +0200 |
commit | 6d7b78bde165f39dcd9033f0c5386f5699801233 (patch) | |
tree | fe80fb89129b7cfc580ec3b11b471c7da2b289ac /src/common/rsl.c | |
parent | f41f2a7f92d7eea87e3f036a849bf8b131e2b389 (diff) |
add minimal configuration file support
this config file allows configuration of unit id, oml ip,
and local rtp bind IP.
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r-- | src/common/rsl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c index 29a0fb71..b9046f35 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1129,6 +1129,7 @@ static int rsl_rx_ipac_XXcx(struct msgb *msg) struct abis_rsl_dchan_hdr *dch = msgb_l2(msg); struct tlv_parsed tp; struct gsm_lchan *lchan = msg->lchan; + struct gsm_bts_role_bts *btsb = bts_role_bts(msg->lchan->ts->trx->bts); const uint8_t *payload_type, *speech_mode, *payload_type2; const uint32_t *connect_ip; const uint16_t *connect_port; @@ -1186,7 +1187,7 @@ static int rsl_rx_ipac_XXcx(struct msgb *msg) #warning remove hard-coded IP address rc = osmo_rtp_socket_bind(lchan->abis_ip.rtp_socket, - "192.168.100.239", -1); + btsb->rtp_bind_host, -1); if (rc < 0) { LOGP(DRSL, LOGL_ERROR, "%s IPAC Failed to bind RTP/RTCP sockets\n", |