[Asterisk-Users] Autodetecting faxes

Brian Dingman bdingman at gmail.com
Mon Feb 7 17:16:18 MST 2005


No, the fax extension position is at the end... Does it matter?

show dialplan is as follows for the fax extension:

[ Context 'fax' created by 'pbx_config' ]
  'h' =>            1. system(/usr/local/bin/sendEmail -q -f ${FROM}
-t ${TO} -u ${SUBJECT} -a ${FAXFILE} -m ${MESSAGE}) [pbx_config]
                    2. Hangup()                                   [pbx_config]
  's' =>            1.
SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) [pbx_config]
                    2. SetVar(FROM=emailaddress)           [pbx_config]
                    3. SetVar(TO=emailaddress)                [pbx_config]
                    4. SetVar(MESSAGE=Fax is attached)            [pbx_config]
                    5. SetVar(SUBJECT=New Fax Received)           [pbx_config]
                    6. rxfax(${FAXFILE})                          [pbx_config]


On Mon, 07 Feb 2005 16:35:32 -0700, Michael Welter <mike at introspect.com> wrote:
> Adrian Chapman wrote:
> 
> > 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>
> >
> Is the position of the fax extension, between priorities 3 and 4,
> significant?  What does 'show dialplan' display for the fax extension?
> _______________________________________________
> 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