[SR-Users] Change the name of the location table for the usrloc module

Alejandro Recarey ar at cyberfonica.com
Tue Feb 4 17:03:28 CET 2014


Thank you Alex for your quick reply!



On Tue, Feb 4, 2014 at 4:49 PM, Alex Balashov <abalashov at evaristesys.com>wrote:

> 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 at 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140204/7417f07a/attachment.html>


More information about the sr-users mailing list