tis-3cxphone

16.3.0.179-4
3CX Softphone – Your VoIP Softphone for Windows
1545 downloads
Download

  Description 

  • package : tis-3cxphone
  • version : 16.3.0.179-4
  • architecture : all
  • categories : Office
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Kevin Guerineau
  • description : 3CX Softphone – Your VoIP Softphone for Windows
  • locale : all
  • target_os : windows
  • min_wapt_version : 1.7
  • sources : https://www.3cx.com/phone-system/download-links/
  • installed_size :
  • impacted_process : 3CXClickToCall,3CXWin8Phone,CallTriggerCmd,DotNetScriptConfig,TcxPhoneUpdater
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : 3CX
  • licence : Proprietary
  • signature_date : 2020-09-23T10:01:22.144056
  • 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_string = '3CXPhoneforWindows%s.msi'

pbx_ip = '192.168.100.100'
pbx_fqdn = 'pbx.ad.domain.lan'
app_dir = makepath(systemdrive,'ProgramData','3CXPhone for Windows','PhoneApp')


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

    # 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
    url = control.sources

    # Getting latest version from official website
    page = requests.get(url,proxies=proxy,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64)'}).text
    bs = BeautifulSoup.BeautifulSoup(page)
    bs_read = bs.findAll('a')
    for link in bs_read:
        if link.text == 'Download the Windows app':
            url_dl = link['href']
    
    latest_bin = url_dl.split('/')[-1]

    #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)

        # Checking version from file
        version = get_msi_properties(latest_bin)['ProductVersion']
        print('Latest ' + app_name + ' version is: ' + version)

        # 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.txt.
									
  manifest.sha256