[Serusers] lookup_contacts for natted clients returns local ip

Tomasz Zieleniewski tzieleniewski at gmail.com
Fri Jan 18 23:50:51 CET 2008


Hi,

You mean that the ruri will be set with the local IP but the message next
hop destination will be set to the sip:80.53.110.142:61066 or to
destip:destport?
The same destination which is for instance set with the usage of attr2dest
function?

-tomasz

On Jan 18, 2008 6:58 PM, samuel <samu60 at gmail.com> wrote:

>
> it is correct, it will have received as next hop address where to send the
> message to.
>
> sam.
> 2008/1/18, Tomasz Zieleniewski <tzieleniewski at gmail.com >:
> >
> > Hi,
> >
> > I have the followning natted contact in my location table:
> > mysql> select * from location where uid =' tw at sip.touk.pl';
> >
> > +--------------------+-------+-----------------------------------------------------------+
> >
> > | contact            | flags |
> > received                                                  |
> >
> > +--------------------+-------+-----------------------------------------------------------+
> > | sip:tw at 192.168.7.2 |     1 | sip:80.53.110.142:61066;dstip=192.168.129.74;dstport=5060
> > |
> > +--------------------+-------+-----------------------------------------------------------+
> >
> >
> > when I invoke lookup_contacts the ruri  has local address 192.168.7.2instead of public one.
> > Is this correct behaviour?
> >
> > Please point me is this should work as I think.
> > Thank You for any help
> > Tomasz
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > Serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080118/c403ff96/attachment.htm>


More information about the sr-users mailing list