Hello,

I am new to using SIPp.  I have so far been able to set up and tear down calls, 
but I have not been able to use the regexp to create pass/fail conditions.

For example, if I wanted to test whether a specific header, for example 
Timestamp is contained in a response message, I think this should work:

<action>
  <ereg regexp-"Timestamp: [0-9]*" search_in="msg" check_it="true" 
assign_to="1"/>
<action>

If my reading of the documentation is correct, If Timestamp is present, the 
call continues, if it is not present the call should be marked fail.  Is this 
interpretation correct?

I have been able to verify using the extraction and insertion method that the 
value is properly assigned to [$1] if present.  So, the regexp part seems to be 
working.  However, the call is marked pass regardless of whether or not the 
regexp matches.

How do I get this to work?

I am using sipp-1.1rc8.src

Any suggestions?

Thanks in advance,

Tom
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to