[SR-Users] Avoid multiple registration
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 3 17:30:16 CET 2015
Hello,
On 03/11/15 11:29, Marino Mileti wrote:
>
> I would like to avoid multiple registration with the same AOR...
>
> I know that there's a parameter for this (max_contacts) but if I set
> it to 1, all REGISTER overwrite location info.
>
max_contacts will reject new registrations/contacts if there is already
a valid contact in the location table.
A flag as second parameter to save(...) is the option to overwrite
existing contact with the one from current registration request.
Cheers,
Daniel
>
>
>
> Instead i would like to reply with error if a REGISTER arrive with the
> same AOR just registered on location server.
>
>
>
> Is that possible? Any help is appreciated J
>
>
>
> /Marino Maria Mileti///
>
> /marino.mileti at alice.it <mailto:marino.mileti at alice.it>/
>
> / /
>
> /cid:006a01cb6b0e$67eecdae$_CDOSYS2.0//Reduce your energy consumption
> and keep polar bears on ice!/
>
>
>
>
>
> ------------------------------------------------------------------------
> Avast logo <https://www.avast.com/antivirus>
>
> Questa e-mail è stata controllata per individuare virus con Avast
> antivirus.
> www.avast.com <https://www.avast.com/antivirus>
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151103/b9ceaf54/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 691 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151103/b9ceaf54/attachment.jpe>
More information about the sr-users
mailing list