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@alice.it mailto:marino.mileti@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thank you Daniel!!
I've removed the 0x04 flag and now works great!!
Cheers,
Marino
On 03/11/15 17:30, Daniel-Constantin Mierla wrote:
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@alice.it
cid:006a01cb6b0e$67eecdae$_CDOSYS2.0Reduce your energy consumption and keep polar bears on ice!
_____
https://www.avast.com/antivirus Avast logo
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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users