diff --git a/sipssert/tasks/opensips-cli.py b/sipssert/tasks/opensips-cli.py index c08a08d..d57e432 100644 --- a/sipssert/tasks/opensips-cli.py +++ b/sipssert/tasks/opensips-cli.py @@ -54,6 +54,12 @@ def get_task_args(self): if self.script: args.append(self.script) + + options = self.config.get("options", {}) + + for k, v in options.items(): + args.append("-o") + args.append(f"{k}={v}") return args