Picture of Niko 1071
Registered 11 years 219 days
Niko 1071 Wednesday, 12 October 2022, 12:56 PM
Phone/Softphone App - own Text in blue Call Info area
Hi all,

is it possible to add your own text to the blue call Info part?
see attached example

Thx

viele grüße
niko

adding_own_text_to_call_info.png

Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Thursday, 13 October 2022, 09:55 AM
Re: Phone/Softphone App - own Text in blue Call Info area
Hello Niko,

the Phone App renders here infos delivered from the com.innovaphone.search Client API. You could create an API provider, that delivers the infos as "dn" property, in order to render it at this place.

Best Regards
Andreas Fink
Picture of Sascha
Registered 5 years 141 days
Sascha Tuesday, 18 October 2022, 07:47 AM
Re: Phone/Softphone App - own Text in blue Call Info area
Hi Andreas,

has there to be something activated or setup so that it would work?

I get as an error/information "provider not found".

I did this to get this error.

searchApi = start.consumeApi("com.innovaphone.search");
if (searchApi) {
searchApi.onmessage.attach(onSearchApiMessage);
searchApi.send({ mt: "Search", type: "contact", search: '107' }, "*", 1);
}

function onSearchApiMessage() {
console.log('app_connected::onSearchApiMessage() arguments', arguments);
}
Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Tuesday, 18 October 2022, 11:56 AM
Re: Phone/Softphone App - own Text in blue Call Info area
Hello Sascha,

this should be the other way: your app is an API provider for com.innovaphone.search, not a consumer.

You have to make sure, your app announces the service API com.innovaphone.search and handles incoming requests for this API.

For C++ app see example for such announcement in the documentation for appwebsocket library:
https://sdk.innovaphone.com/13r3/sdk/common/lib/appwebsocket.htm

For JavaScript AppService please refer to the JavaScript Runtime documentation:
https://sdk.innovaphone.com/13r3/doc/appgeneric.htm#config-apis

Best Regards
Andreas Fink
Picture of Sascha
Registered 5 years 141 days
Sascha Tuesday, 18 October 2022, 03:16 PM
Re: Phone/Softphone App - own Text in blue Call Info area
Hi Andreas,

do you have a example which is a little bit more in detail?

I have added this on my C++ side but now I can't open the app
anymore. Do I have to create a new login request?

Regards,
Sascha
← You can define your color theme preference here