A dot net core minimal api application that allows phones or the CUCM "PRT Tool" to upload gun zipped tar files of logs. Ported from the Cisco PHP script.
Full instructions on how to set up a "Customer support upload URL" are contained in the link above. Make sure the URL you place in the text field is:
http://<YOUR SERVER URL AND PORT>/uploadFor an app this simple might as well just create a new web app project and then paste the contents of Program.cs into your project.
dotnet new create webWhen you are ready to publish:
dotnet publish -c Release -o ./publishThen copy the publish folder to your server. Please copy the web.config attribute maxAllowedContentLength to your published web.config file. Cisco seem to be recommending file upload sizes of at least 20MB.
Follow the Cisco instructions to include a customer support upload URL for your phone endpoints registered to CUCM. You can set this at the device level, Common Phone Profile window or Enterprise Phone Configuration window on CUCM. Use Problem Report Tool
This application has only been tested in a lab enviroment with a single CUCM publisher. Maximium file size tested was 6285 KB.
Guide to configuring a problem report tool URL.