[asterisk-users] Prevent multiple sip registrations

Raj Jain rj2807 at gmail.com
Tue Sep 11 10:54:25 CDT 2007


On 9/11/07, Rizwan Hisham <rizwanhasham at gmail.com> wrote:
> My requirement is to prevent registrations for aan account if that account
> is already registered with a user.

That is a perfectly valid requirement. This is not a SIP protocol
issue. This is a SIP Registrar implementation/policy issue. If a SIP
Registrar implementation could limit the number of Contact bindings
per AoR then this goal can be accomplished.

Asterisk's SIP Registrar does not support this today. However, it
should be a relatively minor enhancement to add this in the Asterisk
SIP Registrar itself (as opposed to implementing this through back-end
database hooks).

As an example, the OpenSER's SIP Registrar supports a parameter called
max_contact to accomplish the same goal:

http://www.openser.org/docs/modules/1.2.x/registrar.html#AEN199

Raj



More information about the asterisk-users mailing list