tis-3cxphone6

6.26523-7
3CXPhone for 3CX Phone System Version 11
143 downloads
Download

  Description 

  • package : tis-3cxphone6
  • version : 6.26523-7
  • architecture : all
  • categories : Office
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Kevin Guerineau
  • description : 3CXPhone for 3CX Phone System Version 11
  • locale : all
  • target_os : windows
  • min_os_version : 4.0
  • max_os_version :
  • min_wapt_version : 1.7
  • sources : https://www.3cx.com/phone-system/download-links/
  • installed_size :
  • impacted_process : 3CXPhone,3CXPhoneLookup
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : 3CX
  • licence : Proprietary
  • signature_date : 2020-07-10T18:14:39.055000
  • Homepage : https://www.3cx.com/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
try:
    import bs4 as BeautifulSoup
except:
    import BeautifulSoup
import requests
import platform

uninstallkey = []

# Installation procedure: https://www.3cx.com/docs/manual/phone-system-installation-windows

# Defining variables
bin_name= '3CXPhone6.msi'

pbx_ip = '192.168.100.100'
pbx_fqdn = 'pbx.ad.domain.lan'
app_dir = makepath(programfiles32,'3CXPhone')


def install():
    # Initializing variables
    package_version = control.version.split('-')[0]

    # Installing the package
    install_msi_if_needed(bin_name
        ,min_version=package_version)


def update_package():
    print('Download/Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    # Initializing variables
    app_name = control.name
    version = control.version.split('-')[0]
    url_dl = 'https://downloads-global.3cx.com/downloads/3CXPhone6.msi'
    
    latest_bin = bin_name

    #print("Latest %s version is: %s" % (app_name,version))
    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if isfile(latest_bin):
        remove_file(latest_bin)
    if not isfile(latest_bin):
        print('Downloading: %s' % latest_bin)
        wget(url_dl,latest_bin,proxies=proxy)

        # Changing version of the package
        control.version = '%s-%s'%(version,int(control.version.split('-')[-1])+1)
        control.save_control_to_wapt()
        print('Changing version to: %s in WAPT\\control' % control.version)

    # Deleting outdated binaries
    for bin_in_dir in glob.glob('*.exe') or glob.glob('*.msi'):
        if bin_in_dir != latest_bin:
            print('Outdated binary: ' + bin_in_dir + ' Deleted')
            remove_file(bin_in_dir)




										

  Changelog 


Changelog software url : https://www.3cx.com/blog/change-log/3cxphone-build-history/

No changelog
  manifest.sha256 
[["WAPT/icon.png","47d2b95adfc759cb6b7433b267a32ee7e105a91c4a3d06ac4d4526b0756fa6bd"],["3CXPhone6.msi","abc2869c39480f0040d872679b961bcd565db1d8fd1f79de99fefc78a88d10cf"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["setup.py","b8ba80b5a7122b200ea7bfcaa901ecc3d9e107f8942fc57260fb0b2afb3ced05"],["WAPT/control","4af1f7087f13fa0cfc3ff2c1002b78013ef05688760a1f12bc81dfd53c0d98cc"]]