Send cisco-voip mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://puck.nether.net/mailman/listinfo/cisco-voip
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cisco-voip digest..."


Today's Topics:

   1. Route Filters (Daniel)
   2. Re: Route Filters (Lelio Fulgenzi)


----------------------------------------------------------------------

Message: 1
Date: Mon, 12 Nov 2012 00:18:04 +1000
From: Daniel <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [cisco-voip] Route Filters
Message-ID:
        <CA+52b_rDuhEBh9pz+q+UN87xUegqFxZYzVYMF=86op3vasz...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I need some clarification to help me understand route filters a little more.

Can you have multiple tags in a clause?

For instance does this make sense?

(DIALUP-ACCESS EXISTS AND DIALUP-SUBSCRIBER EXISTS AND LOCALRATE-SUBSCRIBER
EXISTS AND NATIONALRATE-ACCESS EXISTS AND PAGING-ACCESS EXISTS AND
PERSONAL-ACCESS EXISTS AND SPECIALRATE-ACCESS EXISTS AND SUBSCRIBER EXISTS)

I would have thought that because its an AND the tags would need to match a
number from left to right. For example 972-555-1234 comprises
LOCAL-AREA-CODE (972), OFFICE-CODE (555), and SUBSCRIBER (1234).  The
tags (LOCAL-AREA-CODE
EXISTS AND OFFICE-CODE AND SUBSCRIBER EXISTS) in one filter would match
this call wouldn't it?

The question I have really is can you filter on multiple tags in one
filter, ie filter on multiple different call types in one filter to apply
to a route pattern to block the calls? if so do you have an example.

I understand using them with one tag for example to check if PREMIUM EXISTS
and use the route pattern to block the call. Just unclear on the
possibility of using more than one tag for different purposes in the same
route filter and route pattern.

thanks

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://puck.nether.net/pipermail/cisco-voip/attachments/20121112/9e8d2c83/attachment-0001.html>

------------------------------

Message: 2
Date: Sun, 11 Nov 2012 11:49:48 -0500 (EST)
From: Lelio Fulgenzi <[email protected]>
To: Daniel <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [cisco-voip] Route Filters
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

I don't have a console near by, but if I recall correctly, when you build 
filters you create them one clause at a time. Each clause is 'OR'ed with the 
others. Each tag within the clause is 'AND'ed. 

Apply basic logic to the clause and your golden. 

Be warned, you have a max of 1024 characters for a route filter, including all 
the brackets and conjunctions, i.e. and/or. 

Sent from my iPhone...

"There's no place like 127.0.0.1"

On Nov 11, 2012, at 9:18 AM, Daniel <[email protected]> wrote:

> Hi All,
> 
> I need some clarification to help me understand route filters a little more.
> 
> Can you have multiple tags in a clause?
> 
> For instance does this make sense?
> (DIALUP-ACCESS EXISTS AND DIALUP-SUBSCRIBER EXISTS AND LOCALRATE-SUBSCRIBER 
> EXISTS AND NATIONALRATE-ACCESS EXISTS AND PAGING-ACCESS EXISTS AND 
> PERSONAL-ACCESS EXISTS AND SPECIALRATE-ACCESS EXISTS AND SUBSCRIBER EXISTS)
> 
> I would have thought that because its an AND the tags would need to match a 
> number from left to right. For example 972-555-1234 comprises LOCAL-AREA-CODE 
> (972), OFFICE-CODE (555), and SUBSCRIBER (1234).  The tags (LOCAL-AREA-CODE 
> EXISTS AND OFFICE-CODE AND SUBSCRIBER EXISTS) in one filter would match this 
> call wouldn't it?
> 
> The question I have really is can you filter on multiple tags in one filter, 
> ie filter on multiple different call types in one filter to apply to a route 
> pattern to block the calls? if so do you have an example.
> 
> I understand using them with one tag for example to check if PREMIUM EXISTS 
> and use the route pattern to block the call. Just unclear on the possibility 
> of using more than one tag for different purposes in the same route filter 
> and route pattern.
> 
> thanks
> 
> Dan
> _______________________________________________
> cisco-voip mailing list
> [email protected]
> https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://puck.nether.net/pipermail/cisco-voip/attachments/20121111/72aae980/attachment-0001.html>

------------------------------

_______________________________________________
cisco-voip mailing list
[email protected]
https://puck.nether.net/mailman/listinfo/cisco-voip


End of cisco-voip Digest, Vol 109, Issue 9
******************************************

Reply via email to