Jumping Bean's modified install-ZAPHFC script for trixbox and asterisk
At Jumping Bean we use Asterisk via the Trixbox distribution as our PBX server. We recently upgraded to Trixbox 2.2.1 which uses Asterisk 1.2.18. Our BRI ISDN lines link into several cheap Duxbury ISDN cards.
When using these cards with Trixbox the "install-ZAPHFC" script needs to be run patch asterisk and compile the drivers. The current "install-ZAPHFC" script however does not have spandsp and rxfax support built in.
Given the scripts lack of support for spandsp and therefore faxing we adjusted the script to get it to compile the neccessary moduels.
To run:
- download the modified "install-ZAPHFC" script,
- backup your existing script under /usr/local/sbin/install-ZAPHFC"
- copy the downloaded script to /usr/local/sbin, and
- run the script as usual.
You don't need to download the other files attached as they will be automatically pulled in by the script but if you are having connectivity problems feel free to install them manually.
Please note:
- We have only tried this script in our offices on trixbox 2.2.1,
- If you have more than one ISDN card in the box then you will need to use the Florz patch. To get this run "install-ZAPHFC -f t" This will install asterisk 1.2.14 but it works. If you get half page, incomplete, or poor quality faxes this will probably sort it out,
- The usual disclaimers apply,
- We did not write the original script the credit belongs to another person (link will be provided),
- We will try and submit this back to the orignal script creator,
- We didn't write the spandsp code that was done by the kind folks at soft-switch,
- We provide the apps_Makefile.patch here for convenience as it appears to no longer be available on the soft-switch site.
Note:Version 0.2 has the function which downloads the latest version of install-ZAPHFC commented out. Otherwise the script doesn't work once a new version of the original is released. If I get time I will come up with a better solution.
| Attachment | Size |
|---|---|
| apps_Makefile.patch | 1.25 KB |
| install-ZAPHFC_version-0.1 | 65.35 KB |
| install-ZAPHFC_version-0.2 | 65.39 KB |