[Serusers] lookup_contacts for natted clients returns local ip
samuel
samu60 at gmail.com
Mon Jan 21 10:18:12 CET 2008
The req-URI will contain the value of location's contact field and the
received will be placed in an internal structure as destination so the SIP
message is sent there.
I am not sure about the attr2dest function but I guess both functions
(lookup and att2dest) affects the same destination field. Someone with more
internal knowledge would have to assure this.
Regards,
Samuel.
2008/1/18, Tomasz Zieleniewski <tzieleniewski at gmail.com>:
>
> 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/20080121/f26d2781/attachment.htm>
More information about the sr-users
mailing list