Olli Heiskanen writes:in order to simplify the above, how about introducing a new function
> if ( sdp_get_line_startswith("$avp(mline)", "m=") ) {
> if ($avp(mline) =~ "SAVPF") {
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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users