[OpenSER-Users] Why a $var cannot be 'null' ?

Iñaki Baz Castillo ibc at aliax.net
Wed Jun 11 00:31:47 CEST 2008


Hi, if I set:

  $var(kk) = null

and later printf it (or compare with =~) then I see '0':

  xlog("L_INFO", "var(kk) = $var(kk)\n");
  => var(kk) = 0

But AVP's do allow 'null' value and store 'null' instead of '0'.

Is there any reason for it?


-- 
Iñaki Baz Castillo




More information about the Users mailing list