Use an absolute path to the asterisk call database; do not couple with database.directory
Switch to IPy for IP validation; ipaddress is not compatible with Python 3.2