OK, thanks for the reply. So one has to set multiple addresses on the same pc. 
I will search on 
how to do it on linux.

Last question : is it possible to use the same local port and at the same time 
the same local IP address ?

Because for example in reality, an equipment will send registers, then invites 
to an UAS, ...from the UAS point of view
it will come from the same IP adress (the public one) and the same port (5060 : 
sip signaling).

Thanks again,
regards,
John

Subject: RE: [Sipp-users] How to open 2 sipp instance with same udp port.
Date: Fri, 27 Feb 2009 10:23:37 -0600
From: joll...@iwatsu.com
To: cocos...@live.fr; anuj-kumar.srivast...@hp.com; jeverso...@gmail.com; 
sipp-users@lists.sourceforge.net






Message





You can 
change the local IP address and program multiple IP addresses on the same PC 
(in 
Windows, you must be set to Static IP).
 
sipp 10.133.25.1:5080 -m 1 
-sf 4501invite.xml -mp 4501 -i 10.133.25.101 -p 5061 -bg -bind_local
sipp 
10.133.25.1:5080 -m 1 -sf 4503invite.xml -mp 4503 -i 10.133.26.103 -p 5061 -bg 
-bind_local
 
-i sets the 
local IP
-p sets the 
local port
 
Your .xml 
file will look like this:
 
 

INVITE sip:4...@10.133.25.1 SIP/2.0

Via: SIP/2.0/[transport] 
[local_ip]:[local_port];branch=[branch]

From: 
sip:2143846...@10.133.25.1:[local_port];tag=[call_number]

To: sip:4...@10.133.25.1:[remote_port]

Call-ID: [call_id]

CSeq: 1 INVITE

Contact: sip:4...@[local_ip]:[local_port]

Max-Forwards: 70

Content-Type: application/sdp

Content-Length: [len]

v=0

o=user1 53655765 2353687637 IN IP[local_ip_type] 
[local_ip]

s=test

c=IN IP[media_ip_type] [media_ip]

t=0 0

m=audio [media_port] RTP/AVP 0

a=rtpmap:0 PCMU/8000

 

Jeff 
Ollier│Network Quality Control 
Engineer


This e-mail and any files 
transmitted with it are the property of Iwatsu Voice Networks and are 
confidential, and intended solely for the use of the individual or entity to 
which this e-mail is addressed. If you are not one of the named recipients or 
otherwise have reason to believe that you have received this message in error, 
please notify the sender at 972.929.0242 and delete this message immediately 
from your 
computer. Any other use, retention, dissemination, forwarding, printing or 
copying of this e-mail is strictly prohibited


  
  -----Original Message-----
From: John Anderton 
  [mailto:cocos...@live.fr] 
Sent: Friday, February 27, 2009 10:15 
  AM
To: anuj-kumar.srivast...@hp.com; jeverso...@gmail.com; 
  sipp-users@lists.sourceforge.net
Subject: Re: [Sipp-users] How to 
  open 2 sipp instance with same udp port.

So, does anyone 
  know if it is possible to launch two instances of sipp on the same local port 
  ?

I tried but i got an error : errno=98 (address already in 
  use)

regards,
John


  
  From: cocos...@live.fr
To: anuj-kumar.srivast...@hp.com; 
  jeverso...@gmail.com; sipp-users@lists.sourceforge.net
Date: Thu, 26 Feb 
  2009 16:16:59 +0100
Subject: Re: [Sipp-users] How to open 2 sipp instance 
  with same udp port.


  
  Hi,

I also wanted to know how to launch several SIPp instances on the 
  same port : 
- One which will send regular registers
- One which will 
  send regular subscribes
- One which will send 
  invites

regards,
John


  
  From: anuj-kumar.srivast...@hp.com
To: jeverso...@gmail.com; 
  sipp-users@lists.sourceforge.net
Date: Tue, 24 Feb 2009 04:50:57 
  +0000
Subject: Re: [Sipp-users] How to open 2 sipp instance with same udp 
  port.


  Hello,
  I guess you may need to take a look at 3pcc feature of 
  SIPP in the docs.
   
  Anuj

  
  
  From: Jeverson Deggerone 
  [mailto:jeverso...@gmail.com] 
Sent: Monday, February 23, 2009 8:36 
  PM
To: sipp-users@lists.sourceforge.net
Subject: 
  [Sipp-users] How to open 2 sipp instance with same udp 
  port.


  
  Hello,
   
   
  Is there any posiblity to open 2 sipp instance with the same local udp 
  port?
  Ex:
   
  instance 1 - sipp working as uac, this instance will register subscriber 
  on a UAS 1.
  instance 2 - sipp will work as a UAS 2 receiving a from a 
UAS1.
   
  This scenarios is because UAS 1 works as B2BUA
   
  SIPP ---- register UAS1 = instance 1
   
  SIPP (UAC) ( can be any local  port)  -----> Call UAS 
  (B2B) ( will send packtes on port 5060, this is because i already 
  registered on port 5060) -----> Call SIPP(UAS2) ( i can only open this 
  instance using a diferent local port than 5060, but i would need to 
  have it on port 5060)
   
  Is there any posiblity to get a working scenário?
-- 
  
Jeverson Deggerone


  
  Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows 
  Live ? Lancez-vous 
  !

  
  Souhaitez vous  « être au bureau sans y être » ? Oui je le veux ! 
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  
Téléchargez-le maintenant ! 
http://www.windowslive.fr/messenger/1.asp
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to