[asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread David Ruggles
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 EngineerSafe Data, Inc.
(910) 285-7200  [EMAIL PROTECTED]



___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread Doug Lytle

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.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread Gordon Henderson

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
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread Carlos Chavez
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


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Fax detection (Sangoma)

2007-04-02 Thread David Ruggles
Thanks for answering my question. I apologize for not looking harder, I'll
look harder next time before asking the list.

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network EngineerSafe Data, Inc.
(910) 285-7200  [EMAIL PROTECTED]


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users