ftocc

new trixbox app [trixboxGraph]

andrew
Posts: 842
Member Since:
2006-05-30

A trixbox user contributed a cool little app that makes a flow chart out of your dial plan. You can see how all your IVR menus fit together. Even exports to PDF very cool.

Install the trixboxGraph package using the package manager and go the URL
http://yourtrixbox/trixboxGraph

it doesn’t have a link in the control panel yet.



mvsystems
Posts: 1120
Member Since:
2006-06-05
Re: new trixbox app [trixboxGraph]

nice job! works great!

--

Tim Booth FtOCC
MaineVoIP Systems
VisionCom
Portland, Maine



cosmicwombat
Posts: 1151
Member Since:
2006-05-31
Re: new trixbox app [trixboxGraph]

Don't see it in the manager?

Robert

EDIT, changed the settings and it showed up...... :-(

--

Robert Keller - Chief Technologist at large
The VoIP Experience
Get Official FreePBX Training



kerryg
Posts: 6450
Member Since:
2006-05-31
Re: new trixbox app [trixboxGraph]

This is very very cool!

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



blakekrone
Posts: 57
Member Since:
2006-05-31
Re: new trixbox app [trixboxGraph]

Pretty nice utility to have, however I am experiencing some issues with it:

1. Queues, they show up but they are not attached to the callplan in a form I would expect them. On my dialplan diagram it shows that call comes into an IVR and has two options, but both the options link to ext-queues and not the actual queue for that option. Normal or busted?

2. The image file should actually be renamed to .php or something and then having the headers set to display it as an image, as it sits at the moment with it being .png or .gif it gets cached and won't update after making changes.



lazytt
Posts: 180
Member Since:
2006-06-21
Re: new trixbox app [trixboxGraph]

AMAZING!

--

Moshe Brevda, FreePBX Development Team
FreePBX tips and tricks



jekl2000
Posts: 19
Member Since:
2006-10-24
Re: new trixbox app [trixboxGraph]

Cool, but where is the package?



KodaK
Posts: 1877
Member Since:
2006-06-14
Re: new trixbox app [trixboxGraph]
Quote:
jekl2000 wrote:
Cool, but where is the package?

yum install trixboxGraph

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



fredr
Posts: 44
Member Since:
2006-06-15
Re: new trixbox app [trixboxGraph]

Major cool!

It only shows the SIP trunks and not any Zap trunks. Is this normal?



klaus
Posts: 27
Member Since:
2006-12-16
Re: new trixbox app [trixboxGraph]

Installed Trixboxgraph in "packages" but when pointing browser to "http://mytrixbox/trixboxgraph" nothing comes up. Did I forget anything?
Thx! klaus



ysam
Posts: 2
Member Since:
2007-01-04
Re: new trixbox app [trixboxGraph]

it is /trixboxGraph and not /trixboxgraph

do you see the diff?

:)



klaus
Posts: 27
Member Since:
2006-12-16
Re: new trixbox app [trixboxGraph]

devil in the detail :) THX it works now of course!



ayalowit
Posts: 25
Member Since:
2006-12-21
Re: new trixbox app [trixboxGraph]

This is very cool! Wouldn't it be cool if you could make edits on the graphical display, and have them propagate back into the system!

A



UPEngineer
Posts: 33
Member Since:
2006-10-25
Re: new trixbox app [trixboxGraph]

Hello,

I installed trixboxGraph using the yum install.

However, is there a trick to get it to display anything? When I go to it, I get some options I guess but no way to display it.

Does it display automatically?

I do notice then on lower right side "select * from ringgroups => Table 'asterisk.ringgroups' doesn't exist"

What does that mean and how do I fix it?

I do not have ringgroups enabled on my box....



UPEngineer
Posts: 33
Member Since:
2006-10-25
Re: new trixbox app [trixboxGraph]

Nevermind, figured it out.

You must have ringgroups module installed for it to work....don't have to have anything in them but must be installed.



voiper
Posts: 43
Member Since:
2006-10-04
Re: new trixbox app [trixboxGraph]

This is very nice and I think this could be a valuable tool for TB users. I was waiting for someone to do this :) I was using Switchvox for a few years until I heard about TB. I Installed TB and haven't gone back :) But there were a few things that I liked about the user interface with the "other guys"... was the ability to have a nice GUI so you can easily look at your Asterisks records/extensions, IP's, calls in/out, who's is talking now and more.
Could we make a "Wish List" for functions :)

BTW, has anybody had issues with the new TB2.0 menu not closing properly when you mouse-out of the menu?

What's up with all the html br?



nose13
Posts: 45
Member Since:
2006-06-15
Re: new trixbox app [trixboxGraph]

Doesn't seem to enumerate IAX extensions...anyone else having this issue?



pmoore4321
Posts: 54
Member Since:
2006-05-31
Re: new trixbox app [trixboxGraph]

Is it possible to install the graph module on a non-Trixbox system?



wstroebel
Posts: 2
Member Since:
2007-01-11
Re: new trixbox app [trixboxGraph]

Hi all,

I'll answer all the questions in one post (I'm a pretty busy guy ;) ).

- You cannot use the app on a non-trixbox system. It reads the trixbox database, not the dialplan itself.

- Likewise, not "seeing" IAX, ZAP trunks and so on, either I didn't find them in the database (I do not have IAX active myself) or I could not figure out how they link. I just spend a day or so on this, like I said I don't have much spare time. I am hoping for someone else to pick up the source and maintain it.

- Editting the image and feeding it back to the dialplan is several magnitudes more complex than this utility... guess what: no time :(

- Image update issue (output PHP): Yes, good plan! An easier solution is to set your browser to check for updates on each visit to a page, in my experience this fixes many problems (like this one).

Thanks for all the feedback, it's nice to have ones efforts appreciated :)



colinjack
Posts: 281
Member Since:
2006-06-01
Re: new trixbox app [trixboxGraph]

Absolutely awesome ... saves hours of Visio time? I think the community owes you a big one.

Well done.

--

Colin



samyantoun
Posts: 11
Member Since:
2006-06-07
Re: new trixbox app [trixboxGraph]

Great application. What kind of license this application distributed under?

Ihave some installation notes regarding running the application on a non-trix system that I would like to share (With very few code alteration).

Please advice.



wglenncamp
Posts: 74
Member Since:
2006-11-02
Re: new trixbox app [trixboxGraph]

Nice addon. Thanks!

--

Netstar Solutions, LLC.
http://www.netstarsolutions.com



wglenncamp
Posts: 74
Member Since:
2006-11-02
Re: new trixbox app [trixboxGraph]

I noticed that there really isn't any sort of security to access this site. So, anyone on the network can view the dial/routing plan.

Is there anything that I can add to this that will require a login to view it?

--

Netstar Solutions, LLC.
http://www.netstarsolutions.com



jegozum
Posts: 18
Member Since:
2006-07-06
Re: new trixbox app [trixboxGraph]

Wow!!!...Nice one...Great tool



avtech
Posts: 48
Member Since:
2006-06-01
Re: new trixbox app [trixboxGraph]

Walter,

Sir, I salute you, what a wonderful and useful tool.

Wyatt



wstroebel
Posts: 2
Member Since:
2007-01-11
Re: new trixbox app [trixboxGraph]

Thanks for all the praise (*blush*)

Two new questions:
- License: Basically GPL: you may use it as you wish but if you expand/change things in a generally useful way I really would like you to submit your updated version here. Be aware that the core functionality is provide by GraphViz, which has its own licensing, of course.
- Security: my original version required you to provide a valid MySQL login. Andrew told me he'd removed that so probably it picks up your login from Trixbox itself? Andrew, any comments?

Regards,
Walter.



simple68
Posts: 174
Member Since:
2006-06-26
Re: new trixbox app [trixboxGraph]

When I downloaded this and installed it i thought it would be good but when we printed out the pdf and showed it to the powers that be and explained that if there is the occasional glitch this is what we are up against, they were amazed at how complicated a simple system is. They say a picture is worth a thousand words - this is priceless.
Simon



sngs
Posts: 2
Member Since:
2007-01-24
Re: new trixbox app [trixboxGraph]

tomorrow I will try this software , from the description, it is cool .so try it.!!! :-D



misterq
Posts: 126
Member Since:
2006-05-31
Re: new trixbox app [trixboxGraph]

Cool, all we need now is "drag and drop" configuration...



KodaK
Posts: 1877
Member Since:
2006-06-14
Re: new trixbox app [trixboxGraph]
Quote:
wglenncamp wrote:
I noticed that there really isn't any sort of security to access this site. So, anyone on the network can view the dial/routing plan.

Is there anything that I can add to this that will require a login to view it?

You can use basic http auth. Google that, but the basics are:

<Directory /path/to/directory/in/filesystem>
    AuthType Basic
    AuthName "Authorization Required"
    AuthUserFile /etc/httpd/htpasswd
    Require valid-user
</Directory>

then you'll need to do (the first time):

htpasswd -c /etc/httpd/htpasswd username

users after that you just use:

htpasswd /etc/httpd/htpasswd username

HTH.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



ecaron
Posts: 6
Member Since:
2007-01-09
Re: new trixbox app [trixboxGraph]

Is there a thread/forum/site to submit bug fixes and features for trixboxGraph?



jacobju
Posts: 1
Member Since:
2007-05-05
TrixboxGraph or IVRGraph

Guys,

Please somebody update the project information inside TrixBox website. I waste two hours looking for a simple information about install process "yum install trixboxGraph".

Thanks,

Julio Jacob - Brazilian TrixBox Expert



jahyde
Posts: 1996
Member Since:
2006-06-02
actually -its simpler than

actually -its simpler than that, might save you time on future installs - go to the settings / repositories in the maint webpage and enable the right repository. Then just click on packages and it will show up there in the list of installable programs.

--

--my PBX is run on 2 V8's



jsearles
Posts: 22
Member Since:
2006-12-23
Link is useless

never mind

Gilda



MatthewEarley
Posts: 47
Member Since:
2007-07-02
Ok - I tried a few of the

Ok - I tried a few of the suggestions here - 2 Questions:

1. Does TrixboxGraph actually exist?
2. If so, how do I get it, install it, and run it.

Or am I just retarded today?

***
Matthew Earley - Technologist - Network, Voice and Security

--

***
Matthew Earley - Technologist - Network, Voice and Security



driver28
Posts: 161
Member Since:
2006-06-05
where did it go? can't find

where did it go? can't find it either in package manager or yum!!!! want it!

/Hasse

--

/Hasse



a_lemin
Posts: 194
Member Since:
2007-01-21
What repository is it in,

What repository is it in, running 2.4.2 but can't find it in package manager?

Cheers



kerryg
Posts: 6450
Member Since:
2006-05-31
yeah, its missing. Engineer

yeah, its missing. Engineer Tim is working on finding it.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



heronleal
Posts: 41
Member Since:
2007-12-12
trix 2.4 works? trix 2.2

trix 2.4 works?

trix 2.2 works?

Heron Leal
Florianópolis - SC - Brasil

--

Heron Leal
Florianópolis - SC - Brasil



wtodd
Posts: 312
Member Since:
2007-04-29
third shelf on the left aisle of the warehouse???

Thanks for that Engineer Tim and Kerry. Looks like something which your client base might find most useful.



cyberglobe
Posts: 53
Member Since:
2007-02-25
Also looking for it... not

Also looking for it... not in yum installer or in repositories... where did the module disappear to?



wtodd
Posts: 312
Member Since:
2007-04-29
not implemented in current build yet

hmmm. maybe that was the second aisle??? Did someone bin it???



kerryg
Posts: 6450
Member Since:
2006-05-31
Its not available right now.

Its not available right now. We found an old copy and are trying to make sure it works with current versions of everything.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



carltont
Posts: 27
Member Since:
2006-05-31
Status?

Kerry,

I missed this first time around and was talking just yesterday to my boss about diagraming the system in Visio. This would be much simpler/better/cooler.

Hows the testing going?

Thanks,
Tracy



anchor85
Posts: 549
Member Since:
2006-06-07
trixboxGraph and Centos5

Recently, I have been looking for graphical tools to manage & support trixbox systems. I came across trixboxGraph and this thread. I tried trixboxGraph on a tb2.0 CE system and was impressed.

I have put together some notes on how-to install the old and only version of trixboxGraph under the current versions of tb running under Centos5. The details are here http://cat24.net/trixboxGraph.html

Basically you need to satisfy a variety of dependancies and once this is done trixboxGraph can be downloaded from the trixbox - centos 4 repo and manually installed. The installation seems to be OK and as long as you do not want to display queues trixboxGraph seems to work. The table defining queues in current trixbox CE appears to have changed from 'queues' into two tables queues_config and queues_details.

Consequently running the old trixboxGraph under tb CE 2.6.x gives rise to the error

"select distinct id from queues => Table 'asterisk.queues' doesn't exist"

The following hack seems to provide a work around. In the file /var/www/html/trixboxGraph/index.php about halfway down there is a section

Quote:
if ($showQueues) {
$sql = "select distinct id from queues";

and a few lines further on

Quote:
mysql_free_result ($res);
$sql = "select id,data from queues where keyword='member'";

the two references to the variable 'queues' needs to be changed to 'queues_details' to fit the new asterisk sql database table definitions. So the lines should be as follows:

Quote:
if ($showQueues) {
$sql = "select distinct id from queues_details";

and

Quote:
mysql_free_result ($res);
$sql = "select id,data from queues_details where keyword='member'";

Changing the code above removes the queue error and displays queues in the same way as they were with earlier tb ce version. I have not gone through the code in detail and more than likely there are thngs that I may have missed. HTH

--

John
Cat24.net



a_lemin
Posts: 194
Member Since:
2007-01-21
Hey anchor85, cheers for

Hey anchor85, cheers for your post :)

Kerry how are things comming along with getting trixboxGraph in as standard to save people the above config effort?

Also are there any plans for the talented trixbox team to develop trixboxGraph any further than it is?

Also when is the next tb build due, and will it have trixboxGraph and Asterisk 1.4.19 in it?

Cheers All.



kerryg
Posts: 6450
Member Since:
2006-05-31
We have no plans to develop

We have no plans to develop trixboxgraph as we didn't develop it in the first place. Since nobody has mentioned it in months we didn't feel there was any demand for it.

The next build is due Friday, it will not have trixboxgraph built in and I do not know yet if it will have asterisk 1.4.19 as there have been problems compiling it.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



a_lemin
Posts: 194
Member Since:
2007-01-21
Hey Kerry, cheers for the

Hey Kerry, cheers for the quick response.

Ok how about this, maybe you could setup a voting post where people could vote on whether they would like to see the trixbox team take trixboxGraph further and make it part of the trixbox interface?

I know you say no one has mentioned it in months, but then again I have only just come across it for the first time and talk about a great missing feature!

Little work for great gains in my eyes :)

Cheers All.



kerryg
Posts: 6450
Member Since:
2006-05-31
Let's get it working

Let's get it working properly with 2.6.x first. Or someone from the community can always submit a finished RPM back so we can just add it to the repo.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



anchor85
Posts: 549
Member Since:
2006-06-07
I think I may have done that.

Kerry
My post above gives a solution that gets trixboxgraph working. I am happy to contribute more, but as far as I can see there is no build info available and 'wstroebel' above appears to be inactive on this site & there is no PM link on his account.

However, since this is a noarch.rpm it should be possible to start from scratch, I think the only custom files needed are the two php files installed under the trixboxGraph directory. The libraries etc needed are given in my how-to I assume. I think the trixboxgraph app is a set of libraries and two php files.

So subject to any other suggestions I will try to build an rpm from scratch. What do you think?

--

John
Cat24.net



kerryg
Posts: 6450
Member Since:
2006-05-31
We have a source RPM and we

We have a source RPM and we will look into it based on your work, much appreciated.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



Thongar
Posts: 91
Member Since:
2007-01-26
Graph

I've not seen this but the idea of a graphical flow chart sounds great, as an IT manager one of my big concerns is trying to get others to be able to make changes and understand the system..



a_lemin
Posts: 194
Member Since:
2007-01-21
Kerry, what is the progress on this?

Kerry, what is the progress on this?

Cheers :o)



kerryg
Posts: 6450
Member Since:
2006-05-31
It's in the repo.

It's in the repo.

--

Kerry Garrison
I am not associated with Fonality anymore
VoipSpeak.net - Asterisk Tutorials



kulman
Posts: 25
Member Since:
2007-01-11
Hi Keery, I hv upgraded my

Hi Keery,

I hv upgraded my system to 2.6.0.7. Everything works fine.
I wanted to check the Graph module with the system. I tried to install it through Packages, its failing with dependancy errors. I tried to install it manually as well. However, the dependancy list is growing everytime i try to install a new one.

Can we get that module installed through yum?



anchor85
Posts: 549
Member Since:
2006-06-07
Update on trixboxgraph

It is true that trixbox graph is now included in the trixbox package manager. However,
1. If you have 'trixbox stable' and trixbox addons' selected as the repositories then as kulman points out the install fails when you use the package manager, you get dependancy failures with ghostscript and urw-fonts missing. Perhaps selecting more repos will cure that I have not tried.
2. The simple / quick solution is to use yum to install the package.

yum install tb-trixboxgraph

This works fine without changing any of the repo settings. This command will install 13 packages and all the dependancies are satisfied.

However, the trixbox team have changed the package name so that now to run trixboxgraph you need to use the url

http://your-trix-ip/tb-trixboxgraph

NOTE that originally the package had capital G for Graph now its all lowercase and tb- is added as well.

3. Additionally the trixbox team do NOT seem to have updated the index.php file inline with my earlier post so the current index.php file that I have just installed fails to work if you select queues because the queue definition has changed in the latest release of the mysql database.

If you read my post of Mon, 04/07/2008 - 11:49pm above you need to change the occurrence of

queues 

to

queues_details

twice in the file

/var/www/html/tb-trixboxgraph/index.php

as I mention above and then queues will work.

hth

--

John
Cat24.net



acetechgroup
Posts: 10
Member Since:
2008-05-01
EXCELLENT! i JUST found out

EXCELLENT! i JUST found out about this today.

Several feature requests-

-some sort of wrapper script, perhaps, which would let one generate flowcharts from a shell session
-export to html, maybe even pdf directly (i.e. render directly to a file output) (doing this via the htmldoc software should be viable).



kspare
Posts: 605
Member Since:
2007-02-16
It would be nice if the

It would be nice if the graph could show the ext's that the ivr's break out to as well. Otherwise great little program!



pbeaton
Posts: 15
Member Since:
2007-06-27
Update and new features

This has been really useful for myself and Chris (chrism2) in documenting the dialplans for the trixbox systems we install. Like kspare, there were a few things I thought it'd be nice to have, so I had a look at adding them.
As an example a simple dialplan with the original version might produce http://www.eccentricwombats.com/trixbox/display/trixboxgraph-orig.png but the same dialplan will produce http://www.eccentricwombats.com/trixbox/display/trixboxgraph-new.png with the additions I made.

The code I now have can be found http://www.eccentricwombats.com/trixbox/. Hopefully it'll be useful to other people too.



neonerz
Posts: 13
Member Since:
2007-01-18
First I want to thank

First I want to thank anchor85, his process worked perfectly.

@pbeaton: You should put some instructions on your site on how to install this. It took me a lot of trial and error to get it working. Once I did get it working though, it was GREAT, the extra info, and the way it creates more of a flow chart, makes this a awesome addition.

Instructions for installation of pbeatons mod of the script

2.4 or using anchor85 method of getting it working

  1. Install trixboxGraph by # yum install trixboxGraph if using 2.4 or using anchor85's method above for 2.6
  2. cd in to /var/www/html/trixboxGraph # cd /var/www/html/trixboxGraph
  3. empty the /var/www/html/trixboxGraph directory # rm -r *.*
  4. wget the following files
    1. # wget http://www.eccentricwombats.com/trixbox/files/index-2.4.phps
    2. # wget http://www.eccentricwombats.com/trixbox/files/functions.phps
    3. # wget http://www.eccentricwombats.com/trixbox/files/settings.phps
  5. now rename the files to their proper names
    1. # mv index-2.4.phps index.php
    2. # mv functions.phps functions.php
    3. # mv settings.phps settings.php
  6. browse to http://TRIXBOX_IP/trixboxGraph and enjoy

Using any current version of Trixbox > 2.6

  1. install the app with # yum install tb-trixboxgraph
  2. go to http://TRIXBOX_IP/tb-trixboxgraph and run the app. It will NOT work (at least per the current release in the repo), you need to do this to create the image files. It seems that pbeaton's mod for Trixbox > 2.6 will complain about them not being there (It should auto generate them if it needs them, or just skip it if they aren't there)
  3. cd in to /var/www/html/tb-trixboxgraph # cd /var/www/html/tb-trixboxgraph
  4. delete all the files inside this directory, except
    1. trixboxGraph.eps
    2. trixboxGraph.gif
    3. trixboxGraph.pdf
  5. now this is where it gets a little weird. since the files to download on pbeaton's site seem to link to the wrong files, you will need to use the show file link on his site to view the file, copy the contents, and create them yourself inside the ../tb-trixboxgraph directoy. The files you will need are
    1. index.php - http://www.eccentricwombats.com/trixbox/display/show_index-2.6.ph... - # nano index.php - paste and save
    2. functions.php - http://www.eccentricwombats.com/trixbox/display/show_functions-2.... - # nano functions.php - paste and save
    3. settings.php - http://www.eccentricwombats.com/trixbox/display/show_settings-2.6... - # nano settings.php - paste and save
    4. styles.css - http://www.eccentricwombats.com/trixbox/display/show_styles-2.6.p... - # nano styles.css - paste and save
  6. browse to http://TRIXBOX_IP/tb-trixboxgraph and enjoy

No matter what version you are installing, if you have changed your MYSQL user and or password, you must change it in the functions.php file

nano functions.php

On the second line, you'll see

$mcon = mysql_connect ("localhost", "root", "passw0rd");

Change root and passw0rd with the appropriate username/password.

I assume 2.2 would be the same as the 2.4 instructions, but I don't have a 2.2 box to test that on.

pbeaton matched the layout of this app in the 2.6 version to the same color scheme Trixbox uses. Now all we need to do is edit the maint page, and add it to the System menu. Then add http auth using KodaK's method above, using the same user access as /maint/ has, and boom, fully integrated and (as) secure (as trixbox's maint login is)



DeCSS
Posts: 55
Member Since:
2008-03-05
This is awesome! Can't wait

This is awesome! Can't wait to try it out on Monday.

--

VPC Computers, Inc.
SALES: http://www.vpccomputers.com
SUPPORT: http://www.vpccomputers.net



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.