|
|
@ -9602,15 +9602,17 @@ static int dahdi_write(struct ast_channel *ast, struct ast_frame *frame)
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (p->dialing) {
|
|
|
|
if (p->dialing) {
|
|
|
|
ast_debug(1, "Dropping frame since I'm still dialing on %s...\n",ast_channel_name(ast));
|
|
|
|
ast_debug(5, "Dropping frame since I'm still dialing on %s...\n",
|
|
|
|
|
|
|
|
ast_channel_name(ast));
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!p->owner) {
|
|
|
|
if (!p->owner) {
|
|
|
|
ast_debug(1, "Dropping frame since there is no active owner on %s...\n",ast_channel_name(ast));
|
|
|
|
ast_debug(5, "Dropping frame since there is no active owner on %s...\n",
|
|
|
|
|
|
|
|
ast_channel_name(ast));
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (p->cidspill) {
|
|
|
|
if (p->cidspill) {
|
|
|
|
ast_debug(1, "Dropping frame since I've still got a callerid spill on %s...\n",
|
|
|
|
ast_debug(5, "Dropping frame since I've still got a callerid spill on %s...\n",
|
|
|
|
ast_channel_name(ast));
|
|
|
|
ast_channel_name(ast));
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|