<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi John,<br>
<br>
Whatever change you do over the message in request route will be
inherited by all branches. If you want to do a "per branch"
change, use the branch route (instead of request route) .<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 17.01.2015 15:31, John Nash wrote:<br>
</div>
<blockquote
cite="mid:CAA4rGPwAEQ5+U=6w8L9n43Mb24KMbeKcLQWLzsMBY-ZGYhbgUQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>I tested drouting module and it is very good but when I
try to change value of one custom header (Header was added
in initial Invite), I see it added twice.<br>
<br>
</div>
<div>------>Initial Invite---(Header added)---->Sent to
dest1<br>
</div>
<div>------->Failure comes from dest1-------> Sent to
dest2 (Using use_next_gw)--->Remove header if present
and add new one.<br>
</div>
<div><br>
</div>
My guess is after I add header in failure route (after
use_next_gw call) it is getting copied again from original
invite. I also tried local_route but it seems its not going
inside that.<br>
<br>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>