I am using JTAPI to register and control a CTI port created in CUCM 12.0.
When the user makes a call to the CTI port, I have the ability to grab the terminal connection and add a media stream to the connection. I do this by first casting the terminal connection to a CiscoTerminalConnection object and calling the addMediaStream method.
The code looks like this:
CiscoTerminalConnection terminalConnection = (CiscoTerminalConnection) terminal.getTerminalConnections()[0];
terminalConnection.addMediaStream("", "");
My issue is that I cannot find any guidance on the parameters accepted by the addMediaStream method. Within JTAPI they are just listed as s and s1.
What parameters do I put in here in order to add a media stream to my terminal connection?