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
--
Daniel-Constantin Mierla
http://www.asipto.com/
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users