Hallo,
ich habe mich eingehendst mit dem Thema Faxversand mit * eingelesen.
Habe ein Cisco ATA186 und will damit einfach nur ein fax aus meinem analogen Papierfax versenden.
Papierfax -> ATA186 -> SIP -> Asterisk -> via capi (ISDN)versand ins pstn .
Hab einiges Interessantes in Erfahrung bringen können:
Code:
Just some information for people. If you want to be able to print from windows to fax compatible tiff files (for use with SpanDSP) you can use the following software:
http://www.faxaway.com/toolbooth/converter.htm
We have this installed and working here. Once you have a tif file you can copy it to the asterisk box (say /tmp/testfax.tif) and then write a sample.call file to /var/spool/asterisk/outgoing where the file contains:
Channel: Zap/1/1234567
Application: txfax
Data: /tmp/testfax.tif
Where 1234567 is the number you want to send the fax to.
Also (thanks to Toby Mills) just put LOCALSTATIONID=+64 3 455 5770 into the globals section of extensions.conf to set up your station ID for outgoing faxes
You can check whether everything is set up correctly by sending a fax to telecom's test facility.
http://www.telecom.co.nz/content/0,3900,202732-1476,00.html
###
http://www.sineapps.com/news.php?rssid=39
###
Title: RE: [Asterisk-Users] SoftFAX/spandsp - release 0.0.1i - txfax findings
Hi,
We have no problems sending to HP and Panasonic fax machines in the office.
We do have problems when we try to send faxes to services supporting
fax, i.e. J2 or our UC platform. The receiving side doesn't recognize fax.
To send a fax we drop into /var/spool/asterisk/outgoing:
Channel: Zap/g1/<fax number>
MaxRetries: 0
WaitTime: 20
Context: webley_txfax
Extension: txfax_ext
Priority: 1
SetVar: TXFAX_NAME=<fax name>
and extensions.conf contains:
[webley_txfax]
exten => txfax_ext,1,txfax(${TXFAX_NAME}|caller)
exten => txfax_ext,2,Hangup
Two questions:
1. Sounds like txfax sends just one CNG tone. Can we have a parameter making
txfax issue periodic CNGs until it gets CED back? This might resolve the
problem with the receiver missing the first (and only) tone and therefore
working as if this is not a fax?
2. For Zap channels - don't we need to take care of 'dataquality', 'ignoredtmf'
and/or 'faxhandled'? In several cases J2 would send CED, so asterisk
switched to a fax extension creating a complete mess.
Thank you.
Alex Zarubin
Webley Systems
###
http://www.mail-archive.com/[email protected]/msg30912.html
###
Natürlich auch das von scotstuff ...
Frage: Wäre der Lösungsansatz, das ich
1. in /var/spool/asterisk/outgoing anstatt ZAP einfach Capi eintrage richtig?
2. Ist der Lösugsansatz richtig, das ich in der extensions.conf ein Eintrag mache indem ich die DW des Faxes (nennen wir die DW 886702 ist SIP/atafax) so eintrage als würde ich ein Fax empfangen?
danach soll es mir über einen Systemaufruf dieses irgendwo hineinschreiben (wobei ich nicht weiss wie ich die eigentliche Versenderfax nummer mitnehmen kann). Danach müsste ich mit txfax diese *tiff datei herausnehmen (mit einem skript alle 10 min nachschauen ob neues file im Verzeichnis ist) und dadurch dann versenden?
Ich denke bestimmt zu kompliziert.
Hat es irgendwer schon gelöst mit einem Papierfax über ein ata über Asterisk via isdn raus zu Faxen?
Eingehende Faxe konvertiere ich über Asterisk, wie in der Scottstuff Doku beschrieben, alle in pdf, sodass ich damit keinen Stress habe und ausgehende Faxe über das system (z.b. aus office heraus über Hylafax und mit cepheus als gui auf win). Wer darüber Auskunft haben will gebe ich gerne meine Lösungen im detail bekannt.
Vielen Dank im voraus