<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:18.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:42.55pt;
        text-indent:-42.55pt;
        page-break-after:avoid;
        mso-list:l1 level1 lfo9;
        border:none;
        padding:0cm;
        font-size:16.0pt;
        font-family:Arial;
        color:black;}
h2
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:42.55pt;
        text-align:justify;
        text-indent:-42.55pt;
        page-break-after:avoid;
        mso-list:l1 level2 lfo9;
        border:none;
        padding:0cm;
        font-size:14.0pt;
        font-family:Arial;
        color:black;
        font-weight:normal;}
h3
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:42.55pt;
        text-align:justify;
        text-indent:0cm;
        page-break-after:avoid;
        mso-list:l1 level3 lfo9;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:Arial;
        color:black;
        layout-grid-mode:line;
        font-weight:normal;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.Annexe2, li.Annexe2, div.Annexe2
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:42.55pt;
        text-align:justify;
        text-indent:-42.55pt;
        mso-list:l3 level2 lfo2;
        border:none;
        padding:0cm;
        font-size:14.0pt;
        font-family:Arial;}
p.Annexe, li.Annexe, div.Annexe
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:42.55pt;
        text-align:justify;
        text-indent:-42.55pt;
        page-break-before:always;
        mso-list:l0 level1 lfo3;
        border:none;
        padding:0cm;
        font-size:18.0pt;
        font-family:Arial;}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:81339208;
        mso-list-template-ids:574026660;}
@list l0:level1
        {mso-level-number-format:alpha-upper;
        mso-level-style-link:Annexe;
        mso-level-text:"Annexe %1\.";
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:-42.55pt;}
@list l0:level2
        {mso-level-text:"Annexe %1\.%2\.";
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:-42.55pt;}
@list l0:level3
        {mso-level-text:"Annexe %1\.%2\.%3\.";
        mso-level-tab-stop:78.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:0cm;}
@list l0:level4
        {mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:96.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:0cm;}
@list l0:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:111.6pt;
        mso-level-number-position:left;
        margin-left:111.6pt;
        text-indent:-39.6pt;}
@list l0:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:136.8pt;
        mso-level-number-position:left;
        margin-left:136.8pt;
        text-indent:-46.8pt;}
@list l0:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:162.0pt;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-54.0pt;}
@list l0:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:187.2pt;
        mso-level-number-position:left;
        margin-left:187.2pt;
        text-indent:-61.2pt;}
@list l0:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        margin-left:216.0pt;
        text-indent:-72.0pt;}
@list l1
        {mso-list-id:584530325;
        mso-list-template-ids:-997850834;}
@list l1:level1
        {mso-level-style-link:"Titre 1";
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:-42.55pt;}
@list l1:level2
        {mso-level-style-link:"Titre 2";
        mso-level-text:"%1\.%2\.";
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:-42.55pt;}
@list l1:level3
        {mso-level-style-link:"Titre 3";
        mso-level-text:"%1\.%2\.%3\.";
        mso-level-tab-stop:78.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:0cm;}
@list l1:level4
        {mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:96.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:0cm;}
@list l1:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:111.6pt;
        mso-level-number-position:left;
        margin-left:111.6pt;
        text-indent:-39.6pt;}
@list l1:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:136.8pt;
        mso-level-number-position:left;
        margin-left:136.8pt;
        text-indent:-46.8pt;}
@list l1:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:162.0pt;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-54.0pt;}
@list l1:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:187.2pt;
        mso-level-number-position:left;
        margin-left:187.2pt;
        text-indent:-61.2pt;}
@list l1:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        margin-left:216.0pt;
        text-indent:-72.0pt;}
@list l2
        {mso-list-id:1235161649;
        mso-list-type:hybrid;
        mso-list-template-ids:-1996997280 1177460236 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l2:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3
        {mso-list-id:1281259201;
        mso-list-template-ids:-2076029422;}
@list l3:level1
        {mso-level-number-format:alpha-upper;
        mso-level-text:"Annexe %1\.";
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:-42.55pt;}
@list l3:level2
        {mso-level-style-link:"Annexe 2";
        mso-level-text:"Annexe %1\.%2\.";
        mso-level-tab-stop:42.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:-42.55pt;}
@list l3:level3
        {mso-level-text:"Annexe %1\.%2\.%3\.";
        mso-level-tab-stop:78.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:0cm;}
@list l3:level4
        {mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:96.55pt;
        mso-level-number-position:left;
        margin-left:42.55pt;
        text-indent:0cm;}
@list l3:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:111.6pt;
        mso-level-number-position:left;
        margin-left:111.6pt;
        text-indent:-39.6pt;}
@list l3:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:136.8pt;
        mso-level-number-position:left;
        margin-left:136.8pt;
        text-indent:-46.8pt;}
@list l3:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:162.0pt;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-54.0pt;}
@list l3:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:187.2pt;
        mso-level-number-position:left;
        margin-left:187.2pt;
        text-indent:-61.2pt;}
@list l3:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        margin-left:216.0pt;
        text-indent:-72.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>The next figure describes my
problem.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
openSIPS<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
+------+<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>-- INVITE(1)
-->| |--- INVITE(1) --><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>-- INVITE(2)
-->| |--- INVITE(2) --><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><-- 180(2)
------| |<-- 180(2) ------<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><-- 200(2)
------| |<-- 200(2) ------<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'> |
|<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>-- CANCEL(1)
-->| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><-- 200(CANCEL)
-| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><-- 487(1)
------| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>-- ACK(1)
----->| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>-- ACK(2)
----->| |--- ACK(2) -----><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
+------+<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
|<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
|<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
+------+<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
| |<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
+------+<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>
RTP proxy<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>I use RTP proxy to relay
media streams.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>INVITE (1) and (2) have been
forked from an upstream proxy, thus they have the same Call-ID and From tag,
and a different branch ID.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>INVITE (2) is accepted, but
INVITE (1) has no response.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>The upstream proxy cancels
INVITE (1).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>In my script, on CANCEL(1)
request I close the RTP session, but I should not dot that since INVITE(2) has
been accepted.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>My questions are:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>How can I know when I received
CANCEL(1) that INVITE(2) has been accepted?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>Do I need to use flags? Which
ones ?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>Thanks for any help,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New"'>Yannick<o:p></o:p></span></font></p>
</div>
</body>
</html>