sipsorcery-org / sipsorcery

A WebRTC, SIP and VoIP library for C# and .NET. Designed for real-time communications apps.
https://sipsorcery-org.github.io/sipsorcery
Other
1.44k stars 438 forks source link

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

Open FerranPalmada opened 3 months ago

FerranPalmada commented 3 months ago

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?