Hi, I think I did not state my problem clearly. I restart both opensips and my sip client. After restart of both opensips and sip client, the sip client registers with a new Contact. Since I DO NOT want registration persistence across restarts, I have set the db_mode param to 0. Inspite of this, opensips remembers the previous "Contacts" of my sip client. (I can see the older contacts in 200 OK of REGISTER)
This is my issue. Thanks and Regards, Sanjeev -----Original Message----- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Tuesday, October 13, 2009 11:15 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Are user registrations stored? 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-boun...@lists.opensips.org > [mailto:users-boun...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users