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] FaxDispatch problem (faxrcvd)
Dariusz Dwornikowski wrote:
ModemType: Class1 # use this to supply a hint
ModemResetCmds: AT+VCID=1 # enables CallID display
CallIDPattern: "NMBR="
CallIDPattern: "NAME="
CallIDPattern: "ANID="
CallIDPattern: "NDID="
If HylaFAX is initializing the modem and a RING and Caller*ID (per
AT+VCID=1) arrives during that time, while the modem is being
initialized, then the Caller*ID received then will not be usable by
HylaFAX and will be forever missed if not retrieved in some other
fashion. This dilemma is true for all modems that I've used... and it
will be especially prevalent when the modems are receiving many calls
one-after-another.
To help cope with this situation *some* modems (like iaxmodem) have an
AT+VRID=1 command which allows the DTE (HylaFAX) to recall the Caller*ID
information from the modem when HylaFAX is ready for it. So you can set:
ModemRingResponse: AT+VRID=1
CallIDAnswerLength: 4 # (set this after the NDID and to the number of
DID digits)
This will cause a RING after the modem is initialized to trigger an
AT+VRID=1 command by HylaFAX which will, in turn, cause the modem to
repeat the Caller*ID information. HylaFAX will, then, parse that data
and then will answer if it finds (and it should) the NDID response to be
4 digits or more.
However, things can be improved even further beyond this by
"busying-out" the modem during the initialization. This may not work
with other modems, but with iaxmodem you can do:
ModemResetCmds: ATH1
ModemReadyCmds: ATH0
This will take the modem "off hook" (effectively busying it out) during
the initialization phase and should greatly reduce the chances of what
we've come to call "glare" (RINGs appearing during initialization).
There still may be a 2 or 3 second window where glare could occur, and
it's possible that could be reduced to nearly nothing by doing:
ModemOnHookCmd: "ATH0\nATH1"
in conjunction with the above-mentioned ModemReadyCmds setting.
However, I've never tried this. Between the AT+VRID=1 and ATH1 usages
as described I've eliminated the loss of Caller*ID/DID information with
iaxmodem.
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*