Hello,
I've hit a wall with my sipp scenarios and I figured the sipp  
community could point me in the right direction.

Here's what I am trying to accomplish: I am using SIPP to generate  
1000's of simultaneous g729 media calls, and I want each simulated  
call to look like it's coming from a 199 plus random 8 digit phone  
number in the "From:" header (for example: sip: 
19912345...@[local_ip]).  I've tried to accomplish this by creating an  
injection csv file that is pasted below:

----------------------------
rand_caller_id.csv:
RANDOM,PRINTF=89999999,PRINTFOFFSET=10000000
199%03d
--------------------------

...Which gets injected into the INVITE packet like so:
From: [field0] <sip:[fiel...@[local_ip]:[local_port]>;tag=[call_number]

This does generate the appropriate numbers, and it does inject them in  
a random sequence, but the sequence is always the same.  It seems like  
the random seed doesn't change.  The reason this is a problem is that  
I am actually running different SIPP processes simultaneously in order  
to reach the level of calls that I want, and to add diversity to the  
simulated calls.  The whole point of trying to create random "caller"  
phone numbers is so that each simulated call looks like it's coming  
from a different caller to our system.  (We use the "199" at the  
beginning to flag that this is not a real phone call).

I would like to find a way to either "re-seed" the randomness of the  
Injection File every time SIPP runs, or use some other method to  
insert 8 random numbers after 199 in my INVITE packet's From: header.

Any thoughts?  Hopefully this can be done on the command line or  
scenario level.  I am not a C programmer so I would need some hand- 
holding if I need to revise source code :)

Here's the stats on the server, in case that's useful:
SIPP 3.1
Linux CentOS 5.2 x64
8 Core Intel Xeon 2.33GHz

Thanks,
Chris


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to