install:upgrade:4.0.x-to-4.1.0
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:upgrade:4.0.x-to-4.1.0 [2013/12/06 10:20] – [Core Parameters] miconda | install:upgrade:4.0.x-to-4.1.0 [2013/12/06 10:25] (current) – [Behaviour] miconda | ||
---|---|---|---|
Line 167: | Line 167: | ||
However, some variables are defined always (eventually initialized to 0), such as $var(a) or $shv(b). | However, some variables are defined always (eventually initialized to 0), such as $var(a) or $shv(b). | ||
- | Starting with v3.0.0 when the core from Kamailio point of view was refactored, as part of integration with SER, the comparison with $null was considered | + | Starting with v3.0.0 when the core from Kamailio point of view was refactored, as part of integration with SER, the comparison with $null mistakenly became the same as comparison with integer 0 (zero). |
Some of the comparisons kept working, but some gave wrong result: | Some of the comparisons kept working, but some gave wrong result: | ||
Line 184: | Line 184: | ||
**// | **// | ||
- | Don't compare $var(...) and $shv(...) with $null, they are always defined and initialized to 0. | + | Don't compare $var(...) and $shv(...) with $null, they are always defined and initialized to 0. You can eventually compare them with 0 (instead of $null). |
install/upgrade/4.0.x-to-4.1.0.1386325253.txt.gz · Last modified: 2013/12/06 10:20 by miconda