Commit Graph

15 Commits

Author SHA1 Message Date
Homer S. 0e85b61868 Merge with multitam branch. 2021-07-07 22:31:05 +02:00
Homer S. fe2ce2b420 Nothing to test up to now ... 2021-07-06 23:05:04 +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. 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