Skip to content

Astratus/Astrigraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Astrigraph

Astrigraph is bash script that can take a asterisk dialplan and turn it into a graphviz graph
Asterisk dialplan - https://wiki.asterisk.org/wiki/display/AST/Contexts%2C+Extensions%2C+and+Priorities
Graphviz package - https://pkgs.org/download/graphviz

My reasons for building this are

To have fun learning bash. To have a script i can run on any linux box that can generate a rough idea of what is going on in the dialplan.

The unknown

Variables can be used in the dialplan, it is hard to build a graph based on information you don't have. So these graphs will never be complete. The extention.conf doesn't tell you what context/extention calls will come in on. So these graphs will never have a start point. Includes can be used in the dialplan. I'm not showing those in the graph. I don't know how to show that with graphviz. If someone has an idea... let me know...

Releases

No releases published

Packages

No packages published

Languages