Hi all,

I am trying to run some scenario and I get sipp automatically (without any command to do it in the scenario file) to copy Record-Route and Route received in a Response as first headers in teh following request within the same dialog. I want to avoid that behavior but have, so far, been unable to find in the source code where sipp is doing that (I'm no good with c++ and don't really understand what is going on in the sources of sipp).

In my scenario sipp is emulating a proxy behind which both users are towards some chain of servers. It's sending an INVITE, receiving it back with some Record-Route and Route, then sending a 183  to the INVITE (with a copy of the Record-Route and Route received), receiving it back and then I want to send a PRACK. The problem is that sipp automatically includes the Record-Route and Route headers received into all the messages it generates. In the responses I don't mind because the  Via is going to be used for the routing;  but in the Requests its a problem. I need to write into the Route the content of the Record-Route I received. I can do that with a actions and variables in the scenarios. My problem is that I need to stop sipp from automatically copying the Record-Route and Route received into the next message sent.

Does anyone know where that logic is in the sources so I can comment it out? This might be something that is good for everyone else, but I would rather have to tell sipp in the scenario file exactly all headers I want in the messages sent.

By the way in the recv commands I always have rrs=false in case that helps, but it doesn't help. sipp includes the Record-Route and Route received in the next send message.

Any hint is welcome! Thanks!

Best regards

alberto



_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to