Hi Dears, I'm a little bit confused about the difference between the "Subscriber" table and the "Location" table.I read that the "Location" table is used for persistent user registration BUT i did NOT configured the "Location" table and can get persistent user registration with the "Subscriber" table ! So can anyone explain the difference please ? Best Regards and Thanks in Advance.
The users in subscriber table are the actual users who are allowed to register to your SIP service. This is where kamailio gets the authentication information, e.g. username and password etc.
The location table is where kamailio stores currently registered i.e. online users. Obviously the records in location table are subset of subscriber table. You do not need to maintain the location table in normal cases as kamailio takes care of that itself.
Thank you.
On Fri, Dec 19, 2014 at 11:35 PM, Mahmoud Ramadan Ali < cisco.and.more.blog@gmail.com> wrote:
Hi Dears, I'm a little bit confused about the difference between the "Subscriber" table and the "Location" table.I read that the "Location" table is used for persistent user registration BUT i did NOT configured the "Location" table and can get persistent user registration with the "Subscriber" table ! So can anyone explain the difference please ? Best Regards and Thanks in Advance.
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
On 19 Dec 2014, at 23:35, Mahmoud Ramadan Ali cisco.and.more.blog@gmail.com wrote:
Hi Dears, I'm a little bit confused about the difference between the "Subscriber" table and the "Location" table.I read that the "Location" table is used for persistent user registration BUT i did NOT configured the "Location" table and can get persistent user registration with the "Subscriber" table ! So can anyone explain the difference please ?
The subscriber table is for AUTHENTICATION. It's not for registrations specifically, as you can authenticate anything but CANCEL.
The location table is by default kept in memory. When you reboot Kamailio it's gone. If you add a database we can store registrations there in many different ways - as a backup of in-memory data, instead of in-memory or in sync with in-memory.
It's two very different tables.
/O