Attention is currently required from: daniel.
pespin has posted comments on this change by pespin. (
https://gerrit.osmocom.org/c/osmo-mgw/+/39239?usp=email )
Change subject: mgw: MDCX: Split mgcp header pars parsing into a previous step
......................................................................
Patch Set 4:
(1 comment)
File src/libosmo-mgcp/mgcp_protocol.c:
https://gerrit.osmocom.org/c/osmo-mgw/+/39239/comment/d05c364e_35ff71ac?usp… :
PS4, Line 1122: remote_osmux_cid = mgcp_osmux_setup(endp, line);
`handle_create_con()` contains the following code: […]
It is not needed and it was actually a bug due to messy code before this.
See how osmux_init_conn() is only called during handle_create_conn(), which means a conn
can only be setup as osmux during CRCX.
In turn, that means, during MDCX, that if a connection was already osmux it means the
trunk would already have been configured through
mgcp_trunk_osmux_init_if_needed()/mgcp_osmux_setup().
In MDCX, mgcp_osmux_setup() was only really being called to obtain the osmux CID in case
the conn was already specified as being Osmux during previous CRCX.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-mgw/+/39239?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6ecb41fc2cc737c3a161b6bc98bd08ae01909655
Gerrit-Change-Number: 39239
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 14 Jan 2025 20:00:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>