diff --git a/README.md b/README.md index 95a1942..7f629a1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Linux Fax Stack using Hylafax and t38modem. This guide was created using information from the opalvoid wiki (http://wiki.opalvoip.org/index.php?n=Main.HomePage) -## Softwarestack +## Software stack ### ptlib (legacy) library for doing a little bit of everything. @@ -15,9 +15,9 @@ This guide was created using information from the opalvoid wiki (http://wiki.opa Voice codec used by e.g. mumble. ### t38modem -Emulates a serial modem from SIP connetion +Emulates a serial modem from SIP connection -### Hylafax +### HylaFax Enterprise grade software, managing physical and emulated modems. Has some problems: https://github.com/lexbailey/compilerfax/blob/main/hylafax_is_broken @@ -32,7 +32,7 @@ For this guide we'll use ptlib 2.18.6 and opal 3.18.6. #### Installing Requirements First we'll need some packages ```bash -apt-get install build-essential git wget pkg-config libssl-dev libsrtp2-dev -y +apt-get install build-essential git wget pkg-config libssl-dev libsrtp2-dev libspandsp-dev -y ``` #### Download sourcecode Versions: @@ -56,7 +56,7 @@ make install ``` #### t38modem -If you are getting error about `-1` not being able to be casted to a `long unsigned int` due to `-Wnarrowing` inside `dle.cxx`, you can add `-Wno-narrowing` after the `CPPFLAGS` in the Makefile to disable this error +If you are getting error about `-1` not being able to be cast to a `long unsigned int` due to `-Wnarrowing` inside `dle.cxx`, you can add `-Wno-narrowing` after the `CPPFLAGS` in the Makefile to disable this error ```bash git clone https://github.com/hehol/t38modem @@ -245,6 +245,9 @@ sudo chmod 700 -R /etc/t38modem/config/ - Pitfalls: - If you are already connected to your SIP server it may not give proper response codes. My provider returns `500 Internal Server Error` - Test the command before running the init script! + - Do not try to used `ATO` to switch to a data connection, t38modem will return `ERROR`. + Thats hardcoded in `pmodeme.cxx` in `void ModemEngineBody::HandleCmdRest(PString &resp)`. + Dont let that hodld you back. ### systemd service If you want to run a fax server, you can create a systemd service template to let your emulated fax modem start automatically on system boot. @@ -277,16 +280,14 @@ sudo systemctl start t38modem@XX.service