From: Mark Spencer Date: Wed, 23 Jun 2004 03:19:32 +0000 (+0000) Subject: Small simplification X-Git-Tag: 1.0.0-rc1~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a363d3d1712056a5be7a2a81e389f2856695138;p=thirdparty%2Fasterisk.git Small simplification git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3283 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 0125adee47..bad2960967 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -1449,10 +1449,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout) strncpy(dest, rdest, sizeof(dest) - 1); strncpy(p->dialdest, rdest, sizeof(dest) - 1); if ((ast->_state == AST_STATE_BUSY)) { - struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_BUSY }; - /* If this is a placeholder frame for a busy channel, - return busy state immediately */ - zap_queue_frame(p, &f); + p->subs[SUB_REAL].needbusy = 1; ast_mutex_unlock(&p->lock); return 0; }