[asterisk-commits] moy: branch moy/mfcr2 r153784 - /team/moy/mfcr2/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 2 22:21:17 CST 2008


Author: moy
Date: Sun Nov  2 22:21:16 2008
New Revision: 153784

URL: http://svn.digium.com/view/asterisk?view=rev&rev=153784
Log:
immediate accept and get ani first defaults of openr2 must be respected

Modified:
    team/moy/mfcr2/channels/chan_dahdi.c

Modified: team/moy/mfcr2/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2/channels/chan_dahdi.c?view=diff&rev=153784&r1=153783&r2=153784
==============================================================================
--- team/moy/mfcr2/channels/chan_dahdi.c (original)
+++ team/moy/mfcr2/channels/chan_dahdi.c Sun Nov  2 22:21:16 2008
@@ -434,14 +434,14 @@
 static int mfcr2_cur_metering_pulse_timeout = -1;
 static int mfcr2_cur_max_ani = 10;
 static int mfcr2_cur_max_dnis = 4;
-static int mfcr2_cur_get_ani_first = 0;
+static int mfcr2_cur_get_ani_first = -1;
 static int mfcr2_cur_context_index = 0;
 static int mfcr2_cur_call_files = 0;
 static int mfcr2_cur_allow_collect_calls = 0; 
 static int mfcr2_cur_charge_calls = 1; 
 static int mfcr2_cur_forced_release = 0; 
 static int mfcr2_cur_double_answer = 0; 
-static int mfcr2_cur_immediate_accept = 0;
+static int mfcr2_cur_immediate_accept = -1;
 static char mfcr2_cur_logdir[OR2_MAX_LOGDIR];
 static char mfcr2_cur_r2proto_file[OR2_MAX_LOGDIR];
 static openr2_log_level_t mfcr2_cur_loglevel = OR2_LOG_ERROR | OR2_LOG_WARNING;
@@ -1173,12 +1173,12 @@
 	mfcr2_cur_metering_pulse_timeout = -1;
 	mfcr2_cur_max_ani = 10;
 	mfcr2_cur_max_dnis = 4;
-	mfcr2_cur_get_ani_first = 0;
+	mfcr2_cur_get_ani_first = -1;
 	mfcr2_cur_call_files = 0;
 	mfcr2_cur_allow_collect_calls = 0;
 	mfcr2_cur_forced_release = 0;
 	mfcr2_cur_double_answer = 0;
-	mfcr2_cur_immediate_accept = 0;
+	mfcr2_cur_immediate_accept = -1;
 	mfcr2_cur_loglevel = OR2_LOG_ERROR | OR2_LOG_WARNING;
 	mfcr2_cur_category = OR2_CALLING_PARTY_CATEGORY_NATIONAL_SUBSCRIBER;
 	memset(mfcr2_cur_logdir, 0, sizeof(mfcr2_cur_logdir));




More information about the asterisk-commits mailing list