Change in osmo-ttcn3-hacks[master]: msc: add a COORD port for inter-component coordination

2021-08-06 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069 )

Change subject: msc: add a COORD port for inter-component coordination
..

msc: add a COORD port for inter-component coordination

Also provide a blank receive template for CallParameters which is
needed to receive a CallParameters record via the COORD port.

Will be used by MSC_Tests.TC_call_re_establishment in
Ifdff5573eeb3b3d41e8599b9b0228411d2576864

Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
---
M msc/BSC_ConnectionHandler.ttcn
1 file changed, 36 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index cf4e846..2f270ca 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -63,11 +63,18 @@

 import from TCCConversion_Functions { function f_strstr };

+type port BSC_ConnHdlr_Coord_PT message
+{
+   inout charstring, CallParameters;
+} with { extension "internal" };
+
+
 /* this component represents a single subscriber connection */
 type component BSC_ConnHdlr extends RAN_ConnHdlr, MNCC_ConnHdlr, 
GSUP_ConnHdlr, MGCP_ConnHdlr, SMPP_ConnHdlr, CTRL_Adapter_CT, SGsAP_ConnHdlr {
var BSC_ConnHdlrPars g_pars;
timer g_Tguard := 60.0;
port TELNETasp_PT MSCVTY;
+   port BSC_ConnHdlr_Coord_PT COORD;
 }

 type record BSC_ConnHdlrNetworkPars {
@@ -959,6 +966,35 @@
got_osmux_count := 0
 };

+template CallParameters tr_CallParams := {
+   called_party := ?,
+   transaction_id := ?,
+   mo_call := ?,
+   bearer_cap := ?,
+   emergency := ?,
+   mncc_callref := *,
+   mncc_bearer_cap := ?,
+   mncc_rtp_ip := ?,
+   mncc_rtp_port := ?,
+   bss_rtp_ip := ?,
+   bss_rtp_port := ?,
+   mss_rtp_ip := *,
+   mss_rtp_port := *,
+   got_crcx_count := ?,
+   mgw_conn_1 := ?,
+   mgw_conn_2 := ?,
+   rtp_payload_type := ?,
+   rtp_sdp_format := ?,
+   mgw_drop_dlcx := ?,
+   stop_after_cc_setup := ?,
+   ran_clear_when_alerting := ?,
+   expect_release := ?,
+   mgcp_call_id := *,
+   mgcp_ep := ?,
+   use_osmux := ?,
+   got_osmux_count := ?
+};
+
 /* Allocate a call reference and send SETUP via MNCC to MSC */
 function f_mt_call_initate(inout CallParameters cpars)
 runs on BSC_ConnHdlr {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
Gerrit-Change-Number: 25069
Gerrit-PatchSet: 5
Gerrit-Owner: neels 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-MessageType: merged


Change in osmo-ttcn3-hacks[master]: msc: add a COORD port for inter-component coordination

2021-08-06 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069 )

Change subject: msc: add a COORD port for inter-component coordination
..


Patch Set 4: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
Gerrit-Change-Number: 25069
Gerrit-PatchSet: 4
Gerrit-Owner: neels 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Fri, 06 Aug 2021 14:02:09 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-ttcn3-hacks[master]: msc: add a COORD port for inter-component coordination

2021-07-29 Thread osmith
osmith has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069 )

Change subject: msc: add a COORD port for inter-component coordination
..


Patch Set 3: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
Gerrit-Change-Number: 25069
Gerrit-PatchSet: 3
Gerrit-Owner: neels 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Thu, 29 Jul 2021 16:10:05 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-ttcn3-hacks[master]: msc: add a COORD port for inter-component coordination

2021-07-28 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069 )

Change subject: msc: add a COORD port for inter-component coordination
..


Patch Set 2: Code-Review+1


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
Gerrit-Change-Number: 25069
Gerrit-PatchSet: 2
Gerrit-Owner: neels 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Wed, 28 Jul 2021 12:05:12 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-ttcn3-hacks[master]: msc: add a COORD port for inter-component coordination

2021-07-27 Thread neels
neels has uploaded a new patch set (#2). ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069 )

Change subject: msc: add a COORD port for inter-component coordination
..

msc: add a COORD port for inter-component coordination

Also provide a blank receive template for CallParameters which is
needed to receive a CallParameters record via the COORD port.

Will be used by MSC_Tests.TC_call_re_establishment in
Ifdff5573eeb3b3d41e8599b9b0228411d2576864

Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
---
M msc/BSC_ConnectionHandler.ttcn
1 file changed, 36 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/69/25069/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
Gerrit-Change-Number: 25069
Gerrit-PatchSet: 2
Gerrit-Owner: neels 
Gerrit-MessageType: newpatchset


Change in osmo-ttcn3-hacks[master]: msc: add a COORD port for inter-component coordination

2021-07-27 Thread neels
neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069 )


Change subject: msc: add a COORD port for inter-component coordination
..

msc: add a COORD port for inter-component coordination

Also provide a blank receive template for CallParameters which is
needed to receive a CallParameters record via the COORD port.

Will be used by MSC_Tests.TC_call_re_establishment in
Ifdff5573eeb3b3d41e8599b9b0228411d2576864

Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
---
M msc/BSC_ConnectionHandler.ttcn
1 file changed, 36 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/69/25069/1

diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index cf4e846..2f270ca 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -63,11 +63,18 @@

 import from TCCConversion_Functions { function f_strstr };

+type port BSC_ConnHdlr_Coord_PT message
+{
+   inout charstring, CallParameters;
+} with { extension "internal" };
+
+
 /* this component represents a single subscriber connection */
 type component BSC_ConnHdlr extends RAN_ConnHdlr, MNCC_ConnHdlr, 
GSUP_ConnHdlr, MGCP_ConnHdlr, SMPP_ConnHdlr, CTRL_Adapter_CT, SGsAP_ConnHdlr {
var BSC_ConnHdlrPars g_pars;
timer g_Tguard := 60.0;
port TELNETasp_PT MSCVTY;
+   port BSC_ConnHdlr_Coord_PT COORD;
 }

 type record BSC_ConnHdlrNetworkPars {
@@ -959,6 +966,35 @@
got_osmux_count := 0
 };

+template CallParameters tr_CallParams := {
+   called_party := ?,
+   transaction_id := ?,
+   mo_call := ?,
+   bearer_cap := ?,
+   emergency := ?,
+   mncc_callref := *,
+   mncc_bearer_cap := ?,
+   mncc_rtp_ip := ?,
+   mncc_rtp_port := ?,
+   bss_rtp_ip := ?,
+   bss_rtp_port := ?,
+   mss_rtp_ip := *,
+   mss_rtp_port := *,
+   got_crcx_count := ?,
+   mgw_conn_1 := ?,
+   mgw_conn_2 := ?,
+   rtp_payload_type := ?,
+   rtp_sdp_format := ?,
+   mgw_drop_dlcx := ?,
+   stop_after_cc_setup := ?,
+   ran_clear_when_alerting := ?,
+   expect_release := ?,
+   mgcp_call_id := *,
+   mgcp_ep := ?,
+   use_osmux := ?,
+   got_osmux_count := ?
+};
+
 /* Allocate a call reference and send SETUP via MNCC to MSC */
 function f_mt_call_initate(inout CallParameters cpars)
 runs on BSC_ConnHdlr {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25069
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iba3a5304fa40159bc2c31cdc3a71ee56ed08bd12
Gerrit-Change-Number: 25069
Gerrit-PatchSet: 1
Gerrit-Owner: neels 
Gerrit-MessageType: newchange