CountryGrouping

From VoIPmonitor.org
Revision as of 11:24, 6 January 2026 by Admin (talk | contribs) (Review: replaced duplicate Scaling content with relevant Country Grouping and GeoIP documentation)


This guide covers country-based grouping and GeoIP features in VoIPmonitor, including country filtering, anti-fraud alerts based on geographic location, and country-based CDR analysis.

Overview

VoIPmonitor uses GeoIP databases to determine the geographic location of IP addresses. This enables:

  • Country-based filtering in CDR views
  • Anti-fraud alerts for destination countries/continents
  • Detection of country changes for registered devices
  • Geographic analysis and reporting

GeoIP Configuration

GeoIP services are configured in GUI Settings → System Configuration → GeoIP.

Service Priority

VoIPmonitor uses GeoIP services in the following order:

  1. MaxMind API (if API key is configured)
  2. IPInfoDB API (if API key is configured and MaxMind not available)
  3. Local database (updated with each GUI release)
  4. Free demo portals (fallback: ipinfodb, freegeoip, maxmind)

For detailed GeoIP configuration, see Order_of_GeoIP_processing.

Country-Based Anti-Fraud Alerts

VoIPmonitor provides several anti-fraud alerts that use country detection. These are configured in GUI → Alerts → Anti Fraud.

Country/Continent Destination Alert (Realtime)

Triggers when calls are made to specific countries or continents.

Use cases:

  • Block or alert on calls to high-fraud destinations
  • Monitor international call patterns
  • Enforce geographic calling restrictions

Configuration:

  • Select target countries or continents
  • Set threshold (number of calls or percentage)
  • Configure notification (email, script)

Change CDR Country Alert (CDR-based)

Detects when the IP address of a caller or callee changes to a different country between calls.

Use cases:

  • Detect compromised accounts being used from different locations
  • Identify VPN/proxy usage
  • Monitor for credential theft

Configuration:

  • Exclude countries: Whitelist of allowed countries (e.g., if users legitimately travel between certain countries)
  • Filter by specific numbers or IP ranges

Change REGISTER Country Alert (CDR-based)

Detects when a device's registration IP address changes to a different country.

Use cases:

  • Detect SIP account takeover
  • Monitor device mobility
  • Identify suspicious registration patterns

Country Filtering in CDR

When GeoIP is enabled, you can filter CDR records by country in the GUI:

  1. Go to CDR → Filter
  2. Use the country filter fields in the filter form
  3. Select specific countries from the dropdown

This allows you to:

  • View all calls to/from a specific country
  • Analyze traffic patterns by geographic region
  • Generate country-specific reports

Integration with IP Groups

For more granular control, combine GeoIP features with IP Groups:

  • Create IP Groups for known provider IPs per country
  • Use Groups in alert filters for precise targeting
  • Combine country-based alerts with IP-based filtering

Troubleshooting

GeoIP Data Not Showing

  • Check GeoIP configuration in System Configuration
  • Verify GUI can reach voipmonitor.org for database updates
  • See manual GeoIP database update

Incorrect Country Detection

  • GeoIP databases are not 100% accurate
  • Submit corrections to MaxMind: MaxMind Correction Form
  • After MaxMind updates, notify VoIPmonitor support for GUI release with updated data

See Also

AI Summary for RAG

Summary: Guide to country grouping and GeoIP-based features in VoIPmonitor. Covers GeoIP service configuration (MaxMind, IPInfoDB, local database fallback), country-based anti-fraud alerts (Country/Continent Destination for real-time detection of calls to high-fraud destinations, Change CDR Country for detecting caller IP country changes between calls, Change REGISTER Country for detecting device registration from different countries), country filtering in CDR views, and integration with IP Groups. GeoIP enables geographic analysis, fraud detection, and compliance with calling restrictions.

Keywords: country grouping, GeoIP, MaxMind, IPInfoDB, country filtering, anti-fraud, country destination alert, change CDR country, change REGISTER country, geographic location, IP geolocation, fraud detection, country whitelist, exclude countries, continent alert

Key Questions:

  • How do I filter CDR by country in VoIPmonitor?
  • How do I set up country-based anti-fraud alerts?
  • What is the Change CDR Country alert?
  • How do I detect when a device registers from a different country?
  • How do I whitelist countries in anti-fraud alerts?
  • What GeoIP services does VoIPmonitor use?
  • How do I configure country destination alerts?
  • Can I combine country alerts with IP Groups?
  • How do I troubleshoot incorrect country detection?