mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-05 22:32:32 -07:00
Don't send DTMF when there is no owner (partof bug #3011)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+1
-1
@@ -880,7 +880,7 @@ static int zt_digit(struct ast_channel *ast, char digit)
|
||||
p = ast->pvt->pvt;
|
||||
ast_mutex_lock(&p->lock);
|
||||
index = zt_get_index(ast, p, 0);
|
||||
if (index == SUB_REAL) {
|
||||
if ((index == SUB_REAL) && p->owner) {
|
||||
#ifdef ZAPATA_PRI
|
||||
if (p->sig == SIG_PRI && ast->_state == AST_STATE_DIALING && (p->proceeding < 2)) {
|
||||
if (p->setup_ack) {
|
||||
|
||||
Reference in New Issue
Block a user