HylaFAX The world's most advanced open source fax server |
Lee, I noticed you were the one who posted the patch that included this.
I read the docs I could on it. no archive posts.
I have a modem that is setup with CIDNumberAnswerLength. Works great. But the modem will sometimes be resetting itself and then miss the new call RING and the DID info that comes in on the heals of the first ring. And it will therefore never answer that call. Glare I guess.
But the modem does have the ability to spit out the DID info on command (+VRID=10). My thought was to make this the ModemRingResponse so that whenever the modem and hylafax finally do see the ring, it will also be seeing the DID string info that can then be captured by hylafax, the CIDNumberAnswerLength satisfied and the phone answered.
But alas, things do not work out like this.
Instead, the phone keeps ringing, hylafax never answers. From the server log…
Mar 5 13:43:53 FX1 FaxGetty[24476]: --> [2:OK]
Mar 5 13:43:53 FX1 FaxGetty[24476]: STATE CHANGE: LISTENING -> RUNNING (timeout 30)
Mar 5 13:43:53 FX1 FaxGetty[24476]: MODEM input buffering disabled
Mar 5 13:43:53 FX1 FaxQueuer[28429]: FIFO RECV "+ttyG005:RPc4ffc700:ff"
Mar 5 13:43:53 FX1 FaxQueuer[28429]: MODEM ttyG005: READY, capabilities Pc4ffc700:ff
Mar 5 13:57:37 FX1 FaxGetty[24476]: STATE CHANGE: RUNNING -> LISTENING
Mar 5 13:57:37 FX1 FaxGetty[24476]: MODEM input buffering enabled
Mar 5 13:57:37 FX1 FaxQueuer[28429]: FIFO RECV "+ttyG005:B"
Mar 5 13:57:37 FX1 FaxQueuer[28429]: MODEM ttyG005: BUSY
Mar 5 13:57:37 FX1 FaxGetty[24476]: --> [4:RING]
Mar 5 13:57:37 FX1 FaxGetty[24476]: <-- [11:AT+VRID=10\r]
Mar 5 13:57:37 FX1 FaxGetty[24476]: --> [12:NDID=8423722]
Mar 5 13:57:37 FX1 FaxGetty[24476]: --> [11:NMBR=<NONE>]
Mar 5 13:57:37 FX1 FaxGetty[24476]: --> [2:OK]
Mar 5 13:57:43 FX1 FaxGetty[24476]: --> [4:RING]
Mar 5 13:57:43 FX1 FaxGetty[24476]: <-- [11:AT+VRID=10\r]
Mar 5 13:57:43 FX1 FaxGetty[24476]: --> [12:NDID=8423722]
Mar 5 13:57:43 FX1 FaxGetty[24476]: --> [11:NMBR=<NONE>]
Mar 5 13:57:43 FX1 FaxGetty[24476]: --> [2:OK]
Mar 5 13:57:49 FX1 FaxGetty[24476]: --> [4:RING]
Mar 5 13:57:49 FX1 FaxGetty[24476]: <-- [11:AT+VRID=10\r]
Mar 5 13:57:49 FX1 FaxGetty[24476]: --> [12:NDID=8423722]
Mar 5 13:57:49 FX1 FaxGetty[24476]: --> [11:NMBR=<NONE>]
Mar 5 13:57:49 FX1 FaxGetty[24476]: --> [2:OK]
Mar 5 13:57:49 FX1 FaxGetty[24476]: <-- [5:ATH0\r]
Mar 5 13:57:49 FX1 FaxGetty[24476]: --> [2:OK]
Mar 5 13:57:49 FX1 FaxGetty[24476]: MODEM set DTR OFF
Thoughts?