Black List

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
Doug
Posts: 17
Joined: Fri Dec 07, 2007 2:55 pm
Location: Ca
Contact:

Black List

Post by Doug »

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/ ... terns.html :

6. Your problem: How do I block certain caller ID's? Some system refer to this as a Black List.

Thanks

Doug
Doug
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

try the following dial plan, maybe works

Matching Pattens:
$request=^INVITE
From="blockedID"(.*)

Deploy Patterns:
$action=503

503 means service unavailable
Doug
Posts: 17
Joined: Fri Dec 07, 2007 2:55 pm
Location: Ca
Contact:

Post by Doug »

Thank you I will give this a try.

Doug
Doug
lakeview
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Doug,

If there are many block-caller-IDs, I recommend you to use the Alias function.

----------------------------
[Matching Pattern:]
$request = ^INVITE
From = sip:(.+)@
$alias.lookup( "%1") = block

[Deploy Pattern:]
$action=503
----------------------------

Refer the Wiki topic for more details.
http://www.brekeke-sip.com/wiki/index.p ... i=21a0f9ad
Doug
Posts: 17
Joined: Fri Dec 07, 2007 2:55 pm
Location: Ca
Contact:

Post by Doug »

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
Doug
Posts: 17
Joined: Fri Dec 07, 2007 2:55 pm
Location: Ca
Contact:

Post by Doug »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

Matching Pattens:
$request=^INVITE
From=sip:2125551212@(.*)

Deploy Patterns:
$action=503

does this work?
Doug
Posts: 17
Joined: Fri Dec 07, 2007 2:55 pm
Location: Ca
Contact:

Post by Doug »

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
Post Reply