[SR-Users] how to remove media description from sdp?
Daniel-Constantin Mierla
miconda at gmail.com
Wed Sep 21 12:49:33 CEST 2011
Hello,
On 9/19/11 9:03 PM, Juha Heinanen wrote:
> alex,
>
> thanks for the pointers. using regexs to manipulate sdp is really the
> scary last resort.
it is in the roadmap for sdpops module, not time to make it for 3.2, but
will get in there soon. Actually the implementation should be rather simple:
- get the sdp part of the body (if multi-part, easy with the sdp parser
from core) or the whole body
- search for m=video and if found, search for next m= and remove till
there or if not found to end of the sdp body
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-users
mailing list