Exemplo n.º 1
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(
             u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config,
                                        u'cisco',
                                        entry_point=u'menu')
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 2
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(
             u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config,
                                        u'yealink',
                                        entry_point=u'lookup',
                                        qs_suffix=u'term=#SEARCH')
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 3
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, "add_xivo_phonebook_url") and raw_config.get(u"config_version", 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u"cisco", entry_point=u"menu")
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 4
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(
             u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u'aastra')
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 5
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u'polycom')
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 6
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u'thomson', entry_point=u'lookup', qs_suffix=u'term=#SEARCH')
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 7
0
 def _add_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(
             u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u'fanvil')
Exemplo n.º 8
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, "add_xivo_phonebook_url") and raw_config.get(u"config_version", 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u"snom")
     else:
         self._add_xivo_phonebook_url_compat(raw_config)
Exemplo n.º 9
0
 def _add_xivo_phonebook_url(self, raw_config):
     if hasattr(plugins, 'add_xivo_phonebook_url') and raw_config.get(u'config_version', 0) >= 1:
         plugins.add_xivo_phonebook_url(raw_config, u'cisco', entry_point=u'menu')
     else:
         self._add_xivo_phonebook_url_compat(raw_config)