Olivier
2009-Jul-07 18:31 UTC
[asterisk-users] Play a recorded message when a fax is detected ?
Hi, I'm configuring a system so that end user can receive phone and calls using the same extension and DID. At the moment, fax are correctly detected but I'm trying to improve end user experience. Relevant dialplan (from extensions.ael) is : fax => { Verbose(0,Incoming fax from ${CALLERID(num)}); FAXFILE="/var/spool/asterisk/fax/${UNIQUEID}.tif"; ReceiveFAX(${FAXFILE}); HangUp(); }; What I would to improve is when a fax is detected, instead of hanging up the receiving extension, play a recorded message like "you're receiving a fax" (if receiving end is human, or nothing at all if it's a voicemail). What would you advise me to try ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090707/6e0994a7/attachment.htm
Danny Nicholas
2009-Jul-08 12:51 UTC
[asterisk-users] Play a recorded message when a fax is detected ?
You should initiate a second call or send a voicemail. You don't want to mess too much with what is working. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier Sent: Tuesday, July 07, 2009 1:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Play a recorded message when a fax is detected ? Hi, I'm configuring a system so that end user can receive phone and calls using the same extension and DID. At the moment, fax are correctly detected but I'm trying to improve end user experience. Relevant dialplan (from extensions.ael) is : fax => { Verbose(0,Incoming fax from ${CALLERID(num)}); FAXFILE="/var/spool/asterisk/fax/${UNIQUEID}.tif"; ReceiveFAX(${FAXFILE}); HangUp(); }; What I would to improve is when a fax is detected, instead of hanging up the receiving extension, play a recorded message like "you're receiving a fax" (if receiving end is human, or nothing at all if it's a voicemail). What would you advise me to try ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090708/d0f37e0a/attachment-0001.htm