HylaFAX The world's most advanced open source fax server |
* Stefan Wagner <stefan-usenet@xxxxxxxxxxxxxxxxxx> [100906 09:49]: > Hello all, > > I just hit some unclear behaviour when testing some dial rules with > dialtest. (Hylafax 4.4.4, from debian lenny) > Do I miss something here or is this just a special behaviour of dialtest? > (Reading the man page suggests this, as expressions like "setname(string)" > are allowed.) It's just a "dialtest" quirk: ready> CanonicalNumber(1(613)234-5678)) Apply CanonicalNumber rules to "1(613)234-5678)" --> match rule "[^+0-9]+", result now "1613)234-5678)" --> match rule "[^+0-9]+", result now "1613234-5678)" --> match rule "[^+0-9]+", result now "16132345678)" --> match rule "[^+0-9]+", result now "16132345678" --> match rule "^1", result now "+16132345678" --> return result "+16132345678" CanonicalNumber(1(613)234-5678)) = "+16132345678" -- Aidan Van Dyk aidan@xxxxxxxx Senior Software Developer +1 215 825-8700 x8103 iFAX Solutions, Inc. http://www.ifax.com/
Attachment:
signature.asc
Description: Digital signature