On Mon, 2009-12-14 at 15:03 -0500, Dale Worley wrote:
> On Mon, 2009-12-14 at 14:59 -0500, Scott Lawrence wrote:
> > Actually, we could do both:
> >
> > <directory>
> > <path>/etc/sipxpbx/ssl/authorities</path> <!-- exactly one path
> > element required -->
> > <filepattern>*.crt</filepattern> <!-- one or more name patterns -->
> > <filepattern>*.p12</filepattern>
> > </directory>
>
> What are the semantics? In particular, can one specify a directory and
> all of the files in all of the subdirectories?
My thinking is/was that subdirectories should be specified separately,
so for example:
<directory>
<path>/etc/sipxpbx/foo</path>
<filepattern>*.xml</filepattern>
<filepattern>*.wav</filepattern>
</directory>
<directory>
<path>/etc/sipxpbx/foo/bar</path>
<filepattern>*.abc</filepattern>
</directory>
<directory>
<path>/etc/sipxpbx/foo/bingo</path>
<filepattern>*.xyz</filepattern>
</directory>
allows three directories, each of which has a set of suffixes it allows.
The '*' in the filepatterns should match anything but '/', '.', and
'..', the way shell file globs do (I don't think we need to support any
richer pattern primitive than that at this time).
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/