From 37ac11b2ea201b9a3830ae379d13894321fc6cc9 Mon Sep 17 00:00:00 2001 From: romkazor Date: Sun, 9 Dec 2018 16:56:05 +0300 Subject: [PATCH] Update event.py Add some transfer Events to register_parser --- asterisk/ami/event.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asterisk/ami/event.py b/asterisk/ami/event.py index 97b9048..33a61eb 100644 --- a/asterisk/ami/event.py +++ b/asterisk/ami/event.py @@ -64,7 +64,8 @@ def __call__(self, key, value): raise NotImplementedError() -@Event.register_parser('ChanVariable', 'DestChanVariable') +@Event.register_parser('ChanVariable', 'DestChanVariable', 'TargetChanVariable', 'OrigTransfererChanVariable', + 'SecondTransfererChanVariable', 'TransfereeChanVariable', 'TransferTargetChanVariable') class KeyValueParser(EventKeyParser): def __call__(self, key, value): if key not in self.keys: