<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Denis,<br>
<br>
A call is established when the callee answers it.<br>
<br>
Regards,<br>
Razvan<br>
<br>
On 01/12/2011 04:52 PM, Denis Putyato wrote:
<blockquote cite="mid:00d501cbb268$5bb65510$1322ff30$@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:"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;}
@font-face
        {font-family:"Courier New \;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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.HTML
        {mso-style-name:"Стандартный HTML Знак";
        mso-style-priority:99;
        mso-style-link:"Стандартный HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Courier New";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Courier New";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle24
        {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;}
--></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">This is a problem since we would like to have a
long period for call establishment</span><span
style="font-family: "Courier New"; color: rgb(31,
73, 125);" lang="EN-US">” and what does it mean “</span><span
lang="EN-US">call establishment</span><span
style="font-family: "Courier New"; color: rgb(31,
73, 125);" lang="EN-US">” in such context?<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;">From:</span></b><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;"> <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> Wednesday, January 12, 2011 5:18 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"><o:p> </o:p></p>
<p class="MsoNormal">Hello Denis,<br>
<br>
RTPProxy is only used to detect the media timeout. If OpenSIPS
receives a timeout notification on an unestablished call, it
simply ignores it.<br>
If you want to terminate the call when the callee doesn't
answer you can use the tm module and set the "fr_inv_timer"
parameter. You can get more details from:<br>
<a moz-do-not-send="true"
href="http://www.opensips.org/html/docs/modules/devel/tm.html#id250344">http://www.opensips.org/html/docs/modules/devel/tm.html#id250344</a><br>
<br>
Regards,<br>
Razvan<br>
<br>
On 01/12/2011 02:38 PM, Denis Putyato wrote: <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Razvan, I got rtpproxy
from </span><a moz-do-not-send="true"
href="http://opensips.org/pub/rtpproxy/"><span lang="EN-US">http://opensips.org/pub/rtpproxy/</span></a>
<span style="font-family: "Courier New";"
lang="EN-US">as you wrote.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: "Courier New
;","serif";" lang="EN-US">I started it using
such cli command “/usr/local/rtpproxy1/bin/rtpproxy -u
opensips -l 1.1.1.1 -s /var/run/rtpproxy.sock -T 80 -i -n
/var/run/timer.sock -d INFO” and made test call.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: "Courier New
;","serif";" lang="EN-US">Callee has been
ringing during about 2 minutes and nothing happens at all.
What I did wrong? </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: "Courier New
;","serif";" lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family: "Courier New
;","serif";" lang="EN-US">P.S. I use such
function in my script for rtp proxy “rtpproxy_offer("con");”</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; padding: 3pt
0cm 0cm; border-color: -moz-use-text-color;">
<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 moz-do-not-send="true"
href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>
[<a moz-do-not-send="true"
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> Wednesday, J</span><span style="font-size:
10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;">anuary 12, 2011 3:14 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Pacth rtpproxy</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">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: <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello Razvan,</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">“OpenSIPS shouldn't even
try to terminate the call because it isn't established yet</span><span
style="font-family: "Courier New";" lang="EN-US">”</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">As I understand I just
do not need to use –W key when starting rtpproxy, it does
not work at all?</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"> </span><o:p></o:p></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; padding: 3pt
0cm 0cm; border-color: -moz-use-text-color;">
<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 moz-do-not-send="true"
href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>
[<a moz-do-not-send="true"
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</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></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</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">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";"> </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";"><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Razvan Crainea<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.voice-system.ro">www.voice-system.ro</a><o:p></o:p></pre>
<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";"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Razvan Crainea<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.voice-system.ro">www.voice-system.ro</a><o:p></o:p></pre>
</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>