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 and AVM and RH
Hi again,
> [root@marcin1 root]# capiinit show
> driver firmware proto io irq mem cardnr options
> c4 c4.bin DS1 - - - - P2P
> c4 - DS1 - - - - P2P
> c4 - DS1 - - - - P2P
> c4 - DS1 - - - - P2P
>
> [root@marcin1 root]# capiinit status
> 1 c4 running c4-ec80 C4 3.09-11 0xec80 9 0xfe9ffc00
> 2 c4 running c4-ec80 C4 3.09-11 0xec80 9 0xfe9ffc00
> 3 c4 running c4-ec80 C4 3.09-11 0xec80 9 0xfe9ffc00
> 4 c4 running c4-ec80 C4 3.09-11 0xec80 9 0xfe9ffc00
> In my point of view everything is correct and command:
>
> c2faxsend -f TIFF -v -d 5291400 /usr/local/bin/fritz_pic.tif
>
> May 24 10:46:27.87: [ 4094]: CapiFaxSend - INFO: Try to connect to fax
> number 5291400 in TIFF mode on controller 1.
>
> May 24 10:46:27.90: [ 4094]: CapiFaxSend - INFO: Dial and starting transfer
> of TIFF-File /usr/local/bin/fritz_pic.tif with fine resolution.
>
> should send fax to 5291400, but only 2 lines are generated by CapiFaxSend -
> there are no lines like
>
> Connection established.
> StationID = +49 XXXX XXXXXX
> BaudRate = 14400
> Flags = HighRes, No_ECM,
> Fax file completely transfered.
>
some comments to your config.faxCAPI:
#
# sample of a config file for a AVM C4 or C2 ISDN controller
#
SpoolDir: /var/spool/hylafax
FaxRcvdCmd: /usr/local/bin/c2faxrcvd
This is strange if you use it with hylafax. Another hint for stand alone
installation of C4H! The parameters passed to this skript are different
for stand-alone and hylafax installation:
"FaxRcvdCmd" indicates the script performed whenever a fax is
received. Parameters other than the ones for HylaFAX are returned in
stand-alone operation (see sample_faxrcvd for more information)
Should be:
FaxRcvdCmd: /var/spool/hylafax/bin/faxrcvd
If you want to route incoming faxes with hylafax by MSN one line is
missing here:
FaxRcvdGetsMSN: 1
FaxReceiveUser: uucp
LogFile: /var/spool/hylafax/log/c4h.log
LogTraceLevel: 4
LogFileMode: 0600
{
# Controller 1, B-Channel 1
HylafaxDeviceName: faxCAPI11
RecvFileMode: 0600
FAXNumber: +49.00.00000
LocalIdentifier: "AVM CAPI4HylaFAX"
MaxConcurrentRecvs: 1
OutgoingController: 1
OutgoingMSN: 32
SuppressMSN: 0
NumberPrefix: 0
Here you define a leading "0" to be dialed before every faxnumber. So
you can't do internal faxing (and tests)! The definition is only in this
section, the others are empty.
You tested with controller 1, but which B-Channel? B1 has leading zero,
B2 not!
UseISDNFaxService: 0
RingingDuration: 0
{
Controller: 1
AcceptSpeech: 0
Set "AcceptSpeech: 1", as most fax machines connect with a
3.1kHz audio connection. Otherwise only faxmachines with the
ISDN-service-indicator for fax can connect.
UseDDI: 1
DDIOffset: "39976"
DDILength: 3
This tells C4H: Incoming numbers are "39976xxx". Cut off the "39976" and
pass "xxx" as dialed number to (c2)faxrcvd. Is this correct?
I suggest setting "UseDDI: 0" as the basic functions do not work
properly at the moment.
IncomingMSNs:
AcceptGlobalCall: 1
}
}
Hope this helps.
--
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@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*