Re: Dual use modem

AC <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
On 2015-09-02 11:12, Lee Howard wrote:
> On 09/01/2015 01:02 PM, AC wrote:
>> I send faxes on very rare occasions and almost never receive so most of
>> the time my modem is configured to have NCID (caller ID daemon) logging
>> incoming calls  and hanging up on nuisance calls.  However, the same
>> modem is the one I use for faxes when I do need to fax something.  I
>> tried setting up faxgetty but that ties up the modem and NCID can't use
>> the modem for monitoring caller ID.  I discovered that the simple
>> "faxmodem" command to add the modem to the pool (after submitting a fax
>> job to the queue) works even with NCID running.
>>
>> My questions are 1. is there a configuration for faxgetty that would
>> share the modem (i.e. did I overlook something when I tried to configure
>> it)
> 
> I'm not sure how NCID watches the modem for incoming calls without an
> exclusive lock, but faxgetty uses an exclusive lock on the modem.  So,
> no, it won't share the modem in the sense that you are asking for it.

It appears that NCID also establishes a lock on the modem and holds the
data lines open to watch for the incoming CID message.  However, it
appears that it's able to stand out of the way when another program
requests use of the modem (such as hylafax when sending) and then take
it back.  I'm able to send faxes with NCID running, just not by using
faxgetty.

> 
> However, faxgetty *can* share the modem with other applications through
> configuration... like handing voice calls off to vgetty or data calls
> off to mgetty... but I haven't heard of anyone doing that kind of stuff
> for a long, long, time.  (So, I'm not sure what hardware to use or if
> the features work properly in recent versions of HylaFAX.)

I've not found much on this either.

> 
>>   and 2. if there isn't, is there a way to trigger the faxmodem
>> command on receipt of a job so I don't have to log into the server and
>> manually issue the command?
> 
> Well, however you're submitting the fax in the first place... just get
> it to also issue the faxmodem command.

The fax is being submitted remotely from other machines over the queue
daemon port (most of the clients are Windows).  So somehow I need that
submission to trigger calling faxmodem.

> 
> That said...
> 
> faxgetty can also check CallerID and hang-up on calls based on received
> CallerID.  Look at the DynamicConfig "RejectCall" configuration in 'man
> hylafax-config'.
> 

I did look at this but it didn't seem to work properly.  It wouldn't
detect the CID even though NCID can see it just fine.  The advantage of
NCID for me, however, is that it can send the CID to network connected
clients so I'm able to receive CID info in many locations.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.