baresipy icon indicating copy to clipboard operation
baresipy copied to clipboard

Examples don't work

Open adsbenham opened this issue 4 years ago • 4 comments

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.

adsbenham avatar Sep 22 '21 14:09 adsbenham

Ubuntu 21.04 Hard remembering what year it is...

adsbenham avatar Sep 22 '21 16:09 adsbenham

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...

adsbenham avatar Oct 02 '21 21:10 adsbenham

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

adsbenham avatar Oct 03 '21 14:10 adsbenham

Hi @adsbenham , Were you ever able to get the text to speech working?

premudeshi avatar Apr 19 '22 21:04 premudeshi