Hallo,
nach dem ich mir nun aus diversen HowTo`s ne Lösung zusammengebastelt habe hier noch eine letzte Frage...
Ich habe Hylafax / AVM FritzCard und ne FaxDispatcher Lösung die sieht folgendermaßen aus:
__________________________________________________
case "$7" in 3xx830) SENDTO="p.tester"; FILETYPE=pdf;;
esac
case "$7" in 3xx544) SENDTO="percy"; FILETYPE=pdf;;
esac
case "$7" in *) SENDTO="percy"; FILETYPE=pdf;;
esac
/usr/bin/tiff2ps -a $FILE | lpr
MIMENCODE=/var/spool/hylafax/bin/uuencode_it;
_____________________________________________________
Funktioniert auch prima... die Faxe werde ins PDF gewandelt und per Postfix nach Cyrus ausgeliefert.. Prima Horde Frontend machst dann noch nett zugänglich.
ABER.. musste ja was kommen
Beim Test ist mir aufgefallen das bestimmte Faxe, keine Zielrufnummer Hylafax übergeben... wie auch immer. Unten ein Beispiel: Das erste Fax habe ich über die andere ISDN Leitung mit nem normalen Faxgerät an die Faxnummer geschickt.. (nicht intern) . Im Log sieht man unten das das prima empfangen wurde und die $7 erkannt wurde.. Die Weiterleitung per Mail funktionierte so....
Nun der zweite Test.. Log weiter unten.. Ein Fax aus dem 1und1 Kundenbereich.. für 24Cent Kommt auch an aber im LOG erkennt man das die MSN nicht angegeben wird.. daher wohl auch keine Auswertungsmöglichkeit für den FaxDispatch`er... Somit auch keine Mail sondern nur ein Fax im SambaShare.
Meine Frage nun:
Kann man es so einrichten das alle "nichterkannten" an eine "Sammelmail" gehen.. zB FaxMaster.. wichtig hierbei: nur die "nichterkannten" ??
oder
Liegt hier meinerseits ein Konfigurationfehler wegen der "Nichterkennung" vor.
Oben in der Fettgedruckten Zeile mein Versuch mit "case 7$ in *)" ... klappt aber nicht.. jemand ne Idee??
[ 3704]: c2faxrecv - INFO: SESSION END
[ 7714]: c2faxrecv - INFO: Connection established.
[ 7714]: c2faxrecv - INFO: StationID = 05xxxxxxxx
[ 7714]: c2faxrecv - INFO: BaudRate = 9600
[ 7714]: c2faxrecv - INFO: Write fax in path /var/spool/hylafax to file recvq/fax00001.tif.
[ 7714]: c2faxrecv - INFO: Page 1 was received. - Last Page!
[ 7714]: c2faxrecv - INFO: Fax received and calling '/var/spool/hylafax/bin/faxrcvd "recvq/fax00001.tif" "faxCAPI" "00000001" "" "05xxxxxxxx" "" "3xx830"'.
[ 7714]: c2faxrecv - INFO: Connection is droped with reason 0x3400 (No additional information).
[ 7714]: c2faxrecv - INFO: SESSION END
[ 7714]: c2faxrecv - INFO: SESSION BEGIN 00000007 +49.5xxx.3xx830
[ 7714]: c2faxrecv - INFO: Incoming speech call on controller 1 to 3xx830.
[ 3704]: c2faxrecv - INFO: SESSION BEGIN 00000008 +49.5xxx.3xx830
[ 3704]: c2faxrecv - INFO: Incoming speech call on controller 1 to 3xx830.
[ 3704]: c2faxrecv - INFO: Connection is droped with reason 0x3304 (Another application got that call).
[ 3704]: c2faxrecv - INFO: SESSION END
[ 7714]: c2faxrecv - INFO: Connection established.
[ 7714]: c2faxrecv - INFO: StationID = +49
[ 7714]: c2faxrecv - INFO: BaudRate = 14400
[ 7714]: c2faxrecv - INFO: Flags = HighRes, MMR_compr
[ 7714]: c2faxrecv - INFO: Write fax in path /var/spool/hylafax to file recvq/fax00002.tif.
[ 7714]: c2faxrecv - INFO: Page 1 was received. - Last Page!
[ 7714]: c2faxrecv - INFO: Fax received and calling '/var/spool/hylafax/bin/faxrcvd "recvq/fax00002.tif" "faxCAPI" "00000007" "" "+49'.
[ 7714]: c2faxrecv - INFO: Connection is droped with reason 0x3400 (No additional information).
[ 7714]: c2faxrecv - INFO: SESSION END
Grüsse
Percy
nach dem ich mir nun aus diversen HowTo`s ne Lösung zusammengebastelt habe hier noch eine letzte Frage...
Ich habe Hylafax / AVM FritzCard und ne FaxDispatcher Lösung die sieht folgendermaßen aus:
__________________________________________________
case "$7" in 3xx830) SENDTO="p.tester"; FILETYPE=pdf;;
esac
case "$7" in 3xx544) SENDTO="percy"; FILETYPE=pdf;;
esac
case "$7" in *) SENDTO="percy"; FILETYPE=pdf;;
esac
/usr/bin/tiff2ps -a $FILE | lpr
MIMENCODE=/var/spool/hylafax/bin/uuencode_it;
_____________________________________________________
Funktioniert auch prima... die Faxe werde ins PDF gewandelt und per Postfix nach Cyrus ausgeliefert.. Prima Horde Frontend machst dann noch nett zugänglich.
ABER.. musste ja was kommen
Beim Test ist mir aufgefallen das bestimmte Faxe, keine Zielrufnummer Hylafax übergeben... wie auch immer. Unten ein Beispiel: Das erste Fax habe ich über die andere ISDN Leitung mit nem normalen Faxgerät an die Faxnummer geschickt.. (nicht intern) . Im Log sieht man unten das das prima empfangen wurde und die $7 erkannt wurde.. Die Weiterleitung per Mail funktionierte so....
Nun der zweite Test.. Log weiter unten.. Ein Fax aus dem 1und1 Kundenbereich.. für 24Cent Kommt auch an aber im LOG erkennt man das die MSN nicht angegeben wird.. daher wohl auch keine Auswertungsmöglichkeit für den FaxDispatch`er... Somit auch keine Mail sondern nur ein Fax im SambaShare.
Meine Frage nun:
Kann man es so einrichten das alle "nichterkannten" an eine "Sammelmail" gehen.. zB FaxMaster.. wichtig hierbei: nur die "nichterkannten" ??
oder
Liegt hier meinerseits ein Konfigurationfehler wegen der "Nichterkennung" vor.
Oben in der Fettgedruckten Zeile mein Versuch mit "case 7$ in *)" ... klappt aber nicht.. jemand ne Idee??
[ 3704]: c2faxrecv - INFO: SESSION END
[ 7714]: c2faxrecv - INFO: Connection established.
[ 7714]: c2faxrecv - INFO: StationID = 05xxxxxxxx
[ 7714]: c2faxrecv - INFO: BaudRate = 9600
[ 7714]: c2faxrecv - INFO: Write fax in path /var/spool/hylafax to file recvq/fax00001.tif.
[ 7714]: c2faxrecv - INFO: Page 1 was received. - Last Page!
[ 7714]: c2faxrecv - INFO: Fax received and calling '/var/spool/hylafax/bin/faxrcvd "recvq/fax00001.tif" "faxCAPI" "00000001" "" "05xxxxxxxx" "" "3xx830"'.
[ 7714]: c2faxrecv - INFO: Connection is droped with reason 0x3400 (No additional information).
[ 7714]: c2faxrecv - INFO: SESSION END
[ 7714]: c2faxrecv - INFO: SESSION BEGIN 00000007 +49.5xxx.3xx830
[ 7714]: c2faxrecv - INFO: Incoming speech call on controller 1 to 3xx830.
[ 3704]: c2faxrecv - INFO: SESSION BEGIN 00000008 +49.5xxx.3xx830
[ 3704]: c2faxrecv - INFO: Incoming speech call on controller 1 to 3xx830.
[ 3704]: c2faxrecv - INFO: Connection is droped with reason 0x3304 (Another application got that call).
[ 3704]: c2faxrecv - INFO: SESSION END
[ 7714]: c2faxrecv - INFO: Connection established.
[ 7714]: c2faxrecv - INFO: StationID = +49
[ 7714]: c2faxrecv - INFO: BaudRate = 14400
[ 7714]: c2faxrecv - INFO: Flags = HighRes, MMR_compr
[ 7714]: c2faxrecv - INFO: Write fax in path /var/spool/hylafax to file recvq/fax00002.tif.
[ 7714]: c2faxrecv - INFO: Page 1 was received. - Last Page!
[ 7714]: c2faxrecv - INFO: Fax received and calling '/var/spool/hylafax/bin/faxrcvd "recvq/fax00002.tif" "faxCAPI" "00000007" "" "+49'.
[ 7714]: c2faxrecv - INFO: Connection is droped with reason 0x3400 (No additional information).
[ 7714]: c2faxrecv - INFO: SESSION END
Grüsse
Percy