Operação DisconnectPhoneCall
A operação DisconnectPhoneCall encerra a chamada telefônica.
Exemplo de solicitação DisconnectPhoneCall
Descrição
O exemplo a seguir de uma solicitação DisconnectPhoneCall mostra como formar uma solicitação para desconectar uma chamada telefônica.
Código
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<t:RequestServerVersion Version="Exchange2010" />
</soap:Header>
<soap:Body>
<m:DisconnectPhoneCall>
<m:PhoneCallId Id="OWVl4NWb3N29t"/>
</m:DisconnectPhoneCall>
</soap:Body>
</soap:Envelope>
Exemplo de resposta DisconnectPhoneCall
Descrição
O exemplo a seguir mostra uma resposta bem-sucedida à solicitação DisconnectPhoneCall .
Código
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorVersion="14"
MinorVersion="0"
MajorBuildNumber="639"
MinorBuildNumber="20"
Version="Exchange2010"
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DisconnectPhoneCallResponse ResponseClass="Success"
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<ResponseCode>NoError</ResponseCode>
</DisconnectPhoneCallResponse>
</s:Body>
</s:Envelope>