[Asterisk-Users] fax autoanswer
Raul Elizondo (wizardteam)
rauleli at wizardteam.com
Mon Sep 20 19:29:08 MST 2004
Hi Adam,
Thanks for anwer. Actually, i got an answer. Lemme show the full
process...
;this is where my zap/3 context points to
[incoming]
exten => s,1,Answer
exten => s,2,wait(1)
exten => s,3,Goto(bienvenida,s,1)
exten => t,1,Hangup
include => extensions
[bienvenida]
include => daytime|12:00-19:00
include => morningtime|00:00-11:59
include => nighttime|19:01-23:59
include => menu
;all other contexts ends comming back to [opciones]
;so there is an "Answer" before comming to [menu] or [opciones]
[menu]
exten => s,1,wait(1)
exten => s,2,Background(new/estas)
exten => s,3,Background(new/opciones)
exten => 1,1,Goto(explicacion,s,1)
exten => 2,1,Goto(extensions,101,1)
exten => 3,1,Goto(acuari,s,1)
exten => 4,1,goto(wizardteam,s,1)
exten => 5,1,Goto(fechayhora,s,1)
exten => 0,1,rxfax(/tmp/sample.tif)
exten => fax,3,rxfax(/tmp/sample.tif)
[opciones]
exten => s,1,wait(1)
exten => s,2,Background(new/opciones)
exten => 1,1,Goto(explicacion,s,1)
exten => 2,1,Goto(extensions,101,1)
exten => 3,1,Goto(acuari,s,1)
exten => 4,1,goto(wizardteam,s,1)
exten => 5,1,Goto(fechayhora,s,1)
exten => fax,1,rxfax(/tmp/sample.tif)
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Adam
> Goryachev
> Sent: Monday, September 20, 2004 8:01 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] fax autoanswer
>
>
> On Tue, 2004-09-21 at 11:52, Raul Elizondo (wizardteam) wrote:
> > Hi,
> >
> > I am a little bit confused about how extensions.conf recognice
> a fax tone.
> > For testing i got this in my home pbx:
> >
> > [opciones]
> > exten => s,1,wait(1)
> > exten => s,2,Background(new/opciones)
> > exten => 1,1,Goto(explicacion,s,1)
> > exten => 2,1,Goto(extensions,101,1)
> > exten => 3,1,Goto(acuari,s,1)
> > exten => 4,1,goto(wizardteam,s,1)
> > exten => 5,1,Goto(fechayhora,s,1)
> > exten => fax,1,rxfax(/tmp/sample.tif)
> >
> > but if someone calls from a fax, then the * should inmediatly
> recognize it
> > and send it to the rzfax app, right?
> >
> > Any hint?
>
> Answer the call first. "show application answer" at the asterisk CLI
>
> Regards,
> Adam
>
>
> _______________________________________________
> 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