[OpenSIPS-Users] codec_delete_except_re SDP Corruption
kneeoh at yahoo.com
Wed Mar 5 19:58:19 CET 2014
Sure, I'll get that for you. I've got some additional data that may answer your question. The problem seems to occur when the codec being removed is at the end of the SDP offer. So you'll get something like
0 18 101 19 in the media description line and 19 is the one you remove. It leaves the space after the 101, which is causing the problem.
On Wednesday, March 5, 2014 12:57 PM, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
Is the codec deletion the only change you do over the SDP (codec related) ?
What opensips version are you using ? Also, could you post (privately
is needed) the exact original and modified SDP ?
OpenSIPS Founder and Developer
On 28.02.2014 23:09, Kneeoh wrote:
> I am using the codec codec_delete_except_re function to remove unwanted codecs:
> Apparently it is placing or leaving a space (hex 20) at the end of the media description line if the codec at the end of the description is removed by this function. Which I'm told is not syntactically correct.
> The net result is that upstream vendors 488 the calls on which codecs are removed and have this space at the end of the media description line.
> Has anyone else encountered this issue and resolved it?
> Thanks in advance
> Users mailing list
> Users at lists.opensips.org
More information about the Users