[OpenSER-Devel] Error assigning an AVP other AVP with NULL value

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Jul 2 11:45:51 CEST 2008


Hi, doing this is perfectly valid:

  $avp(s:aaa) = null;

And doing this too:

  $avp(s:bbb) = $avp(s:aaa);

But doing them together gets an error:

  $avp(s:aaa) = null;
  $avp(s:bbb) = $avp(s:aaa);

-----
ERROR:core:do_assign: no value in right expression
ERROR:core:do_assign: error at line: 263
-----

It makes no sense, if I can set null for an AVP, and I can assign an AVP other 
AVP value, why can't I assign an AVP with null value to other AVP?

Should I open a bug report for this?

Regards.


-- 
Iñaki Baz Castillo
ibc at in.ilimit.es



More information about the Devel mailing list