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] Hylafax invoking faxrcvd with extra arg



This is how the log reports the invocaiton of faxrcvd.
Dec 01 17:57:02.35: [24422]: c2faxrecv - INFO: Fax received and calling \
'/var/spool/hylafax/bin/faxrcvd "recvq/fax00056.tif" "faxCAPI" "00000210" "" "" "" "182670747"'.

It's not HylaFAX who runs the faxrcvd skript, it's capi4hylafax in your environment.



If one runs that on the command line, the follwing error message results because there is an exta arg: Usage: /var/spool/hylafax/bin/faxrcvd file devID commID error-msg CIDNumber CIDName

The "extra arg" is ISDN-specific and represents the MSN that was called/dialed.



How do I correct the invocation



Just edit bin/faxrcvd and correct the "if [ $# -lt 4 ]; then" statement at the beginning. May be you have a "!= 6" comparison there.
By the way, the actual faxrcvd shouldn't complain about this.


--
holger


____________________ 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@xxxxxxxxxxxx*




Project hosted by iFAX Solutions