xref: /freebsd/contrib/dialog/samples/copifuncs/copi.ifmcfg5 (revision 52c2bb75163559a6e2866ad374a7de67a4ea1273)
1
2# PhoneTrans lines provide rules to change phone prefixes to make local
3# or long-distance calls.  In the example below, my country code is 7,
4# and local dialing area is 095.  From the numbers starting with "7-095-"
5# the prefix is stripped and the 7-digit remainder is dialed.  For
6# the numbers starting with "7-" but not with "7-095-", the country prefix
7# "7-" is stripped and the long-distance dialing prefix "8W" substituted.
8# For the numbers not matching any of the above, international
9# call is performed: international dialing prefix "8W10" is prepended
10# to the unmodified 11-digit number.  Generally, the syntax is:
11# "PhoneTrans <what-to-strip> / <what-to-substitute-instead>"
12#PhoneTrans      7-095-  /
13#PhoneTrans      7-      /       8W
14#PhoneTrans              /       8W10
15