microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Issues with Graph Calling SDK(Media)

Open
#117 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description


SERVER


Describe the issue
SetingMediaPlatform settings on wndows 10 server throwing unhandled exception.
See attached logs from Event Viewer, and snapshot.
image

image 2

Code Snippet

var settings = new MediaPlatformSettings()
            {
                ApplicationId = options.AppId,
                MediaPlatformInstanceSettings = new MediaPlatformInstanceSettings()
                {
                    InstanceInternalPort = options.InternalPort, //443
                    InstancePublicIPAddress = IPAddress.Loopback,
                    InstancePublicPort = options.PublicPort, //443
                    ServiceFqdn = options.ServiceFqdn, //public url to site
                    CertificateThumbprint = options.Thumbprint //thumbprint of wildcard certificate
                }
            };
MediaCommunicationsClientBuilderExtensions.SetMediaPlatformSettings(builder, settings);

Expected behavior
Pass setting mediaplatformsettings step

Graph SDK (please complete the following information):

  • Microsoft.Bot.Builder(4.5.1)
  • Microsoft.Graph (1.17)
  • Microsoft.Graph.Communications.Calls (1.1.0 -prerelease.1511)
  • Microsoft.Graph.Communications.Calls.Media (1.1.0 -prerelease.1511)
  • Microsoft.Graph.Communications.Core.Calls (1.1.0 -prerelease.1511)
  • Version [e.g. 22]

LOCAL


Also if I try run this code on local machine, this part work perfectly but then bot tries to pick up the phone, but the connection terminated shortly after (Call's state changes from Establishing to Terminated) (> Err callingService: Could not complete scenarios [create_one_to_one_call, calling_intent] because call c1a6cdbf-757f-40ba-823b-b673f1432d40 was terminated with reason: 48). See attached logs file:
logs.txt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The entry point shown is MediaCommunicationsClientBuilderExtensions.SetMediaPlatformSettings with MediaPlatformSettings; start by reviewing the attached Event Viewer screenshots and logs.txt, comparing Windows 10 Server with the local run. Done means the server accepts the settings without an unhandled exception and the call no longer transitions from Establishing to Terminated.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
audio-video-rtc, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.