Skip to content

Commit

Permalink
Update event.py
Browse files Browse the repository at this point in the history
Add some transfer Events to register_parser
  • Loading branch information
romkazor authored and ettoreleandrotognoli committed Dec 11, 2018
1 parent 19293f5 commit 37ac11b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asterisk/ami/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 37ac11b

Please sign in to comment.