Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
disabling double registrations
Author Message
j.declercq
Brekeke Newbie


Joined: 19 Aug 2008
Posts: 1

PostPosted: Tue Aug 19, 2008 4:31 am    Post subject: disabling double registrations Reply with quote

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.
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 494

PostPosted: Thu Aug 21, 2008 12:48 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1