[Asterisk-Users] Autodetecting faxes
Howard Lowndes
lannet at lannet.com.au
Mon Feb 7 16:16:26 MST 2005
On Tue, 2005-02-08 at 09:49, Brian Dingman wrote:
> 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)
Apologies. I meant "You do have a context called "Fax"...?"
>
>
> 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
> >
> _______________________________________________
> 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
--
Howard.
LANNet Computing Associates;
Your Linux people <http://www.lannetlinux.com>
------------------------------------------
"When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft."
------------------------------------------
"Flatter government, not fatter government;
Get rid of the Australian states."
More information about the asterisk-users
mailing list