Caller ID discrimination

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
noiptel
Posts: 68
Joined: Mon Feb 22, 2010 9:24 pm
Location: USA

Caller ID discrimination

Post by noiptel »

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/ ... terns.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.
taitan
Posts: 237
Joined: Sat Mar 15, 2008 10:39 pm

Post by taitan »

[Matching Patterns]
$request = ^INVITE
From = !sip:(.{10,})@

[Deploy Patterns]
$action = 502
noiptel
Posts: 68
Joined: Mon Feb 22, 2010 9:24 pm
Location: USA

Post by noiptel »

For some reason it is not working.

Can you please verify sript?
taitan
Posts: 237
Joined: Sat Mar 15, 2008 10:39 pm

Post by taitan »

How about this one??


[Matching Patterns]
$request = ^INVITE
From = !sip:(.{10,10})@

[Deploy Patterns]
$action = 502
Post Reply