![]() |
Howdy, Question, in "etc/dialrules.europe" there is no transformation rule for the 'q' or 'Q' letter nor for the 'z' or 'Z'. However, we do have Philips(tm) phones around here with these letters mapped to '7' and '9' respectively. ...so I added them: Area=${AreaCode} ! local area code Country=${CountryCode} ! local country code IDPrefix=${InternationalPrefix} ! prefix for placing an international call LDPrefix=${LongDistancePrefix} ! prefix for placing a long distance call ! WS=" " ! our notion of white space ! ! Convert a phone number to a canonical format: ! ! +<country><areacode><rest> ! ! by (possibly) stripping off leading dialing prefixes for ! long distance and/or international dialing. ! CanonicalNumber := [ #.* = ! strip calling card stuff [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [pqrsPQRS] = 7 [tuvTUV] = 8 [wxyzWXYZ] = 9 [^+0-9]+ = ! strip white space etc. ^${IDPrefix} = + ! replace int. dialing code ^${LDPrefix} = +${Country} ! STD call (long distance) ^[^+] = +${Country}${Area}& ! else cononicalize ] ! ! Process a dialing string according to local requirements. ! These rules do only one transformation: they convert in-country ! international calls to long-distance calls. ! DialString := [ [-${WS}.]+ = ! strip syntactic sugar [abcABC] = 2 ! these convert alpha to numbers [defDEF] = 3 [ghiGHI] = 4 [jklJKL] = 5 [mnoMNO] = 6 [pqrsPQRS] = 7 [tuvTUV] = 8 [wxyzWXYZ] = 9 ^${IDPrefix}${Country}${Area} = ! local phone call ^${LDPrefix}${Area} = ! local phone call ^${IDPrefix}${Country} = ${LDPrefix} ! STD call (long distance) ^[+]${Country}${Area} = ! local phone call ^[+]${Country} = ${LDPrefix} ! STD call (long distance) ^[+] = ${IDPrefix} ! international call ] ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null