[OpenSIPS-Users] Different name for 'location' table?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Apr 26 12:48:58 CEST 2010


No need to hack the code - the usrloc module does not have any "table" 
param as it automatically operates with the tables given by save() and 
lookup().

So, the expired entries should be removed from the corresponding table 
without any extra cfg.

Regards,
Bogdan

Julian Yap wrote:
> If there's no module parameter, you'd probably need to hack the source code.
>
> On Sat, Apr 24, 2010 at 12:27 AM, Chris Maciejewski <chris at wima.co.uk> wrote:
>   
>> Hi,
>>
>> Is it possible to use different name of 'location' table? For example
>> if I wanted to use 'prefix1_location' instead of standard 'location',
>> I understand in my config file I would use:
>>
>> save("prefix1_location");
>> lookup("prefix1_location");
>>
>> but how do I tell 'userloc' module to use 'prefix1_location' instead
>> of 'location' (in order to purge expired contacts etc.) ? There
>> doesn't seem to be 'table_name(...)' module parameter?
>>
>> Regards,
>> Chris
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>     
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list