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

c# .net framework 4.7.2 make call to sip #1092

Open Desync3 opened 6 months ago

Desync3 commented 6 months ago

c# .net framework 4.7.2 make call to sip doesnt work. I get error and theres no example codes as i see it and I'm not able to compile the project without error so I'm just using nuget manager.

This my code: ` var sipTransport = new SIPUDPChannel(); var sipAccount = new SIPAccount(sipUser, sipServer, sipUser, sipPassword); var sipCall = new SIPClient(sipTransport);

    var callRequest = sipCall.Call(unescape(sipUser), unescape(destination), unescape(callid), sipAccount, null);

    if (callRequest == null)
    {
        Console.WriteLine("Call failed.");
    }
    else
    {
        Console.WriteLine("Call successful.");
    }

` But as i see it i get The type or namespace name 'SIPAccount' could not be found and much more errors and yes I'm using latest verison SIPSorcery.SIP;

Desync3 commented 5 months ago

still need help