Release Notes - v0.6.0¶
Release Date: 2026-03-07
Overview¶
OmniVoice v0.6.0 adds CallSystem type re-exports from omnivoice-core, enabling unified imports for voice call functionality alongside STT and TTS.
Highlights¶
- CallSystem Types: Re-export call system types from omnivoice-core for unified imports
- Call Options: Helper functions for configuring outbound calls
What's New¶
CallSystem Type Re-exports¶
Import call system types directly from omnivoice without importing omnivoice-core:
import "github.com/plexusone/omnivoice"
// These types are now available from the main package
var call omnivoice.Call
var status omnivoice.CallStatus
var handler omnivoice.CallHandler
Call Options¶
New option functions for configuring outbound calls:
| Option | Description |
|---|---|
WithFrom(number) |
Set the caller ID number |
WithTimeout(duration) |
Set ring timeout |
WithAgent(name) |
Set agent identifier |
WithStatusCallback(url) |
Set status webhook URL |
Usage Example¶
import (
"github.com/plexusone/omnivoice"
_ "github.com/plexusone/omnivoice/providers/all"
)
// Get call system provider
provider, _ := omnivoice.GetCallSystemProvider("twilio",
omnivoice.WithAccountSID(accountSID),
omnivoice.WithAuthToken(authToken),
omnivoice.WithPhoneNumber("+15551234567"),
)
// Make a call with options
call, err := provider.MakeCall(ctx, "+15559876543",
omnivoice.WithFrom("+15551234567"),
omnivoice.WithTimeout(30 * time.Second),
)
Added¶
callsystem.gore-exportingCall,CallSystem,CallStatus, and related types from omnivoice-coreCallHandler,CallOptions,CallDirectiontype aliasesWithFrom,WithTimeout,WithAgent,WithStatusCallbackcall options
Documentation¶
- Update README shields
Dependencies¶
- Update omnivoice-core and provider dependencies
Installation¶
Upgrade Notes¶
This is a backward-compatible release. No breaking changes from v0.5.0.