From: "William Stillwell" <[email protected]>
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:
[email protected]
[mailto:[email protected]] 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:
[email protected]
[mailto:[email protected]] 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:[email protected]
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
--
_____________________________________________________________________
-- 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