[OpenSIPS-Users] Are user registrations stored?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Oct 13 16:15:24 CEST 2009


Sanjeev BA wrote:
> Here is the problem I have.
>
> I typically restart opensips multiple times and after each restart, my sip
> client REGISTERS with a new IP.
>   
you restart opensips and the SIP client gets a new IP ? ? ? hard to 
belive it as there is no connection between the 2 actions.
> However, opensips seems to remember all the old "Contacts" as I can see them
> listed in the 200 OK.
>
> The param is set to 0.
>   
the param must be different than 0 to get registration persistence 
across restarts.

Regards,
Bogdan
> Please advice.
>
> -----Original Message-----
> From: users-bounces at lists.opensips.org
> [mailto:users-bounces at lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
> Sent: Tuesday, October 13, 2009 12:03 PM
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] Are user registrations stored?
>
> Hi Sanjeev,
>
> Sanjeev BA wrote:
>   
>> Hi,
>>
>> Between two successive runs of opensips, are user registrations stored 
>> in a temporary file (or) DB?
>>
>> Could you please provide me the details of the file or table name?
>>
>>     
> USRLOC module does persistence across reboots via DB (table location). 
> But if the DB is used by the module, and how it is used, depends on the 
> db_mode param. See:
>     http://www.opensips.org/html/docs/modules/1.5.x/usrloc.html#id227873
>
> By default, the mode is 0 - no persistence, so you need to explicitly 
> set it to another value to get the DB persistence.
>
> Regards,
> Bogdan
>
>   
>>  
>>
>> Regards
>>
>> Sanjeev
>>
>> ------------------------------------------------------------------------
>>
>>     
>   




More information about the Users mailing list