Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Black List
Author Message
Doug
Brekeke Member


Joined: 07 Dec 2007
Posts: 17
Location: Ca

PostPosted: Tue Jun 10, 2008 3:39 pm    Post subject: Black List Reply with quote

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
View user's profile Visit poster's website
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Jun 10, 2008 4:46 pm    Post subject: Reply with quote

try the following dial plan, maybe works

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

Deploy Patterns
$action = 503

503 means service unavailable
Back to top
View user's profile
Doug
Brekeke Member


Joined: 07 Dec 2007
Posts: 17
Location: Ca

PostPosted: Tue Jun 10, 2008 5:23 pm    Post subject: Reply with quote

Thank you I will give this a try.

Doug

_________________
Doug
Back to top
View user's profile Visit poster's website
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Jun 11, 2008 12:03 pm    Post subject: Reply with quote

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
View user's profile
Doug
Brekeke Member


Joined: 07 Dec 2007
Posts: 17
Location: Ca

PostPosted: Wed Jun 11, 2008 12:15 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
Doug
Brekeke Member


Joined: 07 Dec 2007
Posts: 17
Location: Ca

PostPosted: Sat Nov 22, 2008 4:25 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Nov 24, 2008 12:32 pm    Post subject: Reply with quote

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

Deploy Patterns
$action = 503

does this work?
Back to top
View user's profile
Doug
Brekeke Member


Joined: 07 Dec 2007
Posts: 17
Location: Ca

PostPosted: Mon Nov 24, 2008 2:04 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1