Hello,
On 06/04/2009 06:22 PM, karhu wrote:
[...]if(has_body("application/sdp") && search_body("m=video")){ subst_body('/m=video ([0-9]+) RTP/AVP (.*)/m=video \1 RTP/AVP 99 \2 /');
just a tip, if you want to get rid of escaping / you can use another character as delimiter in subst expression, e.g., '#':
subst_body('#m=video ([0-9]+) RTP/AVP (.*)#m=video \1 RTP/AVP 99 \2 #');
Cheers, Daniel