[Asterisk-Users] Perl library to manipulate 'ini files'

Holger Schurig hs4233 at mail.mn-solutions.de
Wed Jul 7 23:53:37 MST 2004


> Can anyone tell where can I find the perl library for
> manipulating 'ini files'? Thanks,

Asterisk config files are not really INI files. E.e. one line can come up 
several times:

disallow=any
allow=ABCD
allow=BCDE

and so on.



If you want python and not perl and only generate (not read) config files, 
you might look at the source code of DESTAR, 
http://www.holgerschurig.de/destar.html. Starting point is asterisk.py

Other Python classes are at http://sourceforge.net/projects/pyst/, see 
astconfig.py in their CVS.

There might be perl code out there, but I'm not very much anymore in Perl 
:-)




More information about the asterisk-users mailing list