From b0bb0ed079f81edb8308e83a6910c26e719daa1b Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 9 Apr 2003 23:26:26 +0000 Subject: [PATCH] Fix transition to operator extension git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@806 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b7875d0808..d14884931f 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -519,8 +519,9 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int return -1; } } else if (silent == '0') { - strncpy(chan->exten, "0", sizeof(chan->exten) - 1); + strncpy(chan->exten, "o", sizeof(chan->exten) - 1); chan->priority = 0; + ast_softhangup(chan, AST_SOFTHANGUP_ASYNCGOTO); free(copy); return 0; }