|
|
@ -2541,12 +2541,11 @@ static int __ast_pbx_run(struct ast_channel *c)
|
|
|
|
pos = 0;
|
|
|
|
pos = 0;
|
|
|
|
dst_exten[pos++] = digit = res;
|
|
|
|
dst_exten[pos++] = digit = res;
|
|
|
|
dst_exten[pos] = '\0';
|
|
|
|
dst_exten[pos] = '\0';
|
|
|
|
}
|
|
|
|
} else if (res == AST_PBX_KEEPALIVE) {
|
|
|
|
if (res == AST_PBX_KEEPALIVE) {
|
|
|
|
|
|
|
|
ast_debug(1, "Spawn extension (%s,%s,%d) exited KEEPALIVE on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
ast_debug(1, "Spawn extension (%s,%s,%d) exited KEEPALIVE on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
ast_verb(2, "Spawn extension (%s, %s, %d) exited KEEPALIVE on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
ast_verb(2, "Spawn extension (%s, %s, %d) exited KEEPALIVE on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
error = 1;
|
|
|
|
error = 1;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
ast_debug(1, "Spawn extension (%s,%s,%d) exited non-zero on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
ast_debug(1, "Spawn extension (%s,%s,%d) exited non-zero on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
ast_verb(2, "Spawn extension (%s, %s, %d) exited non-zero on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
ast_verb(2, "Spawn extension (%s, %s, %d) exited non-zero on '%s'\n", c->context, c->exten, c->priority, c->name);
|
|
|
|
|
|
|
|
|
|
|
@ -2573,6 +2572,7 @@ static int __ast_pbx_run(struct ast_channel *c)
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (error)
|
|
|
|
if (error)
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|