The fix for ASTERISK-12292 was a bit too aggressive. You could have
generators pointed at each other on local channels but need to get other
kinds of frames such as DTMF or CONNECTED_LINE frames accross.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@414269
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return 0;
}
- /* do not queue frame if generator is on both local channels */
- if (us && us->generator && other->generator) {
+ /* do not queue media frames if a generator is on both local channels */
+ if (us
+ && (f->frametype == AST_FRAME_VOICE || f->frametype == AST_FRAME_VIDEO)
+ && us->generator
+ && other->generator) {
return 0;
}