Я пытался добавить номер телефона к вызову с помощью службы связи Azure, но он продолжал провалить < /p>
const incoming_context = event.data.incomingCallContext;
const answer_res = await client.answerCall(incoming_context, `${config.domain}`);
await answer_res.callConnection.addParticipant([{
targetParticipant: { phoneNumber: '+xxxxxxxxxxx' },
sourceDisplayName: "Info",
sourceCallerIdNumber: { phoneNumber: '+xxxxxxxxxxx' }
}]);
< /code>
Received 1 event(s)
Error answering call: TypeError: Cannot read properties of undefined (reading 'communicationUserId')
at isCommunicationUserIdentifier (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-common\dist\index.js:326:30)
at getIdentifierKind (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-common\dist\index.js:366:9)
at serializeCommunicationIdentifier (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-common\dist\index.js:518:28)
at communicationIdentifierModelConverter (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-call-automation\dist\commonjs\utli\converters.js:95:94)
at CallConnection.addParticipant (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-call-automation\dist\commonjs\callConnection.js:130:89)
at C:\Users\rohit\Desktop\git\call-record\app.js:34:53
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Подробнее здесь: https://stackoverflow.com/questions/796 ... ot-working
Azure Communication Service добавить участников, не работающих ⇐ Javascript
Форум по Javascript
-
Anonymous
1748529472
Anonymous
Я пытался добавить номер телефона к вызову с помощью службы связи Azure, но он продолжал провалить < /p>
const incoming_context = event.data.incomingCallContext;
const answer_res = await client.answerCall(incoming_context, `${config.domain}`);
await answer_res.callConnection.addParticipant([{
targetParticipant: { phoneNumber: '+xxxxxxxxxxx' },
sourceDisplayName: "Info",
sourceCallerIdNumber: { phoneNumber: '+xxxxxxxxxxx' }
}]);
< /code>
Received 1 event(s)
Error answering call: TypeError: Cannot read properties of undefined (reading 'communicationUserId')
at isCommunicationUserIdentifier (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-common\dist\index.js:326:30)
at getIdentifierKind (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-common\dist\index.js:366:9)
at serializeCommunicationIdentifier (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-common\dist\index.js:518:28)
at communicationIdentifierModelConverter (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-call-automation\dist\commonjs\utli\converters.js:95:94)
at CallConnection.addParticipant (C:\Users\rohit\Desktop\git\call-record\node_modules\@azure\communication-call-automation\dist\commonjs\callConnection.js:130:89)
at C:\Users\rohit\Desktop\git\call-record\app.js:34:53
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Подробнее здесь: [url]https://stackoverflow.com/questions/79644091/azure-communication-service-add-participants-not-working[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия