You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to set dynamic timeout values for BYE request handling based on CSV data, but SIPp does not support reading CSV field variables in recv command parameters.
Issue: When UAS sends BYE during pause period, SIPp treats it as an error instead of processing it normally, the return code is 1.
III- Expected Behavior
Should be able to use CSV field variables ([field3]) or computed variables ([$tmresult]) in recv timeout parameter.
1- Use Case
UAC needs to wait a configurable amount of time (from CSV) for UAS to send BYE. If timeout expires, UAC should send BYE itself. The timeout value varies per test case.
I- Problem Description:
I need to set dynamic timeout values for BYE request handling based on CSV data, but SIPp does not support reading CSV field variables in recv command parameters.
1- Current Scenario:
This fails because [field3] from CSV cannot be used directly in the timeout parameter.
II- Attempted Solutions:
1- Variable Assignment Approach
I've tried using
assignstrandtodoubleto convert CSVfield3to numeric variable:- Error: message timeout 'timeout' parameter, "[$tmresult]" is not a valid integer!2. Pause Workaround
Current working but problematic solution:
Warning
Issue: When UAS sends BYE during pause period, SIPp treats it as an error instead of processing it normally, the return code is 1.
III- Expected Behavior
Should be able to use CSV field variables (
[field3]) or computed variables ([$tmresult]) in recv timeout parameter.1- Use Case
UAC needs to wait a configurable amount of time (from CSV) for UAS to send BYE. If timeout expires, UAC should send BYE itself. The timeout value varies per test case.
2-Environment
3- References
Related discussion (no working solution): https://sipp-users.narkive.com/Qge29Jk0/using-variables-in-recv-command-parameters
I appreciate any help on implementing dynamic timeouts for
recvcommands from CSV data.