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.
Best regards, Bernhard
On 12/07/2010 04:20 PM, Bernhard Suttner wrote:
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.
Best regards, Bernhard
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello
You can try $si and the sqlops module.Don't know if it works with NAT(depends on topology)
Cheers
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