astograph examples

Documentation on Asterisk.

Moderators: muppetmaster, Moderator, Support

astograph examples

Postby jreed1949 » Mon Jun 11, 2012 11:23 am

Searched the forums with the word astograph and didn't get a single hit. Anyone got any examples of the commands to use to make this thing work. What little I found on a general google search does not seem to work -- at least for me. Appreciate any instructions on how to make this thing work. Thank You.
jreed1949
Oldsterisk
 
Posts: 52
Joined: Tue Oct 11, 2011 12:09 pm

Re: astograph examples

Postby malcolmd » Mon Jun 11, 2012 11:54 am

I'd never heard of it before (thanks Google). Looks like a fun project
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 2255
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: astograph examples

Postby jreed1949 » Mon Jun 11, 2012 4:23 pm

I learned about it from Derek and Sean at Asterisk training in Vegas. Thus far, I haven't been able to get it to produce the dialplan flowchart.
jreed1949
Oldsterisk
 
Posts: 52
Joined: Tue Oct 11, 2011 12:09 pm

Re: astograph examples

Postby omid.mohajerani » Mon Jun 11, 2012 10:53 pm

to run astrograph firs you need to install graphviz

Centos :
yum install graphviz

Debian :
apt-get install graphviz


then you need to get the code
git clone http://git.abourget.net/astograph.git

it will create astrograph folder and download files in it .
Then you should copy your extensions.conf in this folder and run following command

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

Now you can see go.png :)
omid.mohajerani
Oldsterisk
 
Posts: 110
Joined: Tue Sep 21, 2010 9:28 am

Re: astograph examples

Postby jreed1949 » Wed Jul 11, 2012 4:54 pm

Omid,
Thanks very much for your reply. I will give that a try.
jreed1949
Oldsterisk
 
Posts: 52
Joined: Tue Oct 11, 2011 12:09 pm


Return to Asterisk Documentation

Who is online

Users browsing this forum: No registered users and 1 guest