diff --git a/docs/Channel-Variables-Catalog/record_post_process_exec_app_16352899.mdx b/docs/Channel-Variables-Catalog/record_post_process_exec_app_16352899.mdx index 847481dc..f62e049b 100644 --- a/docs/Channel-Variables-Catalog/record_post_process_exec_app_16352899.mdx +++ b/docs/Channel-Variables-Catalog/record_post_process_exec_app_16352899.mdx @@ -13,4 +13,22 @@ string Executes an app for the purpose of postprocessing recorded audio. The rea ``` +```xml + +``` + +> **Runs a FreeSWITCH *application* or an external *system* command _after_ `record_session` finishes — even when the A-leg hangs up first and the dialplan stops.** + +### Syntax + +```text +record_post_process_exec_app= +``` + +`` supports two distinct forms: + +| Purpose | Prefix | Example | +| --------------------------- | ------------- | --------------------------------------------------------------------------------- | +| Call a FreeSWITCH app | `:[::]` | `lua::vm_test.lua` | +| Execute an OS-level command | `system:` | `system:/opt/scripts/convert_upload.sh ${record_path} ${uuid}` |