Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 634 Bytes

ex09_call_voicemail.md

File metadata and controls

26 lines (22 loc) · 634 Bytes

46elks samples: Voicemail

A voicemail system can be set up to handle missed calls that go unanswered due to any reason.

Using the following voice_start configuration allows doing just that with the 46elks API.

voice_start

{
  "connect": "+46704508449",
  "timeout": 15,
  "busy": {
    "play": "http://www.46elks.com/download/PleaseLeaveAMessageAfterTheBeep.wav",
    "next": {
      "record": "http://example.com/newvoicemail"
    }
  },
  "failed": {
    "play": "http://www.46elks.com/download/PleaseLeaveAMessageAfterTheBeep.wav",
    "next": {
      "record": "http://example.com/newvoicemail"
    }
  }
}