Cannot read property 'dial' of undefined

Hello. I use test client that I download from this link I have credentials and working link. Client initialize without problem. But if I write number in #thenumber and click on “Dial me”, I get error - > “Uncaught TypeError: Cannot read property ‘dial’ of undefined” simpleCTI.js:187. How I fix this error for further testing?

Hi Evgenly,

Does the user that you are using to authenticate the API access actually have a phone device? The only time I have seen this error is when the credentials being used are valid, hence the API initialises OK, but then that user has no devices to call dial() on.

SimpleCTI should probably generate a more meaningful error message in this case.