Jump to content

Integration websockets


FernandoSocialway
 Share

Recommended Posts

Hi,

I am testing the documentation from the link below: https://doc.vodia.com/docs/click2dial

I need to get a call to be generated using the websocket

When entering the credentials, it returns the token that I later use to log in

Everything works fine until the websocket is executed, which responds with an error and disconnects

 

This is the error

thanks for your help

Captura de Pantalla 2021-09-01 a la(s) 17.09.44.png

Link to comment
Share on other sites

In 68.0, you can also just use Basic authentication for setting up the web socket. Make sure that the Host is matches the domain name, and the username in the authorization header the extension. The password is the web password. This works only if there is no 2nd factor required for the login. Otherwise you'll need to set up a session first and then use the session cookie in the web socket request. Also I would turn the web server log to 9 which should provide more information what is going on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...