Call Media - Stop Continuous Dtmf Recognition
トーンへのサブスクライブを解除して、Dtmf の継続的な認識を停止します。
POST {endpoint}/calling/callConnections/{callConnectionId}:stopContinuousDtmfRecognition?api-version=2024-09-15
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
call
|
path | True |
string |
呼び出し接続 ID |
endpoint
|
path | True |
string url |
Azure Communication リソースのエンドポイント。 |
api-version
|
query | True |
string |
呼び出す API のバージョン。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
Azure Communication Services ユーザー アクセス トークン。 |
要求本文
名前 | 必須 | 型 | 説明 |
---|---|---|---|
targetParticipant | True |
Communication |
|
operationCallbackUri |
string |
この操作の CreateCall/AnswerCall によって設定された既定のコールバック URI をオーバーライドするコールバック URI を設定します。 このセットアップはアクションごとに行われます。 これが設定されていない場合は、CreateCall/AnswerCall によって設定された既定のコールバック URI が使用されます。 |
|
operationContext |
string |
操作のコンテキストを識別する値。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
サービスが継続的な dtmf 認識を停止しました。 継続的 dtmf 認識が以前に開始された場合は、指定したコールバック URI で ContinuousDtmfRecognitionStopped イベントを受け取ります。 |
|
Other Status Codes |
Communication |
エラー |
セキュリティ
Authorization
Azure Communication Services ユーザー アクセス トークン。
型:
apiKey
/:
header
例
CallMedia_StopContinuousDtmfRecognition
要求のサンプル
POST https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c:stopContinuousDtmfRecognition?api-version=2024-09-15
{
"targetParticipant": {
"kind": "communicationUser",
"communicationUser": {
"id": "8:acs:b9614373-fd0b-480c-8fd2-cb58b70eab9f_da7be3a9-8788-42a6-85c6-56b2cf784fce"
}
},
"operationCallbackUri": "https://app.contoso.com/callback"
}
応答のサンプル
定義
ContinuousDtmfRecognitionRequest
名前 | 型 | 説明 |
---|---|---|
operationCallbackUri |
string |
この操作の CreateCall/AnswerCall によって設定された既定のコールバック URI をオーバーライドするコールバック URI を設定します。 このセットアップはアクションごとに行われます。 これが設定されていない場合は、CreateCall/AnswerCall によって設定された既定のコールバック URI が使用されます。 |
operationContext |
string |
操作のコンテキストを識別する値。 |
targetParticipant |
Communication |