Hi everybody,
I have been trying to setup a new installation of kamailio, and I need the user location table to have a specific name. This will allow two kamailio servers to use the same database for their registry information.
I cannot find any modparam in the documentation that allows me to set the table name for the usrloc. Is there any way to do this? It seems like an oversight, every other module I have been able to change the table name without a problem.
Thank you,
Alex
Alejandro,
Plot twist! It's not a modparam. This is actually the 'domain' argument to the save() function exported by the 'registrar' module:
http://kamailio.org/docs/modules/4.1.x/modules/registrar.html#idp1965144
"domain - Logical domain within registrar. If database is used then this must be name of the table which stores the contacts"
In other words:
save("my_location_table"); save("my_location_table2");
-- Alex
On 02/04/2014 10:47 AM, Alejandro Recarey wrote:
Hi everybody,
I have been trying to setup a new installation of kamailio, and I need the user location table to have a specific name. This will allow two kamailio servers to use the same database for their registry information.
I cannot find any modparam in the documentation that allows me to set the table name for the usrloc. Is there any way to do this? It seems like an oversight, every other module I have been able to change the table name without a problem.
Thank you,
Alex
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
Thank you Alex for your quick reply!
On Tue, Feb 4, 2014 at 4:49 PM, Alex Balashov abalashov@evaristesys.comwrote:
Alejandro,
Plot twist! It's not a modparam. This is actually the 'domain' argument to the save() function exported by the 'registrar' module:
http://kamailio.org/docs/modules/4.1.x/modules/ registrar.html#idp1965144
"domain - Logical domain within registrar. If database is used then this must be name of the table which stores the contacts"
In other words:
save("my_location_table"); save("my_location_table2");
-- Alex
On 02/04/2014 10:47 AM, Alejandro Recarey wrote:
Hi everybody,
I have been trying to setup a new installation of kamailio, and I need the user location table to have a specific name. This will allow two kamailio servers to use the same database for their registry information.
I cannot find any modparam in the documentation that allows me to set the table name for the usrloc. Is there any way to do this? It seems like an oversight, every other module I have been able to change the table name without a problem.
Thank you,
Alex
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
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
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