Author |
Message |
Doug Brekeke Member
Joined: 07 Dec 2007 Posts: 17
Location: Ca
|
Posted: Tue Jun 10, 2008 3:39 pm Post subject: Black List |
|
|
1. Brekeke Product Name and version: 2.2.1.6
2. Java version: 6.
3. OS type and the version: Windows 2003 SP2
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 do I block certain caller ID's? Some system refer to this as a Black List.
Thanks
Doug _________________ Doug |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Tue Jun 10, 2008 4:46 pm Post subject: |
|
|
try the following dial plan, maybe works
Matching Pattens:
$request=^INVITE
From="blockedID"(.*)
Deploy Patterns | $action = 503
|
503 means service unavailable |
|
Back to top |
|
Doug Brekeke Member
Joined: 07 Dec 2007 Posts: 17
Location: Ca
|
Posted: Tue Jun 10, 2008 5:23 pm Post subject: |
|
|
Thank you I will give this a try.
Doug _________________ Doug |
|
Back to top |
|
lakeview Brekeke Master Guru
Joined: 15 Nov 2007 Posts: 319
Location: Florida
|
Posted: Wed Jun 11, 2008 12:03 pm Post subject: |
|
|
Doug,
If there are many block-caller-IDs, I recommend you to use the Alias function.
Matching Patterns | $request = ^INVITE From = sip:(.+)@ $alias.lookup( "%1") = block
| Deploy Patterns | $action = 503
|
Refer the Wiki topic for more details.
http://www.brekeke-sip.com/wiki/index.php?telepark.wiki=21a0f9ad |
|
Back to top |
|
Doug Brekeke Member
Joined: 07 Dec 2007 Posts: 17
Location: Ca
|
Posted: Wed Jun 11, 2008 12:15 pm Post subject: |
|
|
Not sure how to deal with the Alias function.
I am sure I will learn.
Thanks for everyones response.
We are currently Trixbox users and they have a very nice UI to do this kind of thing, but since I am Linux impaired we are trying to find a good Windows replacement and Brekeke seems to work nicely as long as we can figure out how to replace these functions.
Doug _________________ Doug |
|
Back to top |
|
Doug Brekeke Member
Joined: 07 Dec 2007 Posts: 17
Location: Ca
|
Posted: Sat Nov 22, 2008 4:25 pm Post subject: |
|
|
I tried entering a caller-id to block and nothing seems to block the call. I am sure I am doing something wrong but have no idea.
I set up a dial plane like below. Obviously I use a real number from my cell phone. I place the call and it goes through.
Matching Pattens:
$request=^INVITE
From="2125551212"(.*)
Deploy Patterns | $action = 503
|
In the log the from URI is sip:2125551212@MP118.malibu.com. I have tried making the From="sip:2125551212@MP118.malibu.com" and many variations but none work. I clearly have no clue.
Help!
Thanks. _________________ Doug |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Nov 24, 2008 12:32 pm Post subject: |
|
|
Matching Pattens:
$request=^INVITE
From=sip:2125551212@(.*)
Deploy Patterns | $action = 503
|
does this work? |
|
Back to top |
|
Doug Brekeke Member
Joined: 07 Dec 2007 Posts: 17
Location: Ca
|
Posted: Mon Nov 24, 2008 2:04 pm Post subject: |
|
|
Your "From" pattern certainly made a difference.
The call is delayed by a ring or two, but eventually is answered by the Auto Attentant. It is not disconnected. Maybe the $action=503 needs to be dealt with differently.
In the logs the callee URI is also changed. I have a MP118 in front of Brekeke.
When I use your "from" pattern the URI has the sip:4488@MP118 address versus the sip:2125551212@MP118 address. (4488 is the user routing that is defined in the MP118 for this trunk)
If I disable the Dial plan the From= "sip:2125551212@MP118". WEhat I would expect.
So clearly your From pattern causes something different to happen. It seems like the MP118 tries to resend the call after the intial call and it comes in as the AutoAttentants # 4488.
I think you are on the right track, but what I want to happen is the call is just dropped.
Thanks for the help so far. Some progress.
Doug _________________ Doug |
|
Back to top |
|
|