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