Aaron Clauson

Results 181 comments of Aaron Clauson

Can you share your code? It seems the audio file you're attempting to play is getting closed for some reason.

Wow that's a lot of code! I'm pretty sure ou could simplify that significantly. The first thing I'd recommend is only checking `uas?.IsUASAnswered` once. After that check `uas?.IsHungup`. You need...

Your code is too big for me to try and identify the problem. If you can provide a smaller sample with the exception maybe I could help. It does seem...

The [AudioExtrasSource](https://github.com/sipsorcery-org/sipsorcery/blob/1faa707f42ffa9bcea1bc6224973d4f39d49456e/src/app/Media/Sources/AudioExtrasSource.cs#L401) class uses locks to control access to critical resources.

Not all SIP servers suport SIP events, or they can be turned off, so the first thing to check is that they are available. Assuming they are available the next...

> How to connect a specific sip account to SIPUserAgent using login and password? In the class, I did not find a function that would implement this. You typically set...

> but I also noticed that if two clients hold a call at once, the state of the user agent is kinda funky. What happens? There are a LOT of...

Probably related to #715. Seems the socket logic has been changed fairly substantially in .NET6 and there's some work to do this library to adjust to it.

The socket logic has changed from when this class was written. Previous: https://github.com/dotnet/corefx/blob/e99ec129cfd594d53f4390bf97d1d736cff6f860/src/System.Net.Sockets/src/System/Net/Sockets/Socket.cs#L3262 Now: https://github.com/dotnet/runtime/blob/e99fb185aa10ef177d19a51fd77b7a4b75db5395/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.cs#L2460 At the time it was written I spent a lot of time trying to work...

The `OutboundProxy` can only be set to a `SIPEndPoint` which requires an `IPAddress` and not a host name. There are no DNS lookups involved if you set the `OutboundProxy`. I...