You need to convert the string from the header into a double first. Try this before your increment: <todouble assign_to="6" variable="6" />
Charles [EMAIL PROTECTED] wrote on 09/02/2008 10:56:18 AM: > HI There, > I am trying to use the following statement in my sipp script and > its not working, as I don't see the variable value incremented by 2, > can you tell me what I am doing wrong? (attached is the script). I > am using SIPP R3.0 > > <recv request='ACK' > rtd='true' > crlf='true'> > > <action> > <ereg > regexp='.*' search_in='hdr' header='To:' check_it='true' > assign_to='3'/> > <ereg > regexp='.*' search_in='hdr' header='From:' check_it='true' > assign_to='4'/> > <ereg > regexp='([[:alnum:]]*) ([[:alnum:]]*)' search_in='hdr' > header='CSeq:' check_it='true' assign_to='5,6'/> > <log message='6 is [$6]'/> > <add assign_to='6' value='2'/> //THIS ONE IS NOT WORKING > <log message=' value of 6 is now [$6]'/> > </action> > > </recv> > > > From, > Nazia Hussain > > > See what people are saying about Windows Live. Check out featured posts. > Check It Out![attachment "sip_uas_test.xml" deleted by Charles P > Wright/Watson/IBM] > ------------------------------------------------------------------------- > 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 > Sipp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------- 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 Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users