Browse Source

Make documentation and parameters consistant.

pull/1278/head
Damir Nedžibović 5 years ago
parent
commit
8869187215
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      daemon/call_interfaces.c

+ 1
- 1
README.md View File

@ -1753,7 +1753,7 @@ 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.
If the optional 'output-file' key is set, then its value will be used
If the optional 'output-destination' key is set, then its value will be used
as an output file. Note that a filename extension will not be added.
`stop recording` Message


+ 1
- 1
daemon/call_interfaces.c View File

@ -1919,7 +1919,7 @@ const char *call_start_recording_ng(bencode_item_t *input, bencode_item_t *outpu
if (!bencode_dictionary_get_str(input, "call-id", &callid))
return "No call-id in message";
bencode_dictionary_get_str(input, "metadata", &metadata);
bencode_dictionary_get_str(input, "output_destination", &output_dest);
bencode_dictionary_get_str(input, "output-destination", &output_dest);
call = call_get_opmode(&callid, OP_OTHER);
if (!call)
return "Unknown call-id";


Loading…
Cancel
Save