Have a nice day, everyone, there are cases in routing when in if there is
only one command, for example:

### example 1 if ( has_body("application/sdp") ) {

rtpengine_offer();

}

In this case, how different will this expression be from: ### example 2 if
( has_body("application/sdp") ) rtpengine_offer();

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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to