<html xmlns:v="urn:schemas-microsoft-com:vml" 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=utf-8">
<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:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL-BE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Johan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">In regards to the first question I think the Invite and the Re-Invite have only two differences.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">The Invite doesn’t has a tag in the To-field, where the Re-Invite contains To:…;tag=2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">In addition the Via-header contains a new branch-id because it’s a new transaction.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">For the second question, I have no experience with OpenSIPS.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">John<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> johan <johan@democon.be>
<br>
<b>Sent:</b> vrijdag 2 december 2022 17:23<br>
<b>To:</b> OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject:</b> reinvite and dialog uniqueness.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><b>1. dialog uniqueness</b><o:p></o:p></p>
<p>    Alice     calls     Bob<o:p></o:p></p>
<p>            ->INVITE<o:p></o:p></p>
<p>                call-id: 1<o:p></o:p></p>
<p>                from: alice@atlanta;tag=1<o:p></o:p></p>
<p>                to: bob@boston<o:p></o:p></p>
<p>            <- 200 <o:p></o:p></p>
<p>                call-id: 1<o:p></o:p></p>
<p>                 from: alice@atlanta;tag=1<o:p></o:p></p>
<p>                 to: bob@boston;tag=2<o:p></o:p></p>
<p>            -> ACK<o:p></o:p></p>
<p>                call-id: 1<o:p></o:p></p>
<p>                 from: alice@atlanta;tag=1<o:p></o:p></p>
<p>                 to: bob@boston;tag=2<o:p></o:p></p>
<p>Bob does a session refresh<o:p></o:p></p>
<p>            <- INVITE <o:p></o:p></p>
<p>question in on the from tag and the to tag. <o:p></o:p></p>
<p>should it be<o:p></o:p></p>
<p>            <- INVITE <o:p></o:p></p>
<p>                callid: 1<o:p></o:p></p>
<p>                 from: alice@atlanta;tag=1<o:p></o:p></p>
<p>                 to: bob@boston;tag=2<o:p></o:p></p>
<p>or <o:p></o:p></p>
<p>            <- INVITE<o:p></o:p></p>
<p>                call-id: 1<o:p></o:p></p>
<p>                from: alice@atlanta;tag=1 <o:p></o:p></p>
<p>                 to: bob@boston;tag=2<o:p></o:p></p>
<p>or <o:p></o:p></p>
<p>            are both the same dialog (call-id + the 2 tags) ?<o:p></o:p></p>
<p><o:p> </o:p></p>
<p><b>2. reinvite</b><o:p></o:p></p>
<p>Secondly, <o:p></o:p></p>
<p>when opensips is used as b2bua scenario as below <o:p></o:p></p>
<p><o:p> </o:p></p>
<p>A                         opensips                     B <o:p></o:p></p>
<p>        -> invite                     ->invite <o:p></o:p></p>
<p>        <-200                        <- 200<o:p></o:p></p>
<p>        -> ack                        ->ack<o:p></o:p></p>
<p>        ...                                .... <o:p></o:p></p>
<p>                                           <-reinvite for keeeping session alive.
<o:p></o:p></p>
<p>Is there a way that I can let respond opensips 200 OK on the reinvite without forwarding the request to A ?
<o:p></o:p></p>
<p>so I want <o:p></o:p></p>
<p>A                         opensips                     B <o:p></o:p></p>
<p>        -> invite                     ->invite <o:p></o:p></p>
<p>        <-200                        <- 200<o:p></o:p></p>
<p>        -> ack                        ->ack<o:p></o:p></p>
<p>        ...                                .... <o:p></o:p></p>
<p>                                           <-reinvite for keeeping session alive.
<o:p></o:p></p>
<p>                                           ->200<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>instead of <o:p></o:p></p>
<p>A                         opensips                     B <o:p></o:p></p>
<p>        -> invite                     ->invite <o:p></o:p></p>
<p>        <-200                        <- 200<o:p></o:p></p>
<p>        -> ack                        ->ack<o:p></o:p></p>
<p>        ...                                .... <o:p></o:p></p>
<p>                                           <-reinvite for keeeping session alive.
<o:p></o:p></p>
<p>        <- reinvite <o:p></o:p></p>
<p>        -> 200                        ->200<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>wkr, <o:p></o:p></p>
<p><o:p> </o:p></p>
</div>
<br>
<p style="font-family:Calibri;font-size:10pt;color:#000000;margin:5pt;" align="Right">
Confidential - Limited<br>
</p>
<div style="font-size:9pt;  font-family: 'Calibri',sans-serif;"><br>
</div>
 <br>
<p style="font-size:10pt; line-height:10pt; font-family: 'Cambria','times roman',serif;">
***************************************************************<br>
Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie bevatten die vertrouwelijk is en/of beschermd door intellectuele eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). Elk gebruik van de informatie vervat in
 dit bericht (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender hiervan te verwittigen en dit
 bericht te verwijderen.<br>
<br>
This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the addressees. Any use of the information contained herein (including but not limited
 to total or partial reproduction or distribution in any form) by other persons than the addressees is prohibited. If you have received this e-mail in error, please notify the sender and delete its contents.<br>
<br>
Ce courriel et les annexes eventuelles peuvent contenir des informations confidentielles et/ou protegees par des droits de propriete intellectuelle. Ce message est adresse exclusivement e son (ses) destinataire(s). Toute utilisation du contenu de ce message
 (y compris la reproduction ou diffusion partielle ou complete sous toute forme) par une autre personne que le(s) destinataire(s) est formellement interdite. Si vous avez recu ce message par erreur, veuillez prevenir l expediteur du message et en detruire le
 contenu.<br>
<br>
***************************************************************<br>
</p>
<div></div>
</body>
</html>