Lionel Elie Mamane schrieb:
On Fri, Aug 11, 2006 at 11:51:50AM +0200, Arne Metzger wrote:
package: capi4hylafax
version: 01.02.03-10

i have a problem with c2faxrecv and as result with faxrecv and
faxdispatch:

I don't know the program "faxdispatch". It is not part of capi4hylafax
and seems not be in any other Debian package. What is it?

faxdispatch is part oh hylafax-server. it's a small file where SENDTO can be set according to several conditions, e.g. send fax to [EMAIL PROTECTED] if Destination is 12345, all other fax go to [EMAIL PROTECTED]
faxdispatch is called from faxrecvd.

but the whole mechanism wont work when the parameters are truncated like in my example via web.de(2nd mail):
/var/log/isdn/isdnlog
14.Aug., 15:48:14: Anruf für Fax von ?  RING (Speech)
14.Aug., 15:48:14: Anruf für Fax von ?  COLP Fax
14.Aug., 15:48:14: Anruf für Fax von ?  CONNECT (Speech)
14.Aug., 15:48:38: Anruf für Fax von ?  HANGUP ( 0:00:24)

/var/spool/hylafax/log/capi4hylafax:
Aug 14 15:48:14.67: [ 1383]: c2faxrecv - INFO: Incoming speech call on controller 1 to 9093555.
Aug 14 15:48:24.33: [ 1383]: c2faxrecv - INFO: Connection established.
Aug 14 15:48:24.33: [ 1383]: c2faxrecv - INFO:  StationID = +49
Aug 14 15:48:24.33: [ 1383]: c2faxrecv - INFO:  BaudRate  = 14400
Aug 14 15:48:24.33: [ 1383]: c2faxrecv - INFO: Flags = HighRes, MMR_compr Aug 14 15:48:24.33: [ 1383]: c2faxrecv - INFO: Write fax in path /var/spool/hylafax to file recvq/fax00012.tif. Aug 14 15:48:35.32: [ 1383]: c2faxrecv - INFO: Page 1 was received. - Last Page! Aug 14 15:48:38.39: [ 1383]: c2faxrecv - INFO: Fax received and calling '/var/spool/hylafax/bin/faxrcvd "recvq/fax00012.tif" "faxCAPI" "00000051" "" "+49'. Aug 14 15:48:38.40: [ 1383]: c2faxrecv - INFO: Connection is droped with reason 0x3400 (No additional information).
Aug 14 15:48:38.40: [ 1383]: c2faxrecv - INFO: SESSION END

then faxrecvd wont send *any* email, no notification to faxmaster, no pdf to selected users (that is setup in faxdispatch).


when an incoming fax-call provides the cidnumber, everything is fine
- the fax is converted to pdf and will be delivered via email.  but
when the incoming call is "anonymous" (without cidnumber) it seems
that faxdispatch a) isn't called or b) cant handle the empty string
for cidnumber.

Please try with a newer version of capi4hylafax. You can recompile it
to get it working on sarge, if you know how to do that. Alternatively,
please have a fax that is not working for you sent to me, on +31 24
360 67 12 (and email me to warn me it has been done, so that I go
looking at my logs).

hm.
i have capi4hylafax_01.03.00.99.svn.297.orig.tar.gz but only libcapi20-dev(1:3.6.2005-01-03) and libtiff4-dev (1:3.7.2-7)
i did ./configure && make && ./install
c2faxrecv was copied to /usr/local/bin, i edited that in /etc/init.d/capi4hylafax. after restarting capi4hylafax, c2faxrecv was running but not able to handle incomming calls.

and i cant sent a fax to your number, because i can only sent fax to destinations in germany.

dont know what to do now...

Reply via email to