All Projects → abourget → astograph

abourget / astograph

Licence: other
Astograph, Asterisk dial-plan visualization

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Astograph

Astograph is a simple python tool to represent visually your Asterisk dialplan

It uses GraphViz to draw the links between included contexts

Example

Considering this extensions.conf file:

and the following command:

cat extensions.conf | ./astograph.py | dot -Tpng:cairo > graph.png

Make sure you have GraphViz installed for dot, and you should get this:

https://github.com/abourget/astograph/raw/master/graph.png

Dotted lines mean Possible Gotos and solid lines mean Context inclusions.

You can pipe a bunch of extensions.conf files (if you've splitted them with #includes)

Second example

Here is another example, written in the Digium Advanced Training Class:

https://github.com/abourget/astograph/raw/master/example.png

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].