Commit Graph

11 Commits

Author SHA1 Message Date
Homer S. 0ef1ea3f43 Corrected hashbang to /usr/bin/env python3 because the docker file couldn't interpret only 'python' ... 2021-07-01 00:04:06 +02:00
Homer S. adc9eb0a3b Changed main() to fritzab2matrix.py to not to mix up with the __main__ function. Also removed the while loop in the latter which didn't work despite of the recursive function. Also removed the recursive ended_call(main, env_ip) because that broke the script on one tested machine. 2021-06-30 23:36:51 +02:00
Homer S. 8c4bb4e452 Add check if message_list is empty before entering for loop. 2021-06-30 23:21:43 +02:00
Homer S. 8c79991ae7 a['Name'] doesn't get an empty string but type None. So a check for its length led to a failure. 2021-06-30 21:54:50 +02:00
Homer S. 2f827d594c I forgot to pull before I updated file.
Merge branch 'master' of ssh://git.ismus.net:2222/homer77/FritzAB2Matrix
2021-06-30 21:06:19 +02:00
Homer S. 821e44e130 Added env variable FRITZ_VOICEBOX_PATH 2021-06-30 21:06:06 +02:00
Homer S. f5ca730734 Changed to a less environment specific Hashbang. 2021-06-30 00:39:52 +02:00
Homer S. 654f6720fa * had a hard time with docker image only to find out in the end - after hours - that I commented out the matrix-commander command for testing purposes :see-no-evil:
* There is still testing if I use ENTRYPOINT in the _Dockerfile_ or only entrypoint in the _docker-compose.yml_ as the latter worked well and without any problem.
* fritzab2matrix.py is now executable (WATCHOUT! The hashbang points to your system's python3 NOT to your virtualenv where the dependencies are met!)
* the monitoring is now part of the main function
2021-06-29 14:26:04 +02:00
Homer S. a086cd15eb * Added docker folder to repo
* Ubuntu based docker file can be build from the repo's root by
   ```
   docker-compose -f docker/docker-compose.yml build
   ```
   * and started by
   ```
   docker-compose -f docker/docker-compose.yml build
   ```
 * Restructured code by packaging the CallMonitoring and SpeexConverting
 * main() runs on startup and then watches for disconnected calls as trigger for running again.
 * Commented main file
2021-06-29 00:27:27 +02:00
Homer S. e4e5185735 * added meta data to ogg-file
* only show callers name if it's delivered
 * mark some messages as unread for testing
2021-06-28 00:35:24 +02:00
Homer S. 0f3e1316bc Initial commit 2021-06-27 14:01:20 +02:00