Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to detect if a call is fax or not


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
gordon+asterisk at dro...
Guest





PostPosted: Sun Mar 23, 2008 11:24 am    Post subject: [asterisk-users] How to detect if a call is fax or not Reply with quote

On Sun, 23 Mar 2008, Pete Kay wrote:

Quote:
Hi
I got my hylafax running to receive and send fax. Since I only have one
number, I want to know if there is anyway to detect if a call signal is fax
then redirect it to fax-to-email, otherwise route the call to my analog
phone? Is it something that can be done?

If coming in on a Zap channel, then:

In /etc/zapata.conf in the relevant channel definition you need:

faxdetect=incoming

Then in the dialplan you need to answer the incoming call (as you've no
other way of telling if it's a FAX calling), and listen in for a second or
2 (with a Wait(2) instruction), then if it's an incoming FAX, asterisk
will jump to the fax extension, then you can Dial the hylafax extension,
etc.

Or if it's not a fax, at this point the caller is now paying for the call,
because you've answered it, so be nice to them - play a message, ring the
phones, etc.

Personally, for a simple installation like this, I'd install spandsp,
rxfax & txfax and not use hylafax, but if hylafax is something you're used
to then go that route...

Gordon
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services