Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
d5e2ef6d
Commit
d5e2ef6d
authored
9 years ago
by
Matt Jordan
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "app_record: RECORDED_FILE variable not being populated"
parents
4effba0d
c7410150
Loading
Loading
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/app_record.c
+2
-1
2 additions, 1 deletion
apps/app_record.c
with
2 additions
and
1 deletion
apps/app_record.c
+
2
−
1
View file @
d5e2ef6d
...
@@ -294,9 +294,10 @@ static int record_exec(struct ast_channel *chan, const char *data)
...
@@ -294,9 +294,10 @@ static int record_exec(struct ast_channel *chan, const char *data)
}
}
count
++
;
count
++
;
}
while
(
ast_fileexists
(
tmp
,
ext
,
ast_channel_language
(
chan
))
>
0
);
}
while
(
ast_fileexists
(
tmp
,
ext
,
ast_channel_language
(
chan
))
>
0
);
pbx_builtin_setvar_helper
(
chan
,
"RECORDED_FILE"
,
tmp
);
}
else
}
else
ast_copy_string
(
tmp
,
args
.
filename
,
sizeof
(
tmp
));
ast_copy_string
(
tmp
,
args
.
filename
,
sizeof
(
tmp
));
pbx_builtin_setvar_helper
(
chan
,
"RECORDED_FILE"
,
tmp
);
/* end of routine mentioned */
/* end of routine mentioned */
if
(
ast_channel_state
(
chan
)
!=
AST_STATE_UP
)
{
if
(
ast_channel_state
(
chan
)
!=
AST_STATE_UP
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment