diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-02 18:26:18 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-02 18:26:18 +0000 |
commit | 0bdd91b5adf3a50cc07719e5e29ae93434008331 (patch) | |
tree | 444677db08d8353e9d3bfe4acf83ad53503b36f5 /apps | |
parent | a7c14546c1f846d402ec1c405b04c624b9c57d34 (diff) |
add missing if statement in say_position (bug #4435)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5816 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 06dcd061b..11bd229dc 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -639,6 +639,7 @@ static int say_position(struct queue_ent *qe) goto posout; } else { res = play_file(qe->chan, qe->parent->sound_thereare); + if (res && valid_exit(qe, res)) goto playout; res = ast_say_number(qe->chan, qe->pos, AST_DIGIT_ANY, qe->chan->language, (char *) NULL); /* Needs gender */ if (res && valid_exit(qe, res)) |