Remove codecs from answer 200 OK
Hello all,
I would like to have in the answer 200 OK only one codec, the most preferred codec (first listed in the answer) and others just remove from SDP. I woul like to apply for particular session-agent only if possible.
Our softswitch answers with multiple codecs, and it is not possible to answer only with one codec, but in specific case session-agent send RTP with second codec and our softswitch are not capable to process it.
As according RFC 3264 it is a bug:
" The answerer MUST be prepared to receive media for recvonly or sendrecv streams using any
media formats listed for those streams in the answer, and it MAY send media immediately. "