[asterisk-users] ReceiveFax
Bryant Zimmerman
BryantZ at zktech.com
Thu Jan 20 10:45:49 CST 2011
From: "William Stillwell" <william at stillwellsoft.com>
Sent: Thursday, January 20, 2011 11:26 AM
This is new to me, I have a fax server using Receive Fax and gets way over 5 calls at a time. [fax-in] exten => s,1,Answer() exten => s,n,Wait(1) exten => s,n,Set(BASEFILE=fax-${CALLERID(dnid)}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}) ;exten => s,n,Set(${LOCALSTATIONID}) exten => s,n,MixMonitor(/mnt/ramdisk/${BASEFILE}.wav) exten => s,n,ReceiveFAX(/mnt/ramdisk/${BASEFILE}.tif) exten => s,n,Hangup() exten => h,1,System(/home/asterisk/dofax.sh "${EMAILADDRESS}" "${FAXSTATUS}" "${CALLERID(num)}" "${....<snip> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas
Sent: Thursday, January 20, 2011 10:49 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] ReceiveFax From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Flavio Miranda
Sent: Thursday, January 20, 2011 9:00 AM
Hi all, I realize that the application Receivefax can't handle with more than one fax at the same time. In a environment with a lot of fax, some caller get the signal but the operation can't be completed. Is there a way to send busy tone to the second caller?
Att,
Flavio Roberto Miranda
MSN:flaviormiranda at hotmail.com
Skype: flaviormiranda My guess is no. A possible "work-around" would be to set a global variable to indicate that the line is busy and to play a message and hang-up immediately or to just hangup. Something like this: - exten => s,1,answer - exten => s,n,AGI(checkstat.agi) - reset variable if receivefax died or hungup - exten => s,n,Gotoif($[ "${FAXINUSE}" = "YES"]?byebye) - exten => s,n,Set(GLOBAL(FAXINUSE)=YES) - exten => s,n,receivefax - exten => s,n,Set(GLOBAL(FAXINUSE)=NO) - exten => s,n,hangup - exten => s,n(byebye),playback(im-busy) - exten => s,n,hangup
Why can't receivefax handle more then 5 faxes at the same time? Are you using the res_fax_spandsp.so or the res_fax_digium.so modules? It was my understanding that the res_fax_spandsp.so did not have a limit and the res_fax_digium.so was the commercial offering that is based on a per channel license.
Am I wrong on the res_fax_spandsp.so module is there a limit other than hardware performance?
Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110120/f37c2d23/attachment.htm>
More information about the asterisk-users
mailing list