[OpenSIPS-Users] codec_delete_except_re SDP Corruption

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 5 18:57:35 CET 2014


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 ?


Bogdan-Andrei Iancu
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:
> codec_delete_except_re("PCMU|G729|telephone-event");
> 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
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list