I can confirm that injection files work.  Here's the injection file  
that I use to create a random Caller ID that's 1999xxxxxxx:
---
RANDOM,PRINTF=8999999,PRINTFOFFSET=1000000
1999%03d
----

That gets injected into the "From:" header of the INVITE at field0:
--------
From: sipp <sip:[fiel...@[local_ip]:[local_port]>;tag=[call_number]
--------

That works great for us.   I should also say that the "stable" version  
of SIPp is pretty buggy.  The latest "unstable" code from the CVS has  
been much more reliable for me.

Not really sure what's going wrong with your file, but in general  
injection files do work.

On Sep 3, 2009, at 5:24 PM, Russell Roy wrote:

> Can someone confirm or deny that PRINTF injection does not work in  
> SIPp
> v3.1?
>
> Whenever I use the key word "USER" in an injection file, the
> parameterized scenario [field-n] values evaluate to the empty string  
> in
> the resulting generated message dialog.
>
> The examples shown in the user documentation don't work, even allowing
> for the fact that "USERS" should be "USER" (at least according to the
> parser.)
>
> USERS,PRINTF=999
> user%03d;password%03d
>
>
>
> Russ
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to