Picture of Dali
Registered 3 years 3 days
Dali Friday, 8 April 2022, 12:56 PM
1 of 1 users consider this post helpful
StartCall not working when accessing my app directly
Hello,

I just want to create a simple application which start a call using phoneApi:
phoneApi.send({ mt: "StartCall", num: num});
Accessing my app via the PBX APPCLIENT (https://X.X.X.X/PBX0/APPCLIENT/000000/appclient.htm) directly works fine.

However when I try to do it directly through the app platform (https://X.X.X.Y/myapp/000000/company-myapp.htm) it doesn't start the call, and it looks like the PBX is not notified with no error messages from console.

Thank you in advance.
Andreas Fink
Moderator Registered 13 years 52 days
Andreas Fink (innovaphone) Tuesday, 12 April 2022, 11:40 AM
1 of 1 users consider this post helpful
Re: StartCall not working when accessing my app directly
Hello Dali,

the API com.innovaphone.phone is a pure client API that relies on user registered in thy myApps client and the apps providing the API.
https://sdk.innovaphone.com/13r2/web1/com.innovaphone.phone/com.innovaphone.phone.htm

If you start the app directly from the App Platfrom no other apps, that can provide this API are available.

Best Regards
Andreas Fink
Picture of Sou
Registered 3 years 17 days
Sou Tuesday, 12 April 2022, 05:24 PM
Re: StartCall not working when accessing my app directly
Hi Andreas,

how can i start/hangup a call from an app which is opened directly/externally from app platform, maybe using RCC api?
or it is not feasible?
p.s. i am of course connected to the pbx as a user via websocket.

thanks in advance!

Best regards,
Soulaimen
Andreas Fink
Moderator Registered 13 years 52 days
Andreas Fink (innovaphone) Wednesday, 13 April 2022, 05:32 PM
Re: StartCall not working when accessing my app directly
In this case indeed, you have to use the RCC API.

For RCC API you will need to know which user and which device of this user should be controlled via RCC.

Best Regards
Andreas Fink
← You can define your color theme preference here