Thanks for your help , We have a Batch of these with the same issue , and not even the settings will erase , so were going to RMA them.. cheers
... View more
I Have successfully uploaded a file with the UCCX API's using Postman using the two-step process UPLOAD and save and it works well. However, I have to now convert this into a working VBScript ASP. I have had some success in the fact that on upload I get a success 201 however I hit an issue when I'm trying to save the file the correct directory in the repository. Any help would be great, I'm so stuck now..
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><apiErrors><apiError><errorData>InternalServerError</errorData><errorMessage>:upload:failed:/en_GB/XMLFILES/88000805.XML</errorMessage><errorType>InternalServerError</errorType></apiError></apiErrors>
this is the code I use to upload and save -
'Session ("username") provides the filename-88000805
SaveXMLPath = "../XML/" & (Session ("username") & ".XML")
strXMLFile = server.MapPath(SaveXMLPath) fileNameString = (Session ("username") & ".XML")
fileandpath = chr(34) & strXMLFile & chr(34) 'Create Stream object Dim requestbody Dim BinaryStream Set BinaryStream = CreateObject("ADODB.Stream") Set HTTP1 = CreateObject("MSXML2.XMLHTTP") BinaryStream.Type = 2 BinaryStream.CharSet = "UTF-8" 'Open the stream BinaryStream.Open 'Load the file data from disk To stream object BinaryStream.LoadFromFile strXMLFile 'Open the stream And get data from the object fileContents = BinaryStream.ReadText
requestbody = requestbody & "--------------------------508309700500341664831116" & vbCrLf & "Content-Disposition: form-data; name=""file""; filename=" & fileandpath & vbCrLf & "Content-Type: application/xml" & vbCrLf & fileContents & vbCrLf & "--------------------------508309700500341664831116" & vbCrLf & "Content-Disposition: form-data; name=""mimetype""" & vbCrLf & vbCrLf & "multipart/form-data" & vbCrLf & "--------------------------508309700500341664831116--"
HTTP1.Open "POST", ("http://test-itps-uccx01.test.local/adminapi/document/uploadFile/") , false HTTP1.setRequestHeader "cache-control", "no-cache" HTTP1.setRequestHeader "Authorization", "Basic stringstringstringstringstringstring=" HTTP1.setRequestHeader "Accept" , "*/*" HTTP1.setRequestHeader "Host" , "test-itps-uccx01.test.local" HTTP1.setRequestHeader "accept-encoding", "gzip, deflate" HTTP1.setRequestHeader "content-type", "multipart/form-data; boundary=------------------------508309700500341664831116" HTTP1.setRequestHeader "content-length" , len(requestbody) HTTP1.send requestbody
Response.write " UPLOAD" & len(requestbody) & fileContents & vbCrLf & HTTP1.responseText
BinaryStream.Close Set BinaryStream = nothing
dteWait = DateAdd("s", 2, Now()) Do Until (Now() > dteWait) Loop dteWait = null
' ---- put upload file to document store in UCCX ----
Set HTTP2 = CreateObject("MSXML2.XMLHTTP")
HTTP2.Open "POST", ("http://test-itps-uccx01.test.local/adminapi/document/") , false
HTTP2.setRequestHeader "cache-control", "no-cache" HTTP2.setRequestHeader "Authorization", "Basic stringstringstringstringstringstring=" HTTP2.setRequestHeader "Content-Type", "application/xml" HTTP2.send "<?xml version=""1.0"" encoding=""UTF-8""?>" & vbCrLf & "<Files xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""" & vbCrLf & "xsi:noNamespacesSchemaLocation=""../adminapi/src/main/resources/xsd/Files.xsd"">" & vbCrLf & "<Document>" & vbCrLf & "<File>" & vbCrLf & " <path>/en_GB/XMLFILES/</path>" & vbCrLf & "<FileName>" & fileNameString & "</FileName>" & vbCrLf & "</File>" & vbCrLf & "</Document>" & vbCrLf & "</Files>"
Response.write " SAVE" & vbCrLf & HTTP2.responseText & vbCrLf
... View more
I have a customer with a very old cat 4006 and we have a job to upgrade it. The config is massive and as i remember years ago there was a CatOS to IOS converter in the support tools.. Does anyone know were this is now? i have looked on other posts and all the links are dead..
... View more
I have just installed WFM on 2008 64bit OS with an external NAS and SQL. All services are running apart from the ACC service. I can’t find any ACC relevant log files to give me a clue as to what is going wrong. When I try to start the service all I get is from the event viewer- Timeout (30000 milliseconds) waiting for the Workforce Management ACC Service service to connect.
... View more
I’m using QM 8.0.2 and I have an issue were the voice/screen doesn't upload to server. I've configured upload setting and QM workflow and the archive to upload on every call. The server is configured with a SAN as storage and the PC sqmservice logs suggest that its failing due to FTP?? The SAN don’t have FTP I’m confused or I’m missing something. I have files recorded in - C:\program files\cisco\common files\sqm\recordings\daily so its not a recording issue ( I thank)..
... View more
I'm trying to configure meetingplace express so that the default Type of user will be attendee and not End User, this can't be done in the profile configuration. Has anyone any idea how to do this ?
... View more
Did anyone manage to find out why tftp upgrades from callmanager didn,t work. I have the same problem and i can't use the sata186 method as all sites are remote..?
... View more
I had a similar problem which turned out to be how i was naming the cti ports in the description and MAC Fields, but I'm not sure if it was error. I used - NUMBER OF LINES,MAC ADDRESS,DESCRIPTION,DEVICE POOL,CSS,USER ID,DIRECTORY NUMBER,PARTITION,VOICE MAIL PROFILE,LINE CSS,LINE TEXT LABEL,ALERTING NAME 1,CTI-PORT-3500,CTI-PORT-3500,WCI-DEFAULT-G711,Device-Level-Access-Full,jtapi,3500,APPLICATION-PART,NoVoiceMail,Group-3-Line,CallCenter Port 3500,CallCenter 3500 This seemed to work Si
... View more
I had a similar problem with using underscores (_) in the CallManager computer name, it was something to do with being unsupported in DNS. I had to change the short cuts to browse the CCM ip address instead of the computer name and this worked fine. For example http://ccm_pub/CCMAdmin - didnt work http:// /CCMAdmin - worked fine
... View more
Im seeing a problem with mute in that after 50 60 second of muting a call, the call is dropped. This happens to on-net and off-net calls, CCM version - 3.3(3) but I have seen this in 3.2 also.. Anyone seen this before ??
... View more