Hello, I am trying to run the JTAPI example,
I made the configurations on Cisco Unified CM Administration, added a device, and I tested the make call functions using a SOAP request and the IP communicator client application it all worked until now.
Then I wanted to test the JTAPI ... with the following configuration:
# JTAPI user configuration
CUCM_ADDRESS=192.168.X.X
JTAPI_USERNAME=admin
JTAPI_PASSWORD=XXXXXXXXXX
And:
# sendData
ALICE_DN=1000
# makeCall
BOB_DN=1005
Which I need to make a call from Alice to Bob ... where ALICE_DN is my phone number on CISCO
But it fails ...
The log:
15:47:09.94 Initializing Jtapi
15:47:10.22 Connecting Provider: 192.168.x.x;login=admin;passwd=xxxxxxxxxx
15:47:11.15 Awaiting ProvInServiceEv...
Received--> Provider/(P1-admin) ProvInServiceEv [#0] Cause:100 CallCtlCause:0 CiscoCause:0 FeatReason:12
15:47:11.17 Opening fromAddress DN: 1000
Exception in thread "main" com.cisco.jtapi.InvalidArgumentExceptionImpl: Address 1000 is not in provider's domain.
at com.cisco.jtapi.ProviderImpl.getAddress(CTQF)
at com.cisco.jtapi.makecall.makeCall.main(makeCall.java:86)