A dot net core minimal api application to change Ad hoc conference names on a Cisco Meeting Server (CMS). For deployments where CUCM (Cisco Unified Communications Manager) creates the conference on CMS.
if you are using CMS for your ad hoc CUCM conferences you have probably seen touch devices such as the Navigator displaying the name of the conference as a numeric string. Figure 1 below demonstrates this.
Figure 1 - Touch Device Ad Hoc screen shot
This web application will change that string to a string of your choosing. It requires a seperate microsoft IIS server to host the apllication. If you are already using IIS to host the CMS branding files files this could be used.
The solution was tested in a lab enviroment connected as per figure 2 below. Whenever an ad hoc conference is requested the CMS server immediately sends the call detail record to the IIS server. The server detects this and returns a REST responce to alter the ad hoc space name. To get this to work please read the installation section and replace the defaults in the private/creds.csv file with values of your chosing. A secure password can also be used, see installation for this also.
Figure 2 - Example connectivity to test this application
Clone the Repository:
Open a terminal or command prompt.
Navigate to the directory where you want to clone the repository.
Use the git clone command followed by the repository URL. For example:
git clone https://github.com/RodgersRepo/CMS_Ad_Hoc_Rename.git
Open the Project in Visual Studio Code:
Open Visual Studio Code.
Use the File > Open Folder menu option and select the folder where you cloned the repository.
Alternatively, you can open the terminal in VS Code and navigate to the cloned directory, then type:
code .
This application uses the directive Serilog to provide log messages to a file. You will need to add this to the project. From VSCODE terminal type:
dotnet add package Serilog dotnet add package Serilog.Sinks.File
I deployed this to IIS as an application called cmsrename not a web site. Open the project in VSCODE. Open the command line interface View > Terminal, then type:
dotnet publish -c Release -o ./publish
This will compile the project to a folder named project on your development computer.
Download and install .NET Core bundle onto the IIS target server that you intend to deploy this app to from Microsoft.
net stop was /y
followed by net start w3svc
Copy the files from the publish folder on your development computer to the IIS server application folder. Test by browsing to HTTP://<your server URL/cmsrename
.
To secure the site from the IIS manager, click your application name cmsrenmae then double click SSL Settings
, set for your enviroment. For testing I selected Require and ingor. You will need to have certificates already set up on the IIS server for this to work.
PLEASE NOTE: You will have to amend the index.html file once it has been deployed to IIS. The routing will be wrong. Change lines 72 and 90 to include the application name cmsrename
. Line 72 becomes:
<form action="/cmsrename/creds" method="post">
Line 90 becomes:
<form action="/cmsrename/logging" method="post">
Once installed browse to https://<SERVER URL>/cmsrename/index.html
. Scroll down to Credentials for this web app. Enter the username and password the IIS server will use to send its REST API space name change request. You will get a new page with the encrypted password. Paste this into the private/creds.csv spread sheet. In the same sheet review and change the other headings for you enviroment. PLease make sure this username exists on your CMS server.
Configure a CUCM to CMS Ad hoc conference bridge using the Cisco document
Configure Cisco Meeting Server and CUCM Ad hoc Conferences
Log into CUCM administration, navigate to Media Resources > Conference Bridge. Click the hyperlink for the name you have configured for Ad hoc conferencing. In the Conference Bridge Prefix text box type the text string that will uniquely identify Ad hoc conferences. For example I have used 123456. Click Save then Apply Config.
Log into your CMS server, then navigate to Configuration > CDR settings. In one of the Receiver URI text boxes type the following followed by Submit.
https://<SERVER URL>/cmsrename
cmsrename will only use https so please ensure your certificates are valid.
This application has only been tested in a lab enviroment with a single CUCM publisher and a single CMS.
Guide to configuring CMS ad hoc conferences for CUCM.
Cisco Meeting Server Call Detail Records Guide.
A guide for configuring Cisco meeting sever branding. Includes the set up for seperate branding web servers
Great styling examples
Owner
Contributors
Categories
Products
Cisco Unified Communications Manager (CUCM)Cisco Meeting ServerProgramming Languages
HTMLLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community