Hi,
I am using sipp 3.3.990. I am trying to compare two string variables v1
and v2, assign the result to $result. When I try to log it as message,
result is showing empty though both variable values are matching. Can you
please help to fix it?
<recv request="INVITE" crlf="true">
<action>
<assignstr assign_to="v1" value="blue"/>
<assignstr assign_to="v2" value="blue"/>
<log message="Comparing v1=[$v1] with v2=[$v2]"/>
<strcmp assign_to="result" variable="v1" variable2="v2"/>
<log message="result=[$result]"/>
</action>
</recv>
*Output snapshot from uas1_regex_5040_logs.log*
Comparing v1=blue with v2=blue
result=
Thanks in advance,
Karthick
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users