-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using break
outside of case
#27
Comments
https://github.com/kamailio/kamailio/blob/master/src/modules/rtpproxy/examples/alg.cfg contains more examples with |
The Now whether But, over all, the recommandation is to use break on in while/switch, in other places there are more suggesting options like exit or drop. |
Just to add, did a quick test, it parses and starts. But we certainly should remove it from the module examples.
|
https://www.kamailio.org/wikidocs/cookbooks/devel/core/ says about
break
:…
https://www.kamailio.org/docs/modules/devel/modules/tm.html contains examples with
break
, like:Either the definition for
break
is wrong, or the four tm-examples are incorrect.The cited documentation is contradicting itself on whether
break
can be used inwhile
.The text was updated successfully, but these errors were encountered: