<p><a href="https://gerrit.osmocom.org/c/osmo-sip-connector/+/14993">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14993/2/src/sip.c">File src/sip.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14993/2/src/sip.c@389">Patch Set #2, Line 389:</a> <code style="font-family:monospace,monospace"> sdp = sdp_create_file(leg, other, sdp_sendrecv);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">before, this would send no "a=sendrecv", now it always does.</p><p style="white-space: pre-wrap; word-wrap: break-word;">There's two ways we can go here:</p><p style="white-space: pre-wrap; word-wrap: break-word;">a) keep the SIP headers unchanged, only send additional 'a=...' where new behavior is implemented.<br>i.e. in this patch keep the exact old behavior; but how?<br>Unfortunately sdp_mode_t has no "none" kind of enum value. We could somehow define -1 as "do not add any 'a=' attribute"? Or maybe add our own mode enum??</p><p style="white-space: pre-wrap; word-wrap: break-word;">b) accept that we now always have an explicit "a=sendrecv" (or other mode) in all SIP headers.<br>Then this should be made clear in the commit log message.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-sip-connector/+/14993">change 14993</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-sip-connector/+/14993"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sip-connector </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib4212d0174955042e7d80d3744ce632a4942ccb2 </div>
<div style="display:none"> Gerrit-Change-Number: 14993 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 30 Jul 2019 16:03:43 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>