| Author |
Message |
noiptel Brekeke Addict

Joined: 22 Feb 2010 Posts: 26
Location: USA
|
Posted: Thu Mar 18, 2010 9:40 am Post subject: Caller ID discrimination |
|
|
1. Brekeke Product Name and version:SIP Server
2. Java version:
3. OS type and the version:
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem:How can I reject sessions from PSTN that do not have a 10 digit caller ID. Reject by sending back a sip code 502. |
|
| Back to top |
|
taitan Brekeke Talented

Joined: 15 Mar 2008 Posts: 92
|
Posted: Thu Mar 18, 2010 4:31 pm Post subject: |
|
|
[Matching Patterns]
$request = ^INVITE
From = !sip:(.{10,})@
[Deploy Patterns]
$action = 502 |
|
| Back to top |
|
noiptel Brekeke Addict

Joined: 22 Feb 2010 Posts: 26
Location: USA
|
Posted: Fri Apr 23, 2010 6:32 pm Post subject: |
|
|
For some reason it is not working.
Can you please verify sript? |
|
| Back to top |
|
taitan Brekeke Talented

Joined: 15 Mar 2008 Posts: 92
|
Posted: Tue Apr 27, 2010 12:31 pm Post subject: |
|
|
How about this one??
[Matching Patterns]
$request = ^INVITE
From = !sip:(.{10,10})@
[Deploy Patterns]
$action = 502 |
|
| Back to top |
|
|