If i register first from a SIP client its getting registered, if i try again from another SIP client with id 9001 its again getting registered. How can i prevent registration on second client with same id. I tried changing type to peer but shows same behavior, also when i tried to change type to user the registration always fails with password error
Unless you use “permit” and “deny” lines to limit where traffic is allowed from, there isn’t a way. This is because with the correct username/password you don’t know who should or should not be allowed to register, and if it’s a new REGISTER replacing an existing one then that could actually mean the already registered device has a new IP address.
How can limit REGISTER using permit and deny provided the client IP address is dynamic and not static. If 9001 is registered from one phone next time it will be tried from another phone with different ip.