Well, information from an 8 years old thread may theoretically not be accurate any more if someone has "cleaned up" the code in the meantime.

However, as you've checked that it doesn't work even if you use |<strcmp>| the documented way with one variable and one constant (value) , I'd rather ask myself whether the |<log>| can properly handle variables of type |double|.

So my next test would be to add, right after the two |<log>| statements you already have, the following:

|<assign assign_to="zero" value="0.0"/>||
||<log message="zero=[$zero]"/>||
||
|
If you don't get |zero=0| or |zero=0.0| or something similar as output, I'd think about further comparing the |double| value to a numeric constant using the |<test>| command and then execute some |<nop>| with embedded |<action>| and |<log>| conditionally to find out what is the root cause - whether the conversion of a |double| value to printable text or the |<strcmp>| itself.

P.

_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to