2b65daff7f
Fixed issue #8 by adding a 5sec delay with time.sleep(5) to multitam(). Request for messages was too fast so that the new message wasn't in it yet.
Homer S2021-07-22 09:31:59 +02:00
3a32e64719
Merge branch 'master' into everycall
Homer S2021-07-16 20:54:48 +02:00
97eb34814f
Some more fixes on docker build related files.
Homer S2021-07-14 21:44:11 +02:00
60adf393ef
Further corrections on docker build related files.
Homer S2021-07-14 21:08:24 +02:00
d91095dcf8
olm-dev was missing in the Dockerfile to build cryptography of matrix-commander.
Homer S2021-07-14 20:30:06 +02:00
1949f9f84a
Corrected the python-magic item (typo). Also if one doesn't upgrade the requirements matrix-nio won't work.
Homer S2021-07-14 19:29:28 +02:00
b7fdd6e0e6
Added some condtions to prevent script from breaking if list of missed calls is empty.
Homer S2021-07-14 19:27:39 +02:00
0e85b61868
Merge with multitam branch.
Homer S2021-07-07 22:31:05 +02:00
6389d61c28
Added an envdot variable FRITZ_TAM which takes a string with a json formated dictionary of the tam index as key and a matrix room id as value. The script for-loops now every TAM of the dictionary and posts message into the certain rooms. Also added a .env.sample file.
multitam
Homer S2021-07-07 21:43:24 +02:00
fe2ce2b420
Nothing to test up to now ...
Homer S2021-07-06 23:05:04 +02:00
dfe3543777
Test for fritzab2matrix.py
Homer S2021-07-06 17:16:00 +02:00
6f696bf970
File to import main file to tests.
Homer S2021-07-06 17:15:15 +02:00
25aeeb5c9b
Moved helper functions out of the main function.
Homer S2021-07-06 17:14:00 +02:00
d79b70213b
Corrected the FRITZ_VOICEBOX_PATH.
Homer S2021-07-01 00:37:23 +02:00
631957e55f
Additional remark about the FRITZ_VOICEBOX_PATH variable and use of USB storage with the TAM."
Homer S2021-07-01 00:18:02 +02:00
0ef1ea3f43
Corrected hashbang to /usr/bin/env python3 because the docker file couldn't interpret only 'python' ...
Homer S2021-07-01 00:04:06 +02:00
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.
Homer S2021-06-30 23:36:51 +02:00
8c4bb4e452
Add check if message_list is empty before entering for loop.
Homer S2021-06-30 23:21:43 +02:00
8c79991ae7
a['Name'] doesn't get an empty string but type None. So a check for its length led to a failure.
Homer S2021-06-30 21:54:50 +02:00
2f827d594c
I forgot to pull before I updated file. Merge branch 'master' of ssh://git.ismus.net:2222/homer77/FritzAB2Matrix
Homer S2021-06-30 21:06:19 +02:00
821e44e130
Added env variable FRITZ_VOICEBOX_PATH
Homer S2021-06-30 21:06:06 +02:00
2b96862b1f
* Added installation instructions to Readme * Added the volume directive to docker-compose.yml so that it points to the repository.
Homer S2021-06-29 23:03:32 +02:00
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
Homer S2021-06-29 14:26:04 +02:00
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
Homer S2021-06-29 00:27:27 +02:00
e4e5185735
* added meta data to ogg-file * only show callers name if it's delivered * mark some messages as unread for testing
Homer S2021-06-28 00:35:24 +02:00
77f06526ed
Updated the requirements.txt with the requirements of matrix-commander And removed 2 unnecessary packages.
Homer S2021-06-27 22:37:49 +02:00
2a11d8b1ba
Hint on matrix-commander.
Homer S2021-06-27 14:06:28 +02:00