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

Call failed Call attempt was answered with INVITE 200 OK (Error) but an error occurred setting the remote description.. #1075

Open
fcltd opened this issue Feb 24, 2024 · 0 comments
Labels

Comments

@fcltd
Copy link

fcltd commented Feb 24, 2024

Trying to test the "examples/SIPExamples/PlaySounds", but keep getting this error:

SIPSorcery Play Sounds Demo
press ctrl-c to exit...
Call failed Call attempt was answered with INVITE 200 OK (Error) but an error occurred setting the remote description..
Call to ********* failed.
Exiting...

The target gets the call Ok, but once answered it immediately hangs up, and that error is thrown.

The only thing that was changed in the code was this:

        ` // Place the call and wait for the result.` 
       `  var dstUri = $"sip:{DESTINATION}@{SIP_SERVER}";` 

        ` var callTask = userAgent.Call(dstUri, SIP_USERNAME, SIP_PASSWORD, voipMediaSession); `

to be able to specify the SIP server username/password.

Any help would be immensely appreciated, thank you!

@ChristopheI ChristopheI added the sip label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants