Kamailio – get_cfg

https://www.kamailio.org/docs/modules/devel/modules/cfg_rpc.html [root@pbx19 include]# kamcmd cfg.get asterisk { bindip: 127.0.0.1 bindport: 5080 reg_expiry_time: 7200 } kamailio variable list http://www.kamailio.org/wiki/cookbooks/5.2.x/pseudovariables#si_-_source_ip_address

Geoip for web – php

download the database: https://www.rsjoomla.com/support/documentation/rsfirewall-user-guide/frequently-asked-questions/how-do-i-use-country-blocking-and-where-do-i-get-geoipdat-.html php code https://www.php.net/manual/en/book.geoip.php