This patch slightly changes the format of the destcontrols file (with
the thought that this could grow into a jobcontrol file, or such,
possibly with a backwards compatible destcontrols parser ). The file
[dest=<dest regex>] [owner=<owner_regex>] [client=<client_regex>] action=...
So, basically, instead of just the single "destination regex", you can
specify regex for other input fields, somehting like:
dest=911 RejectNotice="No 911"
owner=aidan client=ifax RejectNotice=reject-aidan-remote
owner=aidan client=localhost RejectNotice=reject-aidan-LOCAL
dest=+1215 client=localhost Modem=localgroup
I have a few concerns with the format of this file. I don't really like
the "overloading" of both input fields and output fields with the =
sign. A possible format could be a white-space separated file:
<dest_regex> <owner_regex> <client_regex> <action1> [ [<action2] ... ]
but this doesn't lead to a very extendable format, and makes adding (or
removing) fields problematic.