API in calld to stop a record
Description
known Edge cases : When a record has been stopped and the call is transferred : record do not resume
Functional tests:
Test 1 : Given I am Fulbert, and my stack is set up to record my outbound calls,
When I make a call using songbird, and I am displayed it’s been recorded, Then Songbird gives me the possibility to stop recording
Test 2 : Given I am Fulbert, and my stack is set up to record my outbound calls
When I make a call using songbird, and I am displayed it’s been recorded, and I stop the recording.
Then Songbird displays that I am not recorded anymore.
Test 3 : Given I am Fulbert, and my stack is set up to record my outbound calls
When I make a call using songbird, and I am displayed it’s been recorded, and I stop the recording and then make and assisted transfert to Fulbert2
Then both Songbirds display that I am not recorded.
Then Both Songbirds gives me the possibility to start recording the call
API changes
wazo-calld
New attribute for calls objects (API and events):
record_state
New API to stop recording calls
PUT /calls/{call_id}/record/stop
PUT /users/me/calls/{call_id}/record/stop
Activity
please add the new paths in this ticket