voicemail
Triggered when a caller leaves a voicemail on one of your SIPSIM phone numbers. This typically happens after a missed incoming call when the caller is redirected to voicemail.
When This Event Fires
- A caller leaves a voicemail message after a missed call
- The voicemail is synced and available for playback
Payload
| Field | Type | Description |
|---|---|---|
event | string | Always "voicemail" |
caller | string | Phone number of the caller who left the voicemail |
receiver | string | SIPSIM phone number the voicemail was left on |
time | string | Timestamp of the event |
pbx_id | string | Unique call identifier in the PBX |
duration | integer | Duration of the voicemail in seconds |
audio_path | string | URL to the voicemail recording |
Example Payload
{
"event": "voicemail",
"caller": "+33612345678",
"receiver": "+33198765432",
"time": "2025-01-15T10:31:00Z",
"pbx_id": "call_abc123",
"duration": 15,
"audio_path": "https://app.sipsim.com/recordings/vm_abc123.mp3"
}
Related Events
incoming_call_end— the missed call that preceded the voicemail (statusMISSEDorNOANSWER)speech— if transcription is enabled, a transcription of the voicemail may follow