Hi Mario,
I'm not an expert here, but you must provide the com.innovaphone.phone API yourself in your App on the C++ side and every user must add a softphone inside the profile app.
This API is described here:
http://sdk.innovaphone.com/web1/com.innovaphone.phone/com.innovaphone.phone.htm
Therefor you must modify your AppInfoResult message which you send inside your C++ code and therefore must implement the function AppWebsocketAppInfo, see:
http://sdk.innovaphone.com/common/lib/appwebsocket.htm#ExampleAppInfo
It may look like this afterwards, although you must modify the class name and app name of course:
void PhoneAppSession::AppWebsocketAppInfo(const char * app, class json_io & msg, word base)
{
if (strcmp(app, "manufacturer-phone") == 0) {
word apis = msg.add_object(base, "apis");
word phone = msg.add_object(apis, "com.innovaphone.phone");
word info = msg.add_object(phone, "info");
msg.add_string(info, "type", "softphone");
word wake = msg.add_array(base, "wake");
msg.add_string(wake, nullptr, "softphone");
}
}
The resulting answer then looks like this:
{
"mt": "AppInfoResult",
"info": {
"apis": {
"com.innovaphone.phone": {
"info": {
"type": "softphone"
}
}
},
"wake": ["softphone"]
}
}
Greetings,
Daniel