mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 04:46:29 +00:00
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
This commit is contained in:
@@ -5315,6 +5315,7 @@ static void *ss_thread(void *data)
|
|||||||
res = zt_get_event(p->subs[index].zfd);
|
res = zt_get_event(p->subs[index].zfd);
|
||||||
ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res));
|
ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res));
|
||||||
res = 0;
|
res = 0;
|
||||||
|
break;
|
||||||
} else if (i & ZT_IOMUX_READ) {
|
} else if (i & ZT_IOMUX_READ) {
|
||||||
res = read(p->subs[index].zfd, buf, sizeof(buf));
|
res = read(p->subs[index].zfd, buf, sizeof(buf));
|
||||||
if (res < 0) {
|
if (res < 0) {
|
||||||
|
Reference in New Issue
Block a user