Codes to issues "CFwdAll" command

Version 1
    This document was generated from CDN thread

    Created by: Tony Tjo on 06-01-2009 10:16:19 AM
    Hi all,

    Does anybody know how to issue the CFwdAll command to IP phone through Java coding?

    Using Ethereal I could see that the IP phone is sending a Softkey Event through SCCP protocol.

    Does anybody know the details?

    Thanks in advance.

    Regards,
    Tony

    Subject: Re: Codes to issues "CFwdAll" command
    Replied by: Ram Gopal Chockalingam on 06-01-2009 10:41:18 AM
    If you have CTI control of the phone, you could change the CfwdAll settings via CiscoJTAPI.

    You could also make AXL call to modify the Call-forward settings of a device. As far as I know there is NO IPPS XML based CFwdAll modification allowed.

    Subject: Re: Codes to issues "CFwdAll" command
    Replied by: Tony Tjo on 07-01-2009 01:54:14 AM
    Thanks Ram!!

    I know we could use AXL through SOAP to modify the call forward setting of an IP phone.

    But I don't know how to modify it with JTAPI.

    Use the CiscoTerminal.sendData(String command) method?

    Or any other methods?

    Thanks again!!

    Tony

    Subject: Re: Codes to issues "CFwdAll" command
    Replied by: Stephan Steiner on 07-01-2009 08:59:44 AM
    CallControlAddress.getForwarding/setForwarding is what you're looking at.
    Note though that JTAPI won't tell you whether you receive an error because you're not allowed to make the forward (css) or because it failed for obscure reasons.