projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae07b8e
)
Don't check PRI settings unless there is PRI
author
Mark Spencer
<markster@digium.com>
Sat, 10 Apr 2004 03:46:59 +0000
(
03:46
+0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 10 Apr 2004 03:46:59 +0000
(
03:46
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2672
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
818a072
..
5eccced
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-3673,11
+3673,13
@@
struct ast_frame *zt_read(struct ast_channel *ast)
f = NULL;
}
} else if (f->frametype == AST_FRAME_DTMF) {
+#ifdef ZAPATA_PRI
if (!p->proceeding && p->sig==SIG_PRI && p->pri && p->pri->overlapdial) {
/* Don't accept in-band DTMF when in overlap dial mode */
f->frametype = AST_FRAME_NULL;
f->subclass = 0;
}
+#endif
/* DSP clears us of being pulse */
p->pulsedial = 0;
}