From bd5e4c063d54f04d9b7a2121b78d577c6edc92a3 Mon Sep 17 00:00:00 2001 From: Ihor Date: Wed, 10 Nov 2021 23:45:39 +0200 Subject: [PATCH] Update action.py Fix send variables to asterisk --- asterisk/ami/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asterisk/ami/action.py b/asterisk/ami/action.py index 004a86b..1cd6f69 100644 --- a/asterisk/ami/action.py +++ b/asterisk/ami/action.py @@ -29,7 +29,7 @@ def __getitem__(self, item): class SimpleAction(Action): def __init__(self, name, **kwargs): - super(SimpleAction, self).__init__(name=name, keys=kwargs) + super(SimpleAction, self).__init__(name=name, keys=kwargs, variables=kwargs['Variable']) class LoginAction(Action):