Hi Ibc,<br><br>you mean this one :<br><h3 class="title"><code class="function">append_hf(txt, hdr)</code></h3>Thanks,<br>-LN<br><div class="gmail_quote">On Tue, May 5, 2009 at 4:25 PM, Iņaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/5/5 oso che bol &lt;<a href="mailto:ndlgroup1@gmail.com">ndlgroup1@gmail.com</a>&gt;:<br>

<div class="im">&gt; Do you mean function record_route_preset() ?<br>
<br>
</div>No, that function add a Record-Route header with custom value in a<br>
*request*. Your problem is that the UAS (GW) is *not* mirroring the<br>
Record-Route in the &quot;200 OK&quot; (it&#39;s a dirty bug in your UAS).<br>
So the only solution (but really dirty) is adding the Record-Route in<br>
the reply (in onreply_route[]). For that, you need a function of *tm*<br>
module which allows adding custom headers to the reply.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Iņaki Baz Castillo<br>
&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>