Hi,
I'm using Sipp 3.1 for Windows. I've build a scenario using 2 files, one for
caller, and one for callee.
It works well in my INVITE message:
<![CDATA[
INVITE sip:[field1 file="called.csv"]...@[field3
file="called.csv"] SIP/2.0
Via: SIP/2.0/[transport]
[local_ip]:[local_port];branch=[branch]
Route: [$1]
From: "[field0 file="caller.csv"]" <sip:[field1
file="caller.csv"]...@[field3 file="caller.csv"]>;tag=[call_number]
To: "[field0 file="called.csv"]" <sip:[field1
file="called.csv"]...@[field3 file="called.csv"]>
Call-ID: [call_id]
.....
Somewhere else in my scenario I need to set a string variable with data from
the file.
<nop>
<action>
<assignstr assign_to="2"
value="sip:[fiel...@[field3]" />
</action>
</nop>
But there is no way to specify which file I want to use. It's always the first
one in the command line ( -inf ) and if I use :[field1 file='called.csv'] in
assignstr it says :
2010-06-18 15:46:53:760 1276868813.760355: Invalid injection file:
'called.csv'
Can somebody confirm me that it's impossible to specify the file I want to
extract the data from? Or is there a way do it?
Clément JEANNE.
Stagiaire R&D.
Astellia
Tel.: +33 (0)2 99 04 80 60
Visit our web site:
www.astellia.com<file:///C:\Documents%20and%20Settings\c.jeanne\Application%20Data\Microsoft\Signatures\www.astellia.com>
________________________________
Astellia celebrates its 10th anniversary in 2010
10 years of innovation and client proximity
________________________________
Ce message et tout document joint sont confidentiels et à l'intention exclusive
des destinataires.
S'ils vous ont été adressés par erreur, merci d'en informer immédiatement
l'expéditeur et de les détruire.
Toute copie, diffusion ou utilisation non autorisée est interdite. Tout message
électronique est susceptible d'altération : Astellia décline toute
responsabilité si le message ou les documents joints ont subi une quelconque
modification.
This message and any attachment are confidential and intended solely to its
addressees.
If you are not the intended recipient please cancel it and inform immediately
the sender.
Any unauthorised copy or dissemination is prohibited. Electronic messages may
be altered: Astellia shall not be liable for those circumstances.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users