pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41749?usp=email )


Change subject: hnbgw: set different mgcp_params ports and ids for each 
subscriber
......................................................................

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 https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41749?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I32f644038d7e29b261ba3852583170a63544dae5
Gerrit-Change-Number: 41749
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to