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

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

Open
Desync3 opened this issue Apr 1, 2024 · 1 comment
Open

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

Desync3 opened this issue Apr 1, 2024 · 1 comment

Comments

@Desync3
Copy link

Desync3 commented Apr 1, 2024

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
Copy link
Author

Desync3 commented Apr 16, 2024

still need help

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

No branches or pull requests

1 participant