linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Linphone Android issue - Far too many SIP register


From: Janek Haus
Subject: [Linphone-developers] Linphone Android issue - Far too many SIP register attempts
Date: Fri, 23 Oct 2020 13:12:21 +0000

Hello,

we are using the Open Source Library on Android and are experiencing problems caused by SIP-Register calls.
As far as I can tell the normal rate for SIP-Register attempts is 4 seconds, however over time, presumably caused by application restarts, it increases extraordinarily up to several tenthousand attempts per minute.
This leads to crashes of the Server and other involved parties. The registers seem to increase linearily with application restarts.
We are using Linphone 4.4+ and follow the example from https://github.com/BelledonneCommunications/linphone-android/tree/master/sample, which does not show this behaviour.
Obviously we adjusted the LinphoneService to our needs by removing the call handling logic from the service.
We made sure that only one instance of the Service holding the LinphoneCore is active at a time and that both service and core are terminated properly (following the sample app),
double checking by using ADB:

Here is the LinphonService onDestroy() call:
override fun onDestroy() {
mCore!!.removeListener(mCoreListener)
mTimer!!.cancel()
mCore!!.stop()
mCore = null
instance = null
super.onDestroy()
}
We also remove all other listeners and the Service is terminated correctly.
Also the registers stop once the application is terminated (but further increase on the next start).

If someone has experienced something similar or can help solving this issue we would be very thankful.
Of course we will provide further information needed to solve this problem.

Kind regards

Janek Haus
casenio AG



reply via email to

[Prev in Thread] Current Thread [Next in Thread]