From 57ea95be1ecd620fb98fb13a943535d2dabd8cdf Mon Sep 17 00:00:00 2001 From: rmudgett Date: Thu, 9 Jul 2009 23:46:22 +0000 Subject: Merged revisions 205728 via svn merge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r205728 | rmudgett | 2009-07-09 18:37:53 -0500 (Thu, 09 Jul 2009) | 21 lines No audio on calls from Asterisk to various ISDN devices until DTMF sent by caller. Add missing clearing of the dialing flag when the ISDN call is CONNECTED. (i.e. When libpri generates the event PRI_EVENT_ANSWER.) (closes issue #15420) Reported by: scottbmilne Patches: bug15420-1.4.25.1-diff2.txt uploaded by alecdavis (license 585) Tested by: scottbmilne, alecdavis (closes issue #15416) Reported by: avinoash (closes issue #15389) Reported by: alecdavis This patch should also fix the following issue: (issue #15205) Reported by: vinsik ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@205729 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_dahdi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 3646f7247..2ae329628 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -11493,6 +11493,7 @@ static void *pri_dchannel(void *vpri) } else if (pri->pvts[chanpos]->confirmanswer) { ast_debug(1, "Waiting on answer confirmation on channel %d!\n", pri->pvts[chanpos]->channel); } else { + pri->pvts[chanpos]->dialing = 0; pri->pvts[chanpos]->subs[SUB_REAL].needanswer =1; /* Enable echo cancellation if it's not on already */ dahdi_enable_ec(pri->pvts[chanpos]); -- cgit v1.2.3