Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import suds
- from configobj import ConfigObj
- cspconfigfile = ConfigObj (config_file)
- csp_cmserver = cspconfigfile['CUCM']['server']
- csp_username = cspconfigfile['CUCM']['user']
- csp_password = cspconfigfile['CUCM']['pass']
- csp_version = cspconfigfile['CUCM']['version']
- # For GNU/Linux
- wsdl = 'file:///var/www/schema/CUCM/current/AXLAPI.wsdl'
- csp_location = 'https://' + csp_cmserver + ':8443/axl/'
- # Tiempo de inicio de ejecucion.
- csp_soap_client = Client(wsdl,location=csp_location, username=csp_username, password=csp_password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement