Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] fix switch_ivr_stop_displace_session when using relative file #1173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ar45
Copy link
Contributor

@ar45 ar45 commented Apr 26, 2021

switch_ivr_stop_displace_session did not convert the file to absolute path, so it was unable to find the displaced file.

  • Added new function SWITCH_DECLARE(const char *) switch_core_absolute_filepath(const char *file, switch_core_session_t *session)

this function is now used in both to be consistent with the key used to store/find the displaced file.

@signalwire-ci
Copy link

signalwire-ci bot commented Apr 26, 2021

@signalwire-ci
Copy link

signalwire-ci bot commented Apr 26, 2021

@ar45 ar45 force-pushed the fix_session_displace_stop branch 2 times, most recently from df9b129 to 92e5dc8 Compare April 26, 2021 15:38
- Added new function `SWITCH_DECLARE(const char *) switch_core_absolute_filepath(const char *file, switch_core_session_t *session)`
@ar45 ar45 force-pushed the fix_session_displace_stop branch from 92e5dc8 to 914525b Compare January 14, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant