All;
   Is it possible to read in an entire section of a config file at once? I
want to read in and then modify a dialplan context. Something that looks
like:

[context-foo]
exten => s,1,<some command>
exten => s,n,<some command>
exten => s,n,<some command>
exten => s,n,<some command>
exten => s,n,<some command>

If I can read it in, then I can rewrite it as:
[context-foo]
exten => s,1,<some other command>
exten => s,n,<some other command>
exten => s,n,<some other command>
exten => s,n,<some other command>
exten => s,n,<some other command>

Is there an easy way to do this using Asterisk::config?
Thanks

FSD




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to