From bb85236b674f1e480a9a73708813a798a793c907 Mon Sep 17 00:00:00 2001 From: Claudiu Boriga Date: Tue, 26 Sep 2017 13:38:30 +0300 Subject: [PATCH] update readme to add stop recording command --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9ead94c14..a8f711f37 100644 --- a/README.md +++ b/README.md @@ -748,6 +748,7 @@ a string and determines the type of message. Currently the following commands ar * delete * query * start recording +* stop recording The response dictionary must contain at least one key called `result`. The value can be either `ok` or `error`. For the `ping` command, the additional value `pong` is allowed. If the result is `error`, then another key @@ -1413,3 +1414,11 @@ call legs, therefore all keys other than `call-id` are currently ignored. If the chosen recording method doesn't support in-kernel packet forwarding, enabling call recording via this messages will force packet forwarding to happen in userspace only. + +`stop recording` Message +------------------------- + +The `stop recording` message must contain the key `call-id` as defined above. The reply dictionary contains +no additional keys. + +Disables call recording for the call. This can be sent during a call to imediatley stop recording it.