[OpenSIPS-Users] codec_delete_except_re SDP Corruption

Kneeoh kneeoh at yahoo.com
Fri Feb 28 22:09:18 CET 2014


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



More information about the Users mailing list