|
|
@ -6223,7 +6223,7 @@ static void *ss_thread(void *data)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (res < 0) {
|
|
|
|
if (res < 0) {
|
|
|
|
ast_log(LOG_WARNING, "CallerID feed failed: %s\n", strerror(errno));
|
|
|
|
ast_log(LOG_WARNING, "CallerID feed failed on channel '%s'\n", chan->name);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
} else if (res)
|
|
|
|
} else if (res)
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -6235,9 +6235,6 @@ static void *ss_thread(void *data)
|
|
|
|
callerid_get(cs, &name, &number, &flags);
|
|
|
|
callerid_get(cs, &name, &number, &flags);
|
|
|
|
ast_log(LOG_NOTICE, "CallerID number: %s, name: %s, flags=%d\n", number, name, flags);
|
|
|
|
ast_log(LOG_NOTICE, "CallerID number: %s, name: %s, flags=%d\n", number, name, flags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (res < 0) {
|
|
|
|
|
|
|
|
ast_log(LOG_WARNING, "CallerID returned with error on channel '%s'\n", chan->name);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (p->cid_signalling == CID_SIG_V23_JP) {
|
|
|
|
if (p->cid_signalling == CID_SIG_V23_JP) {
|
|
|
|
res = zt_set_hook(p->subs[SUB_REAL].zfd, ZT_ONHOOK);
|
|
|
|
res = zt_set_hook(p->subs[SUB_REAL].zfd, ZT_ONHOOK);
|
|
|
|