pespin has uploaded this change for review.
hnbgw: set different mgcp_params ports and ids for each subscriber
Change-Id: I32f644038d7e29b261ba3852583170a63544dae5
---
M hnbgw/ConnHdlr.ttcn
1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/41749/1
diff --git a/hnbgw/ConnHdlr.ttcn b/hnbgw/ConnHdlr.ttcn
index 91c7878..7f557c9 100644
--- a/hnbgw/ConnHdlr.ttcn
+++ b/hnbgw/ConnHdlr.ttcn
@@ -137,22 +137,22 @@
resp := 1,
mgw_rtp_ip := "127.1.2.1",
mgw_rtp_ip_mdcx := omit,
- mgw_rtp_port := 10000,
- mgcp_connection_id := '11111'H
+ mgw_rtp_port := 10000 + endp_idx,
+ mgcp_connection_id := int2hex(hex2int('11111'H) + endp_idx, 32)
},
mgw_conn_cn := {
resp := 1,
mgw_rtp_ip := "127.1.2.2",
mgw_rtp_ip_mdcx := omit,
- mgw_rtp_port := 20000,
- mgcp_connection_id := '22222'H
+ mgw_rtp_port := 20000 + endp_idx,
+ mgcp_connection_id := int2hex(hex2int('22222'H) + endp_idx, 32)
},
rtp_payload_type := 112,
rtp_sdp_format := "VND.3GPP.IUFP",
hnb_rtp_ip := "127.1.1.1",
- hnb_rtp_port := 10001,
+ hnb_rtp_port := 10001 + endp_idx,
cn_rtp_ip := "127.1.3.1",
- cn_rtp_port := 20001,
+ cn_rtp_port := 20001 + endp_idx,
use_osmux := false,
got_osmux_count := 0
}
To view, visit change 41749. To unsubscribe, or for help writing mail filters, visit settings.