From b62f45f16676750ce81ec80e6c6aa08afc005b29 Mon Sep 17 00:00:00 2001 From: klonfish Date: Sun, 27 Dec 2015 21:05:05 +0100 Subject: [PATCH] Added compatibility for versions greater than 3.8.x --- phoneinterface.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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