[svn-commits] crichter: branch 1.4 r89173 - in /branches/1.4: channels/ configs/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 12 05:26:49 CST 2007


Author: crichter
Date: Mon Nov 12 05:26:48 2007
New Revision: 89173

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89173
Log:
if we're NT and no number was dialed and overlapdial is set, we wait for the ISDN timeout instead of starting our own timer. added a comment for the misdn.conf.sample for the overlapdial config option.

Modified:
    branches/1.4/channels/chan_misdn.c
    branches/1.4/configs/misdn.conf.sample

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=89173&r1=89172&r2=89173
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Mon Nov 12 05:26:48 2007
@@ -4354,6 +4354,17 @@
 			break;
 		}
 
+
+		/*
+		 * When we are NT and overlapdial is set and if 
+		 * the number is empty, we wait for the ISDN timeout
+		 * instead of our own timer.
+		 */
+		if (ch->overlap_dial && bc->nt && !bc->dad[0] ) {
+			wait_for_digits(ch, bc, chan);
+			break;
+		}
+
 		/* 
 		 * If overlapdial we will definitely send a SETUP_ACKNOWLEDGE and wait for more 
 		 * Infos with a Interdigit Timeout.

Modified: branches/1.4/configs/misdn.conf.sample
URL: http://svn.digium.com/view/asterisk/branches/1.4/configs/misdn.conf.sample?view=diff&rev=89173&r1=89172&r2=89173
==============================================================================
--- branches/1.4/configs/misdn.conf.sample (original)
+++ branches/1.4/configs/misdn.conf.sample Mon Nov 12 05:26:48 2007
@@ -243,6 +243,13 @@
 ;
 method=standard
 
+
+; specify if chan_misdn should collect digits before going into the 
+; dialplan, you can choose yes=4 Seconds, no, or specify the amount
+; of seconds you need;
+; 
+overlapdial=yes
+
 ;
 ; dialplan means Type Of Number in ISDN Terms (for outgoing calls)
 ;




More information about the svn-commits mailing list