[Serusers] Re: [Serdev] New route graph utility

Nils Ohlmeier nils at iptel.org
Fri Oct 27 13:07:13 CEST 2006


Hi Michal,

On Thursday 26 October 2006 23:18, Michal Matyska wrote:
> looks promising, so I wanted to give it try.... and hey, what is that
> pyhton?
> Is it your preferred misspell, so did you create symbolic link to
> python? :-D

yes, that is one of my favorite errors when typing to fast, so I created a 
symbolic link :-D

Thanks for fixing it
  Nils

> Michal
>
> Nils Ohlmeier wrote:
> > Hello,
> >
> > in case you are not following the CVS commit log messages: I just checked
> > in a small python script which should be able to print a dependency graph
> > in ASCII of the route blocks of a SER config file.
> >
> > When you try to understand more complex configuration files this tool
> > might be helpfull. But be warned: this is still alpha code!
> > It will not eat your config file, but the output might not meet your
> > expectations :-)
> >
> > If you run it with the default configuration file the output will look
> > like this:
> >
> > ./route_graph.py ../../etc/ser.cfg
> >
> > Main
> >
> > \- 1
> >
> > \- 1
> >
> > \- 1
> >
> > \- 1
> >
> > A more complex scenario (from a config with named routes) could look like
> > this:
> >
> > ./route_graph.py ./ser.cfg
> >
> > Main
> >
> > \- ROUTE_RPC
> >
> > |  \- ROUTE_ERROR_REPLY
> >
> > \- ROUTE_PROXYINIT
> >
> > |  \- ROUTE_ERROR_REPLY
> >
> > \- ROUTE_INDIALOG
> >
> > |  \- ROUTE_ERROR_REPLY
> > |
> > |  \- ROUTE_ST
> > |
> > |  \- ROUTE_FORWARD
> > |
> > |  |  \- ROUTE_LI
> > |  |
> > |  |  \- ROUTE_RTPPROXY
> > |  |
> > |  |  \- ROUTE_RR
> >
> > \- ROUTE_DOMAINPOLICY
> >
> > |  \- ROUTE_ERROR_REPLY
> >
> > \- ROUTE_REGISTRAR
> >
> > |  \- ROUTE_ERROR_REPLY
> >
> > \- ROUTE_AUTHENTICATION
> >
> >
> > [... omitted bigger parts...]
> >
> > Send routes
> > -----------
> >
> > onsend
> >
> > Failure routes
> > --------------
> >
> > FAILURE_ROUTE
> >
> > \- ROUTE_RTPPROXY
> >
> > \- ROUTE_VOICEMAIL
> >
> > |  \- ROUTE_SEMS
> > |
> > |  |  \- ROUTE_LI
> > |  |
> > |  |  \- ROUTE_RR
> > |
> > |  \- ROUTE_ERROR_REPLY
> >
> > [... omitted bigger parts...]
> >
> > Onreply routes
> > --------------
> >
> > REPLY_ROUTE
> >
> >
> > Feedback is welcome. Patches even more! :-)
> >
> > Greetings
> >   Nils
> > _______________________________________________
> > Serdev mailing list
> > Serdev at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serdev

-- 
Dipl. Inform. Nils Ohlmeier
Quality Assurance Manager

iptelorg GmbH
Am Borsigturm 11
13507 Berlin
Germany

nils.ohlmeier at iptelorg.com
www.iptelorg.com

T +49-30-325132 22
T +49-700-IPTELORG
F +49-30-6908 8248



More information about the sr-users mailing list