CUC Forums

« Back to CUPI Questions

Updating Transfer Rule for CallHandler

Combination View Flat View Tree View
Threads [ Previous | Next ]
Greetings experts
 
I need to update the transfer rules for callhandlers. I tried doing the following:
 
PUT  [url=https://<server>/vmrest/handlers/callhandlers/<callhandlerobjectid>/transferoptions/Alternate]https://<server>/vmrest/handlers/callhandlers/<callhandlerobjectid>/transferoptions/Alternate
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TransferOption>
   <Action>1</Action>
   <Extension>646</Extension>
</TransferOption>
 
But even after executing this, the Action does not change to 1 (it stays at 0). I also tried "POST" but same result. Would you kindly advise? Really appreciate your help!
Best regards
Shadan

There is a piece of code in the transfer option logic that requires that enabled have a value.  Try setting the transfer option enabled field to true (or false),
 
-Dave

Thanks for clarifying David!
Best regards
Shadan

Hi Shadan,

What are you running to execute the PUT action on the client side? Do you need to write Java code to create the HTTPS connection and then execute the content of the xml file you posted? I will really appreciate if you can please elaborate on the steps you need to execute the PUT/POST/GET/DELETE actions along with the steps to validate that the action was successfully completed.

Thanks!
Navjeet