12-20-2018 03:38 AM
Hi ,
I am using JTAPI for the first time and i have installed CiscoJtapiClient 8.5 on my local machine
When i am trying to run the makecall functionality from my local machine i am getting the following error.
TraceModule: couldn't create LogFileOutputStream: java.io.FileNotFoundException: .\trace02.log (Access is denied)
Caught exception com.cisco.jtapi.PlatformExceptionImpl: Unable to create provide
r -- user is not authorized, please check CM administration
I am using the comand below to run make call
java makecall <Server name> <user id> <password> 1000 <Dir Phone 1> <Dir Phone 2>
I have activated all the CTIManager Service for all services under Servicability page.
Please post your comments if anybody has faced the same issue or resolved the same?
12-23-2018 07:45 PM
For first error, try run the cmd as administrator.
For second error, do your account has the right of call control?
12-24-2018 01:59 AM
Your solution for first error worked well.
For the Second error,
Caught exception com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- user is not authorized, please check CM administration
What are all the permissions/roles should i allow for the user?
I have enabled below permissions
1) Standard CTI Allow Control of Phones Supporting Connected Transfer
2) Standard CTI Allow Control of Phones support Rollover
3) Standard CTI Enabled
What other roles are needed to get that done ?
Thanks in advance :)
02-13-2019 05:46 AM
try adding this group to the user account
Standard CTI Allow Control of All Devices
02-13-2019 07:20 AM
Also ensure the target device names are in the controlled device list for the CUCM user account passed to makeCall. There is also a 'CTI enabled' checkbox in the user config as well as the device config in CUCM admin - these default to enabled, but might double check them.
Configuring and scanning the JTAPI logs on the local machine might reveal something. If you can't make any progress, though Cisco Developer Support can take a look at logs from the CTI-Manager/CUCM side to pinpoint the issue - might consider opening a ticket.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide