lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

November 2026

  • 1 participants
  • 714 discussions
[S] Change in osmo-ttcn3-hacks[master]: smf: Introduce test TC_n11_createSession_pfcp_sess_est_timeout_no_pdu...
by osmith 09 Nov '26

09 Nov '26
Attention is currently required from: fixeria, pespin. osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44047?usp=email ) Change subject: smf: Introduce test TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44047?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Idd3ff2bf55477e1c60f05e6e21337e45ceb0102d Gerrit-Change-Number: 44047 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Mon, 09 Nov 2026 10:48:52 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: smf: Introduce test TC_n11_createSession_pfcp_sess_est_timeout_no_pdu...
by pespin 09 Nov '26

09 Nov '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44047?usp=email ) Change subject: smf: Introduce test TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej ...................................................................... smf: Introduce test TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej Related: https://github.com/open5gs/open5gs/issues/4878#issuecomment-6575650628 Change-Id: Idd3ff2bf55477e1c60f05e6e21337e45ceb0102d --- M smf/SMF_Session_CT_5G.ttcn M smf/SMF_Tests.ttcn M smf/expected-results.xml 3 files changed, 35 insertions(+), 11 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/47/44047/1 diff --git a/smf/SMF_Session_CT_5G.ttcn b/smf/SMF_Session_CT_5G.ttcn index 86aca29..c818d94 100644 --- a/smf/SMF_Session_CT_5G.ttcn +++ b/smf/SMF_Session_CT_5G.ttcn @@ -589,13 +589,14 @@ ts_HTTP2_Hdr_content_type("application/json; charset=utf-8") }, body := ts_HTTP2_Data_frame(http2_rx.stream_id, - end_stream_flag := true, - data := body_enc)); + end_stream_flag := true, + data := body_enc)); HTTP2_CONN[HTTP2_CONN_SCP].send(http2_tx); } /* 5.2.2.3.1 N1N2MessageTransfer, PDU Session establishment (see clause 4.3.2 of 3GPP TS 23.502) */ -altstep as_namf_comm_post_n1n2_messages_pdu_sess_establishment_reject(template (present) GMM_GSM_Cause exp_cause := ?) +altstep as_namf_comm_post_n1n2_messages_pdu_sess_establishment_reject(template (present) GMM_GSM_Cause exp_cause := ?, + boolean do_reply := true) runs on SMF_Session_CT { var HTTP2_Msg http2_rx; var HTTP2_multipart_part_list parts; @@ -610,10 +611,11 @@ /* Decode 2nd part: NG-NAS: */ dl_nas := dec_NG_NAS_DL_SM_Message_Type(parts[1].data); f_ng_nas_handle_session_establishment_reject(dl_nas, exp_cause); - setverdict(pass); - /* Tx answer: */ - f_namf_comm_N1N2MessageTransferRspData(http2_rx); + if (do_reply) { + /* Tx answer: */ + f_namf_comm_N1N2MessageTransferRspData(http2_rx); + } setverdict(pass); } } diff --git a/smf/SMF_Tests.ttcn b/smf/SMF_Tests.ttcn index f093c4a..9d8c968 100644 --- a/smf/SMF_Tests.ttcn +++ b/smf/SMF_Tests.ttcn @@ -815,8 +815,10 @@ f_TC_n11_createSession_deleteSession_250(c_PFCP_PDN_Type_IPv4v6); } -/* create an IPv4 session, then delete it again */ -private function f_TC_n11_createSession_pfcp_sess_est_timeout() runs on SMF_Session_CT { +/* Create a session, then emulated UPF never answers the PFCP Sess Est Req: + * timeout should release the session in the SMF and reject the UE. + * https://github.com/open5gs/open5gs/issues/4878 */ +private function f_TC_n11_createSession_pfcp_sess_est_timeout_(boolean pdu_sess_rej_reply := true) runs on SMF_Session_CT { var HTTP2_Msg http2_tx; var PrometheusExpects expects0 := valueof({ @@ -874,19 +876,23 @@ /* SMF deregisters on UDM: */ alt { [] as_nudm_sdm_delete_IndividualSubscription() { setverdict(pass); } /* expected incoming msg */ - [] as_namf_comm_post_n1n2_messages_pdu_sess_establishment_reject() { /* Unexpected msg: */ + [] as_namf_comm_post_n1n2_messages_pdu_sess_establishment_reject(do_reply := pdu_sess_rej_reply) { /* Unexpected msg: */ setverdict(fail, "Received PDU SESS REJ while waiting for UDM! https://github.com/open5gs/open5gs/issues/4878"); repeat; } } /* SMF Rejects the Create Session back to the UE: */ - as_namf_comm_post_n1n2_messages_pdu_sess_establishment_reject(cs_GMM_GSM_Cause(omit, int2bit(38 /* Network Failure */, 8))); + as_namf_comm_post_n1n2_messages_pdu_sess_establishment_reject(cs_GMM_GSM_Cause(omit, int2bit(38 /* Network Failure */, 8)), + do_reply := pdu_sess_rej_reply); f_http2_server_emu_unregister(valueof(ts_Nsmf_PDUSession_path_sm_contexts(g_pars.nsmf.smContextRef)), idx := HTTP2_CONN_SCP); - f_prometheus_expect(expects0, wait_converge := true); + f_prometheus_expect(expects0, wait_converge := true, time_out := 15.0); setverdict(pass); } +private function f_TC_n11_createSession_pfcp_sess_est_timeout() runs on SMF_Session_CT { + f_TC_n11_createSession_pfcp_sess_est_timeout_(pdu_sess_rej_reply := true) +} testcase TC_n11_createSession_pfcp_sess_est_timeout() runs on SMF_Test_CT { var SMF_Session_CT vc_conn; var SessionPars pars := f_SessionPars(13, @@ -896,6 +902,20 @@ vc_conn.done; f_shutdown(); } +/* Same TC_n11_createSession_pfcp_sess_est_timeout, but gNodeB never answers the n1n2-messages(PDU Sess Est Rej): + * SBI timeout should release the session and metrics updated accordingly. */ +private function f_TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej() runs on SMF_Session_CT { + f_TC_n11_createSession_pfcp_sess_est_timeout_(pdu_sess_rej_reply := false) +} +testcase TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej() runs on SMF_Test_CT { + var SMF_Session_CT vc_conn; + var SessionPars pars := f_SessionPars(13, + rat_type := GTP2C_RAT_NR); + f_init(); + vc_conn := f_start_handler(refers(f_TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej), pars); + vc_conn.done; + f_shutdown(); +} /* Validate IUT detects PFCP Heartbeat timeout and recovers from it tearing down @@ -1035,6 +1055,7 @@ execute( TC_n11_createSession_deleteSession_250_ipv6() ); execute( TC_n11_createSession_deleteSession_250_ipv4v6() ); execute( TC_n11_createSession_pfcp_sess_est_timeout() ); + execute( TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej() ); execute( TC_5g_pfcp_heartbeat_timeout() ); execute( TC_5g_pfcp_heartbeat_recovery_timestamp() ); } diff --git a/smf/expected-results.xml b/smf/expected-results.xml index aef27e9..3656cc4 100644 --- a/smf/expected-results.xml +++ b/smf/expected-results.xml @@ -22,6 +22,7 @@ <testcase classname='SMF_Tests' name='TC_n11_createSession_deleteSession_250_ipv6' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_n11_createSession_deleteSession_250_ipv4v6' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_n11_createSession_pfcp_sess_est_timeout' time='MASKED'/> + <testcase classname='SMF_Tests' name='TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_5g_pfcp_heartbeat_timeout' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_5g_pfcp_heartbeat_recovery_timestamp' time='MASKED'/> </testsuite> -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44047?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: Idd3ff2bf55477e1c60f05e6e21337e45ceb0102d Gerrit-Change-Number: 44047 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-msc[master]: MNCC debug log: fix logged line number for Tx messages
by fixeria 09 Nov '26

09 Nov '26
Attention is currently required from: falconia. fixeria has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/osmo-msc/+/44043?usp=email ) Change subject: MNCC debug log: fix logged line number for Tx messages ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44043?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I5c7070fb383a1aa42ab45478076be444d6b211f4 Gerrit-Change-Number: 44043 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: falconia <falcon(a)freecalypso.org> Gerrit-Comment-Date: Mon, 09 Nov 2026 08:24:13 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in osmo-msc[master]: mgw: add "X-Side: CN" / "X-Side: RAN" to emitted CRCX
by fixeria 09 Nov '26

09 Nov '26
Attention is currently required from: falconia, pespin. fixeria has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/osmo-msc/+/44001?usp=email ) Change subject: mgw: add "X-Side: CN" / "X-Side: RAN" to emitted CRCX ...................................................................... Patch Set 3: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44001?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Ie26ece9035ee579f2af84a13d71a553f98817592 Gerrit-Change-Number: 44001 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: falconia <falcon(a)freecalypso.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 09 Nov 2026 08:21:19 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-msc[master]: mgw: add mgw-type selection between rtpbridge and transcoder
by falconia 09 Nov '26

09 Nov '26
Attention is currently required from: neels, pespin. falconia has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/osmo-msc/+/44002?usp=email ) Change subject: mgw: add mgw-type selection between rtpbridge and transcoder ...................................................................... Patch Set 4: (1 comment) This change is ready for review. Patchset: PS1: > I am now working on two more patches in this series that will culminate in actually useful functiona […] The follow-on WIP patches are here, and the present patch is ready for review and merging. -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44002?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I095ab75b65f57583ab7f579ba419bbfbfa686afa Gerrit-Change-Number: 44002 Gerrit-PatchSet: 4 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de> Gerrit-CC: pespin <pespin(a)sysmocom.de> Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 09 Nov 2026 07:16:01 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: falconia <falcon(a)freecalypso.org> Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-msc[master]: MNCC debug log: fix logged line number for Tx messages
by falconia 09 Nov '26

09 Nov '26
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/44043?usp=email ) Change subject: MNCC debug log: fix logged line number for Tx messages ...................................................................... MNCC debug log: fix logged line number for Tx messages Every time a message is sent from CC to MNCC, internal function mncc_recvmsg() gets called. It appears the intent was to log the line number from which it was called, but the code would log the line number inside mncc_recvmsg() itself. Fix it. Change-Id: I5c7070fb383a1aa42ab45478076be444d6b211f4 --- M src/libmsc/gsm_04_08_cc.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/43/44043/1 diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c index 11bebb0..9ac018e 100644 --- a/src/libmsc/gsm_04_08_cc.c +++ b/src/libmsc/gsm_04_08_cc.c @@ -306,7 +306,7 @@ unsigned char *data; mncc->msg_type = msg_type; - log_mncc_rx_tx(trans, "tx", (union mncc_msg *)mncc); + _log_mncc_rx_tx(file, line, trans, "tx", (union mncc_msg *)mncc); msg = msgb_alloc(sizeof(struct gsm_mncc), "MNCC"); if (!msg) -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44043?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I5c7070fb383a1aa42ab45478076be444d6b211f4 Gerrit-Change-Number: 44043 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon(a)freecalypso.org>
1 0
0 0
[L] Change in osmo-msc[master]: MNCC: add vty-selectable raw mode
by falconia 09 Nov '26

09 Nov '26
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/44045?usp=email ) Change subject: MNCC: add vty-selectable raw mode ...................................................................... MNCC: add vty-selectable raw mode American 2G Cooperative seeks to develop MSC software in which existing OsmoMSC is just one component, with additional components connected via MNCC socket also constituting integral and essential parts of what GSM specs consider to be the MSC as a whole. We desire a raw mode modification to Osmocom MNCC with these changes: 1) Most CC messages should be passed to and from MNCC in raw form, without encoding and decoding of various IEs; 2) All intelligent logic inside OsmoMSC related to speech codec and bearer service selection filters needs to be suppressed and bypassed. Instead the external MNCC shall issue explicit AssCon (Assign & Connect) commands when the user plane connection to the MS needs to be set into a particular GSM 08.08 Channel Type, accompanied by SDP info for the CN side of the OsmoMSC-controlled MGW. Implement this mode of external MNCC operation, selected by a vty option. The present WIP state of this patch is experimental and NOT for merging yet. The code compiles and matches the author's mental model for the desired logic, but it is otherwise untested. The external MNCC code with which these OsmoMSC extensions are intended to operate remains to be written, and this code will reach tested status only then. In the meantime, Osmocom maintainers are invited to review this proposed patch for any phisophical issues that would need to be addressed irrespective of the working state. Related: OS#6652 Change-Id: I8e4268395d4c9a903ac61bdfaac21991d1bc8260 --- M include/osmocom/msc/gsm_data.h M include/osmocom/msc/mncc.h M src/libmsc/gsm_04_08_cc.c M src/libmsc/mncc_builtin.c M src/libmsc/msc_vty.c 5 files changed, 392 insertions(+), 156 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/45/44045/1 diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h index 928eeca..1980502 100644 --- a/include/osmocom/msc/gsm_data.h +++ b/include/osmocom/msc/gsm_data.h @@ -294,6 +294,13 @@ * telling it which CRCX is for CN vs RAN? */ bool mgw_indicate_side; + /* MNCC raw mode: exchange raw CC messages for the most part, + * and require the external MNCC to issue explicit AssCon + * (Assign & Connect) commands to trigger assignment on BSSMAP + * and connection at the OsmoMSC-controlled MGW. + */ + bool mncc_raw_mode; + /* Whether to use call waiting on the network */ bool call_waiting; diff --git a/include/osmocom/msc/mncc.h b/include/osmocom/msc/mncc.h index b835643..78d57a0 100644 --- a/include/osmocom/msc/mncc.h +++ b/include/osmocom/msc/mncc.h @@ -130,9 +130,10 @@ #define MNCC_F_GCR 0x4000 #define MNCC_F_HIGHL_COMPAT 0x8000 #define MNCC_F_LOWL_COMPAT 0x10000 +#define MNCC_F_RAW_MODE 0x20000 /* UPDATEME when adding new MNCC_F_* entries above */ -#define MNCC_F_ALL 0x1ffff +#define MNCC_F_ALL 0x3ffff #define GSM_MAX_LOWL_COMPAT 16 /* (18 with TLV) */ #define GSM_MAX_HIGHL_COMPAT 3 /* (5 with TLV) */ @@ -192,6 +193,20 @@ uint8_t len; uint8_t compat[GSM_MAX_HIGHL_COMPAT]; } hlc; + + /* raw CC message */ + struct gsm_mncc_raw_cc { + /* The length and body carried in this structure capture + * the remainder of the CC message _after_ struct gsm48_hdr. + * Rationale for stripping proto_disc and msg_type bytes: + * - the function of TID in PD byte is replaced by callref + * in MNCC; + * - there is a 1:1 correspondence between CC and MNCC + * message types, hence CC msg_type would be redundant. + */ + uint8_t len; + uint8_t data[255]; /* maximum with 1-byte length */ + } raw; }; struct gsm_data_frame { diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c index 71400ba..01028f6 100644 --- a/src/libmsc/gsm_04_08_cc.c +++ b/src/libmsc/gsm_04_08_cc.c @@ -610,6 +610,24 @@ trans->cc.Tcurrent = current; } +static void store_raw_cc_in_mncc(struct gsm_trans *trans, struct msgb *msg, + struct gsm_mncc *mncc) +{ + struct gsm48_hdr *gh = msgb_l3(msg); + unsigned len = msgb_l3len(msg) - sizeof(*gh); + + if (len > sizeof(mncc->raw.data)) { + LOG_TRANS(trans, LOGL_ERROR, + "MNCC raw mode: CC msg is too big (%u bytes)\n", len); + /* FIXME: is truncation the best we can do? At least it is + * better than killing the MSC with OSMO_ASSERT()... */ + len = sizeof(mncc->raw.data); + } + mncc->raw.len = len; + memcpy(mncc->raw.data, gh->data, len); + mncc->fields |= MNCC_F_RAW_MODE; +} + static int gsm48_cc_rx_setup(struct gsm_trans *trans, struct msgb *msg) { struct gsm48_hdr *gh = msgb_l3(msg); @@ -643,7 +661,6 @@ OSMO_ASSERT(trans->msc_a); - tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); /* emergency setup is identified by msg_type */ if (msg_type == GSM48_MT_CC_EMERG_SETUP) { setup.fields |= MNCC_F_EMERGENCY; @@ -663,6 +680,21 @@ OSMO_STRLCPY_ARRAY(setup.calling.number, trans->vsub->msisdn); OSMO_STRLCPY_ARRAY(setup.imsi, trans->vsub->imsi); + rate_ctr_inc(rate_ctr_group_get_ctr(trans->net->msc_ctrs, MSC_CTR_CALL_MO_SETUP)); + + new_cc_state(trans, GSM_CSTATE_INITIATED); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &setup); + LOG_TRANS(trans, setup.emergency ? LOGL_NOTICE : LOGL_INFO, + "%sSETUP in raw MNCC mode\n", + setup.emergency ? "EMERGENCY_" : ""); + return mncc_recvmsg(trans->net, trans, MNCC_SETUP_IND, &setup); + } + + /* regular MNCC mode, not raw - proceed with parsing */ + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); + /* bearer capability */ if (TLVP_PRESENT(&tp, GSM48_IE_BEARER_CAP)) { setup.fields |= MNCC_F_BEARER_CAP; @@ -737,10 +769,6 @@ LOG_TRANS(trans, setup.emergency ? LOGL_NOTICE : LOGL_INFO, "%sSETUP to %s\n", setup.emergency ? "EMERGENCY_" : "", setup.called.number); - rate_ctr_inc(rate_ctr_group_get_ctr(trans->net->msc_ctrs, MSC_CTR_CALL_MO_SETUP)); - - new_cc_state(trans, GSM_CSTATE_INITIATED); - /* To complete the MNCC_SETUP_IND, we need to provide an RTP address and port. First instruct the MGW to create * a CN-side RTP conn, and continue with MNCC_SETUP_IND once that is done. Leave trans.cc in GSM_CSTATE_NULL and * note down the msg_type to indicate that we indeed composed an MNCC_SETUP_IND for later. */ @@ -1070,6 +1098,18 @@ return msg; } +static struct msgb *gsm48_cc_tx_setup_encode_msg_raw(const struct gsm_mncc *setup) +{ + struct msgb *msg = gsm48_msgb_alloc_name("GSM 04.08 CC SETUP"); + struct gsm48_hdr *gh = (struct gsm48_hdr *) msgb_put(msg, sizeof(*gh)); + uint8_t *data = msgb_put(msg, setup->raw.len); + + gh->msg_type = GSM48_MT_CC_SETUP; + memcpy(data, setup->raw.data, setup->raw.len); + + return msg; +} + static int gsm48_cc_tx_setup(struct gsm_trans *trans, void *arg) { struct msgb *msg; @@ -1082,18 +1122,19 @@ gsm48_start_cc_timer(trans, 0x303, GSM48_T303); - if (setup->fields & MNCC_F_BEARER_CAP) - trans->bearer_cap.transfer = setup->bearer_cap.transfer; - - rc = gsm48_cc_tx_setup_select_codecs(trans, setup); - if (rc < 0) - goto error; - - rc = gsm48_cc_tx_setup_set_bearer_cap(trans, setup); - if (rc < 0) - goto error; - - msg = gsm48_cc_tx_setup_encode_msg(&trans->bearer_cap, setup); + if (setup->fields & MNCC_F_RAW_MODE) { + msg = gsm48_cc_tx_setup_encode_msg_raw(setup); + } else { + if (setup->fields & MNCC_F_BEARER_CAP) + trans->bearer_cap.transfer = setup->bearer_cap.transfer; + rc = gsm48_cc_tx_setup_select_codecs(trans, setup); + if (rc < 0) + goto error; + rc = gsm48_cc_tx_setup_set_bearer_cap(trans, setup); + if (rc < 0) + goto error; + msg = gsm48_cc_tx_setup_encode_msg(&trans->bearer_cap, setup); + } new_cc_state(trans, GSM_CSTATE_CALL_PRESENT); @@ -1119,6 +1160,17 @@ memset(&call_conf, 0, sizeof(struct gsm_mncc)); call_conf.callref = trans->callref; + /* IMSI of called subscriber */ + OSMO_STRLCPY_ARRAY(call_conf.imsi, trans->vsub->imsi); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &call_conf); + /* no automatic assignment in raw mode! */ + new_cc_state(trans, GSM_CSTATE_MO_TERM_CALL_CONF); + return mncc_recvmsg(trans->net, trans, MNCC_CALL_CONF_IND, + &call_conf); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); #if 0 /* repeat */ @@ -1157,9 +1209,6 @@ TLVP_VAL(&tp, GSM48_IE_CC_CAP)-1); } - /* IMSI of called subscriber */ - OSMO_STRLCPY_ARRAY(call_conf.imsi, trans->vsub->imsi); - /* Assign call (if not done yet) */ rc = msc_a_try_call_assignment(trans); @@ -1222,6 +1271,13 @@ new_cc_state(trans, GSM_CSTATE_MO_CALL_PROC); + if (proceeding->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, proceeding->raw.len); + memcpy(data, proceeding->raw.data, proceeding->raw.len); + /* no automatic assignment in raw mode! */ + return trans_tx_gsm48(trans, msg); + } + /* bearer capability */ if (proceeding->fields & MNCC_F_BEARER_CAP) { /* MNCC should not switch from e.g. CSD to speech */ @@ -1264,6 +1320,15 @@ memset(&alerting, 0, sizeof(struct gsm_mncc)); alerting.callref = trans->callref; + + new_cc_state(trans, GSM_CSTATE_CALL_RECEIVED); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &alerting); + return mncc_recvmsg(trans->net, trans, MNCC_ALERT_IND, + &alerting); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); /* facility */ if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { @@ -1285,8 +1350,6 @@ TLVP_VAL(&tp, GSM48_IE_SS_VERS)-1); } - new_cc_state(trans, GSM_CSTATE_CALL_RECEIVED); - trans_cc_filter_run(trans); rc = sdp_msg_to_sdp_str_buf(alerting.sdp, sizeof(alerting.sdp), &trans->cc.local); if (rc >= sizeof(alerting.sdp)) { @@ -1309,15 +1372,20 @@ gh->msg_type = GSM48_MT_CC_ALERTING; - /* facility */ - if (alerting->fields & MNCC_F_FACILITY) - gsm48_encode_facility(msg, 0, &alerting->facility); - /* progress */ - if (alerting->fields & MNCC_F_PROGRESS) - gsm48_encode_progress(msg, 0, &alerting->progress); - /* user-user */ - if (alerting->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 0, &alerting->useruser); + if (alerting->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, alerting->raw.len); + memcpy(data, alerting->raw.data, alerting->raw.len); + } else { + /* facility */ + if (alerting->fields & MNCC_F_FACILITY) + gsm48_encode_facility(msg, 0, &alerting->facility); + /* progress */ + if (alerting->fields & MNCC_F_PROGRESS) + gsm48_encode_progress(msg, 0, &alerting->progress); + /* user-user */ + if (alerting->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 0, &alerting->useruser); + } new_cc_state(trans, GSM_CSTATE_CALL_DELIVERED); @@ -1338,11 +1406,16 @@ gh->msg_type = GSM48_MT_CC_PROGRESS; - /* progress */ - gsm48_encode_progress(msg, 1, &progress->progress); - /* user-user */ - if (progress->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 0, &progress->useruser); + if (progress->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, progress->raw.len); + memcpy(data, progress->raw.data, progress->raw.len); + } else { + /* progress */ + gsm48_encode_progress(msg, 1, &progress->progress); + /* user-user */ + if (progress->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 0, &progress->useruser); + } return trans_tx_gsm48(trans, msg); } @@ -1358,18 +1431,23 @@ gsm48_stop_cc_timer(trans); gsm48_start_cc_timer(trans, 0x313, GSM48_T313); - /* facility */ - if (connect->fields & MNCC_F_FACILITY) - gsm48_encode_facility(msg, 0, &connect->facility); - /* progress */ - if (connect->fields & MNCC_F_PROGRESS) - gsm48_encode_progress(msg, 0, &connect->progress); - /* connected number */ - if (connect->fields & MNCC_F_CONNECTED) - gsm48_encode_connected(msg, &connect->connected); - /* user-user */ - if (connect->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 0, &connect->useruser); + if (connect->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, connect->raw.len); + memcpy(data, connect->raw.data, connect->raw.len); + } else { + /* facility */ + if (connect->fields & MNCC_F_FACILITY) + gsm48_encode_facility(msg, 0, &connect->facility); + /* progress */ + if (connect->fields & MNCC_F_PROGRESS) + gsm48_encode_progress(msg, 0, &connect->progress); + /* connected number */ + if (connect->fields & MNCC_F_CONNECTED) + gsm48_encode_connected(msg, &connect->connected); + /* user-user */ + if (connect->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 0, &connect->useruser); + } new_cc_state(trans, GSM_CSTATE_CONNECT_IND); @@ -1391,12 +1469,22 @@ memset(&connect, 0, sizeof(struct gsm_mncc)); connect.callref = trans->callref; - tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); /* use subscriber as connected party number */ connect.fields |= MNCC_F_CONNECTED; OSMO_STRLCPY_ARRAY(connect.connected.number, trans->vsub->msisdn); OSMO_STRLCPY_ARRAY(connect.imsi, trans->vsub->imsi); + new_cc_state(trans, GSM_CSTATE_CONNECT_REQUEST); + rate_ctr_inc(rate_ctr_group_get_ctr(trans->net->msc_ctrs, MSC_CTR_CALL_MT_CONNECT)); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &connect); + return mncc_recvmsg(trans->net, trans, MNCC_SETUP_CNF, + &connect); + } + + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); + /* facility */ if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { connect.fields |= MNCC_F_FACILITY; @@ -1416,9 +1504,6 @@ TLVP_VAL(&tp, GSM48_IE_SS_VERS)-1); } - new_cc_state(trans, GSM_CSTATE_CONNECT_REQUEST); - rate_ctr_inc(rate_ctr_group_get_ctr(trans->net->msc_ctrs, MSC_CTR_CALL_MT_CONNECT)); - trans_cc_filter_run(trans); sdp_msg_to_sdp_str_buf(connect.sdp, sizeof(connect.sdp), &trans->cc.local); return mncc_recvmsg(trans->net, trans, MNCC_SETUP_CNF, &connect); @@ -1466,6 +1551,12 @@ memset(&disc, 0, sizeof(struct gsm_mncc)); disc.callref = trans->callref; + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &disc); + return mncc_recvmsg(trans->net, trans, MNCC_DISC_IND, &disc); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, GSM48_IE_CAUSE, 0); /* cause */ if (TLVP_PRESENT(&tp, GSM48_IE_CAUSE)) { @@ -1516,21 +1607,26 @@ gsm48_stop_cc_timer(trans); gsm48_start_cc_timer(trans, 0x306, GSM48_T306); - /* cause */ - if (disc->fields & MNCC_F_CAUSE) - gsm48_encode_cause(msg, 1, &disc->cause); - else - gsm48_encode_cause(msg, 1, &default_cause); + if (disc->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, disc->raw.len); + memcpy(data, disc->raw.data, disc->raw.len); + } else { + /* cause */ + if (disc->fields & MNCC_F_CAUSE) + gsm48_encode_cause(msg, 1, &disc->cause); + else + gsm48_encode_cause(msg, 1, &default_cause); - /* facility */ - if (disc->fields & MNCC_F_FACILITY) - gsm48_encode_facility(msg, 0, &disc->facility); - /* progress */ - if (disc->fields & MNCC_F_PROGRESS) - gsm48_encode_progress(msg, 0, &disc->progress); - /* user-user */ - if (disc->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 0, &disc->useruser); + /* facility */ + if (disc->fields & MNCC_F_FACILITY) + gsm48_encode_facility(msg, 0, &disc->facility); + /* progress */ + if (disc->fields & MNCC_F_PROGRESS) + gsm48_encode_progress(msg, 0, &disc->progress); + /* user-user */ + if (disc->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 0, &disc->useruser); + } /* store disconnect cause for T306 expiry */ memcpy(&trans->cc.msg, disc, sizeof(struct gsm_mncc)); @@ -1552,30 +1648,35 @@ memset(&rel, 0, sizeof(struct gsm_mncc)); rel.callref = trans->callref; - tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); - /* cause */ - if (TLVP_PRESENT(&tp, GSM48_IE_CAUSE)) { - rel.fields |= MNCC_F_CAUSE; - gsm48_decode_cause(&rel.cause, - TLVP_VAL(&tp, GSM48_IE_CAUSE)-1); - } - /* facility */ - if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { - rel.fields |= MNCC_F_FACILITY; - gsm48_decode_facility(&rel.facility, - TLVP_VAL(&tp, GSM48_IE_FACILITY)-1); - } - /* user-user */ - if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) { - rel.fields |= MNCC_F_USERUSER; - gsm48_decode_useruser(&rel.useruser, - TLVP_VAL(&tp, GSM48_IE_USER_USER)-1); - } - /* ss-version */ - if (TLVP_PRESENT(&tp, GSM48_IE_SS_VERS)) { - rel.fields |= MNCC_F_SSVERSION; - gsm48_decode_ssversion(&rel.ssversion, - TLVP_VAL(&tp, GSM48_IE_SS_VERS)-1); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &rel); + } else { + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); + /* cause */ + if (TLVP_PRESENT(&tp, GSM48_IE_CAUSE)) { + rel.fields |= MNCC_F_CAUSE; + gsm48_decode_cause(&rel.cause, + TLVP_VAL(&tp, GSM48_IE_CAUSE)-1); + } + /* facility */ + if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { + rel.fields |= MNCC_F_FACILITY; + gsm48_decode_facility(&rel.facility, + TLVP_VAL(&tp, GSM48_IE_FACILITY)-1); + } + /* user-user */ + if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) { + rel.fields |= MNCC_F_USERUSER; + gsm48_decode_useruser(&rel.useruser, + TLVP_VAL(&tp, GSM48_IE_USER_USER)-1); + } + /* ss-version */ + if (TLVP_PRESENT(&tp, GSM48_IE_SS_VERS)) { + rel.fields |= MNCC_F_SSVERSION; + gsm48_decode_ssversion(&rel.ssversion, + TLVP_VAL(&tp, GSM48_IE_SS_VERS)-1); + } } if (trans->cc.state == GSM_CSTATE_RELEASE_REQ) { @@ -1615,15 +1716,20 @@ gsm48_stop_cc_timer(trans); gsm48_start_cc_timer(trans, 0x308, GSM48_T308); - /* cause */ - if (rel->fields & MNCC_F_CAUSE) - gsm48_encode_cause(msg, 0, &rel->cause); - /* facility */ - if (rel->fields & MNCC_F_FACILITY) - gsm48_encode_facility(msg, 0, &rel->facility); - /* user-user */ - if (rel->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 0, &rel->useruser); + if (rel->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, rel->raw.len); + memcpy(data, rel->raw.data, rel->raw.len); + } else { + /* cause */ + if (rel->fields & MNCC_F_CAUSE) + gsm48_encode_cause(msg, 0, &rel->cause); + /* facility */ + if (rel->fields & MNCC_F_FACILITY) + gsm48_encode_facility(msg, 0, &rel->facility); + /* user-user */ + if (rel->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 0, &rel->useruser); + } trans->cc.T308_second = 0; memcpy(&trans->cc.msg, rel, sizeof(struct gsm_mncc)); @@ -1646,30 +1752,35 @@ memset(&rel, 0, sizeof(struct gsm_mncc)); rel.callref = trans->callref; - tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); - /* cause */ - if (TLVP_PRESENT(&tp, GSM48_IE_CAUSE)) { - rel.fields |= MNCC_F_CAUSE; - gsm48_decode_cause(&rel.cause, - TLVP_VAL(&tp, GSM48_IE_CAUSE)-1); - } - /* facility */ - if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { - rel.fields |= MNCC_F_FACILITY; - gsm48_decode_facility(&rel.facility, - TLVP_VAL(&tp, GSM48_IE_FACILITY)-1); - } - /* user-user */ - if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) { - rel.fields |= MNCC_F_USERUSER; - gsm48_decode_useruser(&rel.useruser, - TLVP_VAL(&tp, GSM48_IE_USER_USER)-1); - } - /* ss-version */ - if (TLVP_PRESENT(&tp, GSM48_IE_SS_VERS)) { - rel.fields |= MNCC_F_SSVERSION; - gsm48_decode_ssversion(&rel.ssversion, - TLVP_VAL(&tp, GSM48_IE_SS_VERS)-1); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &rel); + } else { + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, 0, 0); + /* cause */ + if (TLVP_PRESENT(&tp, GSM48_IE_CAUSE)) { + rel.fields |= MNCC_F_CAUSE; + gsm48_decode_cause(&rel.cause, + TLVP_VAL(&tp, GSM48_IE_CAUSE)-1); + } + /* facility */ + if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { + rel.fields |= MNCC_F_FACILITY; + gsm48_decode_facility(&rel.facility, + TLVP_VAL(&tp, GSM48_IE_FACILITY)-1); + } + /* user-user */ + if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) { + rel.fields |= MNCC_F_USERUSER; + gsm48_decode_useruser(&rel.useruser, + TLVP_VAL(&tp, GSM48_IE_USER_USER)-1); + } + /* ss-version */ + if (TLVP_PRESENT(&tp, GSM48_IE_SS_VERS)) { + rel.fields |= MNCC_F_SSVERSION; + gsm48_decode_ssversion(&rel.ssversion, + TLVP_VAL(&tp, GSM48_IE_SS_VERS)-1); + } } if (trans->callref) { @@ -1707,15 +1818,20 @@ gsm48_stop_cc_timer(trans); - /* cause */ - if (rel->fields & MNCC_F_CAUSE) - gsm48_encode_cause(msg, 0, &rel->cause); - /* facility */ - if (rel->fields & MNCC_F_FACILITY) - gsm48_encode_facility(msg, 0, &rel->facility); - /* user-user */ - if (rel->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 0, &rel->useruser); + if (rel->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, rel->raw.len); + memcpy(data, rel->raw.data, rel->raw.len); + } else { + /* cause */ + if (rel->fields & MNCC_F_CAUSE) + gsm48_encode_cause(msg, 0, &rel->cause); + /* facility */ + if (rel->fields & MNCC_F_FACILITY) + gsm48_encode_facility(msg, 0, &rel->facility); + /* user-user */ + if (rel->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 0, &rel->useruser); + } ret = trans_tx_gsm48(trans, msg); @@ -1733,6 +1849,12 @@ memset(&fac, 0, sizeof(struct gsm_mncc)); fac.callref = trans->callref; + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &fac); + return mncc_recvmsg(trans->net, trans, MNCC_FACILITY_IND, &fac); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, GSM48_IE_FACILITY, 0); /* facility */ if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) { @@ -1758,8 +1880,13 @@ gh->msg_type = GSM48_MT_CC_FACILITY; - /* facility */ - gsm48_encode_facility(msg, 1, &fac->facility); + if (fac->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, fac->raw.len); + memcpy(data, fac->raw.data, fac->raw.len); + } else { + /* facility */ + gsm48_encode_facility(msg, 1, &fac->facility); + } return trans_tx_gsm48(trans, msg); } @@ -1918,6 +2045,15 @@ memset(&modify, 0, sizeof(struct gsm_mncc)); modify.callref = trans->callref; + + new_cc_state(trans, GSM_CSTATE_MO_ORIG_MODIFY); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &modify); + return mncc_recvmsg(trans->net, trans, MNCC_MODIFY_IND, + &modify); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, GSM48_IE_BEARER_CAP, 0); /* bearer capability */ if (TLVP_PRESENT(&tp, GSM48_IE_BEARER_CAP)) { @@ -1932,8 +2068,6 @@ sizeof(trans->bearer_cap)); } - new_cc_state(trans, GSM_CSTATE_MO_ORIG_MODIFY); - return mncc_recvmsg(trans->net, trans, MNCC_MODIFY_IND, &modify); } @@ -1947,13 +2081,19 @@ gsm48_start_cc_timer(trans, 0x323, GSM48_T323); + new_cc_state(trans, GSM_CSTATE_MO_TERM_MODIFY); + + if (modify->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, modify->raw.len); + memcpy(data, modify->raw.data, modify->raw.len); + return trans_tx_gsm48(trans, msg); + } + /* bearer capability */ bearer_cap_filter_rev_lev(&modify->bearer_cap, trans->vsub->classmark.classmark1.rev_lev); gsm48_encode_bearer_cap(msg, 1, &modify->bearer_cap); memcpy(&trans->bearer_cap, &modify->bearer_cap, sizeof(trans->bearer_cap)); - new_cc_state(trans, GSM_CSTATE_MO_TERM_MODIFY); - return trans_tx_gsm48(trans, msg); } @@ -1968,6 +2108,15 @@ memset(&modify, 0, sizeof(struct gsm_mncc)); modify.callref = trans->callref; + + new_cc_state(trans, GSM_CSTATE_ACTIVE); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &modify); + return mncc_recvmsg(trans->net, trans, MNCC_MODIFY_CNF, + &modify); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, GSM48_IE_BEARER_CAP, 0); /* bearer capability */ if (TLVP_PRESENT(&tp, GSM48_IE_BEARER_CAP)) { @@ -1982,8 +2131,6 @@ sizeof(trans->bearer_cap)); } - new_cc_state(trans, GSM_CSTATE_ACTIVE); - return mncc_recvmsg(trans->net, trans, MNCC_MODIFY_CNF, &modify); } @@ -1995,13 +2142,19 @@ gh->msg_type = GSM48_MT_CC_MODIFY_COMPL; + new_cc_state(trans, GSM_CSTATE_ACTIVE); + + if (modify->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, modify->raw.len); + memcpy(data, modify->raw.data, modify->raw.len); + return trans_tx_gsm48(trans, msg); + } + /* bearer capability */ bearer_cap_filter_rev_lev(&modify->bearer_cap, trans->vsub->classmark.classmark1.rev_lev); gsm48_encode_bearer_cap(msg, 1, &modify->bearer_cap); memcpy(&trans->bearer_cap, &modify->bearer_cap, sizeof(trans->bearer_cap)); - new_cc_state(trans, GSM_CSTATE_ACTIVE); - return trans_tx_gsm48(trans, msg); } @@ -2016,6 +2169,15 @@ memset(&modify, 0, sizeof(struct gsm_mncc)); modify.callref = trans->callref; + + new_cc_state(trans, GSM_CSTATE_ACTIVE); + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &modify); + return mncc_recvmsg(trans->net, trans, MNCC_MODIFY_REJ, + &modify); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, GSM48_IE_BEARER_CAP, GSM48_IE_CAUSE); /* bearer capability */ if (TLVP_PRESENT(&tp, GSM48_IE_BEARER_CAP)) { @@ -2036,8 +2198,6 @@ TLVP_VAL(&tp, GSM48_IE_CAUSE)-1); } - new_cc_state(trans, GSM_CSTATE_ACTIVE); - return mncc_recvmsg(trans->net, trans, MNCC_MODIFY_REJ, &modify); } @@ -2049,6 +2209,14 @@ gh->msg_type = GSM48_MT_CC_MODIFY_REJECT; + new_cc_state(trans, GSM_CSTATE_ACTIVE); + + if (modify->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, modify->raw.len); + memcpy(data, modify->raw.data, modify->raw.len); + return trans_tx_gsm48(trans, msg); + } + /* bearer capability */ bearer_cap_filter_rev_lev(&modify->bearer_cap, trans->vsub->classmark.classmark1.rev_lev); gsm48_encode_bearer_cap(msg, 1, &modify->bearer_cap); @@ -2056,8 +2224,6 @@ /* cause */ gsm48_encode_cause(msg, 1, &modify->cause); - new_cc_state(trans, GSM_CSTATE_ACTIVE); - return trans_tx_gsm48(trans, msg); } @@ -2099,12 +2265,17 @@ gh->msg_type = GSM48_MT_CC_USER_INFO; - /* user-user */ - if (user->fields & MNCC_F_USERUSER) - gsm48_encode_useruser(msg, 1, &user->useruser); - /* more data */ - if (user->more) - gsm48_encode_more(msg); + if (user->fields & MNCC_F_RAW_MODE) { + uint8_t *data = msgb_put(msg, user->raw.len); + memcpy(data, user->raw.data, user->raw.len); + } else { + /* user-user */ + if (user->fields & MNCC_F_USERUSER) + gsm48_encode_useruser(msg, 1, &user->useruser); + /* more data */ + if (user->more) + gsm48_encode_more(msg); + } return trans_tx_gsm48(trans, msg); } @@ -2118,6 +2289,13 @@ memset(&user, 0, sizeof(struct gsm_mncc)); user.callref = trans->callref; + + if (trans->net->mncc_raw_mode) { + store_raw_cc_in_mncc(trans, msg, &user); + return mncc_recvmsg(trans->net, trans, MNCC_USERINFO_IND, + &user); + } + tlv_parse(&tp, &gsm48_att_tlvdef, gh->data, payload_len, GSM48_IE_USER_USER, 0); /* user-user */ if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) { @@ -2696,9 +2874,13 @@ return -ENOMEM; } - /* Remember remote SDP, if any */ - rx_mncc_sdp(trans, data->msg_type, data->sdp, - (data->fields & MNCC_F_BEARER_CAP) ? &data->bearer_cap : NULL); + /* Remember remote SDP, if any - but not in raw MNCC mode, + * as the objective of raw mode is to suppress all use + * of the codec filter mechanism. */ + if (!(data->fields & MNCC_F_RAW_MODE)) { + rx_mncc_sdp(trans, data->msg_type, data->sdp, + (data->fields & MNCC_F_BEARER_CAP) ? &data->bearer_cap : NULL); + } /* If subscriber has no conn */ if (!msc_a) { diff --git a/src/libmsc/mncc_builtin.c b/src/libmsc/mncc_builtin.c index 6474201..57bbbf5 100644 --- a/src/libmsc/mncc_builtin.c +++ b/src/libmsc/mncc_builtin.c @@ -76,6 +76,14 @@ if (call->remote_ref) return 0; + if (setup->fields & MNCC_F_RAW_MODE) { + LOGP(DMNCC, LOGL_ERROR, + "internal MNCC is incompatible with raw mode\n"); + mncc_set_cause(&mncc, GSM48_CAUSE_LOC_PRN_S_LU, + GSM48_CC_CAUSE_NETWORK_OOO); + goto out_reject; + } + /* transfer mode 1 would be packet mode, which was never specified */ if (setup->bearer_cap.mode != 0) { LOGP(DMNCC, LOGL_NOTICE, "(call %x) We don't support " diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c index 2c873f6..078e504 100644 --- a/src/libmsc/msc_vty.c +++ b/src/libmsc/msc_vty.c @@ -442,6 +442,26 @@ return CMD_SUCCESS; } +DEFUN(cfg_msc_mncc_mode_std, + cfg_msc_mncc_mode_std_cmd, + "mncc mode standard", + MNCC_STR "Select MNCC interface variant to be used\n" + "Traditional Osmocom MNCC\n") +{ + gsmnet->mncc_raw_mode = false; + return CMD_SUCCESS; +} + +DEFUN(cfg_msc_mncc_mode_raw, + cfg_msc_mncc_mode_raw_cmd, + "mncc mode raw", + MNCC_STR "Select MNCC interface variant to be used\n" + "MNCC with raw CC messages and explicit assignment control\n") +{ + gsmnet->mncc_raw_mode = true; + return CMD_SUCCESS; +} + DEFUN(cfg_msc_mncc_guard_timeout, cfg_msc_mncc_guard_timeout_cmd, "mncc guard-timeout <0-255>", @@ -832,6 +852,8 @@ vty_out(vty, " mncc external %s%s", gsmnet->mncc_sock_path, VTY_NEWLINE); else vty_out(vty, " mncc internal%s", VTY_NEWLINE); + if (gsmnet->mncc_raw_mode) + vty_out(vty, " mncc mode raw%s", VTY_NEWLINE); vty_out(vty, " mncc guard-timeout %i%s", gsmnet->mncc_guard_timeout, VTY_NEWLINE); vty_out(vty, " ncss guard-timeout %i%s", @@ -2183,6 +2205,8 @@ install_element(MSC_NODE, &cfg_msc_no_lcls_disable_cmd); install_element(MSC_NODE, &cfg_msc_mncc_internal_cmd); install_element(MSC_NODE, &cfg_msc_mncc_external_cmd); + install_element(MSC_NODE, &cfg_msc_mncc_mode_std_cmd); + install_element(MSC_NODE, &cfg_msc_mncc_mode_raw_cmd); install_element(MSC_NODE, &cfg_msc_mncc_guard_timeout_cmd); install_element(MSC_NODE, &cfg_msc_deprecated_mncc_guard_timeout_cmd); install_element(MSC_NODE, &cfg_msc_ncss_guard_timeout_cmd); -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44045?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I8e4268395d4c9a903ac61bdfaac21991d1bc8260 Gerrit-Change-Number: 44045 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon(a)freecalypso.org>
1 0
0 0
[XS] Change in osmo-msc[master]: codec mapping: add support for compressed CSD
by falconia 09 Nov '26

09 Nov '26
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/44046?usp=email ) Change subject: codec mapping: add support for compressed CSD ...................................................................... codec mapping: add support for compressed CSD Themyscira Wireless Technical Specification TW-TS-007 defines a compressed format for RTP transport of CSD within a GSM network; it is supported as follows in Osmocom+ThemWi hybrid networks: * Using 'tw-rtp-formats' vty setting, OsmoMSC can request this CSD RTP format from Osmocom BSS, and the latter obliges when using E1 BTS and tw-e1abis-mgw. * Using TW-TS-007 compression and decompression functions in libosmotrau, Hera TC MGW can convert on the fly between CLEARMODE and TW-TS-007. * libosmo-mgcp-client knows about this codec, known in SDP as VND.THEMWI.CCSD and in the API as CODEC_COMPR_CSD. Add knowledge of this codec to the mapping mechanism in OsmoMSC, so it can be requested on CN side by external MNCC via AssCon. A future patch will add mechanism to indicate TW-TS-007 to the MGW on the RAN side when BSSMAP Assignment Complete indicates that the BSS accepted the request to use TW-TS-007 for CSD. Related: OS#6652 Change-Id: I97964ef7edeab3bb29300adb03a8374725eb2a1e --- M src/libmsc/codec_mapping.c 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/46/44046/1 diff --git a/src/libmsc/codec_mapping.c b/src/libmsc/codec_mapping.c index f3a707b..c1cac3f 100644 --- a/src/libmsc/codec_mapping.c +++ b/src/libmsc/codec_mapping.c @@ -218,6 +218,14 @@ }, .mgcp = CODEC_CLEARMODE, }, + { + .sdp = { + .payload_type = 127, + .subtype_name = "VND.THEMWI.CCSD", + .rate = 8000, + }, + .mgcp = CODEC_COMPR_CSD, + }, }; #define foreach_codec_mapping(CODEC_MAPPING) \ -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44046?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I97964ef7edeab3bb29300adb03a8374725eb2a1e Gerrit-Change-Number: 44046 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon(a)freecalypso.org>
1 0
0 0
[L] Change in osmo-msc[master]: MNCC: add raw Assign & Connect operation
by falconia 09 Nov '26

09 Nov '26
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/44044?usp=email ) Change subject: MNCC: add raw Assign & Connect operation ...................................................................... MNCC: add raw Assign & Connect operation Standard OsmoMSC behavior with respect to voice and CSD calls is to make internal interpretation of the bearer capability IE sent by the MS on MO calls, internally generate the same on MT calls, apply built-in codec filter logic for codec and bearer service selection, and make internal decisions as to when to execute Assignment or reassignment procedures and what Channel Type to ask for. External MNCC can exchange SDP with OsmoMSC and thus exercise some control over the CN side of the MSC-controlled MGW, but it still cannot suppress or override any of the other listed decision-making logic in OsmoMSC. The next patch in this series introduces a vty-selected raw mode for MNCC in which most CC messages are simply passed to and from external MNCC in raw form, without any application of intelligent logic (codec filter etc) by OsmoMSC. Furthermore, OsmoMSC in that raw MNCC mode will never execute Assignment on its own - hence an explicit command is required for external MNCC to request Assignment, specify the desired GSM 08.08 Channel Type and configure the CN side of OsmoMSC-controlled MGW. Add this part first. The present WIP state of this patch is experimental and NOT for merging yet. The code compiles and matches the author's mental model for the desired logic, but it is otherwise untested. The external MNCC code with which these OsmoMSC extensions are intended to operate remains to be written, and this code will reach tested status only then. In the meantime, Osmocom maintainers are invited to review this proposed patch for any phisophical issues that would need to be addressed irrespective of the working state. Related: OS#6652 Change-Id: I37f0bf24976cd5df01b34d113474a050eb826bb7 --- M include/osmocom/msc/gsm_04_08.h M include/osmocom/msc/mncc.h M include/osmocom/msc/msc_a.h M include/osmocom/msc/transaction.h M src/libmsc/gsm_04_08_cc.c M src/libmsc/mncc.c M src/libmsc/msc_a.c 7 files changed, 470 insertions(+), 68 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/44/44044/1 diff --git a/include/osmocom/msc/gsm_04_08.h b/include/osmocom/msc/gsm_04_08.h index cd5074e..1c17af7 100644 --- a/include/osmocom/msc/gsm_04_08.h +++ b/include/osmocom/msc/gsm_04_08.h @@ -49,6 +49,8 @@ void gsm48_cc_rx_call_conf_cn_local_rtp_port_known(struct gsm_trans *trans); int cc_on_cn_local_rtp_port_known(struct gsm_trans *trans); int cc_on_assignment_done(struct gsm_trans *trans); +int cc_asscon_busy_other_call(struct gsm_trans *trans, bool asscon_in_progress); +int cc_asscon_network_failure(struct gsm_trans *trans); int mncc_tx_to_cc(struct gsm_network *net, void *arg); diff --git a/include/osmocom/msc/mncc.h b/include/osmocom/msc/mncc.h index d258630..b835643 100644 --- a/include/osmocom/msc/mncc.h +++ b/include/osmocom/msc/mncc.h @@ -97,6 +97,9 @@ #define MNCC_RTP_CREATE 0x0204 #define MNCC_RTP_CONNECT 0x0205 #define MNCC_RTP_FREE 0x0206 +#define MNCC_ASSCON_REQ 0x0207 +#define MNCC_ASSCON_CNF 0x0208 +#define MNCC_ASSCON_REJ 0x0209 #define GSM_TCHF_FRAME 0x0300 #define GSM_TCHF_FRAME_EFR 0x0301 @@ -227,6 +230,44 @@ uint32_t callref[2]; }; +enum mncc_asscon_rej_cause { + /* The request is invalid in some way */ + MNCC_ASSCON_REJ_INVALID_REQ, + /* Request is premature: no subscriber connection exists yet */ + MNCC_ASSCON_REJ_PREMATURE, + /* Another AssCon is outstanding on the same CC trans */ + MNCC_ASSCON_REJ_BUSY_SAME_CALL, + /* A different CC trans has an AssCon in progress */ + MNCC_ASSCON_REJ_BUSY_ANOTHER_CALL, + /* User plane is held by another call, no switch permission given */ + MNCC_ASSCON_REJ_NOT_SWITCHING, + /* Internal failure of some kind, such as talloc failure */ + MNCC_ASSCON_REJ_NETWORK_FAIL, +}; + +struct gsm_mncc_asscon { + /* common part for Assign & Connect requests and responses */ + uint32_t msg_type; + uint32_t callref; + uint32_t flags; + /* GSM 08.08 channel type IE (section 3.2.2.11) only for requests */ + uint8_t ct_len; + uint8_t ct_body[11]; + /* Connection mode is also used only for requests; values follow + * enum mgcp_connection_mode of libosmo-mgcp-client. */ + uint8_t conn_mode; + /* error reason for MNCC_ASSCON_REJ */ + enum mncc_asscon_rej_cause rej_cause; + /* Put SDP at the end like it is in gsm_mncc and gsm_mncc_rtp, + * used to preen incoming MNCC messages for basic validity. */ + char sdp[1024]; +}; + +/* MNCC_ASSCON_REQ flag: if set, this operation may switch the user plane + * channel to the MS to the present call, taking it away from another call + * that held it previously. */ +#define MNCC_ASSCON_F_SWITCH 0x0001 + union mncc_msg { uint32_t msg_type; struct gsm_mncc signal; @@ -234,6 +275,7 @@ struct gsm_data_frame data_frame; struct gsm_mncc_rtp rtp; struct gsm_mncc_bridge bridge; + struct gsm_mncc_asscon asscon; }; const char *get_mncc_name(int value); diff --git a/include/osmocom/msc/msc_a.h b/include/osmocom/msc/msc_a.h index d180e38..497e30c 100644 --- a/include/osmocom/msc/msc_a.h +++ b/include/osmocom/msc/msc_a.h @@ -134,6 +134,14 @@ struct call_leg *call_leg; struct mncc_call *mncc_forwarding_to_remote_ran; + /* Channel Type corresponding to the most recently executed + * Assignment procedure to this subscriber. When we process + * AssCon (Assign & Connect) requests from MNCC, we compare + * the newly requested Channel Type against the already + * established one - and if they match, we skip the step of + * reassignment. */ + struct gsm0808_channel_type channel_type; + /* There may be up to 7 incoming calls for this subscriber. This is the currently serviced voice call, * as in, the other person the subscriber is currently talking to. */ struct gsm_trans *active_trans; @@ -221,6 +229,7 @@ int msc_a_ensure_cn_local_rtp(struct msc_a *msc_a, struct gsm_trans *cc_trans); int msc_a_try_call_assignment(struct gsm_trans *cc_trans); +int msc_a_perform_asscon(struct gsm_trans *cc_trans); void msc_a_tx_assignment_cmd(struct msc_a *msc_a); const char *msc_a_cm_service_type_to_use(struct msc_a *msc_a, enum osmo_cm_service_type cm_service_type); diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h index f891d2c..2675eff 100644 --- a/include/osmocom/msc/transaction.h +++ b/include/osmocom/msc/transaction.h @@ -57,6 +57,21 @@ uint8_t trans_type_to_gsm48_proto(enum trans_type type); +/* MNCC AssCon operation being attempted or in progress: this struct + * is allocated when MNCC_ASSCON_REQ is received, and is freed upon + * completion or failure of the operation. This temporary state + * structure is always a slave to a particular CC trans. */ +struct asscon_op { + /* information from the request */ + struct gsm0808_channel_type channel_type; + struct sdp_msg remote; + enum mgcp_connection_mode conn_mode; + bool allow_switch; + /* state of operation in progress */ + bool assignment_done; + bool got_cn_rtp_addr; +}; + /* One transaction */ struct gsm_trans { /* Entry in list of all transactions */ @@ -138,6 +153,8 @@ /* Resulting choice from codecs/bearer services and the * local RTP address to be sent to the remote call leg. */ struct sdp_msg local; + /* any MNCC AssCon operation in progress? */ + struct asscon_op *asscon; } cc; struct { struct gsm411_smc_inst smc_inst; diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c index 9ac018e..71400ba 100644 --- a/src/libmsc/gsm_04_08_cc.c +++ b/src/libmsc/gsm_04_08_cc.c @@ -62,6 +62,7 @@ #include <osmocom/gsm/gsm48.h> #include <osmocom/gsm/gsm0480.h> #include <osmocom/gsm/gsm_utils.h> +#include <osmocom/gsm/gsm0808_utils.h> #include <osmocom/gsm/protocol/gsm_04_08.h> #include <osmocom/core/msgb.h> #include <osmocom/core/talloc.h> @@ -266,6 +267,11 @@ sdp = mncc->signal.sdp; break; + case MNCC_ASSCON_REQ: + case MNCC_ASSCON_CNF: + sdp = mncc->asscon.sdp; + break; + default: break; } @@ -323,6 +329,33 @@ return 0; } +#define mncc_recvmsg_asscon(ARGS...) _mncc_recvmsg_asscon(__FILE__, __LINE__, ##ARGS) +static int _mncc_recvmsg_asscon(const char *file, int line, + struct gsm_network *net, + struct gsm_trans *trans, int msg_type, + struct gsm_mncc_asscon *mncc_ac) +{ + struct msgb *msg; + unsigned char *data; + + mncc_ac->msg_type = msg_type; + _log_mncc_rx_tx(file, line, trans, "tx", (union mncc_msg *)mncc_ac); + + msg = msgb_alloc(sizeof(struct gsm_mncc_asscon), "MNCC"); + if (!msg) + return -ENOMEM; + + data = msgb_put(msg, sizeof(struct gsm_mncc_asscon)); + memcpy(data, mncc_ac, sizeof(struct gsm_mncc_asscon)); + + cc_tx_to_mncc(net, msg); + /* trans may be NULL when sending an MNCC error reply upon an invalid MNCC request */ + if (trans) + trans->cc.mncc_initiated = true; + + return 0; +} + int mncc_release_ind(struct gsm_network *net, struct gsm_trans *trans, uint32_t callref, int location, int value) { @@ -2099,6 +2132,182 @@ return mncc_recvmsg(trans->net, trans, MNCC_USERINFO_IND, &user); } +static int send_asscon_rej(struct gsm_network *net, struct gsm_trans *trans, + uint32_t callref, enum mncc_asscon_rej_cause cause) +{ + struct gsm_mncc_asscon mncc_ac; + + memset(&mncc_ac, 0, sizeof(mncc_ac)); + mncc_ac.callref = callref; + mncc_ac.rej_cause = cause; + return mncc_recvmsg_asscon(net, trans, MNCC_ASSCON_REJ, &mncc_ac); +} + +static int handle_asscon_req(struct gsm_network *net, + const struct gsm_mncc_asscon *mncc_ac) +{ + struct gsm_trans *trans; + struct asscon_op *ac_op; + int rc; + + /* Find callref */ + trans = trans_find_by_callref(net, TRANS_CC, mncc_ac->callref); + if (!trans) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "AssCon REQ for non-existing trans\n"); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_INVALID_REQ); + } + log_set_context(LOG_CTX_VLR_SUBSCR, trans->vsub); + log_mncc_rx_tx(trans, "rx", (const union mncc_msg *)mncc_ac); + if (!trans->msc_a) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "AssCon REQ for trans without conn\n"); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_PREMATURE); + } + + /* It is naturally impossible to have more than one AssCon + * in progress at the same time. */ + if (trans->cc.asscon) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "repeated AssCon REQ on the same trans\n"); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_BUSY_SAME_CALL); + } + + /* now we can get to work */ + ac_op = talloc_zero(trans, struct asscon_op); + if (!ac_op) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "talloc failed for struct asscon_op\n"); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_NETWORK_FAIL); + } + rc = gsm0808_dec_channel_type(&ac_op->channel_type, mncc_ac->ct_body, + mncc_ac->ct_len); + if (rc < 0) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "AssCon REQ: invalid Channel Type IE\n"); + talloc_free(ac_op); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_INVALID_REQ); + } + rc = sdp_msg_from_sdp_str(&ac_op->remote, mncc_ac->sdp); + if (rc < 0) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "AssCon REQ: invalid SDP\n"); + talloc_free(ac_op); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_INVALID_REQ); + } + if (!osmo_sockaddr_str_is_nonzero(&ac_op->remote.rtp)) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "AssCon REQ: SDP failed to specify RTP addr\n"); + talloc_free(ac_op); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_INVALID_REQ); + } + if (!ac_op->remote.audio_codecs.count) { + LOG_TRANS_CAT(trans, DMNCC, LOGL_ERROR, + "AssCon REQ: SDP failed to specify codec(s)\n"); + talloc_free(ac_op); + return send_asscon_rej(net, trans, mncc_ac->callref, + MNCC_ASSCON_REJ_INVALID_REQ); + } + ac_op->conn_mode = mncc_ac->conn_mode; + if (mncc_ac->flags & MNCC_ASSCON_F_SWITCH) + ac_op->allow_switch = true; + + /* at this point we hand the work off to MSC-A */ + trans->cc.asscon = ac_op; + return msc_a_perform_asscon(trans); +} + +int cc_asscon_busy_other_call(struct gsm_trans *trans, bool asscon_in_progress) +{ + enum mncc_asscon_rej_cause cause; + + if (trans->cc.asscon) { + talloc_free(trans->cc.asscon); + trans->cc.asscon = NULL; + } + if (asscon_in_progress) + cause = MNCC_ASSCON_REJ_BUSY_ANOTHER_CALL; + else + cause = MNCC_ASSCON_REJ_NOT_SWITCHING; + return send_asscon_rej(trans->net, trans, trans->callref, cause); +} + +int cc_asscon_network_failure(struct gsm_trans *trans) +{ + if (trans->cc.asscon) { + talloc_free(trans->cc.asscon); + trans->cc.asscon = NULL; + } + return send_asscon_rej(trans->net, trans, trans->callref, + MNCC_ASSCON_REJ_NETWORK_FAIL); +} + +static int check_asscon_complete(struct gsm_trans *trans) +{ + struct msc_a *msc_a = trans->msc_a; + struct asscon_op *ac_op = trans->cc.asscon; + struct gsm_mncc_asscon mncc_ac; + struct sdp_msg sdp; + + if (!ac_op->assignment_done) + return 0; + if (!ac_op->got_cn_rtp_addr) + return 0; + + /* All done - send MNCC_ASSCON_CNF! */ + memset(&mncc_ac, 0, sizeof(mncc_ac)); + mncc_ac.callref = trans->callref; + + /* We have to include SDP in our MNCC_ASSCON_CNF response. Ideally + * we would simply pass through the SDP block we received in MGCP, + * but the existing libosmo-mgcp-client API offers no such support. + * We could implement logic to parse the ptmap array which + * libosmo-mgcp-client constructs from the MGCP response and turn it + * back into SDP ourselves, but it would be completely wasted work + * as the external MNCC sw only cares about RTP IP:port address + * and won't look at any of the codec info. But we still have to + * generate a valid SDP... Our solution: we simply echo back + * the codec info we got with SDP in MNCC_ASSCON_REQ. + */ + memset(&sdp, 0, sizeof(sdp)); + memcpy(&sdp.rtp, &msc_a->cc.call_leg->rtp[RTP_TO_CN]->local, + sizeof(struct osmo_sockaddr_str)); + memcpy(&sdp.audio_codecs, &ac_op->remote.audio_codecs, + sizeof(struct sdp_audio_codecs)); + sdp_msg_to_sdp_str_buf(mncc_ac.sdp, sizeof(mncc_ac.sdp), &sdp); + + /* We can finally dispose of the finished AssCon state structure. */ + talloc_free(ac_op); + trans->cc.asscon = NULL; + + /* ... and send off the response! */ + return mncc_recvmsg_asscon(trans->net, trans, MNCC_ASSCON_CNF, + &mncc_ac); +} + +static int asscon_assignment_done(struct gsm_trans *trans) +{ + struct asscon_op *ac_op = trans->cc.asscon; + + ac_op->assignment_done = true; + return check_asscon_complete(trans); +} + +static int asscon_got_cn_rtp_addr(struct gsm_trans *trans) +{ + struct asscon_op *ac_op = trans->cc.asscon; + + ac_op->got_cn_rtp_addr = true; + return check_asscon_complete(trans); +} + static int mncc_recv_rtp(struct gsm_network *net, struct gsm_trans *trans, uint32_t callref, int cmd, struct osmo_sockaddr_str *rtp_addr, uint32_t payload_type, uint32_t payload_msg_type, const struct sdp_msg *sdp) @@ -2152,6 +2361,9 @@ int cc_on_cn_local_rtp_port_known(struct gsm_trans *cc_trans) { + if (cc_trans->cc.asscon) + return asscon_got_cn_rtp_addr(cc_trans); + /* Depending on MO or MT call, dispatch the event differently */ switch (cc_trans->cc.state) { case GSM_CSTATE_INITIATED: @@ -2178,6 +2390,9 @@ { struct msc_a *msc_a = trans->msc_a; + if (trans->cc.asscon) + return asscon_assignment_done(trans); + switch (trans->cc.state) { case GSM_CSTATE_INITIATED: case GSM_CSTATE_MO_CALL_PROC: @@ -2376,6 +2591,14 @@ case MNCC_RTP_FREE: /* unused right now */ return -EIO; + case MNCC_ASSCON_REQ: + return handle_asscon_req(net, &msg->asscon); + case MNCC_ASSCON_CNF: + case MNCC_ASSCON_REJ: + /* These messages are responses from CC to MNCC, hence + * they should never appear in MNCC->CC request direction. + */ + return -EINVAL; case MNCC_FRAME_DROP: case MNCC_FRAME_RECV: @@ -2581,6 +2804,11 @@ case MNCC_RTP_CONNECT: callref = msg->rtp.callref; break; + case MNCC_ASSCON_REQ: + case MNCC_ASSCON_CNF: + case MNCC_ASSCON_REJ: + callref = msg->asscon.callref; + break; case MNCC_RTP_FREE: case MNCC_FRAME_DROP: diff --git a/src/libmsc/mncc.c b/src/libmsc/mncc.c index 026dae0..180566a 100644 --- a/src/libmsc/mncc.c +++ b/src/libmsc/mncc.c @@ -84,6 +84,9 @@ { MNCC_RTP_CREATE, "MNCC_RTP_CREATE" }, { MNCC_RTP_CONNECT, "MNCC_RTP_CONNECT" }, { MNCC_RTP_FREE, "MNCC_RTP_FREE" }, + { MNCC_ASSCON_REQ, "MNCC_ASSCON_REQ" }, + { MNCC_ASSCON_CNF, "MNCC_ASSCON_CNF" }, + { MNCC_ASSCON_REJ, "MNCC_ASSCON_REJ" }, { GSM_TCHF_FRAME, "GSM_TCHF_FRAME" }, { GSM_TCHF_FRAME_EFR, "GSM_TCHF_FRAME_EFR" }, { GSM_TCHH_FRAME, "GSM_TCHH_FRAME" }, @@ -289,6 +292,11 @@ case MNCC_RTP_CONNECT: case MNCC_RTP_CREATE: return mncc_check_sdp_termination("MNCC RTP", mncc_prim, len, ((struct gsm_mncc_rtp*)mncc_prim)->sdp); + case MNCC_ASSCON_REQ: + case MNCC_ASSCON_CNF: + case MNCC_ASSCON_REJ: + return mncc_check_sdp_termination("MNCC AssCon", mncc_prim, len, + ((struct gsm_mncc_asscon*)mncc_prim)->sdp); case MNCC_LCHAN_MODIFY: case MNCC_FRAME_DROP: case MNCC_FRAME_RECV: diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c index fca749c..f986a47 100644 --- a/src/libmsc/msc_a.c +++ b/src/libmsc/msc_a.c @@ -676,6 +676,63 @@ static void assignment_request_timeout_cb(void *data); +/* The standard path for generation of Assignment Request, i.e., the path + * that is used in standard Osmocom network configurations, as opposed to + * Osmocom+ThemWi hybrid networks that use MNCC raw mode with AssCon commands. + */ +static int tx_assignment_std_path(struct msc_a *msc_a, + struct gsm_trans *cc_trans, + struct gsm0808_channel_type *channel_type) +{ + trans_cc_filter_run(cc_trans); + LOG_TRANS(cc_trans, LOGL_DEBUG, "Sending Assignment Command\n"); + + switch (cc_trans->bearer_cap.transfer) { + case GSM48_BCAP_ITCAP_SPEECH: + if (!cc_trans->cc.local.audio_codecs.count) { + LOG_TRANS(cc_trans, LOGL_ERROR, "Assignment not possible, no matching codec: %s\n", + codec_filter_to_str(&cc_trans->cc.codecs, &cc_trans->cc.local, &cc_trans->cc.remote)); + call_leg_release(msc_a->cc.call_leg); + return -EINVAL; + } + + /* Compose 48.008 Channel Type from the current set of codecs + * determined from both local and remote codec capabilities. */ + if (sdp_audio_codecs_to_gsm0808_channel_type(channel_type, &cc_trans->cc.local.audio_codecs)) { + LOG_MSC_A(msc_a, LOGL_ERROR, "Cannot compose Channel Type (Permitted Speech) from codecs: %s\n", + codec_filter_to_str(&cc_trans->cc.codecs, &cc_trans->cc.local, &cc_trans->cc.remote)); + trans_free(cc_trans); + return -EINVAL; + } + break; + case GSM48_BCAP_ITCAP_3k1_AUDIO: + case GSM48_BCAP_ITCAP_FAX_G3: + case GSM48_BCAP_ITCAP_UNR_DIG_INF: + if (!cc_trans->cc.local.bearer_services.count) { + LOG_TRANS(cc_trans, LOGL_ERROR, "Assignment not possible, no matching bearer service: %s\n", + csd_filter_to_str(&cc_trans->cc.csd, &cc_trans->cc.local, &cc_trans->cc.remote)); + call_leg_release(msc_a->cc.call_leg); + return -EINVAL; + } + + /* Compose 48.008 Channel Type from the current set of bearer + * services determined from local and remote capabilities. */ + if (csd_bs_list_to_gsm0808_channel_type(channel_type, &cc_trans->cc.local.bearer_services)) { + LOG_MSC_A(msc_a, LOGL_ERROR, "Cannot compose channel type from: %s\n", + csd_filter_to_str(&cc_trans->cc.csd, &cc_trans->cc.local, &cc_trans->cc.remote)); + return -EINVAL; + } + break; + default: + LOG_TRANS(cc_trans, LOGL_ERROR, "Assignment not possible for information transfer capability %d\n", + cc_trans->bearer_cap.transfer); + call_leg_release(msc_a->cc.call_leg); + return -EINVAL; + } + + return 0; +} + /* The MGW has given us a local IP address for the RAN side. Ready to start the Assignment of a voice channel. */ void msc_a_tx_assignment_cmd(struct msc_a *msc_a) { @@ -683,6 +740,7 @@ struct gsm_trans *cc_trans = msc_a->cc.active_trans; struct gsm0808_channel_type channel_type; struct gsm_network *net = msc_a_net(msc_a); + int rc; /* Do not dispatch another Assignment Command before an earlier assignment is completed. This is a sanity * safeguard, ideally callers should not even invoke this function when an Assignment is already ongoing. @@ -703,50 +761,13 @@ return; } - trans_cc_filter_run(cc_trans); - LOG_TRANS(cc_trans, LOGL_DEBUG, "Sending Assignment Command\n"); - - switch (cc_trans->bearer_cap.transfer) { - case GSM48_BCAP_ITCAP_SPEECH: - if (!cc_trans->cc.local.audio_codecs.count) { - LOG_TRANS(cc_trans, LOGL_ERROR, "Assignment not possible, no matching codec: %s\n", - codec_filter_to_str(&cc_trans->cc.codecs, &cc_trans->cc.local, &cc_trans->cc.remote)); - call_leg_release(msc_a->cc.call_leg); + if (cc_trans->cc.asscon) { + memcpy(&channel_type, &cc_trans->cc.asscon->channel_type, + sizeof(channel_type)); + } else { + rc = tx_assignment_std_path(msc_a, cc_trans, &channel_type); + if (rc) return; - } - - /* Compose 48.008 Channel Type from the current set of codecs - * determined from both local and remote codec capabilities. */ - if (sdp_audio_codecs_to_gsm0808_channel_type(&channel_type, &cc_trans->cc.local.audio_codecs)) { - LOG_MSC_A(msc_a, LOGL_ERROR, "Cannot compose Channel Type (Permitted Speech) from codecs: %s\n", - codec_filter_to_str(&cc_trans->cc.codecs, &cc_trans->cc.local, &cc_trans->cc.remote)); - trans_free(cc_trans); - return; - } - break; - case GSM48_BCAP_ITCAP_3k1_AUDIO: - case GSM48_BCAP_ITCAP_FAX_G3: - case GSM48_BCAP_ITCAP_UNR_DIG_INF: - if (!cc_trans->cc.local.bearer_services.count) { - LOG_TRANS(cc_trans, LOGL_ERROR, "Assignment not possible, no matching bearer service: %s\n", - csd_filter_to_str(&cc_trans->cc.csd, &cc_trans->cc.local, &cc_trans->cc.remote)); - call_leg_release(msc_a->cc.call_leg); - return; - } - - /* Compose 48.008 Channel Type from the current set of bearer - * services determined from local and remote capabilities. */ - if (csd_bs_list_to_gsm0808_channel_type(&channel_type, &cc_trans->cc.local.bearer_services)) { - LOG_MSC_A(msc_a, LOGL_ERROR, "Cannot compose channel type from: %s\n", - csd_filter_to_str(&cc_trans->cc.csd, &cc_trans->cc.local, &cc_trans->cc.remote)); - return; - } - break; - default: - LOG_TRANS(cc_trans, LOGL_ERROR, "Assignment not possible for information transfer capability %d\n", - cc_trans->bearer_cap.transfer); - call_leg_release(msc_a->cc.call_leg); - return; } /* The RAN side RTP address is known, so the voice/CSD Assignment can commence. */ @@ -768,6 +789,10 @@ trans_free(cc_trans); return; } + + /* Save the channel type we just requested of the BSS, to assist + * future MNCC AssCon operations. */ + memcpy(&msc_a->cc.channel_type, &channel_type, sizeof(struct gsm0808_channel_type)); } static struct gsm_trans *find_waiting_call(struct msc_a *msc_a) @@ -1574,19 +1599,24 @@ if (codec_if_known) { const struct codec_mapping *codec_assigned; - /* Check for unexpected codec with CSD */ - switch (cc_trans->bearer_cap.transfer) { - case GSM48_BCAP_ITCAP_FAX_G3: - case GSM48_BCAP_ITCAP_3k1_AUDIO: - case GSM48_BCAP_ITCAP_UNR_DIG_INF: - if (codec_if_known->type == GSM0808_SCT_CSD) - break; /* we're good */ - LOG_TRANS(cc_trans, LOGL_ERROR, "Unexpected codec in Assignment Complete for CSD: %s\n", - gsm0808_speech_codec_type_name(codec_if_known->type)); - call_leg_release(msc_a->cc.call_leg); - return; - default: - break; + /* Check for unexpected codec with CSD - but not if we are + * executing as a result of AssCon, as there will be no + * OsmoMSC-interpreted BC-IE with MNCC raw mode. */ + if (!cc_trans->cc.asscon) { + switch (cc_trans->bearer_cap.transfer) { + case GSM48_BCAP_ITCAP_FAX_G3: + case GSM48_BCAP_ITCAP_3k1_AUDIO: + case GSM48_BCAP_ITCAP_UNR_DIG_INF: + if (codec_if_known->type == GSM0808_SCT_CSD) + break; /* we're good */ + LOG_TRANS(cc_trans, LOGL_ERROR, + "Unexpected codec in Assignment Complete for CSD: %s\n", + gsm0808_speech_codec_type_name(codec_if_known->type)); + call_leg_release(msc_a->cc.call_leg); + return; + default: + break; + } } /* For 2G: @@ -1630,14 +1660,17 @@ ac->assignment_complete.osmux_cid); rtp_stream_commit(rtps_to_ran); - /* Remember the Codec List (BSS Supported) */ - if (ac->assignment_complete.codec_list_bss_supported) - codec_filter_set_bss(&cc_trans->cc.codecs, ac->assignment_complete.codec_list_bss_supported); - - trans_cc_filter_run(cc_trans); - LOG_TRANS(cc_trans, LOGL_INFO, "Assignment Complete: RAN: %s, CN: %s\n", - sdp_audio_codecs_to_str(&rtps_to_ran->codecs), - sdp_audio_codecs_to_str(&cc_trans->cc.local.audio_codecs)); + /* Remember the Codec List (BSS Supported) - but once again all of this + * codec filter logic has to be suppressed for MNCC raw mode AssCon + * operations. */ + if (!cc_trans->cc.asscon) { + if (ac->assignment_complete.codec_list_bss_supported) + codec_filter_set_bss(&cc_trans->cc.codecs, ac->assignment_complete.codec_list_bss_supported); + trans_cc_filter_run(cc_trans); + LOG_TRANS(cc_trans, LOGL_INFO, "Assignment Complete: RAN: %s, CN: %s\n", + sdp_audio_codecs_to_str(&rtps_to_ran->codecs), + sdp_audio_codecs_to_str(&cc_trans->cc.local.audio_codecs)); + } if (cc_on_assignment_done(cc_trans)) { /* If an error occurred, it was logged in cc_assignment_done() */ @@ -2198,8 +2231,11 @@ if (!cl) return -EINVAL; - /* See if we can set a preliminary codec. If not, pass none for the time being. */ - trans_cc_filter_run(cc_trans); + /* See if we can set a preliminary codec. If not, pass none for the + * time being. And if we executing as a result of MNCC AssCon, then + * suppress all codecs business. */ + if (!cc_trans->cc.asscon) + trans_cc_filter_run(cc_trans); cn_rtp_available = call_leg_local_ip(cl, RTP_TO_CN); ran_rtp_available = call_leg_local_ip(cl, RTP_TO_RAN); @@ -2207,13 +2243,23 @@ /* Set up RTP ports for both RAN and CN side. Even though we ask for both at the same time, the * osmo_mgcpc_ep_fsm automagically waits for the first CRCX to complete before firing the second CRCX. The one * issued first here will also be the first CRCX sent to the MGW. Usually both still need to be set up. */ - if (!cn_rtp_available) + if (!cn_rtp_available) { + struct sdp_audio_codecs *codecs; + /* If we are executing via AssCon path, then all usual OsmoMSC + * intelligence about codecs needs to be suppressed. */ + if (cc_trans->cc.asscon) + codecs = NULL; + else + codecs = &cc_trans->cc.local.audio_codecs; call_leg_ensure_ci(cl, RTP_TO_CN, cc_trans->call_id, cc_trans, - &cc_trans->cc.local.audio_codecs, NULL); + codecs, NULL); + } if (!ran_rtp_available) { struct sdp_audio_codecs *codecs; if (msc_a->c.ran->force_mgw_codecs_to_ran.count) codecs = &msc_a->c.ran->force_mgw_codecs_to_ran; + else if (cc_trans->cc.asscon) + codecs = NULL; else codecs = &cc_trans->cc.local.audio_codecs; return call_leg_ensure_ci(cl, RTP_TO_RAN, cc_trans->call_id, cc_trans, codecs, NULL); @@ -2248,6 +2294,56 @@ return msc_a_start_assignment(msc_a, cc_trans); } +/* Alternative way of doing assignment: instead of osmo-msc deciding on its + * own, using its codec filter logic, when to perform assignment, what channel + * type to ask for and what codecs should be indicated to the MSC-associated + * MGW, the external MNCC software makes all of these decisions and sends us + * an Assign & Connect request when it is ready to roll. */ +int msc_a_perform_asscon(struct gsm_trans *cc_trans) +{ + struct msc_a *msc_a = cc_trans->msc_a; + struct asscon_op *ac_op = cc_trans->cc.asscon; + struct call_leg *cl; + + OSMO_ASSERT(cc_trans->type == TRANS_CC); + + if (msc_a->cc.active_trans && msc_a->cc.active_trans != cc_trans) { + if (msc_a->cc.active_trans->cc.asscon) + return cc_asscon_busy_other_call(cc_trans, true); + if (!ac_op->allow_switch) + return cc_asscon_busy_other_call(cc_trans, false); + /* The other call is not in the middle of assignment, + * and we are allowed to switch - hence we take ownership + * of the user plane channel to the MS. */ + msc_a->cc.active_trans = cc_trans; + } + + /* perform the Connect part of AssCon: CN side of our MGW */ + cl = msc_a_ensure_call_leg(msc_a, cc_trans); + if (!cl) + return cc_asscon_network_failure(cc_trans); + cl->crcx_conn_mode[RTP_TO_CN] = ac_op->conn_mode; + call_leg_ensure_ci(cl, RTP_TO_CN, cc_trans->call_id, cc_trans, + &ac_op->remote.audio_codecs, &ac_op->remote.rtp); + if (call_leg_local_ip(cl, RTP_TO_CN)) + ac_op->got_cn_rtp_addr = true; + + /* Assignment part: we may be doing initial assignment or a reassignment + * for changing Channel Type, but if the AssCon is asking for the same + * CT which we've already assigned, then don't reassign, i.e., AssCon + * proceeds without BSS involvement. */ + if (memcmp(&ac_op->channel_type, &msc_a->cc.channel_type, + sizeof(struct gsm0808_channel_type)) == 0) + return cc_on_assignment_done(cc_trans); + + /* We are doing (re)assignment for real. A quirk in the existing + * OsmoMSC code requires active_trans to be NULL as we enter that + * code path. */ + msc_a->cc.active_trans = NULL; + LOG_MSC_A(msc_a, LOGL_DEBUG, "Starting call assignment via AssCon\n"); + return msc_a_start_assignment(msc_a, cc_trans); +} + /* Map CM Service type to use token. * Given a CM Service type, return a matching token intended for osmo_use_count. * For unknown service type, return NULL. -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44044?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I37f0bf24976cd5df01b34d113474a050eb826bb7 Gerrit-Change-Number: 44044 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon(a)freecalypso.org>
1 0
0 0
[S] Change in ...osmo-s1gw[master]: doc/manuals: add a NOTE on ERL_FLAGS="-config ..."
by fixeria 08 Nov '26

08 Nov '26
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/44042?usp=email ) Change subject: doc/manuals: add a NOTE on ERL_FLAGS="-config ..." ...................................................................... doc/manuals: add a NOTE on ERL_FLAGS="-config ..." Change-Id: I4052aed0bbb2fab1b0cf6bad6b8d513830183d56 Related: osmo-ttcn3-hacks.git Ibf4d0d068ca2f12f4d04dd696e6eaa46f67c2e0b Related: OS#6671 --- M doc/manuals/chapters/running.adoc 1 file changed, 13 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/42/44042/1 diff --git a/doc/manuals/chapters/running.adoc b/doc/manuals/chapters/running.adoc index 32981fa..6d711bb 100644 --- a/doc/manuals/chapters/running.adoc +++ b/doc/manuals/chapters/running.adoc @@ -144,6 +144,19 @@ Start with an interactive Erlang shell instead of running headless. Useful for debugging on a deployed system. +[NOTE] +==== +Do not supply a configuration file via `ERL_FLAGS="-config ..."`. +Earlier OsmoS1GW versions (0.3.x and older) were packaged as an Erlang +escript, where that `ERL_FLAGS` file was the sole configuration source. +Since 0.4.0 OsmoS1GW ships as a full OTP release with a bootstrap script +that always loads a base `-config` (the `-c` file, or the default), so +an `ERL_FLAGS` `-config` no longer stands alone: it is *merged on top of* +that base, per individual application parameter rather than wholesale. +Any parameter not restated in the `ERL_FLAGS` file keeps the value from +the base file, which can silently mix two configurations. +==== + [[running_systemd]] ==== Running Under systemd -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/44042?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: erlang/osmo-s1gw Gerrit-Branch: master Gerrit-Change-Id: I4052aed0bbb2fab1b0cf6bad6b8d513830183d56 Gerrit-Change-Number: 44042 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • ...
  • 72
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.