Skip to content

A Flask based proof concept REST API for querying an Asterisk server

License

Notifications You must be signed in to change notification settings

sebastiendarocha/asterisk-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asterisk-rest

A Flask based proof concept REST API for querying an Asterisk server

Call http://server:5000/api/v1.0/calls to get last 3 month of CDR data.

If you want a local the hours in localtime, ensure you have this in your /etc/asterisk/cdr.conf.

[csv]
usegmtime=no     ; log date/time in GMT.  Default is "no"

If your CDR isn't in /var/log/asterisk/cdr-csv/Master.csv, you should fix the path in the file

More information at (french only, sorry) : http://blog.da-rocha.net/flask/asterisk\_rest.html

About

A Flask based proof concept REST API for querying an Asterisk server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages