User Tools

Site Tools


install:upgrade:4.0.x-to-4.1.0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:upgrade:4.0.x-to-4.1.0 [2013/12/06 11:20]
miconda [Core Parameters]
install:upgrade:4.0.x-to-4.1.0 [2013/12/06 11:25]
miconda [Behaviour]
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 as comparison with integer 0 (zero).+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:
 **//Solution//** **//Solution//**
  
-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.txt ยท Last modified: 2013/12/06 11:25 by miconda