Groups: Difference between revisions
(Add critical R(...) wrapper syntax for regex patterns in telephone number groups) |
(Rewrite: condensed structure, consolidated checkbox options into table, added See Also section) |
||
| Line 2: | Line 2: | ||
{{DISPLAYTITLE:Groups: IP, Telephone Numbers & Emails}} | {{DISPLAYTITLE:Groups: IP, Telephone Numbers & Emails}} | ||
Groups define sets of IP addresses | Groups define reusable sets of IP addresses, telephone numbers, and emails for filtering CDRs, configuring alerts, and reports. | ||
= | {{Note|1=After creating a new group, '''log out and log back in''' for it to appear in dropdown lists (CDR filters, alerts, charts).}} | ||
== Group Types == | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Type !! Path !! Use Cases | ||
|- | |- | ||
| '''IP | | '''IP''' || Groups → IPs || SIP trunks, call direction classification, CDR filtering by IP | ||
|- | |- | ||
| ''' | | '''Tel. Numbers''' || Groups → Tel. numbers || Filter CDRs by caller/called, alert on number ranges | ||
|- | |- | ||
| ''' | | '''Emails''' || Groups → Emails || Recipients for alerts and reports | ||
|} | |} | ||
== IP Groups == | == IP Groups == | ||
Define sets of IP addresses or CIDR ranges for filtering and classification. | |||
=== Creating IP Groups === | === Creating IP Groups === | ||
# Navigate to | # Navigate to '''Groups → IPs''' | ||
# Click "New group" | # Click "New group", enter name | ||
# Add IPs or CIDR ranges (one per line): | |||
# Add | |||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
192.168.1.100 | 192.168.1.100 | ||
10.0.0.0/24 | 10.0.0.0/24 | ||
2001:db8::1/128 | 2001:db8::1/128 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
# Configure checkboxes (see below) | |||
# Save | |||
=== | === Checkbox Options === | ||
{| class="wikitable" | |||
|- | |||
! Checkbox !! Purpose !! When to Use | |||
|- | |||
| '''Trunk''' || Marks IPs as external carrier/provider || SIP trunk IPs from your VoIP provider | |||
|- | |||
| '''Server''' || Marks IPs as internal infrastructure || Your PBX, SBC, or media servers | |||
|- | |||
| '''SIP history group''' || Merges private/public IPs in SIP ladder view || NAT devices where signaling uses public IP but RTP uses private IP | |||
|} | |||
=== Call Direction Classification === | === Call Direction Classification === | ||
Using | Using '''Trunk''' and '''Server''' checkboxes enables precise filtering: | ||
{| class="wikitable" | |||
|- | |||
! Direction !! Filter Logic | |||
|- | |||
| '''Outbound''' || callerIP in '''Server''' group AND calledIP in '''Trunk''' group | |||
|- | |||
| '''Inbound''' || callerIP in '''Trunk''' group AND calledIP in '''Server''' group | |||
|- | |||
| '''Internal''' || Both IPs in same group (or neither in any group) | |||
|} | |||
<kroki lang="mermaid"> | <kroki lang="mermaid"> | ||
| Line 97: | Line 73: | ||
Carrier[Carrier/Provider] | Carrier[Carrier/Provider] | ||
end | end | ||
PBX -->|"Outbound | PBX -->|"Outbound"| Carrier | ||
Carrier -->|"Inbound | Carrier -->|"Inbound"| PBX | ||
</kroki> | </kroki> | ||
=== | === SIP History Group for NAT === | ||
When a device behind NAT shows different IPs in signaling vs media: | |||
* Public IP: 1.2.3.4 (in SIP headers) | |||
* Private IP: 10.0.0.3 (actual device) | |||
Create a group with both IPs and enable '''SIP history group''' checkbox. The GUI will consolidate duplicate flows into a single column in SIP ladder view. | |||
== Telephone Number Groups == | == Telephone Number Groups == | ||
Define sets of phone numbers or patterns for CDR filtering and alerts. | |||
=== Creating | === Creating Groups === | ||
'''Manual entry:''' | |||
# Navigate to '''Groups → Tel. numbers''' | |||
# Click "New group" | |||
# Add numbers one per line | |||
# Save | |||
''' | |||
# Navigate to | |||
# Click | |||
# | |||
# | |||
'''Import/Export (for large lists):''' | |||
# | # Click "import/export" button | ||
# Upload text file with one number per line | |||
=== Regex Patterns === | |||
= | {{Warning|1=Entries are literal strings by default. Wrap patterns with <code>R(...)</code> to enable regex.}} | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 173: | Line 109: | ||
! Pattern !! Description | ! Pattern !! Description | ||
|- | |- | ||
| <code>R([ | | <code>R(^500[0-9]{4}$)</code> || Match 7-digit numbers starting with 500 | ||
|- | |- | ||
| <code>R(^ | | <code>R(^(\+|00))</code> || International numbers (+ or 00 prefix) | ||
|- | |- | ||
| <code>R( | | <code>R([a-zA-Z])</code> || Numbers containing letters (malformed IDs) | ||
|} | |} | ||
=== Using | === Using in CDR Filters === | ||
# Go to CDR view → Filter Form | |||
# In '''Group Filters''' section, select your group from '''Caller Groups''' or '''Called Groups''' | |||
# Click Search | |||
{{Tip|Changes to the group automatically apply to all filters using it.}} | |||
== Email Groups == | == Email Groups == | ||
Define recipient lists for [[Alerts|alerts]] and [[Reports|reports]]. | |||
# Navigate to | # Navigate to '''Groups → Emails''' | ||
# Click "New group" | # Click "New group" | ||
# Add email addresses (one per line) | |||
# Add email addresses | # Save | ||
# Save | |||
== IP Anonymize Rewrite Rules == | == IP Anonymize Rewrite Rules == | ||
Replace original IPs with anonymized values in the database (GDPR compliance). | |||
{{Warning|1=Rules apply only to '''new data''' after saving. Existing records are not modified.}} | |||
=== Configuration | === Configuration === | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 231: | Line 145: | ||
! Field !! Description | ! Field !! Description | ||
|- | |- | ||
| ''' | | '''IP to anonymize''' || Original IP or network to hide | ||
|- | |- | ||
| ''' | | '''Mask [0-32]''' || Source CIDR mask (32 = single IP, 24 = subnet) | ||
|- | |- | ||
| ''' | | '''Anonymous IP''' || Replacement IP stored in database | ||
|- | |- | ||
| '''Mask [0-32]''' || Target mask (same as source = preserves host part) | |||
| '''Mask [0-32]''' || Target mask | |||
|} | |} | ||
'''Example:''' Map 192.168.1.x → 10.0.0.x (preserve host address): | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 259: | Line 169: | ||
|} | |} | ||
== See Also == | |||
* [[Alerts]] - Using email groups for notifications | |||
* [[Reports]] - Using groups in scheduled reports | |||
* [[Call_Detail_Record_-_CDR]] - CDR filtering with groups | |||
== AI Summary for RAG == | == AI Summary for RAG == | ||
'''Summary:''' | '''Summary:''' VoIPmonitor Groups feature for defining reusable sets of IP addresses, telephone numbers, and emails. IP groups support Trunk, Server, and SIP history group checkboxes for call direction classification (Outbound = callerIP in Server + calledIP in Trunk; Inbound = reverse) and NAT device consolidation in SIP ladder view. Telephone number groups support manual entry, import/export for large lists, and regex patterns with R(...) wrapper syntax. Email groups define recipients for alerts and reports. IP Anonymize Rewrite Rules enable GDPR-compliant IP masking for new data only. Important: log out and back in after creating groups for them to appear in dropdown lists. | ||
'''Keywords:''' groups, IP groups, telephone | '''Keywords:''' groups, IP groups, telephone numbers, email groups, SIP trunks, Trunk checkbox, Server checkbox, SIP history group, call direction, inbound, outbound, CDR filter, Caller Groups, Called Groups, regex patterns, R() wrapper, import export, IP anonymize, GDPR, NAT, SIP ladder, GUI refresh, login refresh | ||
'''Key Questions:''' | '''Key Questions:''' | ||
* What types of groups are available in VoIPmonitor? | * What types of groups are available in VoIPmonitor? | ||
* How do I create an IP group for a SIP trunk? | * How do I create an IP group for a SIP trunk? | ||
* What is the Trunk checkbox and | * What is the Trunk checkbox and Server checkbox used for? | ||
* | * How do I differentiate inbound and outbound calls? | ||
* What is the SIP history group checkbox | * What is the SIP history group checkbox for NAT devices? | ||
* How do I use regex patterns in telephone number groups? | |||
* How do I | * How do I import a large list of phone numbers? | ||
* Why is my new group not visible in dropdown lists? | |||
* How do I import a large list of phone numbers | * How do I configure IP anonymization for GDPR? | ||
* Why is my new group not visible in dropdown lists | |||
* | |||
Latest revision as of 16:48, 8 January 2026
Groups define reusable sets of IP addresses, telephone numbers, and emails for filtering CDRs, configuring alerts, and reports.
ℹ️ Note: After creating a new group, log out and log back in for it to appear in dropdown lists (CDR filters, alerts, charts).
Group Types
| Type | Path | Use Cases |
|---|---|---|
| IP | Groups → IPs | SIP trunks, call direction classification, CDR filtering by IP |
| Tel. Numbers | Groups → Tel. numbers | Filter CDRs by caller/called, alert on number ranges |
| Emails | Groups → Emails | Recipients for alerts and reports |
IP Groups
Define sets of IP addresses or CIDR ranges for filtering and classification.
Creating IP Groups
- Navigate to Groups → IPs
- Click "New group", enter name
- Add IPs or CIDR ranges (one per line):
192.168.1.100
10.0.0.0/24
2001:db8::1/128
- Configure checkboxes (see below)
- Save
Checkbox Options
| Checkbox | Purpose | When to Use |
|---|---|---|
| Trunk | Marks IPs as external carrier/provider | SIP trunk IPs from your VoIP provider |
| Server | Marks IPs as internal infrastructure | Your PBX, SBC, or media servers |
| SIP history group | Merges private/public IPs in SIP ladder view | NAT devices where signaling uses public IP but RTP uses private IP |
Call Direction Classification
Using Trunk and Server checkboxes enables precise filtering:
| Direction | Filter Logic |
|---|---|
| Outbound | callerIP in Server group AND calledIP in Trunk group |
| Inbound | callerIP in Trunk group AND calledIP in Server group |
| Internal | Both IPs in same group (or neither in any group) |
SIP History Group for NAT
When a device behind NAT shows different IPs in signaling vs media:
- Public IP: 1.2.3.4 (in SIP headers)
- Private IP: 10.0.0.3 (actual device)
Create a group with both IPs and enable SIP history group checkbox. The GUI will consolidate duplicate flows into a single column in SIP ladder view.
Telephone Number Groups
Define sets of phone numbers or patterns for CDR filtering and alerts.
Creating Groups
Manual entry:
- Navigate to Groups → Tel. numbers
- Click "New group"
- Add numbers one per line
- Save
Import/Export (for large lists):
- Click "import/export" button
- Upload text file with one number per line
Regex Patterns
⚠️ Warning: Entries are literal strings by default. Wrap patterns with R(...) to enable regex.
| Pattern | Description |
|---|---|
R(^500[0-9]{4}$) |
Match 7-digit numbers starting with 500 |
| 00)) | International numbers (+ or 00 prefix) |
R([a-zA-Z]) |
Numbers containing letters (malformed IDs) |
Using in CDR Filters
- Go to CDR view → Filter Form
- In Group Filters section, select your group from Caller Groups or Called Groups
- Click Search
💡 Tip: Changes to the group automatically apply to all filters using it.
Email Groups
Define recipient lists for alerts and reports.
- Navigate to Groups → Emails
- Click "New group"
- Add email addresses (one per line)
- Save
IP Anonymize Rewrite Rules
Replace original IPs with anonymized values in the database (GDPR compliance).
⚠️ Warning: Rules apply only to new data after saving. Existing records are not modified.
Configuration
| Field | Description |
|---|---|
| IP to anonymize | Original IP or network to hide |
| Mask [0-32] | Source CIDR mask (32 = single IP, 24 = subnet) |
| Anonymous IP | Replacement IP stored in database |
| Mask [0-32] | Target mask (same as source = preserves host part) |
Example: Map 192.168.1.x → 10.0.0.x (preserve host address):
| Setting | Value |
|---|---|
| IP to anonymize | 192.168.1.0 |
| Mask | 24 |
| Anonymous IP | 10.0.0.0 |
| Mask | 24 |
See Also
- Alerts - Using email groups for notifications
- Reports - Using groups in scheduled reports
- Call_Detail_Record_-_CDR - CDR filtering with groups
AI Summary for RAG
Summary: VoIPmonitor Groups feature for defining reusable sets of IP addresses, telephone numbers, and emails. IP groups support Trunk, Server, and SIP history group checkboxes for call direction classification (Outbound = callerIP in Server + calledIP in Trunk; Inbound = reverse) and NAT device consolidation in SIP ladder view. Telephone number groups support manual entry, import/export for large lists, and regex patterns with R(...) wrapper syntax. Email groups define recipients for alerts and reports. IP Anonymize Rewrite Rules enable GDPR-compliant IP masking for new data only. Important: log out and back in after creating groups for them to appear in dropdown lists.
Keywords: groups, IP groups, telephone numbers, email groups, SIP trunks, Trunk checkbox, Server checkbox, SIP history group, call direction, inbound, outbound, CDR filter, Caller Groups, Called Groups, regex patterns, R() wrapper, import export, IP anonymize, GDPR, NAT, SIP ladder, GUI refresh, login refresh
Key Questions:
- What types of groups are available in VoIPmonitor?
- How do I create an IP group for a SIP trunk?
- What is the Trunk checkbox and Server checkbox used for?
- How do I differentiate inbound and outbound calls?
- What is the SIP history group checkbox for NAT devices?
- How do I use regex patterns in telephone number groups?
- How do I import a large list of phone numbers?
- Why is my new group not visible in dropdown lists?
- How do I configure IP anonymization for GDPR?