<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-2">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>what is the version for rtpproxy?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 11.07.17 11:52, Marian Piater wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9b165b70-d9ba-9f34-8636-40600b75c75c@voipsun.cz">
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-2">
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Hello,</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">I
have a problem with RTPProxy. <br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Scenario:</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">SS7
(PSTN) ---> ASTERISK BOX --> Kamailio --> UAC<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">In
case of incoming call from PSTN, when called party answer
the call after 60 seconds of ringing, then the call is
without audio and in this case I see in the log this
message:</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Creating
session<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Jul
11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]: <a
class="moz-txt-link-freetext" href="INFO:handle_command"
moz-do-not-send="true">INFO:handle_command</a>: new
session <a class="moz-txt-link-abbreviated"
href="mailto:766d0e006d8969d36c628e363ea7c3e1@upc.cz"
moz-do-not-send="true">766d0e006d8969d36c628e363ea7c3e1@upc.cz</a>,
tag as7a7c86ae;1 requested, type strong<br>
Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]: <a
class="moz-txt-link-freetext" href="INFO:handle_command"
moz-do-not-send="true">INFO:handle_command</a>: new
session on a port 52902 created, tag as7a7c86ae;1<br>
Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]: <a
class="moz-txt-link-freetext" href="INFO:handle_command"
moz-do-not-send="true">INFO:handle_command</a>:
pre-filling caller's address with XXX.XXX.XXX.XXX:32740<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Answer
after approx 60 seconds<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Jul
11 11:25:40 b2b-voice-sipproxy-v3 rtpproxy[731]: <a
class="moz-txt-link-freetext" href="INFO:handle_command"
moz-do-not-send="true">INFO:handle_command</a>: lookup
request failed: session <a class="moz-txt-link-abbreviated"
href="mailto:766d0e006d8969d36c628e363ea7c3e1@upc.cz"
moz-do-not-send="true">766d0e006d8969d36c628e363ea7c3e1@upc.cz</a>,
tags as7a7c86ae;1/l0g9iusua2;1 not found<br>
Jul 11 11:25:40 b2b-voice-sipproxy-v3 rtpproxy[731]: <a
class="moz-txt-link-freetext" href="INFO:handle_delete"
moz-do-not-send="true">INFO:handle_delete</a>: forcefully
deleting session 1 on ports 35196/36656<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Kamailio
log (answer)<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Jul
11 11:25:40 b2b-voice-sipproxy-v3 kamailio[5268]: INFO:
<script>: <a class="moz-txt-link-abbreviated"
href="mailto:UID:766d0e006d8969d36c628e363ea7c3e1@upc.cz"
moz-do-not-send="true">UID:766d0e006d8969d36c628e363ea7c3e1@upc.cz</a>
-- ONREPLY_ROUTE: rtpproxy_manage(co)<br>
Jul 11 11:25:40 b2b-voice-sipproxy-v3 kamailio[5268]: ERROR:
rtpproxy [rtpproxy.c:2536]: force_rtp_proxy(): incorrect
port 0 in reply from rtp proxy<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">It
looks like there is somewhere 60 seconds session timeout.
But I don't know where. When the call is answered during
first 60 seconds, then everything is OK and we have both
audio.<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Kamailio
reply route configuration:<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">onreply_route[REPLYROUTE]
{<br>
#<br>
#-- On-replay block routing --<br>
#<br>
xlog("L_INFO","UID:$ci -- ONREPLY_ROUTE1: $rm $si
avp $avp(s:131) $avp(s:132)");<br>
if(has_body("application/sdp")) {<br>
xlog("L_INFO","UID:$ci -- ONREPLY_ROUTE:
rtpproxy_manage(co)");<br>
rtpproxy_manage("co");<br>
}<br>
<br>
if ((isflagset(FLT_NATS) || isbflagset(FLB_NATB))
&& status=~"(183)|(2[0-9][0-9])"){<br>
xlog("L_INFO","UID:$ci -- ONREPLY_ROUTE1:
force_rtp_proxy");<br>
append_hf("P-hint:
onreply_route|force_rtp_proxy \r\n");<br>
}<br>
<br>
if (isbflagset(FLB_NATB)) {<br>
xlog("L_INFO","UID:$ci -- ONREPLY_ROUTE1:
P-hint: Onreply-route - fixcontact");<br>
append_hf("P-hint: Onreply-route -
fixcontact \r\n");<br>
fix_nated_contact();<br>
}<br>
exit;<br>
}<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Some
parameters settings.<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">modparam("rtpproxy",
"rtpproxy_sock", <a class="moz-txt-link-rfc2396E" href="udp:127.0.0.1:7722">"udp:127.0.0.1:7722"</a>)<br>
modparam("rtpproxy", "extra_id_pv", "$avp(extra_id)")<br>
modparam("rtpproxy", "rtpproxy_disable_tout", 20)<br>
modparam("rtpproxy", "rtpproxy_tout", 2)<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">modparam("tm",
"disable_6xx_block", 1)<br>
modparam("tm", "fr_timer", 5000) ## 5 seconds. <br>
modparam("tm", "restart_fr_on_each_reply", 0)<br>
modparam("tm", "auto_inv_100_reason", "Trying")<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">modparam("dialog",
"dlg_flag", 4)<br>
modparam("dialog", "rr_param", "rtp")<br>
modparam("dialog", "default_timeout", 7230)<br>
modparam("dialog", "dlg_match_mode", 1)<br>
modparam("dialog", "db_mode", 1)<br>
modparam("dialog", "enable_stats", 1)<br>
modparam("dialog", "send_bye", 1)<br>
modparam("dialog", "lreq_callee_headers", "TH: dlh\r\n")<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">modparam("rr",
"enable_full_lr", 1)<br>
modparam("rr", "append_fromtag", 1)<br>
modparam("rr", "enable_double_rr", 1)<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">RTPproxy
is installed from Debian package:<br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif"> /usr/bin/rtpproxy
-s <a class="moz-txt-link-freetext" href="udp:127.0.0.1">udp:127.0.0.1</a> 7722 -u rtpproxy rtpproxy -p
/var/run/rtpproxy/rtpproxy.pid -F -l XXX.XXX.XXX.XXX -d DBUG
LOG_LOCAL0</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Any
advice?</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Thanks<br>
</font></font></p>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>