Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Caller ID discrimination
Author Message
noiptel
Brekeke Talented


Joined: 22 Feb 2010
Posts: 68
Location: USA

PostPosted: Thu Mar 18, 2010 9:40 am    Post subject: Caller ID discrimination Reply with quote

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
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Thu Mar 18, 2010 4:31 pm    Post subject: Reply with quote


Matching Patterns
$request = ^INVITE
From = !sip:(.{10,})@
Deploy Patterns
$action = 502
Back to top
View user's profile
noiptel
Brekeke Talented


Joined: 22 Feb 2010
Posts: 68
Location: USA

PostPosted: Fri Apr 23, 2010 6:32 pm    Post subject: Reply with quote

For some reason it is not working.

Can you please verify sript?
Back to top
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Tue Apr 27, 2010 12:31 pm    Post subject: Reply with quote

How about this one??


Matching Patterns
$request = ^INVITE
From = !sip:(.{10,10})@
Deploy Patterns
$action = 502
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