I am using Asterisk 16.2.1 version.
Randomly I get SIP 400 Bad request message from Asterisk whenever trying to make new call. The previous call has ended in controlled manner, and next one opens nicely again.
The error message coming with it is: “399 SIP “Invalid value or argument (PJ_EINVAL)””
Any idea where this could be coming from? Apparently the SDP validation fails for some reason, but I don’t see what is the difference between valid and invalid requests. The only difference between successful and failed SDP contents are Session ID and Session version.
Is it possible that there is something in the network that causes UDP package to be corrupted somehow?
This is a wireshark capture, not sure if it is reliable compared to what has been received actually.
But the error message on Asterisk logs is referring to validating the SDP content - what the code tries to do where this error message is thrown? Could Asterisk be in congestion or somehow overloaded and therefore not capable of handling all requests as expected?