Skip to content
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

Incoming requests are discarted while I'm in call #1138

Closed
FerranPalmada opened this issue Jul 5, 2024 · 1 comment
Closed

Incoming requests are discarted while I'm in call #1138

FerranPalmada opened this issue Jul 5, 2024 · 1 comment

Comments

@FerranPalmada
Copy link

I am using a SIPUserAgent to handle incoming calls, like this example:

https://sipsorcery-org.github.io/sipsorcery/articles/sipuseragent.html

When I answer a call, any incoming request which is not from this call is discarted, since it does not belong to the same sipDialogue.

I think that the library should allow to keep receiving requests, as even if I am in call, i should know if someone else is calling me, for example. Is there any way to handle this situation?

@sipsorcery
Copy link
Member

sipsorcery commented Oct 29, 2024

That's by design. Each SIPUserAgent instance is intended to handle a single call. If you want to handle simultaneous calls you simply create another SIPUserAgent instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants