Hi,<br><br>I had it in the wrong place which is why it didn't change anything, and have worked it out using uac_replace_from.<br><br>Thanks for your assistance!<br><br><br><div class="gmail_quote">2011/4/1 Stanisław Pitucha <span dir="ltr"><<a href="mailto:viraptor@gmail.com">viraptor@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 1 April 2011 00:25, David Cunningham <<a href="mailto:dcunningham@voisonics.com">dcunningham@voisonics.com</a>> wrote:<br>
> Then I get "Done" logged, but no change in the output packet and Foo is<br>
> still mentioned. Can anyone help?<br>
<br>
</div>Are you sure you're doing it on the right packet, before you send it out, etc.?<br>
Also, to change "From" headers you should use the uac module and<br>
<br>
uac_replace_from("somebody", "sip:number@host");<br>
<br>
Otherwise, you're in a world of pain to get all the rewriting correct<br>
in both ways (answers, subsequent requests, detecting direction, etc.)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">KTHXBYE,<br>
<br>
Stanisław Pitucha<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><br clear="all"><br>-- <br>David Cunningham, Voisonics<br><a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>US toll-free: +1 888 842 2720<br>UK: +44 (0) 20 3298 1642<br>
Australia: +61 (0) 2 8063 9019<br><br>