Hi,
thanks for these replys. I already saw the nathelper module but I am not sure, which method will store the "received" value. Does the nat_uac_test save the received value?
Best regards, Bernhard
----- Original Message ----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] To: Bernhard Suttner [mailto:bernhard.suttner@winet.ch] Cc: sr-users@lists.sip-router.org Sent: Tue, 07 Dec 2010 18:59:36 +0100 Subject: Re: [SR-Users] Store Source IP in DB
Am 07.12.2010 15:20, schrieb Bernhard Suttner:
Hi,
I am using Kamailio with usrloc, nathelper and register module (and some other). All the data will be stored within a MySQL database. The contact address will be stored within the database. Is it somehow possible to store the SOURCE-IP of a incoming REGISTER from a phone to Kamailio somewhere in the database? It's just for debugging purposes.
If you are doing NAT traversal, e.g. fix_nated_register(), you will have the source IP address of the REGISTER in the location table in the "received" column.
regards Klaus