All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Add support for iceTransportPolicy
- Ability to set
from_name
when dialing SIP devices. - Ability to pass an inbound Call to another consumer using
await call.pass()
- Add support for SIP REFER using
refer()
andreferAsync()
methods.
- Call
disconnect()
method to disconnect two legs. - Allowing to
call.connect()
with a SIP device. - Added support to dial multiple devices simultaneous.
- Handle SIP devices in a Relay
Call
object.
- Handle server-side timeout error closing and reconnecting the websocket connection.
- Update both dependencies and devDependencies
- Keep trying to reconnect WS in case of network failure - even if it has never been connected.
- Dispatch proper
prompt
event for all calling prompt asynchronous methods.
- Update devDependencies
- Relay client reconnection issue after network failure/reset.
- Add
url
property toRecordAction
. - Add methods to
pause
andresume
a PlayAction. - Ability to set volume playback on
play
andprompt
methods, or through the asynchronousPlayAction
andPromptAction
objects. - Add
playRingtone
andplayRingtoneAsync
methods to simplify play a ringtone. - Add
promptRingtone
andpromptRingtoneAsync
methods to simplify play a ringtone. - Support
ringback
option onconnect
andconnectAsync
methods.
- Avoid
Unhandled promise rejection
error in case of Relay errors while registering contexts.
- Minor change at the lower level APIs: using
calling.
instead ofcall.
prefix for calling methods. - Flattened parameters for record, play, prompt, detect and tap calling methods.
- Do not send a Relay request if the Call is ended, preventing the error "Call does not exists".
- New methods to perform answering machine detection:
amd
(alias todetectAnsweringMachine
) andamdAsync
(alias todetectAnsweringMachineAsync
). - Methods to send digits on a Call:
sendDigits
,sendDigitsAsync
.
- Deprecated the following methods on Call:
detectHuman
,detectHumanAsync
,detectMachine
,detectMachineAsync
.
- Create your own Relay Tasks and enable
onTask
method on RelayConsumer to receive/handle them. - Methods to start a detector on a Call:
detect
,detectAsync
,detectHuman
,detectHumanAsync
,detectMachine
,detectMachineAsync
,detectFax
,detectFaxAsync
,detectDigit
,detectDigitAsync
- Methods to tap media in a Call:
tap
andtapAsync
- Support for Relay Messaging
- Add support for faxing. New call methods:
faxReceive
,faxReceiveAsync
,faxSend
,faxSendAsync
.
- Add Relay calling
waitFor
,waitForRinging
,waitForAnswered
,waitForEnding
,waitForEnded
methods.
- Released new Relay Client interface.
- Add Relay Consumer.
- Handle SIGINT/SIGTERM signals.
- Declaration files for TypeScript developers
- Call
connect()
method. - Call
record()
method. - Call
playMedia()
,playAudio()
,playTTS()
,playSilence()
methods. - Call
playMediaAndCollect()
,playAudioAndCollect()
,playTTSAndCollect()
,playSilenceAndCollect()
methods. - Expose Call
play.*
,record.*
,collect
events.
- Relay SDK to connect and use SignalWire's Relay APIs.
- Ability to set SignalWire Space URL in
RestClient
constructor viasignalwireSpaceUrl
property.
- WSS endpoint for SignalWire spaces