Reference9:PBX/Config/Filter: Difference between revisions
No edit summary |
Oberplunzy (talk | contribs) m (→Example 3 (restricted external calls via different trunk numbers and different number formats)) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
In the innovaphone PBX, it is possible to define global call filters. These filters can be used to restrict the numbers which are allowed as destination for calls or diversions on a per user basis. | In the innovaphone PBX, it is possible to define global call filters. These filters can be used to restrict the numbers which are allowed as destination for calls or diversions on a per user basis. | ||
== Call filter == | == Call filter == | ||
Line 7: | Line 7: | ||
{| | {| | ||
|valign=top nowrap=true|'''Name''' | |valign=top nowrap=true|'''Name''' | ||
|The name of the filter. The name may not be ok or nok , since these names refer to filter properties. This name is used to configure a filter at an object. | |The name of the filter. The name may not be <code>ok</code> or <code>nok</code> , since these names refer to filter properties. This name is used to configure a filter at an object. | ||
|- | |- | ||
|valign=top nowrap=true|'''Not / Boolean''' | |valign=top nowrap=true|'''Not / Boolean''' | ||
|A filter can be made dependent on the state of a Boolean object. If a Boolean object was defined here, the filter is only effective if the Boolean object is set to true (Not checkbox not checked) or false (Not checkbox checked) | |A filter can be made dependent on the state of a Boolean object. If a Boolean object was defined here, the filter is only effective if the Boolean object is set to true (''Not'' checkbox not checked) or false (''Not'' checkbox checked) | ||
|- | |- | ||
|valign=top nowrap=true|'''Number''' | |valign=top nowrap=true|'''Number''' | ||
Line 16: | Line 16: | ||
|- | |- | ||
|valign=top nowrap=true|'''Next (ok/nok/filter)''' | |valign=top nowrap=true|'''Next (ok/nok/filter)''' | ||
|Possible entries: ok, nok | |Possible entries: <code>ok</code>, <code>nok</code> or filter name (for calling up a further filter with the designated filter name). | ||
|} | |} | ||
Line 49: | Line 49: | ||
|} | |} | ||
This example shows that filters are searched on a ''longest match'' base. That is, digits are collected until there is no ambiguity any more. In this example, this is why the first filter (with number <code>0</code> is not executed unless it is clear that neither <code>0110</code> nore <code>0112</code> do match). | |||
=== Example 3 (restricted external calls via different trunk numbers and different number formats) === | |||
This example prohibits value added numbers 0900 and 0137 | This filter makes use of filter names instead of ''ok'' or ''nok''. This feature is useful to restrict access to set of public numbers that can be reached via different trunk numbers and different number formats like international, national and local. | ||
This example prohibits value added numbers 0900 and 0137 dialled via two trunks 0 and 9 in both number format, national and international. | |||
{| border=1 | {| border=1 | ||
Line 62: | Line 64: | ||
|| ||137||nok||value added numbers | || ||137||nok||value added numbers | ||
|- | |- | ||
||my_filter||00049||restricted||numbers | ||my_filter||00049||restricted||numbers dialled in international format via trunk 0 | ||
|- | |- | ||
|| ||00||restricted||numbers | || ||00||restricted||numbers dialled in national format via trunk 0 | ||
|- | |- | ||
|| || | || ||90049||restricted||numbers dialled in international format via trunk 9 | ||
|- | |- | ||
|| || | || ||90||restricted||numbers dialled in national format via trunk 9 | ||
|} | |} | ||
Line 112: | Line 114: | ||
In the '''Boolean''' section, all objects that were created as a Boolean object in the chapter entitled "[[Reference:Administration/PBX/Objects|Administration/PBX/Objects]]" are displayed. | In the '''Boolean''' section, all objects that were created as a Boolean object in the chapter entitled "[[Reference:Administration/PBX/Objects|Administration/PBX/Objects]]" are displayed. | ||
== Limitations == | |||
There are two limitations: 100 for the number of filters and 200 for the total number of filter destinations | |||
== Related Articles == | == Related Articles == | ||
[[Howto:Diversion_filter_at_the_user_object]] | [[Howto:Diversion_filter_at_the_user_object]] |
Latest revision as of 17:29, 13 May 2017
In the innovaphone PBX, it is possible to define global call filters. These filters can be used to restrict the numbers which are allowed as destination for calls or diversions on a per user basis.
Call filter
Configuration
Name | The name of the filter. The name may not be ok or nok , since these names refer to filter properties. This name is used to configure a filter at an object.
|
Not / Boolean | A filter can be made dependent on the state of a Boolean object. If a Boolean object was defined here, the filter is only effective if the Boolean object is set to true (Not checkbox not checked) or false (Not checkbox checked) |
Number | Number used to match a call/diversion destination. A '?' can be used to match any digit. If there are multiple matching filters, the match with the highest number of digits wins. An empty number always matches. If there are multiple destinations with the same number (maybe empty as well), which call up other filters, these other filters are called in the sequence they are entered until there is a match. |
Next (ok/nok/filter) | Possible entries: ok , nok or filter name (for calling up a further filter with the designated filter name).
|
Example 1 (internal calls only)
This filter prohibits any number beginning with 0 to be dialed. If the trunk object is defined with number 0 no outside calls can be made by the user with this filter configured.
Number | Next |
0 | nok |
Example 2 (internal calls only with exceptions)
This filter prohibits any number beginning with 0 to be dialed. If the trunk object is defined with number 0 no outside calls can be made by the user with this filter configured. The numbers 0110 and 0112 are excluded from this rule.
Number | Next |
0 | nok |
0110 | ok |
0112 | ok |
This example shows that filters are searched on a longest match base. That is, digits are collected until there is no ambiguity any more. In this example, this is why the first filter (with number 0
is not executed unless it is clear that neither 0110
nore 0112
do match).
Example 3 (restricted external calls via different trunk numbers and different number formats)
This filter makes use of filter names instead of ok or nok. This feature is useful to restrict access to set of public numbers that can be reached via different trunk numbers and different number formats like international, national and local.
This example prohibits value added numbers 0900 and 0137 dialled via two trunks 0 and 9 in both number format, national and international.
Filter Name | Number | Next | Comment |
restricted | 900 | nok | value added numbers |
137 | nok | value added numbers | |
my_filter | 00049 | restricted | numbers dialled in international format via trunk 0 |
00 | restricted | numbers dialled in national format via trunk 0 | |
90049 | restricted | numbers dialled in international format via trunk 9 | |
90 | restricted | numbers dialled in national format via trunk 9 |
Example 4 (combine several filters using empty numbers)
This filter makes use of filter names instead of ok or nok with empty numbers.
This example defines three filters, the first blocking the number 200, the second 200, 201 and the third 200,201,202.
Filter Name | Number | Next | Comment |
no200 | 200 | nok | block 200 |
no201 | 201 | nok | block 201 |
no200 | and 200 | ||
no202 | 202 | nok | block 202 |
no201 | and 200,201 |
IP Filter
In the IP Filter section, you can define global IP address filters to protect the innovaphone PBX from unauthorised access.
Two specific filters are available:
- IP-Filter (registration without authentication)
- Address: The network address to be filtered.
- Mask: The associated network mask.
On the networks defined here, registrations per PBX object without password are possible (as defined as No of Regs w/o Pwd. in PBX/General. If nothing is configured here, a registration without password is possible from any IP address.
- IP-Filter (registration with authentication)
- Address: The network address to be filtered.
- Mask: The associated network mask.
On the networks defined here, registrations per PBX object with password are possible. If nothing is configured here, a registration with password is possible from any IP address.
Boolean
In the Boolean section, all objects that were created as a Boolean object in the chapter entitled "Administration/PBX/Objects" are displayed.
Limitations
There are two limitations: 100 for the number of filters and 200 for the total number of filter destinations