Hang up not working on caller side when incoming call

0 votes

Hello,


I m using zoiper in my web application. i m facing issue while doing incoming call.Hang up is working while i m doing hang up from plugin  but  its not working when i doing from custom button in my web application. its being from one side not working from caller side in incoming call.


Please help me asap.

Thanks & Regards,

Yogesh Jain





asked Feb 15, 2016 in Web (Safari, Chrome, IE, Firefox) by yogesh.jain (160 points)  
share

1 Answer

0 votes

Hello,

If I understand you correctly, you have Zoiper WEB on both sides. but you can not hangup the call by using your custom button? 

The example in the documentation just a very simple example. It doesn't take into account the incoming call and doesn't store it in the ActiveCall variable.
For example if you change the OnZoiperCallIncoming to this

function OnZoiperCallIncoming(call)
{
ActiveCall = call;
}

The hangup is actually going to be called in this case because ActiveCall will not be NULL.

For an other approach you can for example modify the hangup function like this.
function Hang()
{
var call = Zoiper.Call;
if (null != call)
{
call.Hang();
}
}
Which will always hangup the current call.

Note that this are also examples and you have to modify them or implement something completely different to suit your needs.

answered Feb 15, 2016 by Katina (23,910 points)  
share

Hello Katina,

Thanks for your immediate response,

We facing same issue this time too ,as per your sample code we have changed in our Application but it's not working properly.

One thing i want to clear with you that When We calling from Mobile Device on Zoiper Web Softphone,When Call Disconnected/Rejected from Web Softphone  still Call running on Mobile Device.



Please Suggest me any Solution  asap

Thanks & Regards,

Yogesh

Hello,

this seems like its a misconfiguration of some kind. Some log files will be required.

This is a public forum. Please contact our support team by mail and they will assist in your investigation.

Welcome!
Ask your questions and receive answers from other members of the Zoiper Community.

Did you check our Help Section?

You are a Zoiper Biz or Premium customer? If so, click HERE to get premium support.
Top users 08/2021
  1. Tsetso.Zdravkov

    34210 Points

  2. Ivan

    18410 Points

  3. Joachim

    11490 Points

  4. Anton

    3950 Points

Latest tweets