<div dir="ltr">Alex,<div><br></div><div>   I am not sure of your use case - but one common example I can think of is a <span class="">LRN</span> service provided via 302 redirect.  What we do in this instance is <span class="">UAC</span> -> <span class="">Kamailio</span> on this initial transaction we send the call directly to the <span class="">LRN</span> service (not appending) any other branches and alter the original state of <span class="">ruri</span>, we then set a special reply route that receives the <span class="">LRN</span> information, caches it in a database so subsequent requests entirely avoid this process for a period of time since its already cached.  We also set a custom failure route that appends the new branch(s) upstream back to <span class="">LCR</span> / <span class="">PSTN</span> using <span class="">LRN</span> information.  Now with this said - while the transaction is in flight upstream, and a cancel from <span class="">UAC</span> is sent, simply flag the transaction / response you receive back from upstream and drop it in the reply.</div>
<div><br></div><div>Sincerely,</div><div>Brandon <span class="">Armstead</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 8, 2014 at 12:22 PM, 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">Sounds like t_drop_replies() might be the ticket, but I wanted to check with the Best Practices Council.<div class="HOEnZb">
<div class="h5"><br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><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>
Please be kind to the English language:<br>
<br>
<a href="http://www.entrepreneur.com/article/232906" target="_blank">http://www.entrepreneur.com/<u></u>article/232906</a><br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>