This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:faq:main [2018/05/08 08:31] miconda [SIP Message Processing] |
tutorials:faq:main [2019/11/19 15:52] miconda |
||
---|---|---|---|
Line 55: | Line 55: | ||
??? What is the license of Kamailio? | ??? What is the license of Kamailio? | ||
- | !!! Kamailio is an open source application licensed under GNU Public License version 2 (aka GPLv2). It can be used for free "as in beer". | + | !!! Kamailio is an open source application licensed under GNU Public License version 2 (aka GPLv2). It can be used for free "as in beer" |
Starting with end of 2008, contributions to core and several modules are done under BSD license. That means parts of it can be extracted and used under BSD license terms. But over all, when used as one application, | Starting with end of 2008, contributions to core and several modules are done under BSD license. That means parts of it can be extracted and used under BSD license terms. But over all, when used as one application, | ||
Line 516: | Line 516: | ||
??? How to iterate through the items in a comma separated string? | ??? How to iterate through the items in a comma separated string? | ||
- | !!! If you have a variable holding a string like " | + | !!! If you have a variable holding a string like " |
Here is an example: | Here is an example: | ||
Line 523: | Line 523: | ||
$var(x) = " | $var(x) = " | ||
$var(i) = 0; | $var(i) = 0; | ||
+ | $var(n) = $(var(x){s.count,, | ||
- | while( $(var(x){s.select,$var(i),, | + | while( $var(i) <= $var(n) ) { |
| | ||
| |