Re: [Sipp-users] No RTP traffic between Linux clients, works fine in WinXP.

2008-10-16 Thread ZiLi0n

Stan found a bug:

-Original Message-
From: Stanislav Gorobchuk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 11:54
To: [EMAIL PROTECTED]
Subject: bug in get_remote_port_media on 5 digit port

Hi,
I found bug in file call.cpp line 195 you get only first 4 digits of 5
digits media port, to fix it remove -1 on line 195

 /* m=audio not found */
  return 0;
}
-begin += strlen(pattern) - 1;
+begin += strlen(pattern);
end = strstr(begin, \r\n);
if (!end)
  ERROR(get_remote_port_media: no CRLF found);


 Date: Wed, 15 Oct 2008 21:50:09 -0400
 From: [EMAIL PROTECTED]
 To: sipp-users@lists.sourceforge.net
 Subject: Re: [Sipp-users] No RTP traffic between Linux clients, works fine in 
 WinXP.
 
 On Wed, 15 Oct 2008 at 15:59, Antoine wrote:
  Did a final test, a WinXP client connected to a Mandriva client, here
  again no RTP traffic. As soon as I involve a Linux client I do not get
  the RTP traffic.
 
 To ask the obvious question first, is the Linux box running a firewall
 ruleset, and if so did you check that it is allowing the RTP traffic?
 
 --David
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Sipp-users mailing list
 Sipp-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sipp-users

_
Prueba los prototipos de los últimos en MSN Motor
http://motor.es.msn.com/-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


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

2008-10-16 Thread Vanessa Tejada Muñoz
Only an idea ok?

Why don not you change rtd value? I mean, for example 3 instead of true.



On Thu, Oct 16, 2008 at 11:13 AM, ZHOU Gaofeng A 
[EMAIL PROTECTED] wrote:

  Hi :
 who can help me?, Now I try to write a xml scenario simulated registrar
 server, but I cannot run it ok with the following error. How can I modify
 it?

 C:\Program Files\SIPpsipp -d 10 -i 135.251.25.238 -p 5060 -sf
 D:\call-flow\pack\
 registrar.xml
 2008-10-16  17:04:52:3341224147892.334594: You have started
 Response Time
  Duration 1, but have never stopped it!.

 C:\Program Files\SIPp

 registrar.xml:


 ?xml version=1.0 encoding=ISO-8859-1 ?
 !DOCTYPE scenario SYSTEM sipp.dtd

 !-- This program is free software; you can redistribute it and/or  --
 !-- modify it under the terms of the GNU General Public License as --
 !-- published by the Free Software Foundation; either version 2 of the --
 !-- License, or (at your option) any later version.--
 !----
 !-- This program is distributed in the hope that it will be useful,--
 !-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
 !-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  --
 !-- GNU General Public License for more details.   --
 !----
 !-- You should have received a copy of the GNU General Public License  --
 !-- along with this program; if not, write to the  --
 !-- Free Software Foundation, Inc.,--
 !-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA --
 !----
 !-- Sipp default 'branchs' scenario.   --
 !----

 scenario name=Registrar Server
 !--recv request=REGISTER start_rtd=true
 --
   recv request=REGISTER start_rtd=true
 action
ereg regexp=^5[0-9]*[0-9]$ search_in=hdr header=Contact:
 check_it=true assign_to=4/
ereg regexp=^\?.*\?$ search_in=hdr header=From:
 check_it=true assign_to=5/
  /action
   /recv

   send
 ![CDATA[

   SIP/2.0 200 OK
   [last_Via:]
   [last_From:]
   [last_To:];tag=[call_number]
   [last_Call-ID:]
   [last_CSeq:]
   Contact:
 sip:[EMAIL PROTECTED]:[local_port];transport=[transport];expires=3600
   Content-Length: 0
   Allow-Events: reg
   P-Associated-URI: [$5]
   Path: sip:pcsf-stdn.imsgroup0-000.fs5k8.shanghai.com:5060
 ;lr;bidx=0

 ]]
   /send

   nop rtd=true

   !-- definition of the response time repartition table (unit is ms)   --
   ResponseTimeRepartition value=1000, 1040, 1080, 1120, 1160, 1200/

   !-- definition of the call length repartition table (unit is ms) --
   CallLengthRepartition value=1000, 1100, 1200, 1300, 1400/

 /scenario


 Thanks!

 Jack

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Sipp-users mailing list
 Sipp-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sipp-users




-- 

Vanessa Tejada
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] Rexexp for Route: ..

2008-10-16 Thread Venkat Narasimhan
Hi, 

I ve been trying to find the reg exp to locate the pattern Route:  or 
simply the  pattern ... 

can someone help me out with this please

Thanks in advance
Venkat



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


[Sipp-users] sipp start_rtd and rtp issue!

2008-10-16 Thread ZHOU Gaofeng A
Hi :
who can help me?, Now I try to write a xml scenario simulated
registrar server, but I cannot run it ok with the following error. How
can I modify it?

C:\Program Files\SIPpsipp -d 10 -i 135.251.25.238 -p 5060 -sf
D:\call-flow\pack\
registrar.xml
2008-10-16  17:04:52:3341224147892.334594: You have started
Response Time
 Duration 1, but have never stopped it!.

C:\Program Files\SIPp 


registrar.xml:



?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE scenario SYSTEM sipp.dtd

!-- This program is free software; you can redistribute it and/or
--
!-- modify it under the terms of the GNU General Public License as
--
!-- published by the Free Software Foundation; either version 2 of the
--
!-- License, or (at your option) any later version.
--
!--
--
!-- This program is distributed in the hope that it will be useful,
--
!-- but WITHOUT ANY WARRANTY; without even the implied warranty of
--
!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--
!-- GNU General Public License for more details.
--
!--
--
!-- You should have received a copy of the GNU General Public License
--
!-- along with this program; if not, write to the
--
!-- Free Software Foundation, Inc.,
--
!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
--
!--
--
!-- Sipp default 'branchs' scenario.
--
!--
--

scenario name=Registrar Server
!--recv request=REGISTER start_rtd=true
--
  recv request=REGISTER start_rtd=true
action
   ereg regexp=^5[0-9]*[0-9]$ search_in=hdr header=Contact:
check_it=true assign_to=4/
   ereg regexp=^\?.*\?$ search_in=hdr header=From:
check_it=true assign_to=5/
 /action
  /recv
   
  send
![CDATA[

  SIP/2.0 200 OK
  [last_Via:]
  [last_From:]
  [last_To:];tag=[call_number]
  [last_Call-ID:]
  [last_CSeq:]
  Contact:
sip:[EMAIL PROTECTED]:[local_port];transport=[transport];expires=3600
  Content-Length: 0
  Allow-Events: reg 
  P-Associated-URI: [$5] 
  Path:
sip:pcsf-stdn.imsgroup0-000.fs5k8.shanghai.com:5060;lr;bidx=0

]]
  /send
  
  nop rtd=true
  
  !-- definition of the response time repartition table (unit is ms)
--
  ResponseTimeRepartition value=1000, 1040, 1080, 1120, 1160, 1200/

  !-- definition of the call length repartition table (unit is ms)
--
  CallLengthRepartition value=1000, 1100, 1200, 1300, 1400/
  
/scenario



Thanks!

Jack
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] No RTP traffic between Linux clients, works fine in WinXP.

2008-10-16 Thread rdmurray
On Thu, 16 Oct 2008 at 04:46, Antoine wrote:
  call.cpp file) but did not change anything.  Then I noticed that my
  RTP library was not installed on the Mandriva client (sorry I am a bit
  novice to Linux), installed everything related to RTP and still no
  joy...so I am still working on it...

Well, if the RTP library was actually needed for the RTP transmissions
you'd expect you'd have gotten some sort of errorbut I'm talking
here as someone with lots of Linux experience but who is only just a
user of SIPp, who has never tried to do RTP with it.

 - What would be the maximum number of calls the Windows port of SIPp can 
 - handle?

I'm sure that will depend on your processor and I/O speed just like
it does on Linux, it's just that the same hardware gets you fewer
calls-per-second under Windows/cygwin.

  2. I would like to do my testing using a bidirectional calls, I guess
  the only way would be to run 2 instances of SIPp on both clients, ie
  one instance for UAS and another one for UAC, ie:

Sounds reasonable to me, but again I've never tried this.  Another
alternative might be IMS Bench SIPp, which I'm currently learning, which
can handle multiple scenarios per SIPp instance, but which is based on
SIPp 1.1.  A second advantage of the IMS Bench is that it has a manager
that can ramp up the CPS rate in steps until too many call failures
(complete call failures or inadequate response time) start happening,
and record the results of each step.  Although...it's oriented toward
putting a SIP proxy or other central service node under load test,
and if you don't have such a node (which it sounds like you don't) then
using the raw features of IMS Bench SIPp to set up the kind of tests
you want may be more trouble than it is worth.  It all depends on your
goals and timetable :)

  Does this sound a sensible way to test my Lan in terms of simultanous
  bidirectional G711 calls?

Well, speaking as someone who understands something about LANs but is
not an expert, if you are trying to stress test your LAN infrastructure
in the face of VOIP calls, I'd worry that a two point test, while a good
place to start, might not be sufficient.  Having multiple speakers hitting
your switches or whatever would be a more realistic test than just two
speakers going over a single pair of switch ports (unless that's what
your production load is going to look like!).  My thought is that
the two point test might overstate or understate the actual LAN capacity
depending on the exact characteristics of your hardware and software.

--RDM

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] UAS not responding (was: how to test ims bench sipp scenarios)

2008-10-16 Thread rdmurray
On Mon, 13 Oct 2008 at 12:16, [EMAIL PROTECTED] wrote:
 On Mon, 13 Oct 2008 at 16:37, Verbeiren, David wrote:
  Would you have a wireshark trace of the traffic at the SIPp instances?

 I can make one.  I will work on that today.

  Maybe you System Under Test is not targeting the correct port for the
  users selected to run the UAS side scenario?

OK, the tcpdump trace run on the test system shows pretty much the
same info as the SIPp message trace did: the INVITE comes in, on a
different port than the INVITE went out on, but no response is set by
the UAS scenario.  I picked a Call-Id at random and used wireshark to
select all the packets in which it occurred.

Here is the sequence (with IP addresses sanitized).  Note that
the UAC scenario is modified from the stock scenario to include a
challenge-response, which our system requires.  I start the call timers
when I send the second INVITE, in case that matters.

I have no idea at this time why our proxy is sending a Not Implemented
back to the UAC; but, then, my familiarity with the full SIPp spec is
limited at this time.



16:41:06.335009 IP (tos 0x0, ttl 64, id 12, offset 0, flags [DF], proto UDP 
(17), length 598) 10.0.1.1.7037  10.0.1.2.5060: SIP, length: 570
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.0.1.1:7037;branch=z9hG4bK-14323-769-4
Max-Forwards: 70
Route:
From: 299137 sip:[EMAIL PROTECTED];tag=14323SIPpTag00769
To: 299153 sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Contact: sip:[EMAIL PROTECTED]:7037
Content-Type: application/sdp
Content-Length:  139

v=0
o=user1 53655765 2353687637 IN IP4 10.0.1.1
s=-
c=IN IP4 10.0.1.1
t=0 0
m=audio 6000 RTP/AVP 0
a=rtpmap:0 PCMU/8000

16:41:06.344210 IP (tos 0x10, ttl 64, id 37792, offset 0, flags [none], proto 
UDP (17), length 404) 10.0.1.2.5060  10.0.1.1.7037: SIP, length: 376
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 10.0.1.1:7037;branch=z9hG4bK-14323-769-4
From: 299137 sip:[EMAIL PROTECTED];tag=14323SIPpTag00769
To: 299153 sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Server: Sip EXpress router (0.9.6 (i386/freebsd))
Content-Length: 0


16:41:06.359987 IP (tos 0x10, ttl 64, id 37805, offset 0, flags [none], proto 
UDP (17), length 475) 10.0.1.2.5060  10.0.1.1.7037: SIP, length: 447
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.1.1:7037;branch=z9hG4bK-14323-769-4
Record-Route: sip:10.0.1.2;ftag=14323SIPpTag00769;lr
From: 299137 sip:[EMAIL PROTECTED];tag=14323SIPpTag00769
To: 299153 sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Server: Sippy
WWW-Authenticate: Digest 
realm=10.0.1.2,nonce=ddc3f9806047f46ba30dfb044e3c3df263f6


16:41:06.360190 IP (tos 0x0, ttl 64, id 14, offset 0, flags [DF], proto UDP 
(17), length 799) 10.0.1.1.7037  10.0.1.2.5060: SIP, length: 771
INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 10.0.1.1:7037;branch=z9hG4bK-14323-769-8
Max-Forwards: 70
Route:
From: 299137 sip:[EMAIL PROTECTED];tag=14323SIPpTag00769
To: 299153 sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 2 INVITE
Authorization: Digest 
username=299137,realm=10.0.1.2,uri=sip:10.0.1.2:5060,nonce=ddc3f9806047f46ba30dfb044e3c3df263f6,response=944ab1b783c73d0fc3791fae53a44a81,algorithm=MD5
Contact: sip:[EMAIL PROTECTED]:7037
Content-Type: application/sdp
Content-Length:  139

v=0
o=user1 53655765 2353687637 IN IP4 10.0.1.1
s=-
c=IN IP4 10.0.1.1
t=0 0
m=audio 6000 RTP/AVP 0
a=rtpmap:0 PCMU/8000

16:41:06.367885 IP (tos 0x10, ttl 64, id 37818, offset 0, flags [none], proto 
UDP (17), length 404) 10.0.1.2.5060  10.0.1.1.7037: SIP, length: 376
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 10.0.1.1:7037;branch=z9hG4bK-14323-769-8
From: 299137 sip:[EMAIL PROTECTED];tag=14323SIPpTag00769
To: 299153 sip:[EMAIL PROTECTED]
Call-ID: [EMAIL PROTECTED]
CSeq: 2 INVITE
Server: Sip EXpress router (0.9.6 (i386/freebsd))
Content-Length: 0


16:41:06.543496 IP (tos 0x10, ttl 64, id 37903, offset 0, flags [none], proto 
UDP (17), length 944) 10.0.1.2.5060  10.0.1.1.7053: SIP, length: 916
INVITE sip:[EMAIL PROTECTED]:7053 SIP/2.0
Record-Route: sip:10.0.1.2;ftag=c5453ab05f06c0d90196e719f5f57be9;lr
Via: SIP/2.0/UDP 
10.0.1.2;branch=z9hG4bK1c8e.8eb2807a202bfaf1096e1bbc6a61bab8.0
Via: SIP/2.0/UDP 
10.0.1.2:5061;branch=z9hG4bKfded88f11e4b7e0880ef18d7ffdd62c4;rport=5061
Max-Forwards: 16
From: 299137 sip:[EMAIL 

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

2008-10-16 Thread Charles P Wright
Your nop is not terminated with a /nop (or alternatively nop rtd=true 
/).

Charles




ZHOU Gaofeng A [EMAIL PROTECTED] 
10/16/2008 05:13 AM

To
sipp-users@lists.sourceforge.net
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 run it ok with the following error. How can 
I modify it?
C:\Program Files\SIPpsipp -d 10 -i 135.251.25.238 -p 5060 -sf 
D:\call-flow\pack\ 
registrar.xml 
2008-10-16  17:04:52:3341224147892.334594: You have started 
Response Time 
 Duration 1, but have never stopped it!. 
C:\Program Files\SIPp 

registrar.xml: 


?xml version=1.0 encoding=ISO-8859-1 ? 
!DOCTYPE scenario SYSTEM sipp.dtd 
!-- This program is free software; you can redistribute it and/or -- 
!-- modify it under the terms of the GNU General Public License as -- 
!-- published by the Free Software Foundation; either version 2 of the 
-- 
!-- License, or (at your option) any later version. -- 
!-- -- 
!-- This program is distributed in the hope that it will be useful, -- 
!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -- 
!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -- 
!-- GNU General Public License for more details. -- 
!-- -- 
!-- You should have received a copy of the GNU General Public License -- 

!-- along with this program; if not, write to the -- 
!-- Free Software Foundation, Inc., -- 
!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA -- 
!-- -- 
!-- Sipp default 'branchs' scenario. -- 
!-- -- 
scenario name=Registrar Server 
!--recv request=REGISTER start_rtd=true -- 
  recv request=REGISTER start_rtd=true 
action 
   ereg regexp=^5[0-9]*[0-9]$ search_in=hdr header=Contact: 
check_it=true assign_to=4/ 
   ereg regexp=^\?.*\?$ search_in=hdr header=From: 
check_it=true assign_to=5/ 
 /action 
  /recv 
 
  send 
![CDATA[ 
  SIP/2.0 200 OK 
  [last_Via:] 
  [last_From:] 
  [last_To:];tag=[call_number] 
  [last_Call-ID:] 
  [last_CSeq:] 
  Contact: 
sip:[EMAIL PROTECTED]:[local_port];transport=[transport];expires=3600 
  Content-Length: 0 
  Allow-Events: reg 
  P-Associated-URI: [$5] 
  Path: 
sip:pcsf-stdn.imsgroup0-000.fs5k8.shanghai.com:5060;lr;bidx=0 
]] 
  /send 
 
  nop rtd=true 
 
  !-- definition of the response time repartition table (unit is ms) -- 
  ResponseTimeRepartition value=1000, 1040, 1080, 1120, 1160, 1200/ 
  !-- definition of the call length repartition table (unit is ms) -- 
  CallLengthRepartition value=1000, 1100, 1200, 1300, 1400/ 
 
/scenario 


Thanks! 
Jack 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge
Build the coolest Linux based applications with Moblin SDK  win great 
prizes
Grand prize is a trip for two to an Open Source event anywhere in the 
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


Re: [Sipp-users] No RTP traffic between Linux clients, works fine in WinXP.

2008-10-16 Thread Antoine
 Having multiple speakers hitting
 your switches or whatever would be a more realistic test than just two
 speakers going over a single pair of switch ports (unless that's what
 your production load is going to look like!).  My thought is that
 the two point test might overstate or understate the actual LAN capacity
 depending on the exact characteristics of your hardware and software.

I totally agree with you, only 2 clients would not reflect a proper production 
network. I am actually writing a MSc thesis and one of my goal is to find out 
the call capacity of 802.11g networks (with different encryptions and QoS...) 
so there is no real network. It would be too expensive to employ many clients 
just for this project, I could have used a simulator such as Opnet or NS2 but I 
found so many discrepancies in the results (from past research) that I wanted 
to achieve this through an experimental method. I might still change my 
approach, at the moment I am only planning to stress a single 802.11g channel 
so using SIPp on 2 clients (one on the wire and one on the wireless network) 
should provide me with the highest possible number of calls in ideal 
conditions, I am aware that the # of calls should be lower with additional 
physical clients.

Thanks a lot for your advise, I might have a go at IMS Bench SIPp once I got 
more familiar with SIPp and once I solved my issue with RTP traffic missing 
between my Linux clients.



- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: sipp-users@lists.sourceforge.net
Sent: Thursday, 16 October, 2008 18:44:20
Subject: Re: [Sipp-users] No RTP traffic between Linux clients, works fine in 
WinXP.

On Thu, 16 Oct 2008 at 04:46, Antoine wrote:
  call.cpp file) but did not change anything.  Then I noticed that my
  RTP library was not installed on the Mandriva client (sorry I am a bit
  novice to Linux), installed everything related to RTP and still no
  joy...so I am still working on it...

Well, if the RTP library was actually needed for the RTP transmissions
you'd expect you'd have gotten some sort of errorbut I'm talking
here as someone with lots of Linux experience but who is only just a
user of SIPp, who has never tried to do RTP with it.

 - What would be the maximum number of calls the Windows port of SIPp can 
 - handle?

I'm sure that will depend on your processor and I/O speed just like
it does on Linux, it's just that the same hardware gets you fewer
calls-per-second under Windows/cygwin.

  2. I would like to do my testing using a bidirectional calls, I guess
  the only way would be to run 2 instances of SIPp on both clients, ie
  one instance for UAS and another one for UAC, ie:

Sounds reasonable to me, but again I've never tried this.  Another
alternative might be IMS Bench SIPp, which I'm currently learning, which
can handle multiple scenarios per SIPp instance, but which is based on
SIPp 1.1.  A second advantage of the IMS Bench is that it has a manager
that can ramp up the CPS rate in steps until too many call failures
(complete call failures or inadequate response time) start happening,
and record the results of each step.  Although...it's oriented toward
putting a SIP proxy or other central service node under load test,
and if you don't have such a node (which it sounds like you don't) then
using the raw features of IMS Bench SIPp to set up the kind of tests
you want may be more trouble than it is worth.  It all depends on your
goals and timetable :)

  Does this sound a sensible way to test my Lan in terms of simultanous
  bidirectional G711 calls?

Well, speaking as someone who understands something about LANs but is
not an expert, if you are trying to stress test your LAN infrastructure
in the face of VOIP calls, I'd worry that a two point test, while a good
place to start, might not be sufficient.  Having multiple speakers hitting
your switches or whatever would be a more realistic test than just two
speakers going over a single pair of switch ports (unless that's what
your production load is going to look like!).  My thought is that
the two point test might overstate or understate the actual LAN capacity
depending on the exact characteristics of your hardware and software.

--RDM

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great 

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 Linux Mandriva 2009 (did it previously on 
Mandriva 2008 without any problems) however I am getting the following 
error after running make pcapplay:

   scenario.cpp:900: error: ?INT_MAX? was not declared in this scope

Same error if I just do a make. Anyone has seen this error before?


[EMAIL PROTECTED] sipp.svn]$ make pcapplay
make OSNAME=`uname|sed -e s/CYGWIN.*/CYGWIN/` MODELNAME=`uname -m|sed 
s/Power Macintosh/ppc/` OBJ_PCAPPLAY=send_packets.o prepare_pcap.o 
PCAPPLAY_LIBS=-lpcap PCAPPLAY=-DPCAPPLAY sipp
make[1]: Entering directory `/home/antoine/SIPp/sipp.svn'
g++   -D__LINUX -pthread  -DSVN_VERSION=\unknown\  -DPCAPPLAY -I. 
-I/usr/include/openssl  -c -o scenario.o scenario.cpp
scenario.cpp: In constructor ?scenario::scenario(char*, int)?:
scenario.cpp:900: error: ?INT_MAX? was not declared in this scope
scenario.cpp: In function ?CSample* parse_distribution(bool)?:
scenario.cpp:1054: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1056: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1058: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1060: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1062: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1064: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1066: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1068: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp: In member function ?void 
scenario::getActionForThisMessage()?:
scenario.cpp:1320: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1320: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1321: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1321: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1411: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1443: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1446: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1449: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1452: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1455: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1458: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp: At global scope:
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:1792: warning: deprecated conversion from string constant to 
?char*?
scenario.cpp:3161: warning: deprecated conversion from string constant to 
?char*?
make[1]: *** [scenario.o] Error 1
make[1]: Leaving directory `/home/antoine/SIPp/sipp.svn'
make: *** [pcapplay] Error 2

-
This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge
Build the coolest Linux based applications with Moblin SDK  win great 
prizes
Grand prize is a trip for two to an Open Source event anywhere in the 
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net

Re: [Sipp-users] Scenario stops execution after registration withOverIHS detected message

2008-10-16 Thread Geo Paul
Hello David,

 

When I added back the 401 challenge the scenario started working. I am
not sure which metric element in the scenario file is getting affected
when I removed the 401 challenge. For now I can make some progress and
thank you for the help.

 

Geo

 

  _  

From: Verbeiren, David [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2008 8:38 AM
To: Geo Paul; sipp-users
Subject: RE: [Sipp-users] Scenario stops execution after registration
withOverIHS detected message

 

In IMS Bench SIPp, success/failure depends no only on the correct
execution of the scenario but also on the timing measurements. These are
done through timers in the scenarios and are checked against values
specified by means of the “metric” elements in the scenario files. If
you removed some steps of the scenario, it could be that you are not
taking some of the expected time measurements and thereby causing the
scenarios to be deemed as failed. You should look at the metrics, how
they are computed and if needed, remove those that have become
meaningless due to your changes.

 

-David 

 

  _  

From: Geo Paul [mailto:[EMAIL PROTECTED] 
Sent: mercredi 15 octobre 2008 23:13
To: sipp-users
Subject: Re: [Sipp-users] Scenario stops execution after registration
withOverIHS detected message

 

David, 

Thank you for your response. 

I tried the way you suggested by recreating the new bench using
ims_bench.pl and also just doing the 100% registration. But I still get
100% failure and “OverIHS detected” message. I used the wire shark to
sniff the messages and I see all success REGISTER. I do not know why the
tool considering it as failure. Does this test bench allow you to use
REGISTER without 401 challenges? In my case I removed the 401 challenge
part from my scenario and responding with 200OK directly to the REGISTER
message. Do you think that is an issue? 

 

Geo 

 

 

  _  

 

From: Verbeiren, David [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2008 5:21 AM
To: Geo Paul
Cc: sipp-users
Subject: RE: [Sipp-users] Scenario stops execution after registration
with OverIHS detected message 

 

Hi Geo, 

 

The systems stops because 100% of the scenario attempts failed during
your “initial registration” phase. From the sipp error log, it seems the
problem is that there is no user (not even a single one for the first
scenario attempt) in the user pool from which the scenario draws. This
causes the following messages in sipp error log: 

2008-10-14 14:29:16.234: Call '[EMAIL PROTECTED]' - pick_user()
returned NULL. 

2008-10-14 14:29:16.234: Call '[EMAIL PROTECTED]' - Action 'move_user'
without a user assigned!. 

 

Now, looking at your manager log, the likely reason this happens is
because, in your initial phase, instead of registrations, you seem to be
running the re-registration scenario (ims_rereg) which picks its users
among those that are currently registered. 

 

I don’t know how you got to this set up but if it wasn’t intentional,
then I suggest you start a new bench config using the ims_bench.pl
script. I believe its default scenario mix and the phases (runs) it
configures will give you a valid initial registration phase. Or just fix
the scenario mix for the first run by putting 100% to ims_reg and 0% to
ims_rereg. 

 

Regards, 

-David 

 

 

  _  

 

From: Geo Paul [mailto:[EMAIL PROTECTED] 
Sent: mardi 14 octobre 2008 16:53
To: sipp-users
Subject: [Sipp-users] Scenario stops execution after registration with
OverIHS detected message 

 

 

Hi All, 

 

I am trying to use the ims_bench for load generation in our test set up
and facing some road blocks. I have 1000 users configured and trying to
run both “manager” and the “clients’ from the same machine. It always
stops after the initial registration with a message “Over IHS detected”.
I am almost sure this must have something to do with my configuration.
Can any one take a look at and give me some clue about where I am going
wrong here. Appreciate your help in advance. 

 

Geo 

 

-
Intel Corporation NV/SA
Rond point Schuman 6, B-1040 Brussels
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-
Intel Corporation NV/SA
Rond point Schuman 6, B-1040 Brussels
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please 

Re: [Sipp-users] Rexexp for Route: ..

2008-10-16 Thread rdmurray
On Thu, 16 Oct 2008 at 13:56, Venkat Narasimhan wrote:
 I ve been trying to find the reg exp to locate the pattern Route:  or 
 simply the  pattern ...

So regex=Route:  didn't work?  According to my reading of the
posix regex doc that should be the correct expression to match
that string :)

--RDM

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users


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

2008-10-16 Thread ZHOU Gaofeng A
Hi Vanessa :
I try to with start_rtd and rtp =3, it still fail, Do you have any idea?



From: Vanessa Tejada Muñoz [mailto:[EMAIL PROTECTED] 
Sent: 2008年10月16日 20:52
To: ZHOU Gaofeng A
Cc: sipp-users@lists.sourceforge.net
Subject: Re: [Sipp-users] sipp start_rtd and rtp issue!


Only an idea ok?

Why don not you change rtd value? I mean, for example 3 instead of true. 




On Thu, Oct 16, 2008 at 11:13 AM, ZHOU Gaofeng A [EMAIL PROTECTED] wrote:


Hi : 
who can help me?, Now I try to write a xml scenario simulated 
registrar server, but I cannot run it ok with the following error. How can I 
modify it?

C:\Program Files\SIPpsipp -d 10 -i 135.251.25.238 -p 5060 -sf 
D:\call-flow\pack\ 
registrar.xml 
2008-10-16  17:04:52:3341224147892.334594: You have started 
Response Time 
 Duration 1, but have never stopped it!. 

C:\Program Files\SIPp 


registrar.xml: 



?xml version=1.0 encoding=ISO-8859-1 ? 
!DOCTYPE scenario SYSTEM sipp.dtd 

!-- This program is free software; you can redistribute it and/or  
-- 
!-- modify it under the terms of the GNU General Public License as 
-- 
!-- published by the Free Software Foundation; either version 2 of the 
-- 
!-- License, or (at your option) any later version.
-- 
!--
-- 
!-- This program is distributed in the hope that it will be useful,
-- 
!-- but WITHOUT ANY WARRANTY; without even the implied warranty of 
-- 
!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
-- 
!-- GNU General Public License for more details.   
-- 
!--
-- 
!-- You should have received a copy of the GNU General Public License  
-- 
!-- along with this program; if not, write to the  
-- 
!-- Free Software Foundation, Inc.,
-- 
!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-- 
!--
-- 
!-- Sipp default 'branchs' scenario.   
-- 
!--
-- 

scenario name=Registrar Server 
!--recv request=REGISTER start_rtd=true  
   -- 
  recv request=REGISTER start_rtd=true 
action 
   ereg regexp=^5[0-9]*[0-9]$ search_in=hdr header=Contact: 
check_it=true assign_to=4/ 
   ereg regexp=^\?.*\?$ search_in=hdr header=From: 
check_it=true assign_to=5/ 
 /action 
  /recv 
   
  send 
![CDATA[ 

  SIP/2.0 200 OK 
  [last_Via:] 
  [last_From:] 
  [last_To:];tag=[call_number] 
  [last_Call-ID:] 
  [last_CSeq:] 
  Contact: sip:[EMAIL 
PROTECTED]:[local_port];transport=[transport];expires=3600 
  Content-Length: 0 
  Allow-Events: reg 
  P-Associated-URI: [$5] 
  Path: 
sip:pcsf-stdn.imsgroup0-000.fs5k8.shanghai.com:5060;lr;bidx=0 

]] 
  /send 
  
  nop rtd=true 
  
  !-- definition of the response time repartition table (unit is ms)   
-- 
  ResponseTimeRepartition value=1000, 1040, 1080, 1120, 1160, 1200/ 

  !-- definition of the call length repartition table (unit is ms) 
-- 
  CallLengthRepartition value=1000, 1100, 1200, 1300, 1400/ 
  
/scenario 



Thanks! 

Jack 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge
Build the coolest Linux based applications with Moblin SDK  win great 
prizes
Grand prize is a trip for two to an Open Source event anywhere in the 
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users






-- 

Vanessa Tejada

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Sipp-users mailing list

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

2008-10-16 Thread ZHOU Gaofeng A
Hi charles:
I try to replace  nop rtd=true with  nop rtd=true/
still fail with the following error:

C:\Program Files\SIPpsipp -d 10 -i 135.251.25.238 -p 5060 -sf 
D:\call-flow\pack\ registrar.xml 
2008-10-16  17:04:52:3341224147892.334594: You have started 
Response Time
 Duration 1, but have never stopped it!. 

-Original Message-
From: Charles P Wright [mailto:[EMAIL PROTECTED] 
Sent: 2008年10月17日 3:01
To: ZHOU Gaofeng A
Cc: sipp-users@lists.sourceforge.net
Subject: Re: [Sipp-users] sipp start_rtd and rtp issue!

Your nop is not terminated with a /nop (or alternatively nop rtd=true 
/).

Charles




ZHOU Gaofeng A [EMAIL PROTECTED]
10/16/2008 05:13 AM

To
sipp-users@lists.sourceforge.net
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 run it ok with the following error. How can I modify it?
C:\Program Files\SIPpsipp -d 10 -i 135.251.25.238 -p 5060 -sf 
D:\call-flow\pack\ registrar.xml 
2008-10-16  17:04:52:3341224147892.334594: You have started 
Response Time
 Duration 1, but have never stopped it!. 
C:\Program Files\SIPp 

registrar.xml: 


?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE scenario SYSTEM 
sipp.dtd
!-- This program is free software; you can redistribute it and/or --
!-- modify it under the terms of the GNU General Public License as --
!-- published by the Free Software Foundation; either version 2 of the 
-- 
!-- License, or (at your option) any later version. --
!-- --
!-- This program is distributed in the hope that it will be useful, --
!-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the --
!-- GNU General Public License for more details. --
!-- --
!-- You should have received a copy of the GNU General Public License -- 

!-- along with this program; if not, write to the --
!-- Free Software Foundation, Inc., --
!-- 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA --
!-- -- 
!-- Sipp default 'branchs' scenario. -- 
!-- --
scenario name=Registrar Server
!--recv request=REGISTER start_rtd=true --
  recv request=REGISTER start_rtd=true 
action 
   ereg regexp=^5[0-9]*[0-9]$ search_in=hdr header=Contact: 
check_it=true assign_to=4/ 
   ereg regexp=^\?.*\?$ search_in=hdr header=From: 
check_it=true assign_to=5/ 
 /action
  /recv 
 
  send 
![CDATA[ 
  SIP/2.0 200 OK 
  [last_Via:] 
  [last_From:] 
  [last_To:];tag=[call_number] 
  [last_Call-ID:] 
  [last_CSeq:] 
  Contact: 
sip:[EMAIL PROTECTED]:[local_port];transport=[transport];expires=3600 
  Content-Length: 0 
  Allow-Events: reg 
  P-Associated-URI: [$5] 
  Path: 
sip:pcsf-stdn.imsgroup0-000.fs5k8.shanghai.com:5060;lr;bidx=0 
]]
  /send 
 
  nop rtd=true 
 
  !-- definition of the response time repartition table (unit is ms) --
  ResponseTimeRepartition value=1000, 1040, 1080, 1120, 1160, 1200/
  !-- definition of the call length repartition table (unit is ms) --
  CallLengthRepartition value=1000, 1100, 1200, 1300, 1400/ 
 
/scenario 


Thanks! 
Jack
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK  win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users