-
-
Notifications
You must be signed in to change notification settings - Fork 244
Example: GeoIP
Essodjolo KAHANAM edited this page May 15, 2019
·
10 revisions
HOMER 5 supports mapping of IPs to Geo Points using Kamailio's geoip module and provides a map widget to show call event distribution over a given timerange.
In order for the module to work, MaxMind database needs to be installed on the system:
- Install MaxMind
- For Debian OS:
apt-get install geoip-database geoip-database-extra
- For any other OS:
mkdir /usr/share/GeoIP cd /usr/share/GeoIP/ wget -N -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz mv GeoLiteCity.dat.gz GeoIPCity.dat.gz gunzip GeoIPCity.dat.gz
- Configure MaxMind path in sipcapture kamailio.cfg
modparam("geoip", "path", "/usr/share/GeoIP/GeoIPCity.dat")
- Enable GEO support in sipcapture kamailio.cfg
#!define WITH_HOMER_GEO
- Disable ONLY_FULL_GROUP_BY in sql_mode in MySQL (5.7+)
Edit your
my.cnf
with the following parameter:
sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
(C) 2008-2023 QXIP BV
HEP/EEP Agent Examples:
- CaptAgent
- HEPlify
- Kamailio
- OpenSIPS
- FreeSwitch
- Asterisk
- sipgrep
- sngrep
- RTPEngine
- RTPProxy
- Oracle ACME SBC
- Sonus SBC
- Avaya SM
- Sansay SBC
HEP/EEP Agent Examples (LOGS):
HEP/EEP Proxy:
Extra Examples:
- Custom JSON Stats
- RTCP-XR Stats
- GEO IP Maps
- Janus/Meetecho-WebRTC
- Cloudshark Export
- Encrypted HEP Tunneling
- SNMP Monitoring
- FreeSWITCH ESL Monitoring
- Kazoo Monitoring
- Speech-to-Text-to-HEP
Extra Resources: