[SR-Users] How to remove attribute from SDP ?

Vitaliy Aleksandrov vitalik.voip at gmail.com
Wed May 14 12:51:16 CEST 2014


Hello list,

Can anybody suggest the way to remove a line/attribute from SDP that 
matches some pattern (regexp), some kind of "grep -v" for SDP ?
I'm trying to remove unnecessary ICE candidates from the SDP body and 
only thing I know is the IP address of the candidate I need to remove.

I was trying to use avp_subst() + set_body() or subst_body() but didn't 
get valid SDP.

kamailio-3.2.4.



More information about the sr-users mailing list