[asterisk-users] setup for fax machine
Anthony Messina
amessina at messinet.com
Mon Oct 13 10:57:57 CDT 2008
On Monday 13 October 2008 01:25:12 am Gordon Henderson wrote:
> On Sun, 12 Oct 2008, sean darcy wrote:
> > Becasue of all the issues with fax over voip, we want to use pstn for
> > our fax machine, but not dedicate a line just to fax.
> >
> > I'm thinking of having asterisk answer the pstn line, check for fax
> > tones, and route appropriately. In zapata ( chan_dahdi ) set
> > faxdetect=incoming
> >
> > then the dial plan would have
> >
> > [incoming-pstn]
> > exten => fax,1,Dial(DAHDI/1) ; the fax machine
> > exten => fax,2,Hangup()
> >
> > exten => s,1,Answer()
> > exten => s,2,Dial(DAHDI/2) ; internal extension
> > .............
> >
> > Would this work? I'll need another TDM410 card to do this, so I'd like
> > some reassurance before I go purchase it.
>
> You need to Answer() the call first, then insert a Wait(2). During that
> time, asterisk will be listning for fax tone and jump to the fax extension
> if it hears them.
>
> So:
>
> exten => s,1,Answer()
> exten => s,n,Wait(2)
> Ringing()
> Dial(DAHDI/2)
> Hangup()
>
> and
>
> exten => fax,1,Dial(DHADI/1)
> exten => fax,n,Hangup()
>
would you also be able to detect fax tones during the Backgound app?
--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20081013/9a62a5be/attachment.pgp
More information about the asterisk-users
mailing list