git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4917
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (flags & (AST_BRIDGE_DTMF_CHANNEL_0 | AST_BRIDGE_DTMF_CHANNEL_1))
return -2;
+
ast_mutex_lock(&c0->lock);
ast_mutex_lock(&c1->lock);
ast_log(LOG_DEBUG, "Dropping frame since I'm still dialing on %s...\n",ast->name);
return 0;
}
+ if (!p->owner) {
+ if (option_debug)
+ ast_log(LOG_DEBUG, "Dropping frame since there is no active owner on %s...\n",ast->name);
+ return 0;
+ }
if (p->cidspill) {
if (option_debug)
ast_log(LOG_DEBUG, "Dropping frame since I've still got a callerid spill\n");