[asterisk-commits] moy: branch moy/dahdi-tap-1.6.2 r220583 - /team/moy/dahdi-tap-1.6.2/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 25 20:36:15 CDT 2009


Author: moy
Date: Fri Sep 25 20:36:10 2009
New Revision: 220583

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220583
Log:
remove passiverecordexten setting since is no longer needed, the recording is up to the user now

Modified:
    team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c

Modified: team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c?view=diff&rev=220583&r1=220582&r2=220583
==============================================================================
--- team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c (original)
+++ team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c Fri Sep 25 20:36:10 2009
@@ -565,9 +565,6 @@
 	int passive;
 	/* TODO: allocate this structures on demand only when the pri is flagged as passive */
 	struct dahdi_pcall pcalls[MAX_CHANNELS];		        /*!< Passive calls if any.*/
-#define MAX_FORMAT_EXTEN 10
-#define DEFAULT_RECORDING_EXTEN "wav49"
-	char passiverecordexten[MAX_FORMAT_EXTEN];                         /*!< Record format extension */
 	struct dahdi_pri *passivepeer;                                  /*!< Peer PRI structure in passive mode */
 	struct dahdi_pvt *pvts[MAX_CHANNELS];				/*!< Member channel pvt structs */
 	struct dahdi_pvt *crvs;						/*!< Member CRV structs */
@@ -10291,11 +10288,6 @@
 						pris[span].minidle = conf->pri.minidle;
 						pris[span].overlapdial = conf->pri.overlapdial;
 						pris[span].passive = conf->pri.passive;
-						if (ast_strlen_zero(conf->pri.passiverecordexten)) {
-							ast_copy_string(pris[span].passiverecordexten, DEFAULT_RECORDING_EXTEN, sizeof(pris[span].passiverecordexten));
-						} else {
-							ast_copy_string(pris[span].passiverecordexten, conf->pri.passiverecordexten, sizeof(pris[span].passiverecordexten));
-						}
 						pris[span].qsigchannelmapping = conf->pri.qsigchannelmapping;
 						pris[span].discardremoteholdretrieval = conf->pri.discardremoteholdretrieval;
 #ifdef HAVE_PRI_INBANDDISCONNECT
@@ -17103,8 +17095,6 @@
 				ast_copy_string(confp->pri.idledial, v->value, sizeof(confp->pri.idledial));
 			} else if (!strcasecmp(v->name, "passive")) {
 				confp->pri.passive = ast_true(v->value);
-			} else if (!strcasecmp(v->name, "passiverecordexten")) {
-				ast_copy_string(confp->pri.passiverecordexten, v->value, sizeof(confp->pri.passiverecordexten));
 			} else if (!strcasecmp(v->name, "overlapdial")) {
 				if (ast_true(v->value)) {
 					confp->pri.overlapdial = DAHDI_OVERLAPDIAL_BOTH;




More information about the asterisk-commits mailing list