falconia has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/37251?usp=email )
Change subject: trau_rtp_conv.c cosmetic: fix typo in name of static function
......................................................................
trau_rtp_conv.c cosmetic: fix typo in name of static function
Change I7a6d13d406484c01210594bb6d2f0aff7c1341ab introduced
a static function in src/trau/trau_rtp_conv.c that was intended
to be named twts002_hr16_set_extra_flags(). However, a typo
crept in unnoticed, and the patch was merged with this function
name misspelled as twtw002_hr16_set_extra_flags(). Fix it.
Related: OS#6448
Change-Id: I63bb678f7a1f26fefba070ddc10850db24cb88b3
---
M src/trau/trau_rtp_conv.c
1 file changed, 19 insertions(+), 3 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/src/trau/trau_rtp_conv.c b/src/trau/trau_rtp_conv.c
index f347cca..91bf228 100644
--- a/src/trau/trau_rtp_conv.c
+++ b/src/trau/trau_rtp_conv.c
@@ -162,7 +162,7 @@
FT_NO_DATA = 7,
};
-static void twtw002_hr16_set_extra_flags(uint8_t *out, const struct osmo_trau_frame *tf)
+static void twts002_hr16_set_extra_flags(uint8_t *out, const struct osmo_trau_frame *tf)
{
if (tf->c_bits[16]) /* DTXd */
out[0] |= 0x08;
@@ -223,7 +223,7 @@
if (emit_twts002) {
if (tf->c_bits[11] && sidc == OSMO_GSM631_SID_CLASS_SPEECH)
out[0] = FT_BFI_WITH_DATA << 4;
- twtw002_hr16_set_extra_flags(out, tf);
+ twts002_hr16_set_extra_flags(out, tf);
/* invalid SID frames are truncated in TW-TS-002 */
if (sidc == OSMO_GSM631_SID_CLASS_INVALID)
return 1;
@@ -243,7 +243,7 @@
bad_frame:
if (emit_twts002) {
out[0] = FT_NO_DATA << 4;
- twtw002_hr16_set_extra_flags(out, tf);
+ twts002_hr16_set_extra_flags(out, tf);
return 1;
} else
return 0;
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37251?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: I63bb678f7a1f26fefba070ddc10850db24cb88b3
Gerrit-Change-Number: 37251
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
falconia has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/37250?usp=email )
Change subject: rtp2trau_hr16: use osmo_hr_check_sid()
......................................................................
rtp2trau_hr16: use osmo_hr_check_sid()
The code in libosmotrau previously used its own local function
to check incoming 112-bit HRv1 frames against the possibility of
perfect SID (all 79 bits of SID field set to 1). However, there is
a public API function in libosmocodec that does the exact same job
- use the common library function.
Until recently, the implementation of osmo_hr_check_sid() in
libosmocodec was quite inefficient (the local version in libosmotrau
was faster) and contained a logic error in the handling of zero-length
input in the place of a received frame. However, both of these
defects in osmo_hr_check_sid() have now been fixed in libosmocore,
clearing the way for this common library function to be used.
Depends: Ib14204102c03c14d6c5aab42b0ffbef2c3dda3fd (libosmocore)
Change-Id: Ia8fe7e9ea65fadf7f5c136355ca8c24c89f09ef2
---
M TODO-RELEASE
M src/trau/trau_rtp_conv.c
2 files changed, 26 insertions(+), 19 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, but someone else must approve
falconia: Looks good to me, approved
diff --git a/TODO-RELEASE b/TODO-RELEASE
index e3ad20a..515adef 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -9,3 +9,4 @@
#library what description / commit summary line
libosmotrau struct osmo_trau2rtp_state extended (ABI break)
libosmogsm >1.9.0 rtp_extensions.h new header
+libosmocodec >1.9.0 bugfix in osmo_hr_check_sid() in case length=0
diff --git a/src/trau/trau_rtp_conv.c b/src/trau/trau_rtp_conv.c
index 15d5a08..f347cca 100644
--- a/src/trau/trau_rtp_conv.c
+++ b/src/trau/trau_rtp_conv.c
@@ -162,8 +162,6 @@
FT_NO_DATA = 7,
};
-static const uint8_t rtp_hr_sid[14] = { 0x00, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
-
static void twtw002_hr16_set_extra_flags(uint8_t *out, const struct osmo_trau_frame *tf)
{
if (tf->c_bits[16]) /* DTXd */
@@ -446,21 +444,6 @@
return 0;
}
-/* does the RTP HR payload resemble a SID frame or not */
-static bool is_rtp_hr_sid(const uint8_t *data, const uint8_t data_len)
-{
- int i;
-
- if (data_len < GSM_HR_BYTES)
- return false;
-
- for (i = 0; i < GSM_HR_BYTES; i++) {
- if ((data[i] & rtp_hr_sid[i]) != rtp_hr_sid[i])
- return false;
- }
- return true;
-}
-
static int rtp2trau_hr16(struct osmo_trau_frame *tf, const uint8_t *data, size_t data_len)
{
/* accept both TS 101 318 and RFC 5993 payloads */
@@ -503,7 +486,7 @@
tf->c_bits[11] = 1;
else
tf->c_bits[11] = 0;
- if (is_rtp_hr_sid(data, data_len)) {
+ if (osmo_hr_check_sid(data, data_len)) {
/* SID=2 is a valid SID frame */
tf->c_bits[12] = 1;
tf->c_bits[13] = 0;
@@ -519,7 +502,7 @@
tf->c_bits[12] = 1; /* C13: spare */
tf->c_bits[13] = 1; /* C14: spare */
tf->c_bits[14] = 1; /* C15: spare */
- if (is_rtp_hr_sid(data, data_len))
+ if (osmo_hr_check_sid(data, data_len))
tf->c_bits[15] = 0; /* C16: SP */
else
tf->c_bits[15] = 1; /* C16: SP */
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37250?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: Ia8fe7e9ea65fadf7f5c136355ca8c24c89f09ef2
Gerrit-Change-Number: 37250
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/37263?usp=email )
Change subject: ttcn3-asterisk: Set mp_ims_imei matching pjsip.conf
......................................................................
ttcn3-asterisk: Set mp_ims_imei matching pjsip.conf
Since recently, the testsuite validates the IMEI received at IMS Core
over REGISTER Contact header matches the one configured at Asterisk
config file.
Hence, add the same value to Asterisk_Tests.cfg so it can match the
value.
Depends: osmo-ttcn3-hacks.git Change-Id I866d89ec137d264e257b05226900b744a93c257e
Related: SYS#6877
Change-Id: Id8bb7886ffcea506348496148e17f71cef1edc90
---
M ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg
1 file changed, 18 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/63/37263/1
diff --git a/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg b/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg
index 35eb420..840cbf7 100644
--- a/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg
+++ b/ttcn3-asterisk-ims-ue-test/Asterisk_Tests.cfg
@@ -24,6 +24,7 @@
Asterisk_Tests.mp_local_ims_port := 5060
Asterisk_Tests.mp_ims_domain := "ims.mnc001.mcc238.3gppnetwork.org"
Asterisk_Tests.mp_ims_imsi := "238010000090828"
+Asterisk_Tests.mp_ims_imei := "35876110-027790-0";
Asterisk_Tests.mp_ami_remote_host := "172.18.11.10"
IMS_ConnectionHandler.mp_ipsec_setup_script_path := "/osmo-ttcn3-hacks/asterisk/IMS_ipsec_setup.sh"
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37263?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Id8bb7886ffcea506348496148e17f71cef1edc90
Gerrit-Change-Number: 37263
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/37262?usp=email )
Change subject: ttcn3-asterisk: pjsip.conf: Use reliable provisional responses if peer supports it
......................................................................
ttcn3-asterisk: pjsip.conf: Use reliable provisional responses if peer supports it
The default 100rel=yes won't use reliable provisional responses unless
the peer "requires" it, while we should instead be using them if the
peer "supports" it.
Related: SYS#6980
Change-Id: I40764e24f2c80ce48d6634e09797fefe97d99e51
---
M ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
1 file changed, 15 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/62/37262/1
diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
index 019a6e5..8dc4e6c 100644
--- a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
+++ b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
@@ -110,6 +110,7 @@
rewrite_contact=yes
direct_media=no
ims_aka=yes
+100rel=peer_supported
[volte_ims]
type=auth
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37262?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I40764e24f2c80ce48d6634e09797fefe97d99e51
Gerrit-Change-Number: 37262
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: neels.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-iuh/+/37254?usp=email )
Change subject: support Paging in cn_ranap_rx_initiating_msg_co
......................................................................
Patch Set 1: -Code-Review
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/37254?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: Ie3e66eee1cc4553799e128580d39f3d40f79dcf5
Gerrit-Change-Number: 37254
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 20 Jun 2024 13:50:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment