<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
perhaps you don't force the rtp proxy properly for the branches. Try
to force rtp proxy always just to see if it works, then look to see
when you don't do it.<br>
<br>
If you can paste the ngrep output for such call here, we can see if
the rtpproxy is not engaged properly and for which branch.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 4/25/12 10:55 AM, Pepe wrote:
<blockquote
cite="mid:CA+02q07XiY0U7-wj3R+7=OjC7cKojp_ouw9NRKNDkXFGmQbKNQ@mail.gmail.com"
type="cite">Hi, since few days ago I have many problems with the
redirections in kamailio (3.1.1).<br>
<br>
The blind forwarding works fine, but the redirection don't.<br>
<br>
Here's my code:<br>
<br>
failure_route[FAIL_ONE] {<br>
xlog("L_INFO", "entering failure_route for reply code
$T_reply_code\n");<br>
<br>
if (is_method("INVITE") && (isbflagset(FLB_NATB)
|| isflagset(FLT_NATS))) {<br>
unforce_rtp_proxy();<br>
}<br>
<br>
if (t_is_canceled()) {<br>
exit;<br>
}<br>
<br>
if (t_check_status("486|408|302"))<br>
{<br>
xlog("L_NOTICE", "r[FAIL] / &ru TimeOut or
Busy\n");<br>
<br>
if(avp_db_load("$ru/username","$avp(s:callbusy)"))<br>
{<br>
xlog("L_NOTICE", "Callbusy activado!\n");<br>
avp_pushto ("$ru","$avp(s:callbusy)");<br>
xlog("Redireccionando a $ru");<br>
km_append_branch();<br>
route(CONSISTENCIA);<br>
}<br>
t_relay();<br>
}<br>
}<br>
<br>
route[CONSISTENCIA]<br>
{<br>
xlog("L_NOTICE", "KAM-INFO: r[CONSISTENCIA] / - CONSISTENCY
FOR FORWARDINGS \n");<br>
route(NAT);<br>
route(ALIAS);<br>
}<br>
<br>
When I make a call to a contact that is using the phone in this
moment, i receive a 302 status code, instead of 486.<br>
<br>
The big problem is this, I make the call, the forwarding works
well and call rings in the right destination but i can't hear
anything until the primary destination terminates the call.<br>
<br>
Any help will be apreciated.<br>
<br>
Best regards.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>