Azure-Samples / Azure-Samples/communication-services-javascript-quickstarts

Typo in CallAutomation_OutboundCalling/src/app.ts

Aperta
#317 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
status:triage
Lingua principale
JavaScript
Stelle
108
Fork
207
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
>Purposely make a TextSource / FileSource / SsmlSource fail to reporduce.

### Any log messages given by the failure
>
Call back event received, callConnectionId=xxxx-xxxx-xxxx, serverCallId=yyyyyyyyyy, eventType=Microsoft.Communication.**PlayFailed**

### Expected/desired behavior
>The call should be terminated.

### OS and Version?
> Node.js running on Windows

### Versions
> Commit d46e964 (latest when opening this issue)

### Mention any other details that might be useful
Hello, I'd like to report a type error in line 161 of the file CallAutomation_OutboundCalling/src/app.ts, the event checked should be "Microsoft.Communication.**P**layFailed" but it's "Microsoft.Communication.**p**layFailed".
This causes the call to not be terminated in case of a failure while playing the message.
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.