Commit Graph

29 Commits

Author SHA1 Message Date
Homer S. 6f696bf970 File to import main file to tests. 2021-07-06 17:15:15 +02:00
Homer S. 25aeeb5c9b Moved helper functions out of the main function. 2021-07-06 17:14:00 +02:00
Homer S. 9e6e294491 Fixed #4 by appending a single message to list. 2021-07-01 20:44:29 +02:00
Homer S. 57243129a3 gitignore emacs autosave files 2021-07-01 19:32:42 +02:00
Homer S. 1aa3662f39 Corrected README.md
I used the wrong option with pip install. Now it's correctly pip install --upgrade pip.
2021-07-01 09:51:43 +02:00
Homer S. d79b70213b Corrected the FRITZ_VOICEBOX_PATH. 2021-07-01 00:37:23 +02:00
Homer S. 631957e55f Additional remark about the FRITZ_VOICEBOX_PATH variable and use of USB storage with the TAM." 2021-07-01 00:18:02 +02:00
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. 3b2fc819ce Merge branch 'master' of https://git.ismus.net/homer77/FritzAB2Matrix 2021-06-30 20:13:26 +02:00
Homer S. 4d03ec33d9 Added truncation for credentials keyword 2021-06-30 20:11:45 +02:00
Homer S. f5ca730734 Changed to a less environment specific Hashbang. 2021-06-30 00:39:52 +02:00
Homer S. 74976133fd Corrected markdown. 2021-06-29 23:21:17 +02:00
Homer S. 39c2fd6b4a Corrected markdown. 2021-06-29 23:19:51 +02:00
Homer S. cae5a40d52 Corrected markdown. 2021-06-29 23:17:27 +02:00
Homer S. 77d5c633b2 Corrected markdown. 2021-06-29 23:11:29 +02:00
Homer S. bcd26f95f2 Corrected markdown. 2021-06-29 23:10:07 +02:00
Homer S. 2b96862b1f * Added installation instructions to Readme
* Added the volume directive to docker-compose.yml so that it points to the repository.
2021-06-29 23:03:32 +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. 77f06526ed Updated the requirements.txt with the requirements of matrix-commander
And removed 2 unnecessary packages.
2021-06-27 22:37:49 +02:00
Homer S. 2a11d8b1ba Hint on matrix-commander. 2021-06-27 14:06:28 +02:00
Homer S. 0f3e1316bc Initial commit 2021-06-27 14:01:20 +02:00
Homer S. a5a824b977 Initial commit 2021-06-25 14:39:45 +02:00