[svn-commits] crichter: branch 1.2 r68874 -
/branches/1.2/channels/chan_misdn.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue Jun 12 00:48:52 MST 2007
Author: crichter
Date: Tue Jun 12 02:48:52 2007
New Revision: 68874
URL: http://svn.digium.com/view/asterisk?view=rev&rev=68874
Log:
if we have already some digits, we just stop the tones.
Modified:
branches/1.2/channels/chan_misdn.c
Modified: branches/1.2/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_misdn.c?view=diff&rev=68874&r1=68873&r2=68874
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Tue Jun 12 02:48:52 2007
@@ -3530,7 +3530,7 @@
static void wait_for_digits(struct chan_list *ch, struct misdn_bchannel *bc, struct ast_channel *chan) {
ch->state=MISDN_WAITING4DIGS;
misdn_lib_send_event(bc, EVENT_SETUP_ACKNOWLEDGE );
- if (bc->nt)
+ if (bc->nt && !bc->dad[0])
dialtone_indicate(ch);
}
More information about the svn-commits
mailing list