I am attempting to get fax detection to work. I am using a NETjet-s card under ISDN4Linux. Asterisk does not seem to be detecting the fax tone. I have tried following as a test: [MainMenu] exten => s,1,Answer exten => s,2,DigitTimeout(3) exten => s,3,ResponseTimeout(5) exten => s,4,Background(Welcome) exten => s,5,Background(MainMenu) exten => fax,1,Dial(Zap/1,,d) [FaxTest] exten => 1,1,Goto(MainMenu,s,1) This works fine if I attached two fax machines. One fax machine to Zap/1 and one to any other, such as Zap/2, port. Zap/1 is in the 'ManMenu' context and Zap/2 is in 'FaxTest'. I dial 1 on the fax machine on Zap/2. This works as expected. I then take fax machine that was on Zap/2 and attach it to an outside line and dial into the NETjet modem. The NETjet is in context 'MainMenu'. Asterisk does not detect the fax in this case. Are there any settings in the configuration files that I need to set specifically for fax detection on the NETjet modem? Any suggestions? Thanks for the help. Michael
Is there any way to turn off fax detection? ---- Alex.
Hi all I've tried Google, wiki and mailing list and IRC but still haven't gotten to the bottom of this. Hopefully someone might be able to help. I'm using telappliant to provide my inbound and outbound calls. * plays host to 30 cisco's and they are all working great using G711 A-law. I've managed to get SpanDSP to compile and install and I can send a receive a fax on a dedicated extension. What I'm trying to do now and can't seem to nail is getting an inbound fax to be detected and then handled. I've tried the examples from the wiki and the sites linked on the wiki; messed about trying my own weird and wonderful methods but still no joy. All the calls are using G711 A-law. Here is the test context I'm using XXX = hiden Exten => 08700686XXX,1,Goto(textextension,7000,1) [testextension] Exten => 7000,1,Answer Exten => 7000,2,Dial(SIP/104) Exten => fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif) Exten => fax,2,congestion Exten => fax,102,congestion Calls hit the testextension contect but don't get detected as a fax. Cheers Matt
Hi all I've tried Google, wiki and mailing list and IRC but still haven't gotten to the bottom of this. Hopefully someone might be able to help. I'm using telappliant to provide my inbound and outbound calls. * plays host to 30 cisco's and they are all working great using G711 A-law. I've managed to get SpanDSP to compile and install and I can send a receive a fax on a dedicated extension. What I'm trying to do now and can't seem to nail is getting an inbound fax to be detected and then handled. I've tried the examples from the wiki and the sites linked on the wiki; messed about trying my own weird and wonderful methods but still no joy. All the calls are using G711 A-law. Here is the test context I'm using XXX = hiden Exten => 08700686XXX,1,Goto(textextension,7000,1) [testextension] Exten => 7000,1,Answer Exten => 7000,2,Dial(SIP/104) Exten => fax,1,rxfax(/var/spool/asterisk/incoming/testfax.tif) Exten => fax,2,congestion Exten => fax,102,congestion Calls hit the testextension contect but don't get detected as a fax. Cheers Matt
> Date: Wed, 30 Mar 2005 14:29:06 -0500 > From: niles@atheos.net > Subject: [Asterisk-Users] Fax detection > > Hello, > > I'm attempting to configure my office Asterisk server to do fax > detection for each one of our DID's configured for different users. > Each person in our office has their own phone number, and I want each > to do both voice & fax. > > Fax detection works great when configured like this: > > exten => fax,1,Macro(faxreceive) > exten => fax,2,SetVar(EMAILADDR=niles@atheos.net) > exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} > "${CALLERIDNUM} ${CALLERIDNAME}") > > This will detect any incoming fax for this particular context and > basically work as expected. > I attempted to do some callerid matching to ensure the correct person > gets their fax. > When configured like this, Asterisk doesn't match the incoming DID to > the fax user in question. > > exten => fax/3172152560,1,Macro(faxreceive) > exten => fax/3172152560,2,SetVar(EMAILADDR=niles@atheos.net) > exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} > "${CALLERIDNUM} ${CALLERIDNAME}") > > This didn't work! > I then tried this: > > > exten => fax,1,Macro(faxreceive) > exten => fax/3172152560,2,SetVar(EMAILADDR=niles@atheos.net) > exten => fax/3172152561,2,SetVar(EMAILADDR=someoneelse@atheos.net) > exten => h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} > "${CALLERIDNUM} ${CALLERIDNAME}") > > this also didn't work, although it did everything but set the e-mail > variable. > Any ideas? > NilesSend your output from Asterisk. Also, your second example needs to be reordered (priorities are not numbered right). Are you coming in on ZAP? Justin Newman Newman Telecom, Inc.