Picture of tsn
Registered 5 years 49 days
tsn Monday, 15 June 2020, 07:19 PM
External websocket connection
Dear Innovaphone,

Is it possible to establish an external websocket connection to the App Service?
For example, if I need to provide information about PBX users and their presence to some other app via websocket connection, can I do this? If so, do you have any reference implementation which illustrates how this can be done?

Thanks in advance,
Sergey
Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Tuesday, 16 June 2020, 07:21 AM
Re: External websocket connection
Hi Sergey,

yes, this is possible. A sample code in PHP can be found here, but the article covers the basics which are needed for different programming languages:
http://wiki.innovaphone.com/index.php?title=Reference13r1:Concept_Talking_to_the_v13_Application_Platform_using_PHP

Or do you want to establish a websocket connection from within an innovaphone App to another external App?
In this case, the SDK contains a websocket client implementation:
http://sdk.innovaphone.com/common/interface/websocket_client.htm

The documentation also contains a code example.

Greetings,
Daniel

Picture of tsn
Registered 5 years 49 days
tsn Tuesday, 16 June 2020, 09:45 AM
Re: External websocket connection
Hi Daniel,

Thank you for quick reply. This is what I was looking for.

Best regards,
Sergey
← You can define your color theme preference here