[Asterisk-Users] Autodetecting faxes

Brian Dingman bdingman at gmail.com
Mon Feb 7 17:39:05 MST 2005


Here is my zapata.conf file for grins

[channels]
;
; X100P plugged into PSTN
;
context=fromPSTN
signalling=fxs_ks
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
relaxdtmf=yes
rxgain=4.5
txgain=0.0
immediate=no
busydetect=no
callprogress=no
musiconhold=default
usecallerid=no
callerid="Incoming" <000-000-0000>
;callerid=asreceived
channel => 1
faxdetect=both


On Mon, 7 Feb 2005 19:16:18 -0500, Brian Dingman <bdingman at gmail.com> wrote:
> 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]
> 
>



More information about the asterisk-users mailing list