This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/9411 Change subject: bsc: Derive MGCP EP + Port numbers from new g_pars.media_nr ...................................................................... bsc: Derive MGCP EP + Port numbers from new g_pars.media_nr Change-Id: I44b46c9bc8f13eed9b3d18a6ce67980d2af0d46a --- M bsc/MSC_ConnectionHandler.ttcn 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/11/9411/1 diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn index 1a5bed9..16a0547 100644 --- a/bsc/MSC_ConnectionHandler.ttcn +++ b/bsc/MSC_ConnectionHandler.ttcn @@ -361,6 +361,7 @@ GsmFrameNumber fn, hexstring imsi, RslLinkId link_id, + integer media_nr, /* determins MGCP EP, port numbers */ BSSMAP_IE_SpeechCodecList ass_codec_list optional, TestHdlrEncrParams encr optional }; @@ -370,6 +371,7 @@ fn := 23, imsi := '001019876543210'H, link_id := valueof(ts_RslLinkID_DCCH(0)), + media_nr := 1, ass_codec_list := omit, encr := omit } @@ -712,7 +714,7 @@ /* establish a channel fully, expecting an assignment matching 'exp' */ function f_establish_fully(template (omit) PDU_BSSAP ass_tpl, template PDU_BSSAP exp_ass_cpl) runs on MSC_ConnHdlr { - f_MscConnHdlr_init(1, "127.0.0.2", "127.0.0.3"); + f_MscConnHdlr_init(g_pars.media_nr, "127.0.0.2", "127.0.0.3"); f_create_chan_and_exp(); /* we should now have a COMPL_L3 at the MSC */ -- To view, visit https://gerrit.osmocom.org/9411 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I44b46c9bc8f13eed9b3d18a6ce67980d2af0d46a Gerrit-Change-Number: 9411 Gerrit-PatchSet: 1 Gerrit-Owner: Harald Welte <laforge at gnumonks.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180601/8c708727/attachment.htm>