HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] ModemFmt in faxstat
Quoting Adam Fox <afox@gribbles.com.au>:
> Is it possible to set an alias for a modem so that when its status is
> displayed with faxstat it shows the alias for each modem? ie, instead
> of:
>
> HylaFAX scheduler on kate.gribbles.com.au: Running
> Modem ttyS1 (+61.3.XXXX.XXXX): Running and idle
> Modem ttyp1 (+61.8.XXXX.XXXX): Running and idle
> Modem ttyp2 (+61.8.XXXX.XXXX): Running and idle
>
> have:
>
> HylaFAX scheduler on kate.gribbles.com.au: Running
> Modem MEL-1 (+61.3.XXXX.XXXX): Running and idle
> Modem ADE-1 (+61.8.XXXX.XXXX): Running and idle
> Modem ADE-2 (+61.8.XXXX.XXXX): Running and idle
I don't think this is possible without changing the source, but as you have
set a LocalIdentifier, the FAXNumber value is not used much... maybe in
your tagline, up there in the () and when polling or receiving a fax it is
canonicalized and used. So you may want to use FAXNumber to provide that
information (and make sure that your canonicalization rules do remove that
extra information to retrieve only the number when necessary). This is
untested, but it should work.
FAXNumber: "MEL-1 +61.3.XXXX.XXXX"
in CanonicalNumber add a line like near the begining:
^[^+]+[+] = + ! Removes everything before the first '+'
> I want this alias to be separate from the LocalIdentifier string as we
> have our company name as the LocalIdentifier. Any ideas?
You do know that entering non digits (or space or '+') in the
LocalIdentifier is against the standards and that most machines out there
won't see your company name but an empty string? LocalIdentifier is
supposed to be your canonicalized fax number.
--
Patrice Fournier
pfournier@loups.net
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null