I'm using CCM 5.1(3). I'm having a problem when calling the method setForwarding on some addresses.
The result is:
com.cisco.jtapi.InvalidStateExceptionImpl: Invalid CallForwardAll Destination Address.
The destination address is an internal number. Also, it works when I make CFwdAll on the phones.
The type of forward I'm using is the default, so I think it's using ALL_CALLS. The addresses have the correct calling search space for Forward All.