[SR-Users] Store Source IP in DB

Klaus Darilion klaus.mailinglists at pernau.at
Tue Dec 7 18:59:36 CET 2010



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



More information about the sr-users mailing list