HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

destcontrols



Phil,

guess what?  as far as I can tell, I've finally got it to do what I 
wanted.  I don't think this is a false start, I seem to get it to 
work under a variety of conditions.  Here's what it does:

1-rejects all number <> 7 digits
2-strips away areacode, ldprefix (assumes countryprefix is the same), 
idprefix, parenthesis, and 911 calls.
3-only accepts destinations that are on the big island here.

it gets a little creative, and probably wasn't really intended for 
what I'm using it for, but heck, it works!

The critical files are:

/var/spool/fax/etc/config
/var/spool/fax/etc/dialrules
/var/spool/fax/etc/destctrls.808

the key to making something like this to work seems to be the 
interaction with dialstring and canonical information.  They 
determine what gets fed into destcontrols.  The problem I was having 
dealt with the info that got fed into the destcontrols wasn't what I 
thought it was feeding.

the last issue was there were no normal hooks to get it to accept 
only certain numbers, so I had to use the MaxTries feature (I could 
have used one of the other features, but that one was handy).

That brings me to the last point --- how would you recommend that I 
open it to people here?  via a fax page?

Thanks,

ken





Project hosted by iFAX Solutions