diff --git a/phoneinterface.py b/phoneinterface.py index c4473c0..f572db2 100644 --- a/phoneinterface.py +++ b/phoneinterface.py @@ -61,7 +61,10 @@ class PhoneInterface(object): pconf = self.__core.create_proxy_config() pconf.edit() - pconf.identity = p.identity + if self.__core.version < '3.9.0': + pconf.identity = p.identity + else: + pconf.identity_address = pconf.normalize_sip_uri(p.identity) pconf.publish_enabled = False pconf.realm = p.realm pconf.register_enabled = True