Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account: username:password is now disabled please use ;auth_pass=xxx instead #6

Open
aleh4d opened this issue Jul 12, 2021 · 3 comments

Comments

@aleh4d
Copy link

aleh4d commented Jul 12, 2021

Tried to call to Linphone, got error in log:
18:31:56.752 - baresipy:run:289 - DEBUG - Creating UA for sip:adushkin1:**********@sip.linphone.org ...
18:31:56.754 - baresipy:run:289 - DEBUG - account: username:password is now disabled please use ;auth_pass=xxx instead

From Log:

CODE:
from baresipy import BareSIP
from time import sleep

to = "[email protected]"

gateway = "sip.linphone.org"
user = "adushkin1"
pswd = "*********"

class JokeBOT(BareSIP):
def handle_incoming_call(self, number):
self.accept_call()

def handle_call_established(self):
    self.speak("Welcome to the jokes bot")
    self.speak(get_joke())
    self.speak("Goodbye")
    self.hang()

b = JokeBOT(user, pswd, gateway, None, True)

b.call(to)

while b.running:
sleep(0.5)
if b.call_established:
b.send_dtmf("123")
b.speak("this is jarbas personal assistant speaking. this was a test")
b.speak("Goodbye")
b.hang()
b.quit()

@JarbasAl
Copy link
Member

this depends on the baresip version running on host, but should have been fixed with #1

i will look into it

@haricane8133
Copy link

Hi @JarbasAl, the same issue is happening to me as well. I think that though the code is updated with #1, a new package was not published.

Could you please publish a new major version of baresipy with the new code?

I am at version 0.1.4

@haricane8133
Copy link

Hi @JarbasAl, @JarbasAI - Could you please help here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants