How Can I Manage Sessions During Navigation in FreJun? | Softphone Web SDK FAQ
To manage sessions during navigation in FreJun’s Softphone Web SDK, you can configure the SDK with the endSessionOnNavigate and logoutOnNavigate flags during initialization. These flags let the SDK automatically end the current session or log out the user when they navigate away from the current route, helping to avoid broken audio or stuck sessions.
You can use flags like endSessionOnNavigate and logoutOnNavigate during initialization to automatically end or log out sessions when the user navigates away.
If you have any more questions or need assistance, feel free to reach out to us at Hello@frejun.com. We’re here to help!