Hi there,

I'm trying to use simple regexp matching to capture the contents of a 
"Contact:" header while removing any opening/closing angle brackets (<>):

    <action>
      <ereg regexp="*[^<>]**" search_in="hdr" header="Contact:" 
check_it="false" assign_to="3"/>
    </action>


When trying to run sipp, I get the following error:
/2007-05-11 17:01:44: 'ereg' action without 'assign_to' argument 
(mandatory)./

Of course, 'assign_to' is there.  I tried several different versions of 
this regexp (with extra parenthesis, extra square brackets) to no avail.


To debug, if I try to use regexp=".*" instead, sipp runs fine.

Any ideas?  I'm running a somewhat older SIPP version ( SIPp v1.1-PCAP, 
version 20061124, built Jan 17 2007, 15:14:09. ) -- could have this been 
fixed in a more recent version?


-- 
Jeannot Langlois
Software Developer / Programmeur-Analyste
aka "SIP Phone Doctor" and "SIP PUBLISH/PRACK/UPDATE Expert"
Macadamian Technologies
(613) 739-5976 #137
www.macadamian.com

CONFIDENTIALITY: 
The information contained in this email is intended by Macadamian Technologies 
Inc. for the use by the named individual or entity to which it is addressed and 
may contain information that is privileged or confidential. It is not intended 
for transmission to, or receipt by, any individual or entity other than the 
named addressee expressly permitted in this email. If you have received this 
email in error, please delete it without copying or forwarding it, and notify 
the sender.

Subscribe to the Critical Path, our free monthly email on software management:
http://www.macadamian.com/subscribe



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to