Fix account registration with linphone
This commit is contained in:
parent
4f88ff760f
commit
d0b3fc4780
|
@ -60,10 +60,7 @@ class PhoneInterface(object):
|
||||||
|
|
||||||
# Create and add all proxy configs
|
# Create and add all proxy configs
|
||||||
for p in config.proxies:
|
for p in config.proxies:
|
||||||
ainfo = self.__core.create_auth_info(p.username, p.username,
|
aid = self.__core.register(p.identity, p.proxy, p.password, p.username) # sip:XXXX@hg.eventphone.de, hg.eventphone.de, MySecretPassword, XXXX
|
||||||
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
|
|
||||||
|
|
||||||
self.__audioproc = None
|
self.__audioproc = None
|
||||||
aplay = subprocess.Popen(['aplay', '-qD%s' % config.sound_device],
|
aplay = subprocess.Popen(['aplay', '-qD%s' % config.sound_device],
|
||||||
|
|
Loading…
Reference in a new issue