I know about the expire, I just want to ignore them because I only care when new devices register, I've tried the contact issue but it didn't help, both phones came in with the same contact.
On Wed, Jul 7, 2021, 11:31 Alexey Kazantsev via Users < users@lists.opensips.org> wrote: > Hello, > > maybe the second parameter (‘contact’) of the ‘is_contact_registered’ > function [1] could be useful? > And speaking about Expires: 0 — according to SIP RFC [2] it’s absolutely > normal, > it means tat a device disables its registration, this is done either by > sending Expires: 0 SIP header, > or by adding ;expires=0 as a parameter to the Contact header. > > > [1] > https://opensips.org/docs/modules/3.1.x/registrar.html#func_is_contact_registered > [2] https://datatracker.ietf.org/doc/html/rfc3261#section-10.3 > > ----------------------------------------------- > BR, Alexey > http://alexeyka.zantsev.com/ > > _______________________________________________ > 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