Giter VIP home page Giter VIP logo

briasoftphonecontacts's Introduction

Bria Softphone Contacts

Import global contacts into the Bria Softphone client using an XML source URL.

Usecase

Bria Softphone client does not facilitate the option to centrally import a contact list for all users. This Python script fixes that shortcoming.

Parameter

BriaImportContacts.exe [url]
Example: BriaImportContacts.exe https://example.com/folder/contacts.xml

How it works

The Python script will read the contents of an XML file from a URL (parameter) and import it into the contact list of the local Bria user. The contacts file is an SQL Lite file which we can freely interact with. Before importing the XML file records the program will delete old imported records. Updates in the XML file will therefor get reflected after running this tool again. A good usecase is to run this program at startup of your endpoints.

The script also changes two settings in the user.config XML file:

  • ContactPanelShowGroups is set to False
  • ContactPanelSortByPresence is set to False
  • LoginRememberDetails is set to True

You can comment this out, or add your own centralized settings.

The script creates a log file that you can use to debug any potential issues at %temp%\briaimportlog.txt.

XML format

The script uses a slightly modified version of the CiscoIPPhoneDirectory XML format. Check the example in the project folder.

Limitations

  • Only tested on Windows 11.
  • User needs to at least log into the Bria client once for the correct folders and files to be created which this script can modify.
  • All contacts added by this script are readonly by design. They can not be changed, but can be deleted by the end-user. Running the script again will restore the deleted contact.
  • This script is only ever tested on a single Bria environment. Use at your own risk! If for some reason the contacts database does get corrupted, deleting contacts.db and restarting the Bria client will create a new database.

briasoftphonecontacts's People

Contributors

chaozznl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.