_____  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@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:flaviormira...@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

--
_____________________________________________________________________
-- 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

Reply via email to