|
From: | Yonatan Nir |
Subject: | [Linphone-developers] How to reregister to the sip server with same settings |
Date: | Thu, 19 Jan 2017 12:12:20 +0000 |
Hi, When I lose connection somehow with the sip server, I want to reregister with the same settings with no change. I have tried the following code:
public void reregister()This code doesn't seem to work and the registrationState callback of the linphone core listener is not invoked. It fails mainly when the loss of connection comes from an external reason - for example, if I reset the wifi router. In this case, the internet is back after some time, but the connection to the sip server is not reestablished. But if I just close the wifi of the phone (no 3g/4g internet connection) and reopen it, the problem does not reproduced. What is wrong with the way I'm trying to reregister with the server, and what is the correct way of doing it? Yonatan |
[Prev in Thread] | Current Thread | [Next in Thread] |