Browser-Phone
Browser-Phone copied to clipboard
popup.html
One user is using mobile and another user is using desktop. After making "Click to Dial" in mobile, the audio call window disappears after a minute. The window is still open in the desktop.
While on call:
After a minute:
Actually the window is not getting closed. It is only hidden. The other end is still able to hear the audio.
How to overcome this issue?It is happening because of reregistration once in a minute. Kindly suggest a solution.
I'm not sure what changes you may have made to the code, but the original version only had CloseWindow()
on the web_hook_on_registrationFailed
and the web_hook_on_unregistered
, the web_hook_on_unregistered
only fires if the registration state becomes "unregistered"... this shouldn't happen, but then again, it may, and registration does not have anything to do with calling, so if you like just take out the lines:
var web_hook_on_unregistered = function(){
window.parent.CloseWindow();
}
Like incoming calls is there any way to limit the no. Of outgoing calls?
I'm not sure what changes you may have made to the code, but the original version only had
CloseWindow()
on theweb_hook_on_registrationFailed
and theweb_hook_on_unregistered
, theweb_hook_on_unregistered
only fires if the registration state becomes "unregistered"... this shouldn't happen, but then again, it may, and registration does not have anything to do with calling, so if you like just take out the lines:var web_hook_on_unregistered = function(){ window.parent.CloseWindow(); }
In web_hook_on_terminate also window.parent.CloseWindow() is getting called.
These pages are available for you to customise as you would like. The web_hook_on_terminate
event is called when a call is ended. If you don't want this behavior just take it out.