diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 84c2e43a27d35702c3c4f2e48bc41d9b6f8402ba..a1642dafc17db58d336c94dbd93a462616da4c7c 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5280,6 +5280,18 @@ static void *ss_thread(void *data) res = my_getsigstr(chan, dtmfbuf + 1, "#", 3000); if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp); break; + case SIG_EMWINK: + /* if we received a '*', we are actually receiving Feature Group D + dial syntax, so use that mode; otherwise, fall through to normal + mode + */ + if (res == '*') { + res = my_getsigstr(chan, dtmfbuf + 1, "*", 3000); + if (res > 0) + res = my_getsigstr(chan, dtmfbuf + strlen(dtmfbuf), "*", 3000); + if ((res < 1) && (p->dsp)) ast_dsp_digitreset(p->dsp); + break; + } default: /* If we got the first digit, get the rest */ len = 1;