All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Fixed
SignalWire\LaML\MessageResponse
namespace and introducedSignalWire\LaML\MessagingResponse
for better compatibility.
- Update compatibility SDK versions.
- Add requirement to PHP
^7
.
- Relax Guzzle version requirements and allow Guzzle 7.
- Updated Twilio version to
6.10.4
- Added new test file and examples
- Added VoiceResponse, FaxResponse and MessageResponse
- Loosened the version requirements for
ramsey/uuid
. Allowed versions are^3.8 || ^4.0
- Handle Blade timeout response and randomize reconnection attempts.
- Loosened the version requirements for
monolog/monolog
. Allowed versions are^1.24 || ^2.0
- LaML engine
- Call
disconnect()
method.
- Set
peer
property on the connected Call #101
- Reconnect and restore previous protocol issue.
- Add
getUrl()
method toRecordAction
object. - 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.
- 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.
- New methods to perform answering machine detection:
amd
(alias todetectAnsweringMachine
) andamdAsync
(alias todetectAnsweringMachineAsync
).
- Deprecated the following methods on Call:
detectHuman
,detectHumanAsync
,detectMachine
,detectMachineAsync
.
- Methods to send digits on a Call:
sendDigits
,sendDigitsAsync
.
- 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
- Possible issue on WebSocket reconnect due to a race condition on the EventLoop.
- Add support for faxing. New call methods:
faxReceive
,faxReceiveAsync
,faxSend
,faxSendAsync
.
- Released new Relay Client interface.
- Add RelayConsumer.
- Handle SIGINT/SIGTERM signals.
- Add Relay calling
waitFor
,waitForRinging
,waitForAnswered
,waitForEnding
,waitForEnded
methods.
- Default React EventLoop
- Fix bug handling connect notifications.
- Ability to set a custom
\React\EventLoop
in RelayClient.
- Call
connect()
method. - Call
record()
method. - Call
playMedia()
,playAudio()
,playTTS()
,playSilence()
methods. - Call
playMediaAndCollect()
,playAudioAndCollect()
,playTTSAndCollect()
,playSilenceAndCollect()
methods. - Expose Call
play.*
,record.*
,collect
events.
- Add websocket host protocol and path automatically.
- Relay SDK to connect and use SignalWire's Relay APIs.
- Ability to set SignalWire Space URL in
SignalWire\Rest\Client
constructor viasignalwireSpaceUrl
key. - Support SIGNALWIRE_SPACE_URL env variable.
- Fax support
Initial release