Author |
Message |
j.declercq Brekeke Newbie
Joined: 19 Aug 2008 Posts: 1
|
Posted: Tue Aug 19, 2008 4:31 am Post subject: disabling double registrations |
|
|
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 |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Thu Aug 21, 2008 12:48 pm Post subject: |
|
|
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 |
|
|