![]() |
* Lee Howard <faxguy@xxxxxxxxxxxxxxxx> [060314 11:40]:
But using your qualifycid-ex, you can't do that type of
screening based on device either (except for running different
qualifycid-ex scripts for each device).
Sure - you need a different file, But how bad is: $SPOOL/etc/cid.accept: . $SPOOL/etc/cid.reject: !.
And then it's another line that your DynamicConfig has to output.
QualifyCID: etc/cid.reject
or QualifyCID: etc/cid.accept
You see - the point is that if DynamicConfig is changing QualifyCID, it
*knows* if the call is going to be answered or now.
I actually was working off the assumption that dynamic config was being run on *all* incoming calls - that it wasn't being run on calls being reject was on oversite on my part - something that I probably would have suggested fixing before. Until I saw that setting QualifyCID had no effect on the current call (only on the next call)...
And I think running DynamicConfig *before* the call is "answered" is
actually the correct thing to do. For instance, it should be able to
change any configuration, one of them being the qualifycid that is used.
I think taking exit status of DynamiConfig would be a better solution than a separate script invocation.
But what about adding a "ANSWER: REJECT|ACCEPT" line that it prints generates. That single line could easily control the result of answering/rejecting, etc without needing a backwards-incompatible change.
We could even only check that if QualifyCID is not set if we're concerned about complete backwards compatibility.
But, for the 4.2 series, I don't see backwards compatibility as a big
thing. Unfortunately, we've played loose, and broken bigger things in
pushing features in..
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*