<div dir="ltr">Hello,<div><br></div><div>Thanks, I'll look into the rtpengine, had a busy weekend but next week I'll have better time. </div><div><br></div><div>The function seems like a good idea. I'd definetely rather use that if/when it's available.</div>
<div><br></div><div>cheers,</div><div>Olli</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-04 19:12 GMT+03:00 Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Olli Heiskanen writes:<br>
<br>
> if ( sdp_get_line_startswith("$avp(mline)", "m=") ) {<br>
> if ($avp(mline) =~ "SAVPF") {<br>
<br>
</div>in order to simplify the above, how about introducing a new function<br>
sdp_with_transport_like(transport)?  that function would return 1 if<br>
string of the param is included in the transport string.<br>
<br>
then the above two lines would become<br>
<br>
if (sdp_with_transport_like("SAVPF")) ...<br>
<br>
if ok, i can write the new function.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- juha<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>