getcontexts(*new) - returns only the list of contexts in a config
file - and NOT their contents
like: action=getcontexts&filename=somefile.conf should return
just the list of all context names
[context-1]
[context-2]
getcontext(*new) - returns the content of a particular context
like:
action=getcontext&filename=somefile.conf&context=context-1 should
return only context-1
[context-1]
exten = s,1,NoOp(line1)
exten = s,2,.....
I was thinking of adding these to the existing dialplan manager
actions, so that we list only
the names of the contexts and not the content. A kind of filter
argument.
I've seen the same problem with dialplan manager - let's see if I can
integrate this into
moremanager... :-)
/O
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev