diff options
Diffstat (limited to 'main/app.c')
-rw-r--r-- | main/app.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/app.c b/main/app.c index c84bd0f54..9136175ca 100644 --- a/main/app.c +++ b/main/app.c @@ -449,6 +449,10 @@ int ast_control_streamfile(struct ast_channel *chan, const char *file, break; } + /* If we are returning a digit cast it as char */ + if (res > 0 || chan->stream) + res = (char)res; + ast_stopstream(chan); return res; |