cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
544
Views
6
Helpful
3
Replies
Highlighted
Beginner

Playing Voice Mail in the Client Browser

Hi,

I have derived the Voice mail messages from CUMI server, using my server application (jsp). The derived voice mail is iterated in XML and assigned to a HTML5 audio player in the Client page. The voice mail message URL is assigned as Source to the audio player. Now, when I

tries to play the Voice mail, it  asks, for the CISCO VTG Realm authentication to play the Voice mail. After proceeding, the voice mail is able to play. Shall anybody, help me here to resolve this issue, and play Voicemail messages from Client Side browser itself.

Cisco VTG Realm.jpg

Thanks in Advance,

Annamalai

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Playing Voice Mail in the Client Browser

The VMREST API should be all you need - use it to retrieve the storage URL for the VM audio, then just access the URL with your app and the HTTP response should contain the audio file via MIME.

View solution in original post

3 REPLIES 3
Cisco Employee

Re: Playing Voice Mail in the Client Browser

Accessing VMREST to retrieve the audio file will be access controlled.  You would not want these messages to be played without credential check

Three main possibilities I can think of:

- The VMREST API is designed/intended for use on the client-side/in-the-browser.  If you move the VMREST interaction to the client, (note the client would need to provide their credentials at some point) then you might avoid a double-login situation

- VMREST supports SSO and token authentication - if your server side application is logging in via the user's credentials, it may be able to use SSO, return the SSO token to the client, and then have the client use the SSO token to access the message URL

- Download the voice message file temporarily to your server, and host the playback URL from there

Beginner

Re: Playing Voice Mail in the Client Browser

Hi dstaudt,

       Thanks for the quick response and suggestion. Rather than, the first 2 possibilities, i would like to go for the third one, downloading voice messages to my own application server and playing it from there. Shall you help me here to download the Voice mail messages from CUMI server? Is only Rest API is enough or i have to look around some other option on the Server side?

Thanks in Advance,

Annamalai.

Cisco Employee

Re: Playing Voice Mail in the Client Browser

The VMREST API should be all you need - use it to retrieve the storage URL for the VM audio, then just access the URL with your app and the HTTP response should contain the audio file via MIME.

View solution in original post

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here