dect
/
asterisk
Archived
13
0
Fork 0

Wipe out p->exten in zt_hangup (bug 1115)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2389 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
citats 2004-03-10 09:11:05 +00:00
parent 825281dab8
commit eca59c8df0
1 changed files with 2 additions and 1 deletions

View File

@ -1720,7 +1720,8 @@ static int zt_hangup(struct ast_channel *ast)
}
if (p->dsp)
ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax);
if (p->exten)
strcpy(p->exten, "");
ast_log(LOG_DEBUG, "Hangup: channel: %d index = %d, normal = %d, callwait = %d, thirdcall = %d\n",
p->channel, index, p->subs[SUB_REAL].zfd, p->subs[SUB_CALLWAIT].zfd, p->subs[SUB_THREEWAY].zfd);