cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

Http 405 on wav file upload for voicemail

273
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Vinay S on 29-11-2012 11:39:39 AM
We have a wav file to upload against a username for voicemail.

This is the URL

<CUCServer>/vmrest/users/6e2ca867-b1fc-4e27-ac66-3f32965878fd/voicename

we use to do a Http POST on, and write the wav file as a stream.

We are able to successfully upload to an

8.5.1ES54.13029-54

whereas when we try the same on an

8.5.1ES47.12024-47

we get the following exception

Failure runHTTPCommandPost (execute3)java.io.IOException: Server returned HTTP response code: 405 for URL: https://<CUCServer>/vmrest/users/6e2ca867-b1fc-4e27-ac66-3f32965878fd/voicename

Seems clear that POST is blocked on this particular server.

Is there a way we could get the server to allow POST?

Subject: RE: Http 405 on wav file upload for voicemail
Replied by: Utkarsh Katiyar on 03-12-2012 12:20:59 AM
There were some changes related to voice name upload using APIs in the ES version which you have mentioned.
A similar thread which you can refer is:
http://developer.cisco.com/web/cuc/forums/-/message_boards/message/8940762
 

Subject: RE: Http 405 on wav file upload for voicemail
Replied by: Vinay S on 04-12-2012 01:07:19 AM
Thanks Utkarsh, that helps us communicate the same to the Customer.
 
The other thread your mentioned states the same issue, where may we find what exactly the change is with the API? Could you point us to an alias or contact/
 
Thanks again,
Vinay

Subject: RE: Http 405 on wav file upload for voicemail
Replied by: Utkarsh Katiyar on 12-12-2012 01:16:31 AM
Vinay S:
Thanks Utkarsh, that helps us communicate the same to the Customer.
 
The other thread your mentioned states the same issue, where may we find what exactly the change is with the API? Could you point us to an alias or contact/
 
Thanks again,
Vinay

 
I am able to add the voice name for a user using the said API but its a PUT request not a POST. Try executing a PUT request on the same setup, if it still fails then we can have a webex session to debug the issue further.
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here