sergei-mironov / asterisk-dongle-setup

Playground project aimed at setting up Asterisk server and the GSM stack on Nix.
29 stars 4 forks source link

Missing files and folders [resolved] #4

Closed AlphaJosh closed 2 years ago

AlphaJosh commented 2 years ago

As part of the compiling I found the following issues: Folder required to be created: asterisk-dongle-setup/app/robot2

File needs to be renamed: asterisk-dongle-setup/python/ari_test2.py --> asterisk-dongle-setup/python/ari_test.py

Also I had to bump up the ram to 4Gb and created a swap file: dd if=/dev/zero of=/swapfile1 bs=1024 count=1048576 chown root:root /swapfile1 chmod 0600 /swapfile1 mkswap /swapfile1 swapon /swapfile1 // Edit fstab file

nano /etc/fstab //Append the following line at the end of file

/swapfile1 none swap sw 0 0 // Check the swap is ready or not

free -m

sergei-mironov commented 2 years ago

Ari_test is not used if I remember correctly. Try to just ignore it.

sergei-mironov commented 2 years ago

Ah, just noticed that you mentioned robot2 files. They are missing, but are currently used. I think I should replace it back with the original Lenny. The idea is to replace all the mentions of robot-sound-files with lenny-sound-files, but one also need to replace patterns ("Phrase_" -> "Lenny") accordingly. Will send a patch.

sergei-mironov commented 2 years ago

Missing robot2 issue should be resolved now. ari_test2 should not be in use. As for swap, I don't think it is related to this project. RAM requirements should be moderate, but I never checked nor run into troubles with it.. Please reopen if not fixed.