Attention is currently required from: dexter.

pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/32218 )

Change subject: mgcp_codec: fix codec decision
......................................................................


Patch Set 5:

(2 comments)

File src/libosmo-mgcp/mgcp_codec.c:

https://gerrit.osmocom.org/c/osmo-mgw/+/32218/comment/4578ee34_6e0a70aa
PS2, Line 440:                  conn->end.codec = mgcp_codec_find_same(conn, 
found_same_codec_opposite);
> and each connections has a codec list.

And each codec in the list is a different object in memory on each connection 
right?, hence it is duplicated.

>  We can not put both into one list since then we would lose the info which 
> side supports what.

I'm not saying we drop the per-conn list. But the per-conn list would contain 
pointers to a global structure containing the codec data.


File src/libosmo-mgcp/mgcp_network.c:

https://gerrit.osmocom.org/c/osmo-mgw/+/32218/comment/81b7c544_21635a0a
PS4, Line 509:          return;
> The caller is not doing anything meaningful with it but maybe it is better to 
> drop the packet than s […]
ACK. I'm not saying you fix it in this commit, but you should at least not 
making it worst in this commit.



--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/32218
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6c3291f825488e5d8ce136aeb18450156794aeb5
Gerrit-Change-Number: 32218
Gerrit-PatchSet: 5
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Thu, 06 Apr 2023 14:41:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: dexter <[email protected]>
Gerrit-MessageType: comment

Reply via email to