Ticket #4976 (new Feature Requests)

Opened 2 years ago

Last modified 2 years ago

Routing explorer

Reported by: john@erba.tv Assigned to: p_lindheimer
Priority: minor Milestone: Undetermined
Component: Core - Trunks/Routing Version: 2.9-branch
Keywords: Routing explorer Cc:
Confirmation: Unreviewed Distro:
Backend Engine: Asterisk 1.8 Distro Ver:
Backend Ver: 1.8.3 SVN Revision (if applicable):

Description

I would like to propose an idea that would make the interaction with freepbx configuration more like a file explorer. It sounds hard to do technically, but anyway I thought I would make the suggestion.

The idea is to have an explorer like view which shows the various configuration objects which can then be exploded to show where the call routes from there.

By right clicking on the objects in the hierarchy it would then be possible to add,delete,modify.

I have attached a file with some examples which shows how starting with Trunks you could descend into the routing hieararchy.

When I am designing a call flow I have to configure multiple objects (inbound route, ivr, daynight, timeconditions, queue, announcements) flipping about between screens without an overall view of the call flow. This kind of view with the possibility to then do configuration of the single objects in the hierarchy via a right click would be useful.

Attachments

example.txt (375 bytes) - added by john@erba.tv on 03/16/11 15:24:38.

Change History

03/16/11 15:24:38 changed by john@erba.tv

  • attachment example.txt added.

03/16/11 15:55:36 changed by p_lindheimer

  • milestone changed from 2.9 to Cut Line.

definitely not the first time this has been discussed and would be desirable to a lot of people. As you point out, there is a lot of work involved in doing it …

03/20/11 05:17:12 changed by john@erba.tv

It's definitely a mini project, though it could be done in stages, first of all to view the hierarchy, with links from the objects to the existing pages for configuration.

I once wrote a script to extract the routing hierarchy from a freepbx database in a text file, just so that I could check I hadn't left dangling ends or introduced unintentional links, it was a first approach to understanding how the various objects were related. Though as a fully exploded hiearchy in an ascii file it was a bit long winded and the hierarchy can recurse too so had to be limited.

In order to display the hiearchy in an html page with interaction with plus signs to explode next level, minus to collapse etc, I would suggest moving away from a pure php approach, which I think has already been done anyway on some pages. The display mechanism could be done via javascript, with calls to get the data via xml rpc to a php script on the server.

However before embarking in something like that, which is a lot of work, is that an approach which would be acceptable or advisable? If so is there any feeling about the use of standard libraries like jquery (which probably contain more than is needed) compared to custom coding of the remote calls?