[Asterisk-cvs] asterisk/channels chan_zap.c,1.386,1.387
markster at lists.digium.com
markster at lists.digium.com
Sat Dec 11 18:03:15 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv25421/channels
Modified Files:
chan_zap.c
Log Message:
Don't send DTMF when there is no owner (partof bug #3011)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -d -r1.386 -r1.387
--- chan_zap.c 11 Dec 2004 00:02:08 -0000 1.386
+++ chan_zap.c 11 Dec 2004 23:00:20 -0000 1.387
@@ -880,7 +880,7 @@
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) {
More information about the svn-commits
mailing list