ArgumentNullException when receiving RE-INVITE request #1193
-
Is it possible to process re-invite requests without SDP? My server sends such a request when I try to put I found a section of code that is responsible for this logic in the "DialogRequestReceivedAsync" method. // ignored, because _oldCallId == null
if (sipRequest.Header.CallId == _oldCallID)
{
SDP sDP = MediaSession.CreateAnswer(null);
SIPResponse okResponse = reInviteTransaction.GetOkResponse("application/sdp", sDP.ToString());
reInviteTransaction.SendFinalResponse(okResponse);
return;
}
// sessionDescription == null => ArgumentNullException
SetDescriptionResultEnum setDescriptionResultEnum = MediaSession.SetRemoteDescription(SdpType.offer, sessionDescription); |
Beta Was this translation helpful? Give feedback.
Answered by
sipsorcery
Nov 30, 2024
Replies: 1 comment
-
Reaolved in #1234. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vezhichenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reaolved in #1234.