Skip to content

slsolucije/astlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

$ 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

Install as global script

$ ln -s /opt/slsolucije/astlog/env/astlog/bin/astlog /usr/local/bin/astlog

Usage

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

Viewing a call - 1

Viewing a call - 2