The check wasn't actually done for int_cmds, it was just that the code pointed to an overwritten xp_parser buffer. I just committed a fix for it into the trunk.
Also, for those of you who aren't aware of the feature that the bug was introduced by, you can use an arbitrary string for your label names. For example: <recv request="INVITE" ontimeout="end" /> ... <label id="end" /> Variables can also be named now. Together these features are really beneficial if you have complex non-linear scenarios. Charles "Srivastava, Anuj Kumar" <[EMAIL PROTECTED]> wrote on 05/02/2008 08:16:19 AM: > Hi Charles, > > I was going through the below mentioned bug. > I found that the function "void scenario::apply_labels()" , tries to > check for the labels declared in the file, and perhaps finds that 'stop_now' > is nowhere defined in scenario file. > Should it treat it as a label ? > A possible solution which comes to me is to ignore this check for int_cmds. > What's your opinion ? > > Thanks, > Regards, > Anuj > > From: [EMAIL PROTECTED] [mailto:sipp-users- > [EMAIL PROTECTED] On Behalf Of Kanngiesser, Wolfgang > Sent: Wednesday, April 30, 2008 6:23 PM > To: [email protected] > Subject: [Sipp-users] a bug related to the label naming? > Under Version 3.0 the attached scenario worked right. But since I am > using sipp 3.1 (SIPp v3.1-TLS-PCAP, version unknown, built Apr 29 > 2008, 14:46:06.) > the following error occurs with the same scenario: > ---> The label 'stop_now' was not defined (index 3, ontimeout attribute) > What is going wrong, a reference to such a label does not exist? > > > Thank You, Wolfgang > > Deutsche Telekom AG > Zentrum Technik Einführung > Wolfgang Kanngießer > Winterfeldtstraße 21, D-10781 Berlin > > > [attachment "reg.xml" deleted by Charles P Wright/Watson/IBM] > [attachment "ATT00001.txt" deleted by Charles P Wright/Watson/IBM] > [attachment "ATT00002.txt" deleted by Charles P Wright/Watson/IBM] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
