Closed mrpullen closed 7 years ago
Looks like a similar issue from #2 when there was some variance in CName versus Service Name.. just not sure how to fix it..
Here is my configuration
Let's summarize the full stack configuration to define what is inconsistent:
SubjectName of our certificate: 'bot.holovisor.net' DNS name of our cloud service is 'holovisor.cloudapp.net'; We created CNAME DNS record www.bot.holovisor.net -> holovisor.cloudapp.net. Public IP address Holovisor cloud service at Azure dashboard: 13.82.217.186 nslookup skypebot.dataart.com
At the bot's dashboard we have following configuration:
Messaging endpoint: https://www.bot.holovisor.net/api/messages Webhook (For calling): https://www.bot.holovisor.net/api/calling/call Enable calling, Real Time Media, Video (Audio always enabled), Screen sharing In the configuration of the service we have
DefaultCallControlEndpoint -> Internal=https://10.72.213.246:9440, PublicPort=443 InstanceMediaControlEndpoint -> Internal=https://10.72.213.246:8445, PublicPort=20100 CallControlCallbackUri -> https://www.bot.holovisor.net:10100/api/calling/callback/ NotificationCallbackUrl -> https://www.bot.holovisor.net:10100/api/calling/notification/ Call control listening Uri -> https://10.72.213.246:10100/ Call control listening Uri -> https://10.72.213.246:9440/
ServiceDnsName -> holovisor.cloudapp.net ServiceDnsAlias --> www.bot.holovisor.net Cloud Service Public IPAddress -> 13.82.217.186 Media Platform Instance Internal Port -> 8445 Media Platform Instance Public Port -> 20100 Media Platform Instance Public IPAddress -> 13.82.217.186 Service FQDN -> www.bot.holovisor.net
MicrosoftAppId -> 353ac489-cd05-4624-93e4-fd0b54a205ad mpUri -> net.tcp://www.bot.holovisor.net:20100/MediaProcessor
@mrpullen could you try with bot.holovisor.net as your CNAME in the service config and change the CNAME to bot.holovisor.net.
Also could you check if the last entry in the SAN of the certificate is bot.holovisor.net?
Looks like that's it.. I got that cert reissued like 5 times, each time www.bot was the last SAN.. now it's bot.holovisor.net.
Thanks, looks like this is the solution.
So the bot receives the call, and can receive messages on the text channel.. but when the call comes in and the callback OnAnswerAppHostedMediaCompleted I am winding up here.
So my MediaSession is immediately disposed. Failure Reason in the logs is
I haven't changed any the OnIncomingCallReceived method where an ActionBase Array is loaded with a single AnswerAppHostedMedia action is added.
Any help appreciated. !!