pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/37338?usp=email )
Change subject: asterisk: Allow alaw code from IMS until evs is supported
......................................................................
asterisk: Allow alaw code from IMS until evs is supported
EVS codec is not yet fully supported, specially if no specific
implementation of the EVS API is available. Let's allow using alway
from/to IMS for now, so calls can be made and tests work.
Change-Id: I4835f73ef1b13343ff209f1aba84fab43427aa9d
---
M ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/38/37338/1
diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
index ea13360..574ecf6 100644
--- a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
+++ b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
@@ -106,6 +106,7 @@
type=endpoint
context=volte_ims
disallow=all
+allow=alaw
allow=vevs
transport=transport-tcp
outbound_auth=volte_ims
--
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37338?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: I4835f73ef1b13343ff209f1aba84fab43427aa9d
Gerrit-Change-Number: 37338
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/osmo-ttcn3-hacks/+/37333?usp=email )
Change subject: asterisk: IMS: Fix To tag not updated when sending PRACK in MT call
......................................................................
asterisk: IMS: Fix To tag not updated when sending PRACK in MT call
Change-Id: I55716b7a48b63bc97ea936904a712e53899f03f6
---
M asterisk/IMS_ConnectionHandler.ttcn
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/33/37333/1
diff --git a/asterisk/IMS_ConnectionHandler.ttcn b/asterisk/IMS_ConnectionHandler.ttcn
index 1609304..ec163f5 100644
--- a/asterisk/IMS_ConnectionHandler.ttcn
+++ b/asterisk/IMS_ConnectionHandler.ttcn
@@ -1238,6 +1238,9 @@
g_pars.subscr.cp.peer_sdp.media_list[0].attributes));
}
+ /* Update To with the tags received from peer: */
+ g_pars.subscr.cp.to_addr := g_rx_sip_resp.msgHeader.toField;
+
/* Tx PRACK */
req := ts_SIP_PRACK(g_pars.subscr.cp.to_addr.addressField.nameAddr.addrSpec,
g_pars.subscr.cp.sip_call_id,
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37333?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: I55716b7a48b63bc97ea936904a712e53899f03f6
Gerrit-Change-Number: 37333
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/osmo-ttcn3-hacks/+/37332?usp=email )
Change subject: WIP: asterisk: Avoid waiting for 183 to signal DedicatedBearerStatus Up
......................................................................
WIP: asterisk: Avoid waiting for 183 to signal DedicatedBearerStatus Up
Change-Id: Icca6268f484d2a723d4d70de8755b7ec605b9194
---
M asterisk/IMS_ConnectionHandler.ttcn
1 file changed, 14 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/32/37332/1
diff --git a/asterisk/IMS_ConnectionHandler.ttcn b/asterisk/IMS_ConnectionHandler.ttcn
index 51f96ea..1609304 100644
--- a/asterisk/IMS_ConnectionHandler.ttcn
+++ b/asterisk/IMS_ConnectionHandler.ttcn
@@ -1190,6 +1190,11 @@
g_pars.subscr.cp.sip_seq_nr, "INVITE");
d_trying := activate(as_SIP_ignore_resp(exp));
+ if (g_pars.subscr.cp.mt.tx_coord_cmd_session_progress) {
+ /* Signal used to inform that Dedicated bearer can be established: */
+ COORD.send(IMS_COORD_CMD_CALL_SESSION_PROGRESS);
+ }
+
if (g_pars.subscr.cp.require_precondition_ext) {
var template (present) SDP_attribute_list preconds;
/* Rx 183 Session Progress */
@@ -1246,11 +1251,6 @@
body := omit);
SIP.send(req);
- if (g_pars.subscr.cp.mt.tx_coord_cmd_session_progress) {
- /* Signal used to inform that Dedicated bearer can be established: */
- COORD.send(IMS_COORD_CMD_CALL_SESSION_PROGRESS);
- }
-
/* Rx 200 OK (PRACK) */
exp := tr_SIP_Response(g_pars.subscr.cp.sip_call_id,
from_addr_exp,
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37332?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: Icca6268f484d2a723d4d70de8755b7ec605b9194
Gerrit-Change-Number: 37332
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
falconia has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/37321?usp=email )
Change subject: mux from not-started raw TS: fill with 0xFF
......................................................................
mux from not-started raw TS: fill with 0xFF
When the channelized mux reads from a raw TS, but that raw TS is
not in tx_started state yet, the read function returns "fake" data.
However, it was actually returning uninitialized memory content,
rather than 0xFF filler used everywhere else, thereby transmitting
uninit-memory garbage to whatever is connected to the E1 line.
Change it to fill with 0xFF, same as the filler used in other cases
such as inactive timeslots.
Change-Id: I42849a6d19b020bab789853c3b60af6a1c09f92f
---
M src/mux_demux.c
1 file changed, 20 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, but someone else must approve
tnt: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/mux_demux.c b/src/mux_demux.c
index a0ae717..72379fe 100644
--- a/src/mux_demux.c
+++ b/src/mux_demux.c
@@ -55,8 +55,10 @@
/* If we're not started yet, we 'fake' data until the other side
* send something */
- if (l < 0 && errno == EAGAIN && !ts->raw.tx_started)
+ if (l < 0 && errno == EAGAIN && !ts->raw.tx_started) {
+ memset(buf, 0xFF, len);
return len;
+ }
ts->raw.tx_started = true;
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/37321?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I42849a6d19b020bab789853c3b60af6a1c09f92f
Gerrit-Change-Number: 37321
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: tnt <tnt(a)246tNt.com>
Gerrit-MessageType: merged