think there might be a bug in sipp v 3. 
 
this works fine:
<action>
  <ereg assign_to="1,2" header="From:" regexp=".*tag=([^;]*)" search_in="hdr" />
  <log message="whole match: ([$1])" />
  <log message="capturing group: ([$2])" />
</action>

this is not working:
<action>
  <ereg assign_to="1,2" header="From:" regexp=".*tag=([^;]*)" search_in="hdr" />
  <log message="capturing group: ([$2])" />
</action>
with error message:
2009-04-02      10:57:31:737    1238662651.737749: Variable $1 is referenced 1 
times!
 
But content of variable $1 is in this case only unavoidable trash.
 
(as workaround it's necessary to use [$1] somewhere in the script)
 
It's sipp v 3 related (Sipp 2.0.1 works fine with both examples).
 
Regards
 
Mitko Mitev
IT Services and Enterprise Communications
iSEC CZ 34-3 Team Lead
 
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel.: +420 533 337 251
Fax: +420 533 337 252
Mobil: +420 724 754 090
mailto: [email protected] 
<mailto:[email protected]> 
www.isec-it.com <http://www.isec-it.com/> 

 
Spoleènost: iSEC - IT Services and Enterprise Communications s.r.o.
Sídlo: Brno, Bidláky 20, 639 00
Obchodní firma je zapsána v obchodním rejstøíku u Krajského soudu v Brnì v 
oddílu C, ve složce 54602. 
IÈ: 27721710
 
POZOR!

Tento e-mail mùže obsahovat obchodní tajemství nebo jiné utajované a dùvìrné 
informace. Pokud jste tento e-mail obdrželi omylem, oznamujeme Vám tímto, že je 
pøísnì zakázáno jej jakýmkoli zpùsobem upravovat, kopírovat nebo šíøit. 
Neprodlenì nás prosím informujte a tento e-mail zniète. Dìkujeme za spolupráci.

 

Important Note!

This e-mail  may contain trade secrets or privileged, undisclosed or otherwise 
confidential information. If you have received this e-mail in error, you are 
hereby notified that any review, copying or distribution of it is strictly 
prohibited. Please inform us immediately and destroy the original transmittal. 
Thank you for your cooperation.

 

 
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to