public void StartOutgoingCall(OutgoingCallRequest request)
{
var capabilities = VoipPhoneCallMedia.Audio;
if (request.VideoEnabled)
{
capabilities |= VoipPhoneCallMedia.Video;
}
var vCC = VoipCallCoordinator.GetDefault();
VoipCall = vCC.RequestNewOutgoingCall(request.PeerUserId, request.PeerUserId, "ChatterBox Universal",
capabilities);
if (VoipCall != null)
{
SubscribeToVoipCallEvents();
VoipCall.NotifyCallActive();
}
}