Forums Read-only archive

disabling double registrations

2 posts · Brekeke SIP Server Forum

j.declercq Original post
1. Brekeke Product Name and version: 2.1.6.6



3. OS type and the version: windows 2003 server R2



6. Your problem: Good morning how can I prevent automatically that the same user id is twice registering itself ?

e.g. 100@192.168.0.1 is registered
100@10.23.4.3 is regsitered

this leads to audio stream mess.

Is there a way that I can prevent this automatically ?

Thanks in advance.
james
Hi,

Try the Dialplan rule below.

Code:

  [Matching Patterns]
    $request = ^REGISTER 
    $registereduri = (.+) 
    $getUri(Contact) = !%1

  [Deploy Patterns]
    $action = 603 
It returns "603 Decline" response if the same user is registered from different IP address.