After everything is compiled, I got an error about saying the Dongleman "Message pool should be a valid directory, got /tmp/dongleman/spool"
/nix/store/041r220sp8pfiv9i0pmymyg0j845zd8q-python-scripts-1.0/bin/.dongleman_daemon.py-wrapped
line 25: SPOOL="/tmp/dongleman/spool"
line 26: assert isspool(SPOOL), f"Message pool should be a valid directory, got {SPOOL}"
I confirmed that the folder /tmp/dongleman/spool existed, after going through the python module (asterisk-dongle-setup/python/lib/dongleman/spool.py), I could see that the python module is already assuming that the /tmp/.
So I commented out line 26 and dealt with the errors:
It wanted the following directories:
sudo mkdir -p '/tmp/dongleman/spool/tmp'
sudo mkdir -p '/tmp/dongleman/spool/queue'
sudo mkdir -p '/tmp/dongleman/spool/attaches'
After everything is compiled, I got an error about saying the Dongleman "Message pool should be a valid directory, got /tmp/dongleman/spool"
/nix/store/041r220sp8pfiv9i0pmymyg0j845zd8q-python-scripts-1.0/bin/.dongleman_daemon.py-wrapped line 25: SPOOL="/tmp/dongleman/spool" line 26: assert isspool(SPOOL), f"Message pool should be a valid directory, got {SPOOL}"
I confirmed that the folder /tmp/dongleman/spool existed, after going through the python module (asterisk-dongle-setup/python/lib/dongleman/spool.py), I could see that the python module is already assuming that the /tmp/.
So I commented out line 26 and dealt with the errors: It wanted the following directories: sudo mkdir -p '/tmp/dongleman/spool/tmp' sudo mkdir -p '/tmp/dongleman/spool/queue' sudo mkdir -p '/tmp/dongleman/spool/attaches'
I hope that that workaround is correct