Fix account registration with linphone

This commit is contained in:
klonfish 2020-12-28 19:56:39 +00:00
parent 4f88ff760f
commit d0b3fc4780
1 changed files with 1 additions and 4 deletions

View File

@ -60,10 +60,7 @@ class PhoneInterface(object):
# Create and add all proxy configs
for p in config.proxies:
ainfo = self.__core.create_auth_info(p.username, p.username,
p.password, None, p.realm,
None)
aid = self.__core.register(p.username, p.proxy_address, p.password, p.username) # sip:XXXX@hg.eventphone.de, hg.eventphone.de, MySecretPassword, XXXX
aid = self.__core.register(p.identity, p.proxy, p.password, p.username) # sip:XXXX@hg.eventphone.de, hg.eventphone.de, MySecretPassword, XXXX
self.__audioproc = None
aplay = subprocess.Popen(['aplay', '-qD%s' % config.sound_device],