disabling double registrations

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
j.declercq
Posts: 1
Joined: Tue Aug 19, 2008 4:26 am

disabling double registrations

Post by j.declercq »

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
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Hi,

Try the Dialplan rule below.

Code: Select all

  [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.
Post Reply