Hello,

assuming NULL value can producing unexpecting results. For example, assigning null to an avp will delete first avp with that name. It might not be what exactly someone expects from such operation -- instead of getting a new avp, you get deleted an existing one.

Cheers,
Daniel


On 06/11/07 19:16, Juha Heinanen wrote:
my proxy got a request that had no From URI userpart, i.e., from uri
looked like

From: sip:foo;tag=bar

i had an xlog statement in openser.cfg that assigns from uri userpart
($fU) to a pseudo variable.  as result, i get to syslog:

do_assign: no value in right expression

in these kind of situations, would it possible to assume that right
expression has value NULL and not to produce the syslog message?  it
would namely be too cumbersome to each time test if a thing is not
NULL before the assignment.

-- juha

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to