How to restrict users from registering from different UAs (only accept from single UA)?
Rule-1: Accept if the user is not registered yet.
--------------------------------------- [Matching Patterns] $request = ^REGISTER $registered( To ) = false [Deploy Patterns] $action = register ---------------------------------------
Rule-2: Accept if the user’s IP address is the same as previous one .
--------------------------------------- [Matching Patterns] $request = ^REGISTER $addr = (.+) $registeredaddr( To ) = %1 [Deploy Patterns] $action = register ---------------------------------------
Rule-3: Reject other requests.
--------------------------------------- [Matching Patterns] $request = ^REGISTER [Deploy Patterns] $action = 603 ---------------------------------------