<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="FR">hi Stefan<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">your question is far from stupid<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">have you tried manipulating the SIP headers to influence the negotiation process between the provider and your PBX ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">you can do that by adjusting the Supported/Require headers in SIP messages within OpenSIPS to indicate that only re-INVITE is supported for session timers
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">this might prompt your new operator system to fallback to using re-INVITE instead of UPDATE<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">Additionally check if your PBX can be configured to prefer re-INVITEs</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Users <users-bounces@lists.opensips.org> de la part de Stefan Carlsson <stefan.carlsson@tetab.nu><br>
<b>Envoyé :</b> Monday, March 4, 2024 10:52:58 PM<br>
<b>À :</b> users@lists.opensips.org <users@lists.opensips.org><br>
<b>Objet :</b> [OpenSIPS-Users] Reset session timers via re-invite // update</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{}
@page WordSection1
{margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi !</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">We have a problem regarding session timers. One operator runs it via re-invite and the new one via update.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">All our PBX’s “inside” and UA’s runs re-invite and we have the Opensips as a proxy that routes all the traffic to the right UA, Trunks.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">So my question is, is it even possibly to handle both types of session timers methods in Opensips if endpoints only handles re-invite</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I’ve tested to send the update with all headers intact back to the operator but then I receive 481 unknown dialog.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I’ve tried to read the RFC 3311 but I can’t find any examples that is so clear as re-invite … (tags)
</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Do I need to change/add some headervalues such as the did i’ve got in the 200 message after the invite to build up</p>
<p class="x_MsoNormal">the complete Update response to the operator.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Please bear with me regarding with my “stupid” questions … understanding sip is really hard ……</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span style="">// Regards …</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">Stefan</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>