[OpenSIPS-Users] Opposite of fix_nated_contact?

David Cunningham dcunningham at voisonics.com
Fri Apr 1 04:37:11 CEST 2011


Hi,

I had it in the wrong place which is why it didn't change anything, and have
worked it out using uac_replace_from.

Thanks for your assistance!


2011/4/1 Stanisław Pitucha <viraptor at gmail.com>

> On 1 April 2011 00:25, David Cunningham <dcunningham at voisonics.com> wrote:
> > Then I get "Done" logged, but no change in the output packet and Foo is
> > still mentioned. Can anyone help?
>
> Are you sure you're doing it on the right packet, before you send it out,
> etc.?
> Also, to change "From" headers you should use the uac module and
>
> uac_replace_from("somebody", "sip:number at host");
>
> Otherwise, you're in a world of pain to get all the rewriting correct
> in both ways (answers, subsequent requests, detecting direction, etc.)
>
> --
> KTHXBYE,
>
> Stanisław Pitucha
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
David Cunningham, Voisonics
http://voisonics.com/
US toll-free: +1 888 842 2720
UK: +44 (0) 20 3298 1642
Australia: +61 (0) 2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110401/0a8d7bbd/attachment.htm>


More information about the Users mailing list