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@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@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@gmail.com >:
Hi,
I have the followning natted contact in my location table: mysql> select * from location where uid =' tw@sip.touk.pl';
+--------------------+-------+-----------------------------------------------------------+
| contact | flags | received |
+--------------------+-------+-----------------------------------------------------------+ | sip:tw@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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers