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