BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
104 stars 80 forks source link

How to determine the online status of my account #414

Open happyfsyy opened 1 month ago

happyfsyy commented 1 month ago

Hello, how do I know if my account is online?

When my program launches, I will know if my registration fails or if it succeeds.

However, if the sip server suddenly loses power while the program is running, my account should be offline at this time, how do I get this notification? I can't register my account with sip server every 30 seconds, that would be stupid.

I wonder if I can use Linphone's heartbeat mechanism to know the status of the sip server based on its feedback?

Thank you in advance

happyfsyy commented 1 month ago

Hello, @Viish In addition, in BelledonneCommunications/linphone-android#2201 , I have tried the method you mentioned about monitoring the status of the transfer, and it does not work. Since you closed the issue, I have to repeat it here.

Viish commented 1 month ago

I've transferred the issue as linphone-android is only for issues related to the app itself, not our SDK APIs.