I'm trying to run the following JTAPI scenario:
// Basic make call example.
// Devices used / requirements (configure these in .env):
// * ALICE_DN / CTI supported phone,associated with JTAPI user
// * BOB_DN / any phone
// Scenario:
// 1. ALICE_DN creates/connects a call to BOB_DN
// 2. The call rings for 5 seconds (optionally it can be manually answered)
// 3. ALICE_DN drops the call
I configured the server, username, password, and added my Directory Number as "ALICE_DN", I also tried the device name and it didn't work too.
I just want to make a call from the JTAPI, but all solutions are not working for me ...
ERROR:
09:10:08.79 Awaiting ProvInServiceEv...
Received--> Provider/(P1-admin) ProvInServiceEv [#0] Cause:100 CallCtlCause:0 CiscoCause:0 FeatReason:12
09:10:08.79 Opening fromAddress DN: 1005
Exception in thread "main" com.cisco.jtapi.InvalidArgumentExceptionImpl: Address 1005 is not in provider's domain.
at com.cisco.jtapi.ProviderImpl.getAddress(CTQF)
at com.cisco.jtapi.makecall.makeCall.main(makeCall.java:86)