Thanks Alex. Failure_route should suffice.<br><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 2:39 PM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You&#39;ll have to be more specific about why it &quot;doesn&#39;t work&quot;.<br>
<br>
Also, keep in mind that &#39;uac_redirect&#39; is just a convenience.  If it&#39;s not doing what you want, just build a failure_route[], capture the 302 yourself, extract the Contact header yourself, parse the data yourself, and manually fork through the contacts as you please.<div class="im">
<br>
<br>
On 08/02/2012 04:55 AM, Ananth Kollipara wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Alex,<br>
<br>
uac_redirect doesn&#39;t work for me. Please see the below link<br>
<a href="http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10" target="_blank">http://blog.gmane.org/gmane.<u></u>comp.voip.ser/month=20050201/<u></u>page=10</a><br>
<br>
In the above link, check the email from &quot;Jan Janak&quot; on Feb 3rd, with the<br>
&quot;call flow&quot;. I exactly require the same. Do we have some handling for this?<br>
<br>
Regards,<br>
Ananth<br>
<br>
<br>
<br>
<br>
<br>
On Thu, Aug 2, 2012 at 6:01 AM, Alex Balashov &lt;<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a><br></div><div class="im">
&lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.<u></u>com</a>&gt;&gt; wrote:<br>
<br>
    Oh, I see.  Yes, the &#39;uac_redirect&#39; module can consume 302s.<br>
<br>
<br>
    On 08/01/2012 08:30 PM, Ananth Kollipara wrote:<br>
<br>
        I want the proxy to re-route the request, without informing the<br>
        client.<br>
        Lets say - proxy receives message, forwards to back-end servers. If<br>
        back-end server responds with 302 response, proxy shall use the<br>
        contact<br>
        header and then forwards the message to the correct backend<br>
        server. Do<br>
        we have support for this?<br>
<br>
        On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov<br>
        &lt;<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a> &lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.<u></u>com</a>&gt;<br></div>

        &lt;mailto:<a href="mailto:abalashov@evaristesys." target="_blank">abalashov@evaristesys.</a><u></u>__com<div class="im"><br>
        &lt;mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.<u></u>com</a>&gt;&gt;&gt; wrote:<br>
<br>
             On 08/01/2012 08:12 PM, Ananth Kollipara wrote:<br>
<br>
                 Which module does dynamic routing?<br>
<br>
<br>
             Lots of modules do various kinds of dynamic routing:<br>
        drouting, lcr,<br>
             dialplan, etc.<br>
<br>
             But, they&#39;re rather formulaic.  If you&#39;re after something<br>
        custom,<br>
             just do it yourself using your TimesTen DB, db_unixodbc,<br>
        and the<br>
             sqlops module, which allows custom SQL queries and<br>
        interactions:<br>
<br></div>
        <a href="http://www.kamailio.org/docs/____modules/3.3.x/modules_k/____sqlops.html" target="_blank">http://www.kamailio.org/docs/_<u></u>___modules/3.3.x/modules_k/___<u></u>_sqlops.html</a><br>
        &lt;<a href="http://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html" target="_blank">http://www.kamailio.org/docs/<u></u>__modules/3.3.x/modules_k/__<u></u>sqlops.html</a>&gt;<div><div class="h5"><br>

<br>
<br>
        &lt;<a href="http://www.kamailio.org/docs/__modules/3.3.x/modules_k/__sqlops.html" target="_blank">http://www.kamailio.org/docs/<u></u>__modules/3.3.x/modules_k/__<u></u>sqlops.html</a><br>
        &lt;<a href="http://www.kamailio.org/docs/modules/3.3.x/modules_k/sqlops.html" target="_blank">http://www.kamailio.org/docs/<u></u>modules/3.3.x/modules_k/<u></u>sqlops.html</a>&gt;&gt;<br>
<br>
             And, sending 302 redirects with the desired Contact header<br>
        is very easy:<br>
<br>
                 append_to_reply(&quot;Contact: &lt;sip:...&gt;\r\n&quot;);<br>
                 sl_send_reply(&quot;302&quot;, &quot;Moved Temporarily&quot;);<br>
<br>
<br>
             -- Alex<br>
<br>
             --<br>
             Alex Balashov - Principal<br>
             Evariste Systems LLC<br>
             235 E Ponce de Leon Ave<br>
             Suite 106<br>
             Decatur, GA 30030<br>
             Tel: +1-678-954-0670<br>
             Fax: +1-404-961-1892<br>
             Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
<br>
<br>
<br>
<br>
    --<br>
    Alex Balashov - Principal<br>
    Evariste Systems LLC<br>
    235 E Ponce de Leon Ave<br>
    Suite 106<br>
    Decatur, GA 30030<br>
    Tel: +1-678-954-0670<br>
    Fax: +1-404-961-1892<br>
    Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
<br>
<br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
Tel: +1-678-954-0670<br>
Fax: +1-404-961-1892<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
</div></div></blockquote></div><br>