I'm in the process of customizing WDE to start replacing 6 years of development on a custom softphone. Due to the myriad of business rules we have in the in-house phone, we're launching WDE with a custom launcher that launches it with the command line arguments that get everything going and logged in.
When we launch WDE directly, it prompts us for a password a second time to log into the voice channel. If you launch with those arguments, this does not happen. Similar to a manual launch of WDE, our current softphone will log into the config server then turn around and log into T-Server for voice. My goal is to replicate that user experience -- they provide credentials, WDE starts, WDE connects to the config server, then I use those same creds to log into voice.
There are plenty of examples out there of using RequestAgentLogin to log the user into the voice channel, but they all assume you already have a connection to work with. Is there a way to get WDE's connection (e.g., the ProtocolManagementService object) and use that? I did find a container in the ESDK IAgent.EnterpriseService that claims to have a ProtocolManagementService object, but when I try to resolve it, resolution fails.
If necessary, I can pull the configuration information out of a database and spin up new connections, but I'd much prefer to borrow WDE's if possible.