[Asterisk-Users] Help with Warnings
Andy Hester
cgadmin at conserogroup.com
Tue Nov 18 11:18:17 MST 2003
I'm trying to clean up some notices/warnings that are repeatedly logged
in *.Any Help would be appreciated as I'm not sure of the cause
/solution.
Here are the errors:
Nov 17 15:53:38 WARNING[1217602880]: File chan_zap.c, Line 1321
(zt_call): cidspill already exists??
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/* Don't send audio while on hook, until the call is answered */
p->dialing = 1;
if (p->use_callerid) {
/* Generate the Caller-ID spill if desired
*/
if (p->cidspill) {
ast_log(LOG_WARNING, "cidspill
already exists??\n");
free(p->cidspill);
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Nov 17 17:13:51 NOTICE[1242768320]: File app_dial.c, Line 502
(dial_exec): Unable to create channel of type 'Zap'
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/* Request the peer */
tmp->chan = ast_request(tech, chan->nativeformats,
numsubst);
if (!tmp->chan) {
/* If we can't, just go on to the next call */
ast_log(LOG_NOTICE, "Unable to create channel of
type '%s'\n", tech);
if (chan->cdr)
ast_cdr_busy(chan->cdr);
free(tmp);
cur = rest;
continue;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Nov 17 17:20:57 NOTICE[1209214400]: File chan_zap.c, Line 3462
(zt_read): Fax detected, but no fax extension
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/* Fax tone -- Handle and return NULL */
if (!p->faxhandled) {
p->faxhandled++;
if (strcmp(ast->exten, "fax")) {
if (ast_exists_extension(ast,
ast->context, "fax", 1,
ast->callerid)) {
if (option_verbose > 2)
ast_verbose(VERBOSE_
PREFIX_3 "Redirecting %s to fax extension\n",
ast->name);
/* Save the DID/DNIS when we
transfer the fax call to a "fax"
extension */
pbx_builtin_setvar_helper(as
t,"FAXEXTEN",ast->exten);
if (ast_async_goto(ast,
ast->context, "fax", 1, 0))
ast_log(LOG_WARNING,
"Failed to async goto '%s' into fax of
'%s'\n", ast->name, ast->context);
} else
ast_log(LOG_NOTICE, "Fax
detected, but no fax extension\n");
} else
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Nov 17 17:26:04 WARNING[1234379584]: File chan_zap.c, Line 3331
(zt_read): zt_rec: Unknown error 500
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/* Check for hangup */
if (res < 0) {
if (res == -1) {
if (errno == EAGAIN) {
/* Return "NULL" frame if there is nobody
there */
ast_mutex_unlock(&p->lock);
return &p->subs[index].f;
} else
ast_log(LOG_WARNING, "zt_rec: %s\n",
strerror(errno));
}
ast_mutex_unlock(&p->lock);
return NULL;
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
thanks,
Andy
More information about the asterisk-users
mailing list