[OpenSIPS-Users] [NEW] SDP codec manipulation feature

Iñaki Baz Castillo ibc at aliax.net
Tue Jul 28 10:34:15 CEST 2009


2009/7/23 andrei dragus <andreidragus at yahoo.com>:
>
> Hello,
>
> Methods have been added for SDP codec manipulation in the textops module.
> Please update your module if you wish to use them.
>
> There are 4 methods:
>  codec_exists(name[,clock]); //test if a codec exists
>  codec_delete(name[,clock]); //delete a codec
>  codec_move_up(name[,clock]); //move a codec to the front of the list
>  codec_move_down(name[,clock]);//move a codec to the back of the list
>
> Each of them can take a codec name and an optional clock parameter. If the clock is unspecified all of the codecs with that name will match.
>
> All of the methods will act on all streams from all sessions inside the SDP.

Hi Andrei. Please don't take me wrong, but is this a task for a proxy?
I wonder what would occur in the following cases:

- The UAC/UAS use encrypted SDP (S/MIME...).
- The UAC/UAS use multipart content (some devices do it for an INVITE).



More information about the Users mailing list