2 [[ -e $HOME/.sipgate.de
]] && .
$HOME/.sipgate.de
4 [[ -z $user ]] && exit 3
5 [[ -z $pass ]] && exit 3
7 faxi
=/opt
/corvix
/lib
/sipgateAPI-fax.pl
10 echo " arg1: number in format 49..."
11 echo " arg2: file.pdf"
13 [[ ! -x $faxi ]] && exit 2
18 [[ -e $file ]] ||
exit 1
20 pdftops
$file - | ps2pdf
- - > $file.good.pdf
21 $faxi $user $pass $no $file.good.pdf