Hi, I would like to perform testing if a header or a tag of a header does not exist. If it does exist I would like the test to fail. This could be done in with the 3.x version of SIPp but it takes several steps.
The way I do it is by: 1. using a regular expression to search for the tag I don't want and assigning it to a variable 2. Doing a nop command with test on the variable and then jump to an nop with action "stop_call" Also found that it is possible to use the "condexec" attribute to avoid the jump. Would it be possible to add a boolean attribute regexp_negate or regexp_inverse or check_inverse? For this case of testing we would like the "assign_to" to be optional instead of mandatory. Would this be a good idea? I work for Ericsson in Sweden and we would be happy to contribute with patches if they can be accepted. Best regards, Mikael Rudholm ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
