[SR-Users] Store Source IP in DB

marius zbihlei marius.zbihlei at 1and1.ro
Tue Dec 7 15:51:01 CET 2010


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 at 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



More information about the sr-users mailing list