Tomasz,

Just sending a note to confirm what you've written; you've got it all 
correct. The only minor thing is that in the latest trunks there is a 
<setdest> action that will let you change the host/port to send to.

Charles




Tomasz Radziszewski <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/09/2008 03:40 AM

To
[email protected]
cc

Subject
Re: [Sipp-users] How to force SIPPp to use the port specified in the 
scenario?






Hi,

Unfortunately, as far as I know, sipp doesn't look at headers at all when 
selecting port (somebody please correct me if I'm wrong, because I don't 
have 
much experience with versions > 1.1).

> Is the rrs="true" in the recv scenario making a difference? (I actually
> never used routes in the scenario. I guess I may as well remove it).
>
RRS is not for actually selecting port, but for storing Record-Route and 
Contect so that you can then use keywords [routes] and [next_url]. You 
should 
not remove RRS, because it manages not only Record-Route, but also Contact 

(and the contact is put to [next_url]).

However, these keywords only affect message contents, and not the actual 
host/port it is sent to.

> If I use the command line
>
> -rsa host:port
>
Yes, it will force (I use it in all or almost all of my tests).

> BTW, is SIPp using the port in Via header or what? Where does it gets 
the
> port to answer to from?
>
I think it is just as you said - the port from where the request comes 
(unless -rsa is used).

> And since later in the scenario I need to send BYE to another proxy on 
port
> 5080, if I put -rsa localHost:5060 would that affect the BYE message 
too?
>
Yes, RSA affects all messages

> What can I do to specify the ports to use in different part of the
> scenarios?

I think this is impossible. When I needed such test, I used an additional 
proxy between sipp and the actual System-Under-Test. The proxy was sending 

the messages appropriately, based on headers.


BR
-----
Tomasz Radziszewski
Senior Software Engineer
Ericpol Telecom sp. z o.o.
Madalinskiego 9, 30-303 Krakow, Poland
e-mail: [EMAIL PROTECTED]
http://www.ericpol.com/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to