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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110120/1e03a67e/attachment.htm>
On 01/20/2011 09:00 AM, Flavio Miranda wrote:> 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?Of course ReceiveFAX can be run on multiple channels at once. What makes you think it cannot? -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: kfleming at digium.com Check us out at www.digium.com & www.asterisk.org
On Thu, Jan 20, 2011 at 10:00 AM, Flavio Miranda <flaviormiranda at hotmail.com> wrote:> 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?This would be a problem with your underlying channel, not something intrinsic to ReceiveFax. If you only have a single copper pots line, then you would need to get more physical lines, or find another way to get more circuits into your PBX. Rest assured that nothing about ReceiveFax stops you from answering multiple calls at once, provided you have the underlying capacity.
_____ 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 To: Asterisk Asterisk Subject: [asterisk-users] ReceiveFax 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110120/fa26fe26/attachment.htm>
On 01/20/2011 11:00 PM, Flavio Miranda wrote:> 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? >Receivefax can handle hundreds of calls at one time, if your machine's resources are up to it? Why would there be a restriction of one call? Steve
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>