Search code examples
kamailio

Get IP address of a kamailio user


I have installed a sip kamailio proxy.

I'd like to find the IP address associated with my kamailio (registered) sip users but I can't find where it is stored and how to retreive it.

My guess is to use db_query from SQLOps module but I can't find the right table in my mysql database.

Does someone knows how to do that ?


Solution

  • I finally found that the location table has a "received" column that contains the IP address of a registered user (a regexp is necessary though).