[asterisk-users] ReceiveFax

Danny Nicholas danny at debsinc.com
Thu Jan 20 09:48:34 CST 2011


  _____  

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>


More information about the asterisk-users mailing list