[OpenSIPS-Users] Are user registrations stored?

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


Hi,

Sanjeev BA wrote:
> Hi,
> I would like to add one more observation.
>
> If the restart happens before the registration timer expiry, only then
> opensips remembers the previous registration.
> If I restart after timer expiry, the previous values are not present.
>   
make sense - why to restore a registration that is already expired and 
useless ???

Regards,
Bogdan
> Any help would be appreciated.
>
> Regards,
> Sanjeev
>
> -----Original Message-----
> From: Sanjeev BA [mailto:as2902.b at samsung.com] 
> Sent: Tuesday, October 13, 2009 12:15 PM
> To: 'OpenSIPS users mailling list'
> Subject: RE: [OpenSIPS-Users] Are user registrations stored?
>
> Here is the problem I have.
>
> I typically restart opensips multiple times and after each restart, my sip
> client REGISTERS with a new IP.
> 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.
>
> 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
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list