Alex,<br><br>uac_redirect doesn't work for me. Please see the below link<br><a href="http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10">http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10</a><br>
<br>In the above link, check the email from "Jan Janak" on Feb 3rd, with the "call flow". I exactly require the same. Do we have some handling for this? <br><br>Regards,<br>Ananth<br><br><br><br><br><br>
<div class="gmail_quote">On Thu, Aug 2, 2012 at 6:01 AM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Oh, I see. Yes, the 'uac_redirect' module can consume 302s.<div class="im"><br>
<br>
On 08/01/2012 08:30 PM, 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">
I want the proxy to re-route the request, without informing the 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 contact<br>
header and then forwards the message to the correct backend server. Do<br>
we have support for this?<br>
<br>
On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov <<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a><br></div><div class="im">
<mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.<u></u>com</a>>> 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: drouting, lcr,<br>
dialplan, etc.<br>
<br>
But, they're rather formulaic. If you're after something custom,<br>
just do it yourself using your TimesTen DB, db_unixodbc, and the<br>
sqlops module, which allows custom SQL queries and 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><div class="im"><br>
<<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>
<br>
And, sending 302 redirects with the desired Contact header is very easy:<br>
<br>
append_to_reply("Contact: <sip:...>\r\n");<br>
sl_send_reply("302", "Moved Temporarily");<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>
</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>