[Serusers] lookup_contacts for natted clients returns local ip

Tomasz Zieleniewski tzieleniewski at gmail.com
Fri Jan 18 15:40:58 CET 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080118/60617daf/attachment.htm>


More information about the sr-users mailing list