[SR-Users] Kamailio with rtpproxy-ng and mediaproxy-ng: Error rewriting SDP
Juha Heinanen
jh at tutpro.com
Fri Apr 4 18:12:04 CEST 2014
Olli Heiskanen writes:
> if ( sdp_get_line_startswith("$avp(mline)", "m=") ) {
> if ($avp(mline) =~ "SAVPF") {
in order to simplify the above, how about introducing a new function
sdp_with_transport_like(transport)? that function would return 1 if
string of the param is included in the transport string.
then the above two lines would become
if (sdp_with_transport_like("SAVPF")) ...
if ok, i can write the new function.
-- juha
More information about the sr-users
mailing list