[asterisk-commits] moy: branch moy/mfcr2-1.2 r153786 - /team/moy/mfcr2-1.2/channels/chan_zap.c

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


Author: moy
Date: Sun Nov  2 22:25:08 2008
New Revision: 153786

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

Modified:
    team/moy/mfcr2-1.2/channels/chan_zap.c

Modified: team/moy/mfcr2-1.2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2-1.2/channels/chan_zap.c?view=diff&rev=153786&r1=153785&r2=153786
==============================================================================
--- team/moy/mfcr2-1.2/channels/chan_zap.c (original)
+++ team/moy/mfcr2-1.2/channels/chan_zap.c Sun Nov  2 22:25:08 2008
@@ -377,14 +377,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;
@@ -398,13 +398,13 @@
 	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_context_index = 0;
 	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