Examples don't work
You provide 2 example scripts, neither of which work (using either baresip 1.0.0 or 1.1.0 on Ubunto 20.04)
./spam_call.py 15:15:23.190 - baresipy:_handle_no_accounts:251 - DEBUG - No accounts setup 15:15:23.190 - baresipy:login:64 - INFO - Adding account: +442083XXXXXX 15:15:23.243 - baresipy:handle_ready:262 - INFO - Ready for instructions
And then nothing. No call placed,
./joke_bot.py 15:19:45.951 - baresipy:_handle_no_accounts:251 - DEBUG - No accounts setup 15:19:45.951 - baresipy:login:64 - INFO - Adding account: +2083XXXXXX 15:19:46.004 - baresipy:handle_ready:262 - INFO - Ready for instructions
And then nothing. No calls answered.
Ubuntu 21.04 Hard remembering what year it is...
This fixes account login:
--- init.py.orig 2021-10-02 22:11:45.157543046 +0100 +++ init.py 2021-10-02 22:12:47.813325838 +0100 @@ -25,7 +25,7 @@ self.tts = tts else: self.tts = ResponsiveVoice(gender=ResponsiveVoice.MALE)
-
self._login = "sip:{u}:{p}@{g}".format(u=self.user, p=self.pwd,
-
self._login = "<sip:{u}@{g}>;auth_pass={p}".format(u=self.user, p=self.pwd, g=self.gateway) self._prev_output = "" self.running = False
Now the speech doesn't work...
The scripted call example shows the log messages that it is speaking, and there are delays which seem to correspond with speaking the text, but the call doesn't contain the text
Hi @adsbenham , Were you ever able to get the text to speech working?