Skip to main content
set_voicemail_action() tells the agent what to do if it reaches an answering machine.
set_voicemail_action() and reach_person() both handle voicemail and cannot be used together. If you are using reach_person(), set voicemail behavior there via its voicemail_message or voicemail_hangup parameters instead. Using both raises an error.
signature

Example

example.py
You must specify exactly one of hangup or message — passing both or neither raises an error.