[OpenSIPS-Users] Opposite of fix_nated_contact?

David Cunningham dcunningham at voisonics.com
Fri Apr 1 01:25:49 CEST 2011


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:

if( subst('/Foo/Bar/ig') ) {
    xlog( "Done" );
}

Then I get "Done" logged, but no change in the output packet and Foo is
still mentioned. Can anyone help?

Thanks,


2011/3/31 Stanisław Pitucha <viraptor at gmail.com>

> On 31 March 2011 12:11, David Cunningham <dcunningham at voisonics.com>
> wrote:
> > The problem is that the destination phone is showing the call with the
> > Asterisk IP address in it's history, and so if the user chooses to place
> a
> > return call to that address (eg returning a missed call) it goes directly
> to
> > Asterisk, bypassing OpenSIPS.
>
> Most phones take the address from the "From" header - you might want
> to change that instead. To do this, look at the "uac" module.
>
> --
> 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/62d296c2/attachment.htm>


More information about the Users mailing list