4.7 PlayOnPhone Operation
The following example shows how to form a request to make an outbound call and play a message.
The following is the request to play a message.
-
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <PlayOnPhone xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> <entryId>AAAAAGsd2rbQLVtLobUGbrq/9IUHAEX2ikn/L8JJtI5WHI0FAW8AAAFXHhsAACxVpEl+KVVLl957wp//x6UAGAetcDUAAA==</entryId> <DialString>12345</DialString> </PlayOnPhone> </soap:Body> </soap:Envelope>
The following is the response to a request to play a message.
-
<?xml version="1.0" encoding="utf-8" ?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PlayOnPhoneResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> <PlayOnPhoneResponse>NDEzYjEzNmMtZTE2Zi00NTJlLWI3YzctNDhkMTE3MDE3YjlmQGRmLWV1bS0wMS5leGNoYW5nZS5jb3JwLm1pY3Jvc29mdC5jb20=</PlayOnPhoneResponse> </PlayOnPhoneResponse> </soap:Body> </soap:Envelope>