Skip to content

Bug: Transcript file path doubled when using storage layer #125

@davidcforbes

Description

@davidcforbes

Description

The transcript addon produces a doubled file path like ./rustpbx-config/cdr/./rustpbx-config/cdr/... when using the storage layer, causing file-not-found errors.

Root Cause

storage.local_full_path() prepends the storage root directory to the path, but the transcript path already contains the full relative path from CWD. This results in a doubled path.

Fix

In src/addons/transcript/handlers.rs, replace storage_ref.local_full_path() and storage_ref.write_bytes() with direct PathBuf::from() and tokio::fs::write().

Fix commit: davidcforbes/rustpbx@55a8468

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions