diff options
author | Harald Welte <laforge@netfilter.org> | 2009-12-19 16:42:06 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-12-19 18:35:56 +0100 |
commit | 5e3d91bff71a9c456069bbf4a459b66a32f9656e (patch) | |
tree | 5eec83d2ef737b6a8c7e2977a4701e4108f16a53 /openbsc/src/gsm_04_08.c | |
parent | f314f6899b89cacae521daf12db85531a5e20dc5 (diff) |
ip.access: Keep a full copy of local and remote IP/PORT in lchan
Keeping all parameters for each RTP connection in the abis_ip member of
lchan will help us with actual TCH handover later on.
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index f87b3358f..589133e27 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -1920,7 +1920,6 @@ static int ipacc_connect_proxy_bind(struct gsm_lchan *lchan) rc = rsl_ipacc_mdcx(lchan, ntohl(rs->rtp.sin_local.sin_addr.s_addr), ntohs(rs->rtp.sin_local.sin_port), - lchan->abis_ip.conn_id, /* FIXME: use RTP payload of bound socket, not BTS*/ lchan->abis_ip.rtp_payload2); @@ -1959,13 +1958,11 @@ static int tch_map(struct gsm_lchan *lchan, struct gsm_lchan *remote_lchan) /* directly connect TCH RTP streams to each other */ rc = rsl_ipacc_mdcx(lchan, remote_lchan->abis_ip.bound_ip, remote_lchan->abis_ip.bound_port, - lchan->abis_ip.conn_id, remote_lchan->abis_ip.rtp_payload2); if (rc < 0) return rc; rc = rsl_ipacc_mdcx(remote_lchan, lchan->abis_ip.bound_ip, lchan->abis_ip.bound_port, - remote_lchan->abis_ip.conn_id, lchan->abis_ip.rtp_payload2); } break; |