[OpenSIPS-Users] I am getting a different behavior in registrar module in opensips-2.2.2
Răzvan Crainea
razvan at opensips.org
Tue Jun 6 04:51:14 EDT 2017
Moving this discussion to github:
https://github.com/OpenSIPS/opensips/issues/1136
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 06/05/2017 01:46 PM, Sasmita Panda wrote:
> I was just checked this flag in opensips-1.6 . And its working fine as
> for my expectation . When I am setting flag to "c1f" , one contact
> with same AOR is already registered then its remove that older contact
> and register the new one .
>
> Why this is not happening in opensips-2.2.2 ?
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
> On Mon, Jun 5, 2017 at 2:57 PM, Sasmita Panda <spanda at 3clogic.com
> <mailto:spanda at 3clogic.com>> wrote:
>
> Hi All .
>
> I am using opensips-2.2.2 . In registrar module I had set
> the max_contact parameter to 1 .
> modparam("registrar", "max_contacts", 1)
>
> And while saving in location table , I am using the bellow
> flag .
>
> save("location","c1fp1")
>
> As for the document , when we use "f" flag it saves the
> contact forcefully . I such case , it removes the older contact
> and make space for the new contact without exceeding the maximum
> allowed number .
>
> So in my case I am expecting , it must be remove the old
> contact and save the newer one . But what it is doing is , its
> adding the new contact without removing the older one . The older
> one get removed when its expire time reaches .
> Is this the right behavior ? If I am doing something wrong
> according to my expectation then please let me know .
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170606/0a03444c/attachment.html>
More information about the Users
mailing list