Bugs item #2031469, was opened at 2008-07-29 15:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=637564&aid=2031469&group_id=104305
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Kalva (kalvic)
Assigned to: Nobody/Anonymous (nobody)
Summary: Comparing with <test> gives wrong result
Initial Comment:
Following command evaluates to true, even when variable expires==3600
<recv request="SUBSCRIBE">
<action>
<ereg regexp="([0-9]+)" search_in="hdr" header="Expires:"
check_it="true" assign_to="expires"/>
<test assign_to="unsubscribe" variable="expires" compare="equal"
value="0"/>
<log message="expires=[$expires], unsubscribe=[$unsubscribe]"/>
</action>
</recv>
Log says following:
for Expires: 3600
expires=3600, unsubscribe=true
for Expires: 0
expires=0, unsubscribe=true
Output of sipp -v
SIPp v3.1-TLS-PCAP, version unknown, built Jul 18 2008, 16:24:55.
Tested only on WinXP machine.
Minimal script demonstrating this behaviour is attached.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=637564&aid=2031469&group_id=104305
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users