<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Denis,<br>
<br>
In the official release of RTPProxy, the timeout parameter (-T)
controls both session establishment and rtp timeout. This is a
problem since we would like to have a long period for call
establishment, but a fast media timeout detection.<br>
In the patched version of RTPProxy, the -W parameter allows you to
specify a longer period for call establishment. If not set, it has
the default value of 60 seconds. <br>
If you decide not to use patched version of RTPProxy, the timeout
notification will work, but you will have the same timeout in both
situations.<br>
<br>
Regards,<br>
Razvan<br>
<br>
<br>
On 01/12/2011 07:38 AM, Denis Putyato wrote:
<blockquote cite="mid:000c01cbb21a$fedef6f0$fc9ce4d0$@ru"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"Стандартный HTML Знак";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTML
        {mso-style-name:"Стандартный HTML Знак";
        mso-style-priority:99;
        mso-style-link:"Стандартный HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Courier New";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:963579344;
        mso-list-type:hybrid;
        mso-list-template-ids:-1212876950 68747281 68747289 68747291 68747279 68747289 68747291 68747279 68747289 68747291;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1
        {mso-list-id:1721397432;
        mso-list-type:hybrid;
        mso-list-template-ids:-168547786 1883677642 68747267 68747269 68747265 68747267 68747269 68747265 68747267 68747269;}
@list l1:level1
        {mso-level-start-at:2;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:54.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";
        mso-fareast-font-family:Calibri;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family: "Courier
New"; color: rgb(31, 73, 125);" lang="EN-US">Hello
Razvan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New"; color: rgb(31, 73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New"; color: rgb(31, 73, 125);" lang="EN-US">“</span><span
lang="EN-US">OpenSIPS shouldn't even try to terminate the
call because it isn't established yet</span><span
style="font-family: "Courier New"; color: rgb(31,
73, 125);" lang="EN-US">”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New"; color: rgb(31, 73, 125);" lang="EN-US">As I
understand I just do not need to use –W key when starting
rtpproxy, it does not work at all?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New"; color: rgb(31, 73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Courier
New"; color: rgb(31, 73, 125);" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">
<a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>
[<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>] <b>On Behalf
Of </b>Razvan Crainea<br>
<b>Sent:</b> Tuesday, January 11, 2011 6:49 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Pacth rtpproxy<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Hello Denis,<br>
<br>
You are right, OpenSIPS shouldn't even try to terminate the
call because it isn't established yet. I just added a small
fix to solve this problem. Please update your code from svn to
use this fix.<br>
The RTPProxy patch was done against commit
"600c80493793bafd2d69427bc22fcb43faad98c5". You can either get
the RTPProxy from git, change it's branch and then apply the
patch, or you can download an already patched version from <a
moz-do-not-send="true"
href="http://opensips.org/pub/rtpproxy/">http://opensips.org/pub/rtpproxy/</a>.<br>
<br>
Regards,<br>
Razvan <br>
<br>
On 1/11/2011 2:19 PM, Denis Putyato wrote: <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I try patch rtpproxy
gotten from git. And there is such error during patching<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">patch <
rtpproxy_timeout_notification.patch</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">patching file main.c</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #1 succeeded at 70
(offset 2 lines).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #2 FAILED at 120.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #3 succeeded at 132
with fuzz 1 (offset 4 lines).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #4 succeeded at 211
with fuzz 2 (offset 4 lines).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #5 succeeded at 276
(offset 4 lines).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #6 succeeded at 742
with fuzz 2 (offset -26 lines).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #7 succeeded at 758
with fuzz 2 (offset -26 lines).</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">1 out of 7 hunks FAILED
-- saving rejects to file main.c.rej</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">patching file
rtpp_command.c</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #1 FAILED at 795.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #2 FAILED at 888.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">2 out of 2 hunks FAILED
-- saving rejects to file rtpp_command.c.rej</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">patching file
rtpp_defines.h</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hunk #1 FAILED at 95.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">1 out of 1 hunk FAILED
-- saving rejects to file rtpp_defines.h.rej</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">patching file
rtpp_notify.c</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">rtpproxy_timeout_notification.patch
is a patch for timeout notification which divide rtp
timeout and session initiation timeout notification as said
in</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><a
moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/devel/nathelper.html#id249142">http://www.opensips.org/html/docs/modules/devel/nathelper.html#id249142</a></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">This patch I got from
SVN version of latest Opensips. </span><o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size: 12pt; font-family:
"Times New Roman","serif";"><o:p> </o:p></span></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Razvan Crainea
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a></pre>
</body>
</html>