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:
parent
825281dab8
commit
eca59c8df0
|
@ -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);
|
||||
|
|
Reference in New Issue