def action_success_handler()

in src/smaLambda/callForwardingSMA.py [0:0]


def action_success_handler(event):
    action = event['ActionData']['Type']
    if action == 'Answer':
        return respond()
    elif action == 'Hangup':
        return respond()
    elif action == 'CallAndBridge':
        logger.info('RECV {} Connected to Outbound call'.format(log_prefix))
        return respond()
    return respond()