Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 121 days
Daniel Deterding (innovaphone) Thursday, 3 February 2022, 01:19 PM in response to iqbal
1 of 1 users consider this post helpful
Re: Add Custom Parameters to AppUrl in PBX
Ah, you are just receiving websocket connections ... I missed this part.
Websocket connections from the PBX are received inside your WebserverPluginWebsocketListenResult function, but the path and registeredPathForRequest there won't contain the query arguments if the connection has been established by the PBX!

Instead you create your LineSelectorSession object as usual and implement the AppWebsocketAppInfo callback there.
The app parameter there will contain the query arguments.

void LineSelectorSession::AppWebsocketAppInfo(const char * app, class json_io & msg, word base)
{
}

Greetings,
Daniel
← You can define your color theme preference here