diff options
-rw-r--r-- | channels/chan_misdn.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 97ec2caab..3181a1a53 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -2068,10 +2068,14 @@ static int misdn_digit(struct ast_channel *ast, char digit ) } break; - default: - if ( bc->send_dtmf ) { + default: + /* Do not send Digits in CONNECTED State, when + * the other side is too mISDN. */ + if (p->other_ch ) + return 0; + + if ( bc->send_dtmf ) send_digit_to_chan(p,digit); - } break; } |