If you want to hide the window that is poping up when there is a incoming call, use function OnZoiperReady(phone)
{
Zoiper = phone;
var Config = Zoiper.GetConfig();
Config.PopupMenuOnIncomingCall = "false";
...
Notes:
- In this case you will have to depend on the
function OnZoiperCallIncoming(call)
{
...
- It is important not to block (using alert for example) in this or any other callback, as you will block the whole javascript API.
- Use timers, so you can let the callback finish as fast as possible.