There was already code for other signaling types in dahdi_handle_event to
handle dialing if a dial operation dial string was present. Simply add
SIG_EMWINK to the list.
(closes issue #14434)
Reported by: araasch
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@207827
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return -1;
}
} else
- ast_log(LOG_DEBUG, "Deferring dialing...\n");
+ ast_log(LOG_DEBUG, "Deferring dialing... (res %d)\n", res);
p->dialing = 1;
if (ast_strlen_zero(c))
p->dialednone = 1;
break;
case SIG_EM:
case SIG_EM_E1:
- case SIG_EMWINK:
case SIG_FEATD:
case SIG_SF:
case SIG_SFWINK:
case SIG_FEATB:
case SIG_SF_FEATDMF:
case SIG_SF_FEATB:
- /* FGD MF *Must* wait for wink */
+ case SIG_EMWINK:
+ /* FGD MF and EMWINK *Must* wait for wink */
if (!ast_strlen_zero(p->dop.dialstr)) {
res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_DIAL, &p->dop);
if (res < 0) {