Added compatibility for versions greater than 3.8.x
This commit is contained in:
parent
a6a82cfd87
commit
b62f45f166
|
@ -61,7 +61,10 @@ class PhoneInterface(object):
|
||||||
|
|
||||||
pconf = self.__core.create_proxy_config()
|
pconf = self.__core.create_proxy_config()
|
||||||
pconf.edit()
|
pconf.edit()
|
||||||
|
if self.__core.version < '3.9.0':
|
||||||
pconf.identity = p.identity
|
pconf.identity = p.identity
|
||||||
|
else:
|
||||||
|
pconf.identity_address = pconf.normalize_sip_uri(p.identity)
|
||||||
pconf.publish_enabled = False
|
pconf.publish_enabled = False
|
||||||
pconf.realm = p.realm
|
pconf.realm = p.realm
|
||||||
pconf.register_enabled = True
|
pconf.register_enabled = True
|
||||||
|
|
Loading…
Reference in a new issue