<div class="gmail_extra">The problem was the NAT, now works.<br>
<br>
I&#39;ll try to force the rtp proxy.<br>
<br>
Thanks a lot<br>
<br>
Regards<br><br><br><br><div class="gmail_quote">2012/4/25 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    perhaps you don&#39;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&#39;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<div><div class="h5"><br>
    <br>
    On 4/25/12 10:55 AM, Pepe wrote:
    </div></div><blockquote type="cite"><div><div class="h5">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&#39;t.<br>
      <br>
      Here&#39;s my code:<br>
      <br>
      failure_route[FAIL_ONE] {<br>
      xlog(&quot;L_INFO&quot;, &quot;entering failure_route for reply code
      $T_reply_code\n&quot;);<br>
      <br>
              if (is_method(&quot;INVITE&quot;) &amp;&amp; (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(&quot;486|408|302&quot;))<br>
              {<br>
                      xlog(&quot;L_NOTICE&quot;, &quot;r[FAIL] / &amp;ru TimeOut or
      Busy\n&quot;);<br>
      <br>
                      if(avp_db_load(&quot;$ru/username&quot;,&quot;$avp(s:callbusy)&quot;))<br>
                      {<br>
                              xlog(&quot;L_NOTICE&quot;, &quot;Callbusy activado!\n&quot;);<br>
                              avp_pushto (&quot;$ru&quot;,&quot;$avp(s:callbusy)&quot;);<br>
                              xlog(&quot;Redireccionando a $ru&quot;);<br>
                              km_append_branch();<br>
                              route(CONSISTENCIA);<br>
                      }<br>
                     t_relay();<br>
              }<br>
      }<br>
      <br>
      route[CONSISTENCIA]<br>
      {<br>
            xlog(&quot;L_NOTICE&quot;, &quot;KAM-INFO: r[CONSISTENCIA] / - CONSISTENCY
      FOR FORWARDINGS \n&quot;);<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&#39;t hear
      anything until the primary destination terminates the call.<br>
      <br>
      Any help will be apreciated.<br>
      <br>
      Best regards.<br>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </font></span></div>

</blockquote></div><br></div>