callsipciscocucmcisco-jtapi

Cisco Call Manager JTAPI support for SIP protocol


I am trying to monitor SIP devices located on Cisco Call manager via JTAPI. I have installed JTAPI plugin and try to run its sample makeCall scenario. CUCM version : 9.1.2.10000-28

When I list the controlled device addresses of the provider, it only returns devices with SCCP protocol (skinny phones) but not return devices with SIP device protocol. There are already SIP based devices added into the controlled device list of the provider on CUCM.

    JtapiPeer peer = JtapiPeerFactory.getJtapiPeer(null);

    /* connect to the provider */
    String providerString = hostname;
    providerString += ";login=" + login;
    providerString += ";passwd=" + passwd;
    Provider provider = peer.getProvider(providerString);

    /* wait for it to come into service */
    final Condition inService = new Condition();
    provider.addObserver(new ProviderObserver() {
        public void providerChangedEvent (ProvEv [] eventList) {
            if (eventList == null) return;
            for (int i = 0; i < eventList.length; ++i) {
                if (eventList[i] instanceof ProvInServiceEv) {
                    inService.set();
                }
            }
        }
    });
    inService.waitTrue();

    for(Address address : provider.getAddresses()){
        System.out.println(address.getName());
    }

Is there any other config, etc.. that I need to do in order to list SIP phones as well?

Thanks.


Solution

  • JTAPI applications can only control Cisco Unified IP Phone 7900 Series that run SIP, which includes Cisco Unified IP 7970 phones. Which model you are using? http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/jtapi_dev/9_1_1/jtapidevguide/featsupported.html#wp1148307