Hello,

Thanks, I'll look into the rtpengine, had a busy weekend but next week I'll have better time. 

The function seems like a good idea. I'd definetely rather use that if/when it's available.

cheers,
Olli


2014-04-04 19:12 GMT+03:00 Juha Heinanen <jh@tutpro.com>:
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

_______________________________________________
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