> Thanks for your reply Tarek. How is the "-rsa" option different from the
> "remote_host[:remote_port]" option passed as the first parameter to sipp?

remote_host is used when sending requests.  -rsa forces a specific host:port 
when sending a response to a request (since the socket was opened by the other 
side)

> I am guessing that the "-rsa" option forces this behavior. However, in that
> case, if the "rsa" option is not provided, shouldn't the response be sent to
> the IP and port specified in the "VIA" header instead of sending it back to
> the originating IP and port?

You're speaking about what a legitimate SIP endpoint would do according to the 
RFC.  And you're probably right.  I'm however saying that SIPp doesn't work 
that way (for better or worse) because it doesn't make socket decisions based 
on the contents of a message.  You're more than welcome to make those changes 
and submit them, but -rsa seems to be a sufficient workaround for most 
scenarios - and is significantly faster for a test tool!  ;)

> Another thing I also noticed is that the CALL-ID is the same for the entire
> scenario. Is this how it should be? Here's my scenario:
> 
> REGISTER ---->
>           200 <-----
>      INVITE ----->
>           100 <----
>            180 <----
>           200 <----
>           ACK ---- >
> 
> The reason why I started looking at the CALL-ID is because after I used the
> "-rsa" option, I did get a response back (200 OK), but I got the message
> from SIPp saying "Discarding message which can't be mapped to a known SIPp
> call". However, I do find a corresponding SIPp INVITE message with the same
> CALL-ID ... and then I noticed that every message in the above scenario had
> the same CALL-ID.

So, SIPp does have a heavy dependency on single call-id per call, and it has 
been discussed quite often on this alias, so I'm not getting into it here.  But 
for the call you describe, I see no reason why whoever is sending the 200 OK 
would change the call-id generated by SIPp in the invite.  The 200 should have 
the same call-id, which would then match internally.
 
> Thanks in advance for any help with this.
> 
> Thanks,
> 
> Vic
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to