<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><p style="white-space: pre-wrap; word-wrap: break-word;">doesn't it much rather make sense to have at least a helper library containing those things that you are copy+pasting here?  something like libosmo-sdp-utils, which then can be used by any of the actual parser codebases?  Copy+Pasting of such code really hurts me :/</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Indeed, but my idea was to do that in a separate patch set. I didn't want to blow up the current task.</p><p style="white-space: pre-wrap; word-wrap: break-word;">When we want to use this SDP parsing in osmo-mgw, that likely triggers a rund of MGCP refactoring. I have plans there, being that we should be able to fully control SDP in MGCP messages instead of using the struct mgcp_conn_peer (so far a bit of a bottleneck for what we are able to express in SDP). That also has implications for osmo-bsc. So it is sort of a perpendicular other task with tails on it.</p><p style="white-space: pre-wrap; word-wrap: break-word;">We could add an SDP lib in osmo-mgw without using it there... but:</p><p style="white-space: pre-wrap; word-wrap: break-word;">To not get pulled into that and to not stretch this patch across git reposes, I thought of this as an SDP parsing incubator, and we can move to osmo-mgw (or libosmocore even) when it has matured.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I guess it has pretty much matured when this patch set gets accepted, and we can decide when to apply in osmo-mgw. Does that sound acceptable?</p><p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/15947">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-msc/+/15947">change 15947</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-msc/+/15947"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If3ce23cd5bab15e2ab4c52ef3e4c75979dffe931 </div>
<div style="display:none"> Gerrit-Change-Number: 15947 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 04 Nov 2019 15:14:06 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>