FFGTK - a Fax / CAPI Client for Fritz!Box Fon

update 2011-02-14:

A recent version of ffgtk is contained in the repository ppa:stevi/ppa. To install it on Ubuntu 10.10 maverick do:

sudo add-apt-repository ppa:stevi/ppa
sudo aptitude update && sudo aptitude install ffgtk libcapi20

Then run ffgtk on the terminal and set up your box. (I had to use the auto detected device to get the button Forward activated and had to enter the password correctly at first try, otherwise it wouldn't connect and I had to restart the procedure.

old blog post:

FFGTK - compile source and install

sudo aptitude install libgtk2.0-dev libxml2-dev libcurl4-gnutls-dev libspandsp-dev intltool automake autoconf libnotify-dev libglib2.0-dev libgstreamer0.10-dev libtool checkinstall

I personally also needed:

sudo aptitude install libsndfile1-dev libasound-dev

The conflicting package libcapi20 has to be removed if installed:

sudo aptitude remove libcapi20

additional requirements ( http://wiki.ubuntuusers.de/ffgtk#Optionale-Pakete ):

  • libebook1.2-dev - dient der Integration des Adressbuches von Evolution
  • libgnome-keyring-dev - dient der Speicherung von Router-Passw├Ârtern im GNOME-Keyring anstatt in Konfigurationsdateien des Programmes

More:

  • MoreFunctionsForAddressbook - eine Erweiterung, die der Speicherung von Kontakt-Fotos im Thunderbird-Adressbuch dient
  • Tomboy Notiz Ersteller - ein Python Skript, was als Aktion genutzt werden kann, um bei eingehenden Anrufen eine Notiz anzulegen

So run:

sudo aptitude install libebook1.2-dev libgnome-keyring-dev

Now get the source from http://tabos.org/ffgtk/download.php:

Fritz Fun 0.7.91
libcapifax 0.7.3-jmb3
libcapi 3.0.5a
ffgtk-dial 0.3.1

cd ~/Downloads
mkdir ffgtk
cd ffgtk
wget http://tabos.org/ffgtk/download/ffgtk-0.7.91.tar.gz
wget http://tabos.org/ffgtk/download/capifax-0.7.3-jmb3.tar.bz2
wget http://tabos.org/ffgtk/download/libcapi20-3.0.5a.tar.bz2
wget http://tabos.org/ffgtk/download/ffgtk-dial-0.3.1.xpi
tar -xf ffgtk-0.7.91.tar.gz
tar -xf capifax-0.7.3-jmb3.tar.bz2
tar -xf libcapi20-3.0.5a.tar.bz2

Compile libcapi20 first and then libcapifax and install them (configure capifax with the spandsp version. For spandsp 0.0.5: ./configure --with-spandsp=5):

cd ~/Downloads/ffgtk
cd libcapi20
./configure
make
cd ../capifax-0.7.3
./configure --with-spandsp=5
make

cd ~/Downloads/ffgtk/libcapi20
sudo make install
cd ~/Downloads/ffgtk/capifax-0.7.3
sudo make install

Now proceed to ffgtk:

cd ~/Downloads/ffgtk/ffgtk-0.7.91
./autogen.sh
./configure
make
sudo make install

create fax printer To be able to send a fax from any program, you have to create a printer:

  • System -> Administration -> Printing
  • New
  • Connection: AppSocket/HP JetDirect
  • Hostname: localhost
  • Port: 9901
  • "Next"
  • Select Printer from Database: Generic -> Raw Queue

or:

lpadmin -p Fax -E -v socket://localhost:9901

resources

Comments