Attention is currently required from: pespin.
falconia has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/37156?usp=email )
Change subject: TRAU->RTP: add support for TW-TS-001 & TW-TS-002
......................................................................
Patch Set 2:
(2 comments)
File include/osmocom/trau/trau_rtp.h:
https://gerrit.osmocom.org/c/libosmo-abis/+/37156/comment/722404de_af07e3c9
PS1, Line 27: uint8_t rtp_extensions;
> Will add in the next patch iteration.
Done
File src/trau/trau_rtp_conv.c:
https://gerrit.osmocom.org/c/libosmo-abis/+/37156/comment/9bce3434_fbad5bf4
PS1, Line 291: crc_bfi = true;
> With TW-TS-001 it is now possible to emit BFI-with-data in RTP, just like in TRAU-UL frames. […]
Done
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37156?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I7a6d13d406484c01210594bb6d2f0aff7c1341ab
Gerrit-Change-Number: 37156
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Jun 2024 17:12:16 +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>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-abis/+/37156?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: TRAU->RTP: add support for TW-TS-001 & TW-TS-002
......................................................................
TRAU->RTP: add support for TW-TS-001 & TW-TS-002
The industry standard RTP payload formats of RFC 3551 and RFC 5993
drop valuable metadata from TRAU-UL frames of GSM 08.60 & 08.61,
and disallow transport of marked-bad frames. Enhanced RTP transport
formats of TW-TS-001 (FR & EFR) and TW-TS-002 (HR) restore these
capabilities - however, because these formats are non-standard
outside of Osmocom+Themyscira GSM networks, their use can only be
optional.
Add rtp_extensions member to struct osmo_trau2rtp_state, specifying
the mask of RTP extensions to be used, just like we defined for
AoIP BSSMAP and Abis-IP RSL, and extend osmo_trau2rtp() to emit
these enhanced RTP formats when they are enabled.
Related: OS#6448
Depends: I0eccfe5ddcf44f8f20440acb01e2d4870ec0cd91 (libosmocore)
Change-Id: I7a6d13d406484c01210594bb6d2f0aff7c1341ab
---
M TODO-RELEASE
M include/osmocom/trau/trau_rtp.h
M src/trau/trau_rtp_conv.c
3 files changed, 136 insertions(+), 29 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/56/37156/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37156?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I7a6d13d406484c01210594bb6d2f0aff7c1341ab
Gerrit-Change-Number: 37156
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: pespin.
falconia has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/37156?usp=email )
Change subject: TRAU->RTP: add support for TW-TS-001 & TW-TS-002
......................................................................
Patch Set 1:
(2 comments)
File include/osmocom/trau/trau_rtp.h:
https://gerrit.osmocom.org/c/libosmo-abis/+/37156/comment/34b9213b_f1df7414
PS1, Line 27: uint8_t rtp_extensions;
> missing entry in TODO-RELEASE file stating ABI change.
Will add in the next patch iteration.
File src/trau/trau_rtp_conv.c:
https://gerrit.osmocom.org/c/libosmo-abis/+/37156/comment/e58b258c_38ed80dc
PS1, Line 291: crc_bfi = true;
> why is all the code path logic changing here? now if it's considered a bgi, then all the computation […]
With TW-TS-001 it is now possible to emit BFI-with-data in RTP, just like in TRAU-UL frames. In the case of EFR, if the CRC is good but C12 is set (BTS emitted BFI marker, rather than transmission errors on Abis), we emit BFI-with-data in RTP: the whole point of TW-TS-001, aside from preserving TAF bit. Now the question is: if the TRAU-UL frame came in with CRC errors, should we also emit BFI-with-data, or emit a No_Data frame?
TW-TS-001 allows either option: see Annex C in the spec. However, when I wrote TW-TS-002 spec for HR codec, I specified (section 6.2.3) that bad CRC-3 in the TRAU frame shall result in No_Data output. Hence thinking about it now, I'll make the EFR case consistent.
I also just noticed that my code is currently plain-broken here in that I don't actually set the BFI bit in the TEH octet - will fix.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37156?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I7a6d13d406484c01210594bb6d2f0aff7c1341ab
Gerrit-Change-Number: 37156
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Jun 2024 16:34:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37124?usp=email )
Change subject: asterisk: Fix wrong IP address arg creating IMS_CallPars
......................................................................
asterisk: Fix wrong IP address arg creating IMS_CallPars
This field is not yet really used because we are not doing any RTP so
far, so the previous error was harmless. We are at most sending it in
the SDP.
Change-Id: Iac0c240d785131954c4d8a2df90655e2a5ec3666
---
M asterisk/Asterisk_Tests.ttcn
1 file changed, 14 insertions(+), 1 deletion(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
laforge: Looks good to me, but someone else must approve
diff --git a/asterisk/Asterisk_Tests.ttcn b/asterisk/Asterisk_Tests.ttcn
index a96e66a..c4cad38 100644
--- a/asterisk/Asterisk_Tests.ttcn
+++ b/asterisk/Asterisk_Tests.ttcn
@@ -79,7 +79,7 @@
}
function f_init_IMS_ConnHdlrPars(integer idx := 1) runs on test_CT return IMS_ConnHdlrPars {
- var template (value) IMS_CallPars cp := t_IMS_CallPars(mp_local_sip_host, 1234 + 2*idx);
+ var template (value) IMS_CallPars cp := t_IMS_CallPars(mp_local_ims_host, 1234 + 2*idx);
var template (value) IMS_ConnHdlrPars pars := t_IMS_Pars(mp_local_ims_host,
mp_local_ims_port,
mp_ims_domain,
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37124?usp=email
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: Iac0c240d785131954c4d8a2df90655e2a5ec3666
Gerrit-Change-Number: 37124
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37123?usp=email )
Change subject: asterisk: IMS: Validate P-Access-Network-Info in rx INVITE
......................................................................
asterisk: IMS: Validate P-Access-Network-Info in rx INVITE
Change-Id: Ie4c4c4e11abbaae81f934675c569b09433a5eb15
---
M asterisk/IMS_ConnectionHandler.ttcn
1 file changed, 18 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/asterisk/IMS_ConnectionHandler.ttcn b/asterisk/IMS_ConnectionHandler.ttcn
index 7819e62..1eae16d 100644
--- a/asterisk/IMS_ConnectionHandler.ttcn
+++ b/asterisk/IMS_ConnectionHandler.ttcn
@@ -697,9 +697,15 @@
contact := g_rx_sip_req.msgHeader.contact;
f_ims_validate_register_contact(contact);
- /* Validate P-Access-Network-Info: */
+ /* Validate P-Access-Network-Info: 3GPP TS 24.229 5.1.2A.1.1
+ * "If available to the UE (as defined in the access technology specific annexes for each access technology), the UE shall
+ * insert a P-Access-Network-Info header field into any request for a dialog, any subsequent request (except CANCEL
+ * requests) or response (except CANCEL responses) within a dialog or any request for a standalone method (see
+ * subclause 7.2A.4). Insertion of the P-Access-Network-Info header field into the ACK request is optional."
+ */
f_ims_validate_register_P_Access_Network_info(g_rx_sip_req, exp_present := true);
+
/* Tx 100 Tyring */
tx_resp := ts_SIP_Response_Trying(sip_call_id,
from_addr,
@@ -772,6 +778,8 @@
f_ConnHdlr_parse_initial_SIP_INVITE(g_rx_sip_req);
via := g_rx_sip_req.msgHeader.via;
+ f_ims_validate_register_P_Access_Network_info(g_rx_sip_req, exp_present := true);
+
/* Tx 180 Ringing */
tx_resp := ts_SIP_Response_Ringing(g_pars.subscr.cp.sip_call_id,
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37123?usp=email
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: Ie4c4c4e11abbaae81f934675c569b09433a5eb15
Gerrit-Change-Number: 37123
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged