<div dir="ltr"><p style="margin:0px">Have a nice day, everyone, there are cases in routing when in if there is only one command, for example:</p><p style="margin:0px">
### example 1
if ( has_body("application/sdp") ) {</p><p style="margin:0px"> rtpengine_offer();</p><p style="margin:0px">}</p><p style="margin:0px">
</p><p style="margin:0px">In this case, how different will this expression be from:
### example 2
if ( has_body("application/sdp") ) rtpengine_offer();</p><p style="margin:0px">
</p><p style="margin:0px">To what extent is it correct to use one or another type of if statement? I understand that if we have to use else, then only the first option will suit us, but here it’s more about a single if.. thanks</p>
<p style="margin:0px"><br></p><p style="margin:0px">
</p><p style="margin:0px"><br></p></div>