SIPp / sipp

The SIPp testing tool
https://sipp.readthedocs.io
Other
921 stars 384 forks source link

mixed mode #745

Open pwinckles opened 1 month ago

pwinckles commented 1 month ago

I need to run a scenario that maintains a registration while also listening for incoming calls. We had been using a very old version with a patch applied that allowed two scenarios to be specified and it would run in "mixed mode". In order to upgrade to the latest, unpatched version, I attempted to convert the distinct register and receive scenarios that we had been using into a single scenario, using some branching trickery. However, I'm unable to get it working, and I assume it's because the scenario is running in client mode (because the first command is a register), which doesn't allow for using server recv request commands.

Is there anyway to get this to work without a sipp code change? If not, is there any interest in officially adding that functionality from old patch I linked to above?

orgads commented 1 month ago

Pushed as #746. Please give it a try.

pwinckles commented 1 month ago

Thank you so much! I will test it tomorrow.