I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax calls on my FXO port and route them automatically to the FXS port (connected to a fax machine) while allowing normal voices to ring the main extension like normal? I looked through archive but didn't see this exact question addressed. Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 285-7200 david@safedatausa.com
David Ruggles wrote:> I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax > calls on my FXO port and route them automatically to the FXS port (connected > to a fax machine) while allowing normal voices to ring the main extension > like normal? >Fax detection is spotty at best. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
On Mon, 2 Apr 2007, David Ruggles wrote:> I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax > calls on my FXO port and route them automatically to the FXS port (connected > to a fax machine) while allowing normal voices to ring the main extension > like normal?Yes. However, asterisk has to answer the call and listen in to see if it hears the remote fax machine squawking down at it first. This means that the caller will be left in silence for a second or 3. Then you'll need to send a message to the caller, or give them a ringing tone.> I looked through archive but didn't see this exact question addressed.Look harder, I've posted this before ;-) Or try the WiKi, the book, or elsewhere.... You need to tell asterisk to listen to faxes - you do this in zapata.conf - with the line: faxdetect=incoming What will happen then is that asterisk will listen in for the fax tone when it answers the call, so you need to Answer() the call, and (I've found) then wait for 3 seconds. exten => incoming,1,Answer() exten => incoming,n,Wait(3) If the call is a fax machine, asterisk will automagically then goto an extension called fax in the current context, so I guess (I've never done this - I suck it in & email it) you could then: exten => fax,1,Dial(Zap/4) exten => fax,1,Hangup() where Zap/4 was the fax machine which should be set to answer immediately, nd hopefully the call will then get bridged and life will be sweet. Back up in the answering code, after the Wait(3) you then need to do something else - ring an internal phone, use 'auto attendant" or something else, but let the caller know that something is happening. Gordon
On Mon, 2007-04-02 at 15:07 -0400, David Ruggles wrote:> I have an FXS port and an FXO port on my Sangoma, can I detect inbound Fax > calls on my FXO port and route them automatically to the FXS port (connected > to a fax machine) while allowing normal voices to ring the main extension > like normal? > > I looked through archive but didn't see this exact question addressed. >You did not look hard enough because this has been addressed many times. Use the "fax" extension and make sure your /etc/asterisk/zapata.conf has "faxdetect=both" on the fxo port configuration. -- Telecomunicaciones Abiertas de Mexico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070402/7ddfb3c4/attachment.pgp