This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
neels gerrit-no-reply at lists.osmocom.orgneels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/22510 ) Change subject: lchan assignment when RTP is set up: don't break on Mode Modify ...................................................................... lchan assignment when RTP is set up: don't break on Mode Modify Change-Id: I06d3f35fcc71d77e1f30c2b15ab221ef7d5f7f27 --- M src/osmo-bsc/assignment_fsm.c 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c index 8bb879f..a8b6439 100644 --- a/src/osmo-bsc/assignment_fsm.c +++ b/src/osmo-bsc/assignment_fsm.c @@ -444,8 +444,11 @@ return; /* There may be an already existing lchan, if yes, try to work with - * the existing lchan. */ - if (reuse_existing_lchan(conn)) { + * the existing lchan. + * If an RTP FSM is already set up for the lchan, Mode Modify is not yet supported -- see handling of + * LCHAN_EV_REQUEST_MODE_MODIFY in lchan_fsm.c. To not break the lchan, do not even attempt to re-use an lchan + * that already has an RTP stream set up, rather establish a new lchan (that transition is well implemented). */ + if (reuse_existing_lchan(conn) && !conn->lchan->fi_rtp) { /* If the requested mode and the current TCH mode matches up, just send the * assignment complete directly and be done with the assignment procedure. */ -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/22510 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: I06d3f35fcc71d77e1f30c2b15ab221ef7d5f7f27 Gerrit-Change-Number: 22510 Gerrit-PatchSet: 2 Gerrit-Owner: neels <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210205/69475d14/attachment.htm>