[Asterisk-java-devel] Configs and extensions.conf
Brought to you by:
srt
From: Martin B. S. <ma...@mb...> - 2008-04-21 03:02:42
|
Hey Stefan & all, I've been interested in the discussion @ the asterisk-user list about dialplan visualization tools; this is an area that I've also been interested in (as if I didn't have enough to do). But I've taken part of my weekend to toy with Stefan's additions for parsing configuration files, and I've built upon it. I've written some classes that parse (albeit terribly) the extensions.conf specifics (via some guidance from pbx_config.c). One thing I *do* use at work is JUNG (Java Universal Network/Graph Library). So I've attempted to use that to get some nice visualization. Unfortunately, I'm a little green (i.e. a novice) at designing good "usable" APIs that Asterisk-Java users might be interested in using, so for now, I've kept my code out of there. I've attached an example of the output run against the sample config that comes with Asterisk 1.4.19. I hope attachments work here! Does this interest folks? Is it a direction that the Asterisk-Java project should explore? Is it bad design to ignore AEL and use handcrafted code for old-style "manual" parsing like Asterisk itself does? Heck, should we use JNI and use Asterisk's code directly for this (it's a maintainance nightmare, I would bet!)? Anyway, thanks for taking a look :) Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 Martin |