[Asterisk-Users] Autodetecting faxes

Brian Dingman bdingman at gmail.com
Mon Feb 7 15:49:07 MST 2005


I am having the same problems. No matter what I try, * won't detect
faxes. I have faxdetect=both in zaptel.conf and my extensions.conf
looks like this:

[fromPSTN]
exten => s,1,Answer
exten => s,2,DigitTimeout(2)
exten => s,3,ResponseTimeout(10)
exten => s,4,Wait(3)
exten => s,5,Background(custom/ivr-greeting)

exten => i,1,Wait(1)
exten => i,2,Background(pbx-invalid)   ; "That's not valid, try again"
exten => i,3,Goto(s,5)

exten => t,1,Background(goodbye)
exten => t,2,Hangup

exten => fax,1,Goto(fax,s,1)


On Sun, 06 Feb 2005 20:42:07 +0000, Adrian Chapman <adrian at trivas.co.uk> wrote:
> What we found was that the fax/voice decision was being made before the
> intermittent "beep------beep------beep" fax tone was being generated, so
> it wasn't being detected.
> 
> Changing the order of things in extensions.conf around a smidge got it
> all working nicely :-
> 
> [inbound-from-pstn]
> include => default
> exten => s,1,Answer
> exten => s,2,Wait,1
> exten => s,3,Playback(thank-you-for-calling-please-wait-a-moment)
> exten => fax,1,Macro(faxreceive)
> exten => s,4,<Do the normal phone call gubbins>
> 
> The wait allows the start of the Playback to be heard by the caller -
> without it, we were finding the first word clipped. That second plus the
> duration of the "Thank you for calling" message gives enough time for
> the roughly 2.5sec duration between fax beeps to repeat, no matter when
> it last fell compared to the answer.
> 
> We've not checked more into the three rings before answer, but there's
> been discussion (here? elsewhere?) that it's down to the wait for caller
> ID. Try turning that off. TBH, I *like* the three rings - as a caller,
> it psychologically gives you time to get your head in gear before the
> call's answered.
> 
> Besides - If you're ringing from a mobile, it also gives you time to
> physically put the phone to your ear...
> 
> --
> Adrian Chapman
> Director
> Trivas Ltd
> Business on the Move
> Mobility - Messaging - Infrastructure - Security - Remote Access
> 07796 690210 - 01582 626552
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list