def on(self, event, **options):
if hasattr(self, '<STR_LIT>'):<EOL><INDENT>if (not '<STR_LIT>' in options):<EOL><INDENT>options['<STR_LIT>'] = self.voice<EOL><DEDENT><DEDENT>self._steps.append(On(event, **options).obj)<EOL>
Adds an event callback so that your application may be notified when a particular event occurs.
Possible events are: "continue", "error", "incomplete" and "hangup".
Argument: event is an event
Argument: **options is a set of optional keyword arguments.
See https://www.tropo.com/docs/webapi/on