From: Mark Spencer Date: Fri, 19 Nov 2004 13:45:44 +0000 (+0000) Subject: Fix V23 callerid handling if an event is received (bug #2909) X-Git-Tag: 1.2.0-beta1~1788 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c05c95b497972eb49dcb63da4c5f9b09ce9f4d3c;p=thirdparty%2Fasterisk.git Fix V23 callerid handling if an event is received (bug #2909) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4296 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 3f0f7e6aea..3486d5ae4b 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5315,6 +5315,7 @@ static void *ss_thread(void *data) res = zt_get_event(p->subs[index].zfd); ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res)); res = 0; + break; } else if (i & ZT_IOMUX_READ) { res = read(p->subs[index].zfd, buf, sizeof(buf)); if (res < 0) {