$ yum install virtualenv
$ virtualenv env/astlog
$ source env/astlog/bin/activate
$ python setup.py develop
If setup.py fails because of SSL error:
$ pip install pip==1.2.1 # downgrade to older version of pip which works over http
$ pip install urwid
$ python setup.py develop
$ ln -s /opt/slsolucije/astlog/env/astlog/bin/astlog /usr/local/bin/astlog
Save asterisk log with sip debug messages, and use astlog
usage: astlog [-h] [--cdr-file CDR_FILE] [--from-when FROM_WHEN]
[--to-when TO_WHEN] [--tail-minutes TAIL_MINUTES]
[--log-output LOG_OUTPUT] [--use-memory-pct USE_MEMORY_PCT]
log_file