Re: [Sipp-users] What is dead call?

2010-04-23 Thread Charles P Wright
If a call has completed, then SIPp maintains a small record of the call for a little bit. This way any messages related to that call; after the call has already been closed can be cataloged as dead call messages. Without keeping this record, the messages for a completed call are counted as out-o

Re: [Sipp-users] label, next and ontimeout broken in 3.1

2010-01-13 Thread Charles P Wright
I think the best answer would be to strdup the return from xp_get_value, as the named labels are far friendlier when writing any complex scenario that uses more than a handful of labels. Charles Peter Higgi

Re: [Sipp-users] Query- watchdog Functionality

2009-09-30 Thread Charles P Wright
You can increase the timeout, but if you are getting watch dog timeouts, it means that you do not have enough resources on the machine to generate the amount of traffic that you are asking for. Charles Sumeet Bhardwaj 09/30/2009 06:21 AM To "sipp-users@lists.sourceforge.net" cc Subject

Re: [Sipp-users] Kill key?

2009-05-07 Thread Charles P Wright
Try "Q". Charles "Mike Ayers" 05/07/2009 08:05 PM To cc Subject [Sipp-users] Kill key? I'm using SIPP 3.x (2009-01-21 unstable). I've found that 2 "q"s don't make a kill, unlike 2.x. I'm trying to kill a server by remote control - is there a keystroke to put th

Re: [Sipp-users] How can i config SIPp send response through VIA header?

2009-04-07 Thread Charles P Wright
You can use regular expression matching and the setdest action. Charles hui cheng 04/07/2009 04:58 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] How can i config SIPp send response through VIA header? hi all How cant set SIPp send response through the ipaddress get

Re: [Sipp-users] Multiple "rtd" in

2009-03-30 Thread Charles P Wright
The XML parser would ideally throw an error, but it doesn't. To get this behavior you'll need to use some gotos and nops. Charles Artem Naluzhnyy 03/30/2009 09:05 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Multiple "rtd" in Hi, Only first "rtd" parameter is pr

Re: [Sipp-users] Storing the result of an external command into an internal variable

2009-03-26 Thread Charles P Wright
Not without modifying the SIPp code. Charles Madiha Shahid 03/26/2009 08:50 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Storing the result of an external command into an internal variable Hi, I want to store the result of an external command into an internal var

Re: [Sipp-users] Bug in 3pcc mode

2009-03-17 Thread Charles P Wright
Yes, that's a bug. Your fix is in SVN revision 577. Charles leonid 03/17/2009 03:16 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Bug in 3pcc mode We had performance testing in 3pcc mode, but we find there are some command lost in heavy traffic, there maybe some er

Re: [Sipp-users] A more robust SIPp

2009-03-13 Thread Charles P Wright
It is not due to performance, the XML parser is only used in the very beginning. It was for packaging convenience, so that there are fewer dependencies. Charles "Kirwan, David (David)" 03/13/2009 08:07 AM To Charles P Wright/Watson/i...@ibmus cc Subject RE: [Sipp-users] A m

Re: [Sipp-users] A more robust SIPp

2009-03-13 Thread Charles P Wright
Unfortunately, SIPp uses a built-in XML parser using strstr. Charles "Kirwan, David (David)" 03/13/2009 06:29 AM To cc Subject [Sipp-users] A more robust SIPp Hi, While writting a SIPp script, I omitted a forward slash. The script ran, but didn't send the ACK, which was a few line

Re: [Sipp-users] Rate of incoming traffic at UAS statistics file

2009-02-18 Thread Charles P Wright
IncomingCalls(P) should have it. Charles Evgeny Miloslavsky 02/18/2009 08:24 AM To cc Subject [Sipp-users] Rate of incoming traffic at UAS statistics file Hi All! How do I know or calculate the rate of incoming traffic while working with UAS statistics (.csv) file? What column cont

Re: [Sipp-users] -trace_rtt

2009-02-17 Thread Charles P Wright
I think this could be an old version which used cout, and hence scientific notation for large numbers. What version is this from? More recent versions use printf, which should do regular decimal numbers. Charles 鄰家老王 02/16/2009 11:15 PM To cc Subject [Sipp-users] -trace_rtt Hi

Re: [Sipp-users] How to extract the second the second string from the VIA: header

2009-02-02 Thread Charles P Wright
You need to have parenthesis to capture just the part after the comma. Something like. Charles Pratap Nath 02/02/2009 08:43 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] How to extract the second the second string from the VIA: header HI All, I was simulating a

Re: [Sipp-users] Segmentation fault provoked by stack corruption while using big ResponseTimeRepartition or CallLengthRepartition values exceeding 1024 bytes in length

2009-01-26 Thread Charles P Wright
Artur, Thank you for the bug report.Subversion Revision 570 should correct this issue permanently. Charles Artur silveira da Cunha wrote on 01/26/2009 07:04:30 PM: > Hi, > > sipp crashes with "Segmentation fault" error when in the scenary the > ResponseTimeRepartition or CallLengthRepartit

Re: [Sipp-users] Can sipp call rate and call parameter be controlled by external script/program

2009-01-24 Thread Charles P Wright
> > You can tell SIPp to change its rate using the control socket. > Can I tell sipp, not to make next call, until I am ready again? You can set the rate to zero. > > You can probably change the call parameters using extended 3PCC. If you > > establish a socket to a 3PCC element and setup vari

Re: [Sipp-users] Can sipp call rate and call parameter be controlled by external script/program

2009-01-23 Thread Charles P Wright
You can tell SIPp to change its rate using the control socket. You can probably change the call parameters using extended 3PCC. If you establish a socket to a 3PCC element and setup various parameters (look at the replace and insert actions so that you can update the in-memory representation o

Re: [Sipp-users] Can SIPp run two scenarios simultaneously?

2009-01-21 Thread Charles P Wright
You can't do this without using the same Call-ID or modifying the source. Charles "Katarina Bogdan" 01/20/2009 07:42 AM Please respond to katarin...@net.hr To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Can SIPp run two scenarios simultaneously? This is the problem: I h

Re: [Sipp-users] Can client receve request and send reply

2009-01-21 Thread Charles P Wright
That should work. You likely have an XML syntax error. Try removing elements until you can load and then add them back in one-by-one. Charles "Katarina Bogdan" 01/19/2009 09:12 AM Please respond to katarin...@net.hr To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Can client

Re: [Sipp-users] Random calls in SIPp

2009-01-21 Thread Charles P Wright
There is no way to do it without modifying the SIPp source code or using 3PCC. To modify the source code, you should look at opentask.cpp. For 3PCC, you need to have a master controller scenario that pauses a random amount, then kicks another scenario to do the actual call. Charles "Katar

Re: [Sipp-users] How to get message header items

2009-01-21 Thread Charles P Wright
The spelling of the attribute is "occurence", which is different from the correct spelling of the word "occurrence". I've changed the trunk to accept both the incorrect spelling (for backwards compatibility) and the correct spelling (for ease of use). Charles Matsuoka Noriko 01/20/2009 0

Re: [Sipp-users] Calls limit

2009-01-21 Thread Charles P Wright
By default, SIPp is closed loop and will not allow more than 3 * call duration (with a minimum of one second) calls to be outstanding. Specify -l 0 to get open loop behavior, which removes this limit. Charles Evgeny Miloslavsky 01/21/2009 04:46 AM To cc Subject [Sipp-users] Calls limit

Re: [Sipp-users] how to timeout on receive of a message

2009-01-19 Thread Charles P Wright
You can use an ontimeout attribute on your receive for the ACK. The usage should be in the reference document. Charles Amir Abdollahi 01/19/2009 09:09 AM Please respond to aabdol...@yahoo.com To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] how to timeout on receive of a mess

Re: [Sipp-users] Can client receve request and send reply

2009-01-19 Thread Charles P Wright
The scenario can either send or receive requests, but can not be both a client (initiate brand new scenarios) and server (accept brand new scenarios). A scenario is determined by call-id. Charles "Katarina Bogdan" 01/19/2009 10:05 AM Please respond to katarin...@net.hr To sipp-users@lis

Re: [Sipp-users] size of xml scenarios

2009-01-19 Thread Charles P Wright
Yes. You may be able to change this line in xp_parser.c to get a larger limit. Charles #define XP_MAX_FILE_LEN 65536 "Katarina Bogdan" 01/19/2009 10:23 AM Please respond to katarin...@net.hr To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] size of xml scenarios Is th

Re: [Sipp-users] Sipp scenario that first send a REGISTER and then wait for an INVITE

2009-01-12 Thread Charles P Wright
There is no way to do it in the same scenario without the patch. You can create two scenarios; and if needed tie them together with 3PCC. Charles "Ulrik Svensson" 01/12/2009 12:16 PM To cc Subject [Sipp-users] Sipp scenario that first send a REGISTER and then wait for an INVITE H

Re: [Sipp-users] Incorrect default behavior in case of SUBSCRIBE-NOTIFY flow

2009-01-11 Thread Charles P Wright
Use -default_behaviors all,-bye. Charles Evgeny Miloslavsky 01/11/2009 02:09 AM To Charles P Wright/Watson/i...@ibmus, cc Subject Incorrect default behavior in case of SUBSCRIBE-NOTIFY flow Hi While running SUBSCRIBE-NOTIFY flow using SIPp-3.0 I saw that in case SIPp-UAC receives

Re: [Sipp-users] Injecting values/variables

2009-01-09 Thread Charles P Wright
Andreas Winkelbauer wrote on 01/09/2009 08:10:15 PM: > 1) When using pcap play I would like to inject the path to the pcap file > using a [fieldN] keyword or a variable [$n]. > > So, instead of something like > > > > I would like to have > > > or > > > I tried this in several ways but it

Re: [Sipp-users] rrs=true does not work

2009-01-09 Thread Charles P Wright
The rrs=true should be independent of next. Did you try a SIPp -trace_msg to see what it thinks it is sending? Charles Andreas Winkelbauer wrote on 01/08/2009 11:33:27 PM: > Hi, > > I am currently testing a SIPp scenario and I am experiencing problems > with rrs=true and next=... when recei

Re: [Sipp-users] -stat-delimiter parameter

2009-01-02 Thread Charles P Wright
Evegeny, It changes the string ";" between fields to a string of your choosing. In Europe, Excel uses ";" to differentiate fields, but in the US it uses ",". So we always use -stat_delimiter , (meaning "-stat_delimiter" [space] [comma]) which separates the fields using a comma instead of a se

Re: [Sipp-users] Howto terminate 2/3 of previously established dialogs.

2008-12-30 Thread Charles P Wright
You can't change the scenario after it is started; but you can set up something to do it probabalistically after a certain period of time; basically saying that 75% of dialogs should terminate after N seconds. Charles Evgeny Miloslavsky wrote on 12/30/2008 02:50:18 AM: > Hi All! > Let?s say

Re: [Sipp-users] How to use the [userid] keyword when running with -users option

2008-12-29 Thread Charles P Wright
a performance testing tool for the SIP proto > > Anyway, I am now skipping this issue injecting a CSV file with a > userid column, which I guess is the way to go > > -Aleksander > > On Tue, Dec 23, 2008 at 9:14 PM, Charles P Wright wrote: > > What ve

Re: [Sipp-users] HowTo set RTP packet SourceIP

2008-12-29 Thread Charles P Wright
Evgeny, It is not clear to me that there is a way to do it. The relevant code seems to be in send_packets in send_packets.c. Charles Evgeny Miloslavsky 12/29/2008 04:51 AM To cc Eli Rozenfeld , sipp-users@lists.sourceforge.net Subject [Sipp-users] HowTo set RTP packet SourceIP Hi

Re: [Sipp-users] Statistics screen as graph

2008-12-28 Thread Charles P Wright
The best way to do this would be to post process the statistics CSV file usng another graphing program. It would be possible to do this while SIPp is still running. Charles Evgeny Miloslavsky wrote on 12/28/2008 07:00:53 AM: > Hi All! > Is there any possibility to make SIPp represent Statis

Re: [Sipp-users] How to use the [userid] keyword when running with -users option

2008-12-23 Thread Charles P Wright
What version of SIPp are you using? Charles "Aleksander Morgado" 12/23/2008 02:59 PM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] How to use the [userid] keyword when running with -users option Hi all, I would like to use the "-users N" option to always have N calls

Re: [Sipp-users] Help regarding csv file

2008-12-19 Thread Charles P Wright
You can't use keywords in the regexp action. Charles "Sumeet Bhardwaj" wrote on 12/19/2008 05:22:16 AM: > Hi all, > > I am trying to input value from CSV into the scenario file using ? > ?inf ? command. But SIPp is not extracting value > from csv file. > > Below are the files and comman

Re: [Sipp-users] Problem about 2nd Via

2008-12-18 Thread Charles P Wright
You'll need two separate regexp match actions using the occurrence="1" and occurrence="2" tags. Charles Evgeny Miloslavsky wrote on 12/18/2008 01:26:52 AM: > Hi Giuseppe! > As a solution/workaround for this situation I would suggest you > after INVITE request received by UAS, to assign first

Re: [Sipp-users] String manipulation with Sipp

2008-12-16 Thread Charles P Wright
The only way to do it is to use regular expressions. For anything else, you'll need to modify the source code. Adding an action is relatively straightforward. You need to change scenario.cpp to parse it, actions.hpp to define it, and call.cpp to actually do it. Charles "Tuan Viet Nguyen"

Re: [Sipp-users] Howto set a percentage of accepted or rejected requests

2008-12-16 Thread Charles P Wright
Evegeny, You can also use next and chance like: ... accept ... ... reject ... Charles Peter Higginson wrote on 12/16/2008 04:56:52 AM: > > One way I have done that is to generate UA names of the form > user[call_number]x and then match on 5x to reject the call. That way > 10% of calls get

Re: [Sipp-users] MAX rate of dialogs SIPp able to handle

2008-12-09 Thread Charles P Wright
It will depend on the hardware and complexity of your scenario, but 250 CPS should certainly be possible on a relatively modern Linux box [within the last 3-4 years] for the basic UAC/UAS scenario. The number of outstanding dialogs is mainly memory constrained, but there is some affect on CPU.

Re: [Sipp-users] SIPp does not send response on the same TCP connection of the request

2008-12-09 Thread Charles P Wright
No. At least none I can think of. Charles "ricardo mastroleo" <[EMAIL PROTECTED]> 12/08/2008 05:10 PM To Sipp-users@lists.sourceforge.net cc Subject [Sipp-users] SIPp does not send response on the same TCP connection of the request I am testing a scenario where SIPp (V3.1) i

Re: [Sipp-users] One Call-ID per scenario

2008-12-01 Thread Charles P Wright
If you only want a single scenario to execute; you can probably hack it up. Otherwise it will require a pretty serious design change. Charles Venkat Narasimhan <[EMAIL PROTECTED]> wrote on 12/01/2008 02:04:52 AM: > Folks, > > I am looking for a hack/mod that lets SIPp(running an xml) > acce

Re: [Sipp-users] How to process second invite with another call-id

2008-11-26 Thread Charles P Wright
You can create an out-of-call scenario that will create a new call for all unexpected messages using the -oocsf option. Charles "Dhananjaya Reddy Eadala" <[EMAIL PROTECTED]> 11/26/2008 11:04 PM To [EMAIL PROTECTED] cc sipp-users@lists.sourceforge.net Subject Re: [Sipp-users] How to process

Re: [Sipp-users] different pcap files for different calls?

2008-11-21 Thread Charles P Wright
You have to change scenario.cpp so that the play_pcap_audio argument instantiates a SendingMessage structure (use the action->setMessage function), and in call.cpp the createSendingMessage should be used where the CAction::E_AT_PLAY_PCAP_AUDIO is executed in executeAction(). It should involve

Re: [Sipp-users] Variable issue

2008-11-17 Thread Charles P Wright
You assigned the variable, but never did anything with it. You need to reference it somewhere else. Charles "Sumeet Bhardwaj" <[EMAIL PROTECTED]> 11/17/2008 03:54 AM To cc [EMAIL PROTECTED], "'Samir Patni'" <[EMAIL PROTECTED]> Subject [Sipp-users] Variable issue Hi all, I am using

Re: [Sipp-users] Sipp 3.1 bug - Missing CRLF at the last line SDP

2008-11-14 Thread Charles P Wright
Mitko, The latest trunk should fix this. Charles "Mitev, Mitko" <[EMAIL PROTECTED]> 11/14/2008 06:45 AM To cc Subject [Sipp-users] Sipp 3.1 bug - Missing CRLF at the last line SDP Hi all, I found a bug in Sipp 3.1. I have got following segment with INVITE message In the sipp

Re: [Sipp-users] Variables as integer

2008-11-13 Thread Charles P Wright
You need to get a recent subversion trunk version, 3.1 does not have this support. Charles "Shamik Mukhopadhyay -X (shmukhop - WIPRO at Cisco)" <[EMAIL PROTECTED]> 11/13/2008 07:07 PM To "mayamatakeshi" <[EMAIL PROTECTED]>, Charles P Wright/Watson/[EMAIL

Re: [Sipp-users] SIPP Conditional Branching with If-Then-Else Variable Testing

2008-11-04 Thread Charles P Wright
BTW, I believe special tags he referenced are _uenxp.main (a label to jump to), _unexp.retaddr (can be used with a jump action to return), and _unexp.pausedaddr (the clock tick until we were paused at the time of the trap). I haven't used these in quite a while, but I think they should still wo

Re: [Sipp-users] SIPP Conditional Branching with If-Then-Else Variable Testing

2008-11-04 Thread Charles P Wright
David, If you get a recent trunk, you can use text names for labels and variables. I think you can even do it in 3.1. Charles "David Adams" <[EMAIL PROTECTED]> 11/04/2008 08:12 AM To Charles P Wright/Watson/[EMAIL PROTECTED] cc Subject RE: [Sipp-users] SIPP Conditional B

Re: [Sipp-users] SIPP Conditional Branching with If-Then-Else Variable Testing

2008-11-03 Thread Charles P Wright
if you set the variable you can do something like: Charles "David Adams" <[EMAIL PROTECTED]> wrote on 11/03/2008 12:41:41 PM: > Hi, > I'm trying to build error-handling into a scenario with conditional- > branching and variable testing. With the latest stable version of > SIPP, I know I

Re: [Sipp-users] Can ACK can be sent directly

2008-10-30 Thread Charles P Wright
If you use the latest trunk, you can use the setdest action to change the destination of future packets in a call. Charles "Ravi Chandra T R" <[EMAIL PROTECTED]> 10/29/2008 09:16 AM To cc Subject [Sipp-users] Can ACK can be sent directly Hi, I have some query related to ACK sending

Re: [Sipp-users] error: ?INT_MAX? was not decl ared in this scope

2008-10-16 Thread Charles P Wright
On RedHat it is in /usr/include/limits.h, which is part of the glibc-headers package. Charles Antoine <[EMAIL PROTECTED]> 10/16/2008 02:51 PM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] error: ?INT_MAX? was not declared in this scope I am trying to install SIPp on a L

Re: [Sipp-users] sipp start_rtd and rtp issue!

2008-10-16 Thread Charles P Wright
Your nop is not terminated with a (or alternatively ). Charles "ZHOU Gaofeng A" <[EMAIL PROTECTED]> 10/16/2008 05:13 AM To cc Subject [Sipp-users] sipp start_rtd and rtp issue! Hi : who can help me?, Now I try to write a xml scenario simulated registrar server, but I cannot r

Re: [Sipp-users] Poisson call arrival rate code in IMS Bench SIPp

2008-10-14 Thread Charles P Wright
I've done something similar to this in the regular SIPp using third party call control. Essentially, I had a controller that would pause exponentially in a loop, and then send a 3PCC kick-off message to a UAC. The easier way is probably to modify the opentask.cpp class to support a Poisson ar

Re: [Sipp-users] Why doesn´t SIPp re-send the ACK wh en it receive a lot of messages 200 OK?

2008-10-10 Thread Charles P Wright
This is not in 3.1, but is in the latest trunk versions. Charles Manish Sapariya <[EMAIL PROTECTED]> 10/10/2008 05:33 AM To ZiLi0n <[EMAIL PROTECTED]> cc sipp-users@lists.sourceforge.net Subject Re: [Sipp-users] Why doesn´t SIPp re-send the ACK when it receive a lot of messages 200 OK?

Re: [Sipp-users] Why doesn´t SIPp re-send the ACK wh en it receive a lot of messages 200 OK?

2008-10-09 Thread Charles P Wright
Ths is a -trace_msg trace not a -trace_calldebug trace. Charles ZiLi0n <[EMAIL PROTECTED]> 10/09/2008 11:27 AM To cc Subject [Sipp-users] Re: Why doesn´t SIPp re-send the ACK when it receive a lot of messages 200 OK? Mr Charles. Thank. Here is the traces In this traces, SIPp don´

Re: [Sipp-users] Why doesn´t SIPp re-send the ACK wh en it receive a lot of messages 200 OK?

2008-10-07 Thread Charles P Wright
You should include the output of -trace_calldebug in your message. Charles ZiLi0n <[EMAIL PROTECTED]> wrote on 10/07/2008 04:33:10 PM: > > > SIPp should retransmit the ACK if the retransmitted 200 is identical. You > > should enable -trace_msg and -trace_calldebug and see what the logs tell

Re: [Sipp-users] Why doesn´t SIPp re-send the ACK wh en it receive a lot of messages 200 OK?

2008-10-05 Thread Charles P Wright
SIPp should retransmit the ACK if the retransmitted 200 is identical. You should enable -trace_msg and -trace_calldebug and see what the logs tell you. Charles ZiLi0n <[EMAIL PROTECTED]> 10/05/2008 02:26 PM To cc Subject [Sipp-users] Why doesn´t SIPp re-send the ACK when it receive a l

Re: [Sipp-users] From-Tag as alpha-numeric string

2008-10-05 Thread Charles P Wright
The easiest way would be to use an injection file. Charles "Evgeny Miloslavsky" <[EMAIL PROTECTED]> wrote on 10/05/2008 09:34:33 AM: > Hi All > Is there any possibility to set From-tag of INVITE request sent from > SIPp as random length alpha-numeric string with possibility to > include both B

Re: [Sipp-users] implementing SIP proxy and redirect Servers

2008-10-03 Thread Charles P Wright
You can also use OpenSER for a SIP proxy/registrar. If you are particularly motivated, it think it would be possible to get SIPp to behave like these servers; but it is probably not worth the effort. Charles "Jeff Wright" <[EMAIL PROTECTED]> 10/03/2008 09:26 AM To "amar mahmoud" <[EMAIL P

Re: [Sipp-users] Question on [last_Via:]

2008-10-02 Thread Charles P Wright
Not easily. The only way I could think of is using a regexp with the occurrence attribute. Charles "Chengjian Weng" <[EMAIL PROTECTED]> 10/02/2008 04:49 PM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Question on [last_Via:] Hi to all, if multiple Via Headers in SI

Re: [Sipp-users] Call Rate Decreases with time

2008-09-26 Thread Charles P Wright
You can try -recv_timeout Ns. Charles "Ricardo Fernandes" <[EMAIL PROTECTED]> 09/26/2008 04:56 AM To sipp-users@lists.sourceforge.net, Charles P Wright/Watson/[EMAIL PROTECTED] cc Subject Call Rate Decreases with time Hello, I am facing a problem regarding the cal

Re: [Sipp-users] Different port for remote side

2008-09-24 Thread Charles P Wright
heless, using my own scenario, SIPp logs the TRYING in the > errors log file: the TRYING cannot be mapped to a known SIPp call, > although the Call-ID is correct. > Should it be an encoding issue of my scenario file? > > Cdt > Romain > > 2008/9/24 Charles P Wright <[

Re: [Sipp-users] Issue faced with updating filed value of csv injection file

2008-09-24 Thread Charles P Wright
njection file Hi, Thanks for the reply Charles. Does anyone know a workaround to this problem. Is there a way to induce a variable pause at the server side SIPp such that the the file execution of the server side resumes only after the media transfer gets completed. Regards, Madiha On Tue,

Re: [Sipp-users] Different port for remote side

2008-09-24 Thread Charles P Wright
SIPp should be able to receive and process the message from a different port. I would use a combination of packet capture and -trace_msg to make sure the packet arrives at SIPp. Charles "Romain Gautier" <[EMAIL PROTECTED]> wrote on 09/24/2008 04:37:54 AM: > Hi, > > I am trying to use SIPp as

Re: [Sipp-users] Issue faced with updating filed value of csv injection file

2008-09-23 Thread Charles P Wright
You can not update the value of CSV fields after starting SIPp. Charles "Madiha Shahid" <[EMAIL PROTECTED]> 09/23/2008 03:02 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Issue faced with updating filed value of csv injection file Hi all, Description: I am writing a

Re: [Sipp-users] SIP-I message format in sipp

2008-09-22 Thread Charles P Wright
This is applied as revision 536. It would be great if we had a nice string structure throughout the code so that we could handle non-null terminated strings both on send and receive for all types of messages; but this is a good start. Charles "Andy Aicken" <[EMAIL PROTECTED]> Sent by: [EMA

Re: [Sipp-users] Caller scenario sends out REGISTER packets without respecting -users or -l flag

2008-09-22 Thread Charles P Wright
There is no way to limit transactions or requests; only calls (either with -l or -users). If your call has only one concurrent transaction (probably the only way for SIPp to work correctly); then the number of calls is an upper bound on transactions. You can disable retransmissions with -nr to

Re: [Sipp-users] Variables as integer

2008-09-17 Thread Charles P Wright
With recent trunk versions you can do: Charles mayamatakeshi <[EMAIL PROTECTED]> 09/17/2008 01:25 PM To Charles P Wright/Watson/[EMAIL PROTECTED] cc sipp-users , [EMAIL PROTECTED] Subject Re: [Sipp-users] Variables as integer On Thu, Sep 18, 2008 at 1:59 AM, Charles P

Re: [Sipp-users] Variables as integer

2008-09-17 Thread Charles P Wright
The only way right now is to use a regular expression to parse it out as a string. Charles mayamatakeshi <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/17/2008 12:37 PM To sipp-users cc Subject [Sipp-users] Variables as integer Hello, how can I insert a variable in a message but

Re: [Sipp-users] can SIPp execute shell command like "echo" in background mode?

2008-09-15 Thread Charles P Wright
I suspect your use of double quotes within the quoted string is causing the problem. Charles [EMAIL PROTECTED] wrote on 09/12/2008 05:51:24 AM: > > Hi all, > > > I am not able to log the status of the test in the log file when sipp is > running in the background mode. > > It is able to log

Re: [Sipp-users] SIP-I message format in sipp

2008-09-15 Thread Charles P Wright
Andy, I think the patch in general is OK, but just to warn others; it doesn't affect the behavior for received messages; only sent ones. The recieve path will probably be significantly harder to correct. Charles "Andy Aicken" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/09/2008 07:04

Re: [Sipp-users] inserting timestamp of messages

2008-09-15 Thread Charles P Wright
You can use -trace_logs and the [timestamp] keyword inside of a action. Charles [EMAIL PROTECTED] wrote on 09/09/2008 09:01:44 PM: > Hi, > when using trace_msg options I can get the message with its > timestamp, But I need to extract only the timestamp in a CVS file > i have tried to

Re: [Sipp-users] UDP destination port in server mode

2008-09-15 Thread Charles P Wright
Marc, If you can extract the port from the header, you can use the new, but as of yet undocumented action: Something like: Charles [EMAIL PROTECTED] wrote on 09/05/2008 10:31:22 AM: > Hello all, > > I'm struggling to get sipp se

Re: [Sipp-users] CRLF on SDP body

2008-09-15 Thread Charles P Wright
This patch was applied in SVN version 528. Charles [EMAIL PROTECTED] wrote on 09/02/2008 12:10:24 PM: > Patch > > http://sourceforge.net/tracker/index.php? > func=detail&aid=2049758&group_id=104305&atid=637566 > > Alon Doron wrote: > Hi all > In the UAC scenario there is no CRLF on the last l

Re: [Sipp-users] multi line header

2008-09-09 Thread Charles P Wright
Roman, You can try the following: Subject: this is a \x20multi-line: Which will include the space before "multi-line:". Charles [EMAIL PROTECTED] wrote on 09/04/2008 10:37:06 AM: > > Hi , > > I am trying to make sipp to send message with the multi line header like > that: > > Subject:

Re: [Sipp-users] RTP audio/video ports

2008-09-09 Thread Charles P Wright
Scott, I don't see a reason to have the fixed 2 port offset. I would be amenable to a patch if no one else objects. Charles Scott Oaks <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/02/2008 03:34 PM Please respond to [EMAIL PROTECTED] To sipp-users@lists.sourceforge.net cc Subject [S

Re: [Sipp-users] Error in Pause statement.

2008-09-09 Thread Charles P Wright
is not an action, it is a top-level element like Charles [EMAIL PROTECTED] wrote on 09/08/2008 10:13:08 PM: > All, > > I'm using SIPp3.1. My SIPp is erroring at the following lines - can > someone provide any guidance as to what the proper syntax should be? > This xml file works okay with si

Re: [Sipp-users] Arithmetic expression

2008-09-09 Thread Charles P Wright
earch_in='hdr' > header='CSeq:' check_it='true' assign_to='5,6'/> > > //THIS ONE IS NOT WORKING > > > > > > > From, > Nazia Hussain > > > See what people are sayi

Re: [Sipp-users] RegExp: Finding nth occurence?

2008-08-29 Thread Charles P Wright
No. Charles [EMAIL PROTECTED] wrote on 08/29/2008 08:12:03 AM: > Is there a way to find the nth occurance of a regexp in "msg" > > for example, I may need to find how many times the following match occurs > > > > Send instant messages to your online friends http://uk.messenger.yahoo.

Re: [Sipp-users] Problem starting SIPp with a regular expression: Variable $1 is referenced 1 times!

2008-08-27 Thread Charles P Wright
Everyone complains about this. Is there really no one else that checking references has saved from hours of fruitless debugging? Charles "Michael Stovenour" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/27/2008 02:24 PM To "SIPp-Users" cc Subject [Sipp-users] Problem starting SIPp wi

Re: [Sipp-users] Problem starting SIPp with a regular expression: Variable $1 is referenced 1 times!

2008-08-27 Thread Charles P Wright
How about: Already comitted. Charles "Michael Stovenour" <[EMAIL PROTECTED]> 08/27/2008 02:54 PM To Charles P Wright/Watson/[EMAIL PROTECTED] cc "'SIPp-Users'" Subject RE: [Sipp-users] Problem starting SIPp with a regular expression: Variable $1 is r

Re: [Sipp-users] UAS able to send media?

2008-08-22 Thread Charles P Wright
Steve, There should be a check like the one you described. There was code for checkng sends and pauses but not nops. I factored out the code (and made it a bit simpler). It is revision 527. It seems to work, but we'll see if there is any fall out from previously good scenarios flagging an e

Re: [Sipp-users] Unexpected-message.

2008-08-22 Thread Charles P Wright
You should look at your error logs. Your system under test is likely generating error messages, indicating it is beyond its capacity. Charles "Thekkedath, Sooraj (Sooraj)" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/22/2008 01:24 AM To cc Subject [Sipp-users] Unexpected-message.

Re: [Sipp-users] string manipulation for variables in sipp

2008-08-22 Thread Charles P Wright
There is no string manipulation, you'll need to change your regular expression to exclude the <>. Charles [EMAIL PROTECTED] wrote on 08/22/2008 06:10:29 AM: > Hi > > I'm experiencing the following problem. > > When I receive the INVITE message, I'm able to store the Contact > header in a var

Re: [Sipp-users] Some errors on the log

2008-08-19 Thread Charles P Wright
ipped > >> (538), 109 trips remaining.. > > I thought the threashold is 500ms at first. > > Regards, > Nicholas SHI > --- > Qingdao, China > > 2008/8/19 Charles P Wright <[EMAIL PROTECTED]>: > > The watchdog error means tha

Re: [Sipp-users] T.38 media type m=image

2008-08-19 Thread Charles P Wright
This should be fixed in trunk. In earlier versions change "char number[X]" in get_remote_port_media to "char number[7]", where X < 7. Charles [EMAIL PROTECTED] wrote on 08/19/2008 12:06:21 PM: > hey everyone, > > looks like I found a related problem: > > > I send this SDP info in my INVITE:

Re: [Sipp-users] Some errors on the log

2008-08-19 Thread Charles P Wright
The watchdog error means that SIPp set a timer for 400ms in the future, but it took 538 ms for it to come around. If this happens often, it is an indication that your SIPp machine is overloaded. Charles [EMAIL PROTECTED] wrote on 08/19/2008 11:14:10 AM: > hi, > > I am getting some errors on

Re: [Sipp-users] T.38 media type m=image

2008-08-19 Thread Charles P Wright
There is no support in SIPp right now. To add it you'll need to change call.cpp to support m=image instead of m=audio and m=video. Search for PAT_AUDIO and PAT_VIDEO in call.cpp. Charles Patrick Miccio <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/19/2008 08:29 AM To sipp-users@lists

Re: [Sipp-users] check_it

2008-08-19 Thread Charles P Wright
using the latest SVN trunk version and it works fine. Pure joy. > > Cheers > David > > On Mon, Aug 18, 2008 at 3:43 PM, Charles P Wright <[EMAIL PROTECTED]> wrote: > > Nop is descibed in the documentation: > > http://sipp.sourceforge.net/doc3.0/reference. > h

Re: [Sipp-users] check_it

2008-08-18 Thread Charles P Wright
> > > > I get this result: > > > "strcmp 'assign_to' parameter, "compareval" is not a valid integer!" > > BTW, my sipp version is: SIPp v2.0-TLS, version 20071128, built Jan > 7 2008, 16:31:36 > > Any ideas? &

Re: [Sipp-users] check_it

2008-08-16 Thread Charles P Wright
My best suggestion would be to assign the captured value to a variable, something like (not 100% sure on syntax, but this should sketch the plan for you); then strcmp it to an empty string (returns 0 if equal), and test on the strcmp return. Charles

Re: [Sipp-users] problem in compiling SIPp using GSL

2008-08-14 Thread Charles P Wright
What Linux distribution are you using? On redhat based distributions you must have gsl-devel installed as well. Charles amar mahmoud <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 08/14/2008 04:32 PM To cc Subject [Sipp-users] problem in compiling SIPp using GSL Hey, I want

Re: [Sipp-users] Force source IP & source Port at IP laye

2008-07-30 Thread Charles P Wright
You should be able to use the -i option to SIPp to get the right IP. I'm not sure if you'll get the port right though. Charles Cyrille OLIVIER <[EMAIL PROTECTED]> 07/30/2008 12:26 PM To Charles P Wright/Watson/[EMAIL PROTECTED] cc Ricardo Fernandes <[EMAIL PROTE

Re: [Sipp-users] Force source IP & source Port at IP laye

2008-07-30 Thread Charles P Wright
No. If you want to "spoof" addresses it would be pretty hard to implement. If you just want to pick from one of your IP injection files, you could implement it without major code changes. Charles Cyrille OLIVIER <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/30/2008 10:40 AM To Ricard

Re: [Sipp-users] UDP CHECKSUM ERROR with own UAS scenario

2008-07-30 Thread Charles P Wright
You can get the part between <> using a regular expression. Charles michael <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/30/2008 10:31 AM To sipp-users@lists.sourceforge.net cc Subject Re: [Sipp-users] UDP CHECKSUM ERROR with own UAS scenario Nevermind, problem solved. Pebkac, as

Re: [Sipp-users] SIPP command not running

2008-07-29 Thread Charles P Wright
Your XML must have a [fieldN] keyword and is expecting an injection file. Charles [EMAIL PROTECTED] wrote on 07/29/2008 11:27:09 AM: > Have anyone send this error msg ? > > [EMAIL PROTECTED]:~/sbc# sipp -sf uac_reg_sample.xml 10.88.225.187 - > trace_msg -m 1 > 2008-07-29 11:19:25:9181

Re: [Sipp-users] Redirection functionality from single UAS scenario xml

2008-07-29 Thread Charles P Wright
duce some new keywords/actions. Charles "Evgeny Miloslavsky" <[EMAIL PROTECTED]> 07/29/2008 09:45 AM To Charles P Wright/Watson/[EMAIL PROTECTED] cc Subject RE: [Sipp-users] Redirection functionality from single UAS scenario xml Because SIPp recognizes redirected invit

Re: [Sipp-users] Redirection functionality from single UAS scenario xml

2008-07-29 Thread Charles P Wright
I didn't see your script, but why can't you handle it as a single call flow like? Do the normal call flow here. Charles "Evgeny Miloslavsky" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/29/2008 08:01 AM To cc Subject [Sipp-users] Redirection functionality from single UAS scenario

Re: [Sipp-users] Variable in recv timeout

2008-07-24 Thread Charles P Wright
The timeout field does not accept a variable as input. Charles "Ricardo Fernandes" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/24/2008 06:14 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Variable in recv timeout Hello, How can i put a variable in the timeout fi

Re: [Sipp-users] SIPP INFO and REFER Method

2008-07-21 Thread Charles P Wright
SIPp doesn't actually pay attention to the methods; so it doesn't support or not support any of them. Charles Jad Haddad <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/21/2008 08:37 AM To Hadriel Kaplan <[EMAIL PROTECTED]>, cc Subject [Sipp-users] SIPP INFO and REFER Method Than

  1   2   3   4   >