-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutual hold/unhold during a call #480
Comments
What happens? There are a LOT of edge cases with SIP and as far as this library goes if I didn't encounter it and nobody else raised it then it most likely wasn't considered. The good news is in this case it shouldn't be too difficult to deal with since on/off hold actions are only a matter of adjusting the media stream status property to the desired value and either calling stop or start on the media session. The only new case should be if a call is already on a local hold and the remote agent sends a hold request the media stream status should probably change from
For pragmatic reasons. There didn't seem t be a lot of benefit to putting a call on hold when it's already on hold. |
Example :
You can say that again
I've got something that works locally, but that was one thing I had not covered. I'll check that out. Like you said, it's essentially all state management |
Hello, it's me again !
I'm investigating hold/unhold scenarios as we previously discussed in the #479, but I also noticed that if two clients hold a call at once, the state of the user agent is kinda funky.
I've also noticed that the Softphone example explicitly removes the ability to hold locally whenever the remote does hold a call. Was this by design due to the UserAgent not being able to support it or was there another reasoning?
Thanks in advance !
The text was updated successfully, but these errors were encountered: