<div dir="ltr"><div dir="ltr"><div>Hi Herning,</div><div><br></div><div>I didn't found any parameter related to SIP preconditions in that module.</div><div><br></div><div>But checking in the Kamailio, in the code we can see that there are some sentences trying to check "sip precondition" in the module <span style="background-color:rgb(255,255,0)">xcap_server.c.</span></div><div><span style="background-color:rgb(255,255,0)"><br></span></div><div><span style="background-color:rgb(255,255,0)"><span style="background-color:rgb(255,255,255)">How can we ignore it ?</span><br></span></div><div><br></div><div><img src="cid:ii_kufltera0" alt="image.png" width="471" height="265"><br></div><div><br></div><div>Br,</div><div><br></div><div>Joel Borregoo<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 4, 2021 at 12:17 PM Henning Westerholt <<a href="mailto:hw@skalatan.de">hw@skalatan.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div style="overflow-wrap: break-word;" lang="DE">
<div class="gmail-m_-2580723659518733892WordSection1">
<p class="MsoNormal"><span>Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kamailio does not handle media on its own (besides rtpengine and other services).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">If you want to modify the SDP inside your processed SIP messages, the “sdpops” module is one good option.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">-- <u></u>
<u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning Westerholt –
</span><span><a href="https://skalatan.de/blog/" target="_blank"><span style="color:rgb(5,99,193)" lang="EN-GB">https://skalatan.de/blog/</span></a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kamailio services –
</span><span><a href="https://gilawa.com/" target="_blank"><span style="color:rgb(5,99,193)" lang="EN-GB">https://gilawa.com</span></a></span><span>
<span lang="EN-GB"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>Luis Joel Borrego Soto<br>
<b>Sent:</b> Friday, October 1, 2021 3:06 PM<br>
<b>To:</b> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<b>Subject:</b> [SR-Users] [kamailio/kamailio] SIP Preconditions Settings?<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hi Team,<u></u><u></u></p>
</div>
<div>
<p style="margin-left:35.4pt">According with the RFC3312 (<a href="https://datatracker.ietf.org/doc/html/rfc3312" target="_blank">https://datatracker.ietf.org/doc/html/rfc3312</a>)<u></u><u></u></p>
<p style="margin-left:35.4pt">The SDP parameters are the following<u></u><u></u></p>
<p style="margin-left:35.4pt">We define the following media level SDP attributes:<u></u><u></u></p>
<div>
<pre style="margin-left:35.4pt"><code>  current-status     =  "a=curr:" precondition-type<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>                        SP status-type SP direction-tag<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>  desired-status     =  "a=des:" precondition-type<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>                        SP strength-tag SP status-type<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>                        SP direction-tag<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>  confirm-status     =  "a=conf:" precondition-type<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>                        SP status-type SP direction-tag<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>  **precondition-type  =  "qos" | token<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>  strength-tag       =  ("mandatory" | "optional" | "none"<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>                     =  | "failure" | "unknown")**<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>  status-type        =  ("e2e" | "local" | "remote")<u></u><u></u></code></pre>
<pre style="margin-left:35.4pt"><code>  direction-tag      =  ("none" | "send" | "recv" | "sendrecv")<u></u><u></u></code></pre>
</div>
<p style="margin-left:35.4pt">Which one should be the equivalent in the Kamailio?, is the a specific module?<u></u><u></u></p>
<p style="margin-left:35.4pt">Br,<u></u><u></u></p>
<p style="margin-left:35.4pt">Joel Borrego (joel.borrego)<u></u><u></u></p>
</div>
</div>
</div>
</div>

</blockquote></div>