Re: [asterisk-users] Fax Problem on direct FXO port
Hi Steve, Thanks for the reply, I didn't change anything else, just changed spandsp version to de FFA, I use the spandsp version with more success in other places, but in this particular case, sending faxes works ok with both versions but with spandsp I couldn't receive any fax, with FFA I may get 70% of faxes ok. On May 18, 2012, at 1:35 AM, Steve Underwood wrote: Hi Sebastian, has still some issues that not all faxes pass ok, but does the work == still badly broken Your log doesn't seem to show a spandsp error. It looks more like a bad signal. Did you change anything else when you installed FFA? Usually people move the other way to improve their results. Steve On 05/18/2012 09:38 AM, Sebastian Gutierrez wrote: Rusty, thanks for the reply, the issue seems a spandsp issue, I changed to digium free asterisk fax and works much better, has still some issues that not all faxes pass ok, but does the work. thanks! On May 17, 2012, at 1:06 PM, Rusty Newton wrote: Sebastian, Seeing as this an issue related to faxing using the SpanDSP library; if you do not get an answer leading to a solution here, then you may try asking on the SpanDSP mailing list http://lists.soft-switch.org/mailman/listinfo It's likely that the Asterisk users, specifically using SpanDSP, may be on that list. Thanks, Rusty Newton Open Source Community Support Manager Digium, Inc |www.digium.com |www.asterisk.org On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote: Hi, I´m with asterisk 1.6.2.20 DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2 SpanDSP: spandsp-0.0.6pre20.tgz http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre20.tgz FXO lines. Sending faxes works ok. but receiving gives me error: here is the debug: http://pastebin.com/qfFeXWQW any idea?? Thanks! -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Fax Problem on direct FXO port
On 05/18/2012 04:45 AM, Sebastian Gutierrez wrote: with FFA I may get 70% of faxes ok. Nobody that I work with would consider that acceptable. Lee. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Fax Problem on direct FXO port
Sebastian, Seeing as this an issue related to faxing using the SpanDSP library; if you do not get an answer leading to a solution here, then you may try asking on the SpanDSP mailing list http://lists.soft-switch.org/mailman/listinfo It's likely that the Asterisk users, specifically using SpanDSP, may be on that list. Thanks, Rusty Newton Open Source Community Support Manager Digium, Inc | www.digium.com | www.asterisk.org On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote: Hi, I´m with asterisk 1.6.2.20 DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2 SpanDSP: spandsp-0.0.6pre20.tgz http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre20.tgz FXO lines. Sending faxes works ok. but receiving gives me error: here is the debug: http://pastebin.com/qfFeXWQW any idea?? Thanks! -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Fax Problem on direct FXO port
Hi Sebastian, has still some issues that not all faxes pass ok, but does the work == still badly broken Your log doesn't seem to show a spandsp error. It looks more like a bad signal. Did you change anything else when you installed FFA? Usually people move the other way to improve their results. Steve On 05/18/2012 09:38 AM, Sebastian Gutierrez wrote: Rusty, thanks for the reply, the issue seems a spandsp issue, I changed to digium free asterisk fax and works much better, has still some issues that not all faxes pass ok, but does the work. thanks! On May 17, 2012, at 1:06 PM, Rusty Newton wrote: Sebastian, Seeing as this an issue related to faxing using the SpanDSP library; if you do not get an answer leading to a solution here, then you may try asking on the SpanDSP mailing list http://lists.soft-switch.org/mailman/listinfo It's likely that the Asterisk users, specifically using SpanDSP, may be on that list. Thanks, Rusty Newton Open Source Community Support Manager Digium, Inc |www.digium.com |www.asterisk.org On 5/16/2012 12:44 PM, Sebastian Gutierrez wrote: Hi, I´m with asterisk 1.6.2.20 DAHDI Version: 2.5.0.2 Echo Canceller: HWEC, MG2 SpanDSP: spandsp-0.0.6pre20.tgz http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre20.tgz FXO lines. Sending faxes works ok. but receiving gives me error: here is the debug: http://pastebin.com/qfFeXWQW any idea?? Thanks! -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
Thank you francois! Where could you find that info ? -Message d'origine- De : asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] De la part de F6HQZ Envoyé : mercredi 23 décembre 2009 22:46 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : Re: [asterisk-users] fax problem Oops ! The sendmail macro was missing, sorry ! [macro-Sendmail] ;=== ; ARG1 = Address To ; ARG2 = Address From ; ARG3 = File attachment ; ARG4 = Pages Qty ; ARG5 = Rate ; ARG6 = HeaderInfo ; ARG7 = RemoteID ; ARG8 = Resolution ;=== exten = s,1,NoOp( SENDMAIL ) exten = s,n,NoOp(To:${ARG1} From:${ARG2} Subject:Fax de ${ARG6} Attach:${ARG3} Pg:${ARG4} Rate:${ARG5} HeaderInfo:${ARG6} RemoteID:${ARG7} Res:${ARG8}) exten = s,n,System(echo Entete FAX : ${ARG6} - ${ARG4} pages - Rate:${ARG5} - CID:${ARG7}, Resolution : ${ARG8}|/bin/mailx -s FAX de : ${ARG6} - CID : ${ARG7} -a ${ARG3} -r ${ARG2} ${ARG1}) exten = s,n,NoOp( SENT ) exten = s,n,System(rm ${ARG3}) -Message d'origine- De : F6HQZ [mailto:f6hq...@hamwlan.net] Envoyé : mercredi 23 décembre 2009 22:44 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : RE: [asterisk-users] fax problem Hi Francois, here is Francois too ;-) Check that : [fax-outbound-calls] exten = _X.,1,Dial(${ACROPOLIS}/${EXTEN},,G(fax-tx^send^1)) [fax-tx] exten = send,1,NoOp( SENDING FAX ) exten = send,n,Set(FaxTxDir=/var/spool/fax/tx/) exten = send,n,Set(FAXFILEPDF=fax-${FAXCOUNT}-tx.pdf) exten = send,n,Wait(6) exten = send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten = send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) exten = send,n,Set(FAXFILE=test.tif) ; Set FAXOPTs exten = send,n,NoOp( SETTING FAXOPT ) exten = send,n,Set(FAXOPT(filename)=${FAXFILE}) exten = send,n,Set(FAXOPT(ecm)=yes) exten = send,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) exten = send,n,Set(FAXOPT(localstationid)=0170619058) exten = send,n,Set(FAXOPT(maxrate)=14400) exten = send,n,Set(FAXOPT(minrate)=2400) ; Send the fax exten = send,n,NoOp( SENDING FAX ) exten = send,n,SendFAX(${FaxTxDir}${FAXFILE}|d) ; Hangup! Print FAXOPTs exten = h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten = h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) exten = h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten = h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)}) exten = h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten = h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten = h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) exten = h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)}) exten = h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)}) exten = h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)}) exten = h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)}) exten = h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)}) exten = h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)}) ; Sendmail options for reports by email : exten = h,n,System(/usr/bin/tiff2pdf -o ${FaxTxDir}${FAXFILEPDF} ${FaxRxDir}${FAXFILE}) exten = h,n,macro(Sendmail,postmas...@acropolis.fr,aster...@acropolis.fr,${FaxRxDir} ${FAXFILEPDF},${FAXOPT(pages)},${FAXOPT(rate)},${FAXOPT( headerinfo)},${FAXOPT(remotestationid)},${FAXOPT(resolution)}) Mainly extracted from the Digium FFA manual. I hope this can help you. Best Regards, Francois On Wed, Dec 23, 2009 at 10:49 AM, BERGANZ François franc...@acropolistelecom.net wrote: Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
Ah ! It's a jamming of Digium FFA user manual, ideas and tests from my customers and myself. From Digium's side you can/must acces to this WEB page : https://www.digium.com/en/supportcenter/documentation/viewdocs/FAX I love to check Digium's solutions and to know how to use them. So, I have writed many how to's in french to install Asterisk and the main extra solutions, gateways, IP-Phones with provisionning, etc... I often send this little docs to my customers and friends, to win time and have a fast success. Best Regards, Francois ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
Did you stand on one foot and hold out your tongue when you made the tiff?? :-) The tiff has to be a very specific format I spent days making my output tiffs match the format of a received tiff I was able to send. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of BERGANZ François Sent: Wednesday, December 23, 2009 10:50 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] fax problem Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) but I have: salledeconf1*CLI console dial 1...@default [Dec 23 16:24:22] WARNING[31739]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory -- Executing [...@default:1] SendFAX(Console/dsp, /root/test.tiff) in new stack Console call has been answered [Dec 23 16:24:22] NOTICE[31739]: console_video.c:133 console_video_start: voice only, console video support not present [Dec 23 16:24:23] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory [Dec 23 16:24:24] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory [Dec 23 16:24:25] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory [Dec 23 16:24:26] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory Know you why? Please help me ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
The problem isnt in my tiff images, I could use it with a paton. I still stryed to stand on one foot offcourse J De : asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] De la part de Danny Nicholas Envoyé : mercredi 23 décembre 2009 17:58 À : 'Asterisk Users Mailing List - Non-Commercial Discussion' Objet : Re: [asterisk-users] fax problem Did you stand on one foot and hold out your tongue when you made the tiff?? J The tiff has to be a very specific format I spent days making my output tiffs match the format of a received tiff I was able to send. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of BERGANZ François Sent: Wednesday, December 23, 2009 10:50 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] fax problem Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) but I have: salledeconf1*CLI console dial 1...@default [Dec 23 16:24:22] WARNING[31739]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory -- Executing [...@default:1] SendFAX(Console/dsp, /root/test.tiff) in new stack Console call has been answered [Dec 23 16:24:22] NOTICE[31739]: console_video.c:133 console_video_start: voice only, console video support not present [Dec 23 16:24:23] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory [Dec 23 16:24:24] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory [Dec 23 16:24:25] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory [Dec 23 16:24:26] WARNING[31745]: chan_oss.c:492 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory Know you why? Please help me ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
BERGANZ François wrote: I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) but I have: salledeconf1*CLI console dial 1...@default You are not going to be able to use SendFax on a console channel driver, unless you've got your console audio somehow hooked to a FAX machine. In any case, the messages you got are not from SendFax, they are from chan_oss, and you'll need to investigate that. This problem is not related to your use of FAX, so it's not a 'fax problem'. If I had to guess, I would suspect this is because chan_oss claims that it can switch to signed linear audio mode (so Asterisk does not use a translation path to achieve that), but can't actually do it. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: kpflem...@digium.com Check us out at www.digium.com www.asterisk.org ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
On Wed, Dec 23, 2009 at 10:49 AM, BERGANZ François franc...@acropolistelecom.net wrote: Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) try originate sip/provider/number extension 1...@default Martin ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
Hi Francois, here is Francois too ;-) Check that : [fax-outbound-calls] exten = _X.,1,Dial(${ACROPOLIS}/${EXTEN},,G(fax-tx^send^1)) [fax-tx] exten = send,1,NoOp( SENDING FAX ) exten = send,n,Set(FaxTxDir=/var/spool/fax/tx/) exten = send,n,Set(FAXFILEPDF=fax-${FAXCOUNT}-tx.pdf) exten = send,n,Wait(6) exten = send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten = send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) exten = send,n,Set(FAXFILE=test.tif) ; Set FAXOPTs exten = send,n,NoOp( SETTING FAXOPT ) exten = send,n,Set(FAXOPT(filename)=${FAXFILE}) exten = send,n,Set(FAXOPT(ecm)=yes) exten = send,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) exten = send,n,Set(FAXOPT(localstationid)=0170619058) exten = send,n,Set(FAXOPT(maxrate)=14400) exten = send,n,Set(FAXOPT(minrate)=2400) ; Send the fax exten = send,n,NoOp( SENDING FAX ) exten = send,n,SendFAX(${FaxTxDir}${FAXFILE}|d) ; Hangup! Print FAXOPTs exten = h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten = h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) exten = h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten = h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)}) exten = h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten = h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten = h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) exten = h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)}) exten = h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)}) exten = h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)}) exten = h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)}) exten = h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)}) exten = h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)}) ; Sendmail options for reports by email : exten = h,n,System(/usr/bin/tiff2pdf -o ${FaxTxDir}${FAXFILEPDF} ${FaxRxDir}${FAXFILE}) exten = h,n,macro(Sendmail,postmas...@acropolis.fr,aster...@acropolis.fr,${FaxRxDir}${FAXFILEPDF},${FAXOPT(pages)},${FAXOPT(rate)},${FAXOPT( headerinfo)},${FAXOPT(remotestationid)},${FAXOPT(resolution)}) Mainly extracted from the Digium FFA manual. I hope this can help you. Best Regards, Francois On Wed, Dec 23, 2009 at 10:49 AM, BERGANZ François franc...@acropolistelecom.net wrote: Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] fax problem
Oops ! The sendmail macro was missing, sorry ! [macro-Sendmail] ;=== ; ARG1 = Address To ; ARG2 = Address From ; ARG3 = File attachment ; ARG4 = Pages Qty ; ARG5 = Rate ; ARG6 = HeaderInfo ; ARG7 = RemoteID ; ARG8 = Resolution ;=== exten = s,1,NoOp( SENDMAIL ) exten = s,n,NoOp(To:${ARG1} From:${ARG2} Subject:Fax de ${ARG6} Attach:${ARG3} Pg:${ARG4} Rate:${ARG5} HeaderInfo:${ARG6} RemoteID:${ARG7} Res:${ARG8}) exten = s,n,System(echo Entete FAX : ${ARG6} - ${ARG4} pages - Rate:${ARG5} - CID:${ARG7}, Resolution : ${ARG8}|/bin/mailx -s FAX de : ${ARG6} - CID : ${ARG7} -a ${ARG3} -r ${ARG2} ${ARG1}) exten = s,n,NoOp( SENT ) exten = s,n,System(rm ${ARG3}) -Message d'origine- De : F6HQZ [mailto:f6hq...@hamwlan.net] Envoyé : mercredi 23 décembre 2009 22:44 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : RE: [asterisk-users] fax problem Hi Francois, here is Francois too ;-) Check that : [fax-outbound-calls] exten = _X.,1,Dial(${ACROPOLIS}/${EXTEN},,G(fax-tx^send^1)) [fax-tx] exten = send,1,NoOp( SENDING FAX ) exten = send,n,Set(FaxTxDir=/var/spool/fax/tx/) exten = send,n,Set(FAXFILEPDF=fax-${FAXCOUNT}-tx.pdf) exten = send,n,Wait(6) exten = send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten = send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) exten = send,n,Set(FAXFILE=test.tif) ; Set FAXOPTs exten = send,n,NoOp( SETTING FAXOPT ) exten = send,n,Set(FAXOPT(filename)=${FAXFILE}) exten = send,n,Set(FAXOPT(ecm)=yes) exten = send,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) exten = send,n,Set(FAXOPT(localstationid)=0170619058) exten = send,n,Set(FAXOPT(maxrate)=14400) exten = send,n,Set(FAXOPT(minrate)=2400) ; Send the fax exten = send,n,NoOp( SENDING FAX ) exten = send,n,SendFAX(${FaxTxDir}${FAXFILE}|d) ; Hangup! Print FAXOPTs exten = h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten = h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) exten = h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten = h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)}) exten = h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten = h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten = h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) exten = h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)}) exten = h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)}) exten = h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)}) exten = h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)}) exten = h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)}) exten = h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)}) ; Sendmail options for reports by email : exten = h,n,System(/usr/bin/tiff2pdf -o ${FaxTxDir}${FAXFILEPDF} ${FaxRxDir}${FAXFILE}) exten = h,n,macro(Sendmail,postmas...@acropolis.fr,aster...@acropolis.fr,${FaxRxDir}${FAXFILEPDF},${FAXOPT(pages)},${FAXOPT(rate)},${FAXOPT( headerinfo)},${FAXOPT(remotestationid)},${FAXOPT(resolution)}) Mainly extracted from the Digium FFA manual. I hope this can help you. Best Regards, Francois On Wed, Dec 23, 2009 at 10:49 AM, BERGANZ François franc...@acropolistelecom.net wrote: Hello, I need to send a tiff via fax with my asterisk 1.6.1.0. I tried in the dialplan [default] exten = _X.,1,SendFax(/root/test.tiff) ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Fax problem with zap trunk...
Someone has any idea about this issue? Thank you very much. Alexandre Leclerc a écrit : Hi all, as it is obivious at the bottom of this screen dump, when I'm recieving a fax from PSTN in the PBX, it fails to send it to extension 100 which is a fx_oks on my digium card. But I can call succesfully the fax from another internal phone (polycom ip600). Here is my zap config (I use [EMAIL PROTECTED]): # Span 1: WCTDM/0 Wildcard TDM400P REV E/F Board 1 fxoks=1 fxsks=2 fxsks=3 fxsks=4 Thanks for any help. Screen dump: -- Zap/2-1 answered SIP/108-e62e -- Starting simple switch on 'Zap/3-1' -- Executing SetLanguage(Zap/3-1, frqc) in new stack -- Executing GotoIf(Zap/3-1, 0?from-pstn-afthours|s|1:) in new stack -- Executing GotoIfTime(Zap/3-1, 7:55-18:05|mon-fri|*|*?from-pstn-reghours|s|1:) in new stack -- Goto (from-pstn-reghours,s,1) -- Executing GotoIf(Zap/3-1, 0?from-pstn-reghours-nofax|s|1:2) in new stack -- Goto (from-pstn-reghours,s,2) -- Executing Answer(Zap/3-1, ) in new stack -- Executing Wait(Zap/3-1, 1) in new stack -- Executing SetVar(Zap/3-1, intype=aa_1) in new stack -- Executing Cut(Zap/3-1, intype=intype|-|1) in new stack -- Executing GotoIf(Zap/3-1, 0?7:9) in new stack -- Goto (from-pstn-reghours,s,9) -- Executing GotoIf(Zap/3-1, 0?10:12) in new stack -- Goto (from-pstn-reghours,s,12) -- Executing GotoIf(Zap/3-1, 0?13:15) in new stack -- Goto (from-pstn-reghours,s,15) -- Executing Goto(Zap/3-1, aa_1|s|1) in new stack -- Goto (aa_1,s,1) -- Executing GotoIf(Zap/3-1, 0?4) in new stack -- Executing Answer(Zap/3-1, ) in new stack -- Executing Wait(Zap/3-1, 1) in new stack -- Executing SetVar(Zap/3-1, DIR-CONTEXT=general) in new stack -- Executing DigitTimeout(Zap/3-1, 3) in new stack -- Set Digit Timeout to 3 -- Executing ResponseTimeout(Zap/3-1, 7) in new stack -- Set Response Timeout to 7 -- Executing BackGround(Zap/3-1, custom/aa_1) in new stack -- Playing 'custom/aa_1' (language 'frqc') -- Alexandre Leclerc ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Fax problem, missing/compressed lines
Johan van Tongeren wrote: On my * the faxes in- and outbound are of poor quality. I’m missing some lines. TxFAX and RxFAX don't yet support ECM, and so you're going to miss an occassional line. The frequency will depend upon the quality of the connection between the two endpoints. Lee. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Fax problem with Asterisk @home ver 1.0.7
Do you mean Asterisk @ Home version 0.7 running Asterisk 1.0.7? The most recent release os AAH is 1.1 just in case you have nto seen the release notice... This is something covered repeatedly in the past so the archive will yeild lots of data. As I understand it, it is a matter or timing with the card and the source. Hit google with site:lists.digium.com fax timing Apparently there is a tool to test the timing that can be compile (I think) from Asterisk src. I tried several times in the past to get this to work but never did... As soon as I have time, I will attack it again... Cheers, Wiley -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Vicente Ortega Sent: Tuesday, June 07, 2005 3:21 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Fax problem with Asterisk @home ver 1.0.7 I am having problems receiving faxes through the PSTN. I have installed asterisk @home ver 1.0.7 and have a TDM11B card installed. When I try to send faxes to the PSTN line I only get the top part of the fax and then just gibberish any ideas?? JV ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Fax problem
I use ulaw and the problem is the same, any more suggestions? Thanks -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Sam Bingner Enviado el: sábado, 24 de abril de 2004 6:11 Para: [EMAIL PROTECTED] Asunto: RE: [Asterisk-Users] Fax problem Use ulaw -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Vela Sent: Friday, April 23, 2004 7:52 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Fax problem Hi, We have a machine with an *'s with Digium TDM400P and connected wit other machine with *'s an TDM400P too. Well, I have a fax connected to each machine, and the protocol in the middle is IAX2 alaw. The fax between two fax, on in each machine, not work. The fax answer, but error in comm. Which can be the problem ?. What can I do to find the problem ? Thanks, in advance, Pedro ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Fax problem
Use ulaw -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pedro Vela Sent: Friday, April 23, 2004 7:52 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Fax problem Hi, We have a machine with an *'s with Digium TDM400P and connected wit other machine with *'s an TDM400P too. Well, I have a fax connected to each machine, and the protocol in the middle is IAX2 alaw. The fax between two fax, on in each machine, not work. The fax answer, but error in comm. Which can be the problem ?. What can I do to find the problem ? Thanks, in advance, Pedro ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users smime.p7s Description: S/MIME cryptographic signature