Thanks for the suggestion. It looks like textops should be able to do something similar, but my subst isn't actually having any effect on the packet sent out. For example if I have:<br><br>if( subst('/Foo/Bar/ig') ) {<br>
xlog( "Done" );<br>}<br><br>Then I get "Done" logged, but no change in the output packet and Foo is still mentioned. Can anyone help?<br><br>Thanks,<br><br><br><div class="gmail_quote">2011/3/31 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 31 March 2011 12:11, David Cunningham <<a href="mailto:dcunningham@voisonics.com">dcunningham@voisonics.com</a>> wrote:<br>
> The problem is that the destination phone is showing the call with the<br>
> Asterisk IP address in it's history, and so if the user chooses to place a<br>
> return call to that address (eg returning a missed call) it goes directly to<br>
> Asterisk, bypassing OpenSIPS.<br>
<br>
</div>Most phones take the address from the "From" header - you might want<br>
to change that instead. To do this, look at the "uac" module.<br>
<br>
--<br>
KTHXBYE,<br>
<font color="#888888"><br>
Stanisław Pitucha<br>
</font><div><div></div><div class="h5"><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>