[asterisk-commits] mattf: trunk r158482 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 21 15:06:59 CST 2008


Author: mattf
Date: Fri Nov 21 15:06:59 2008
New Revision: 158482

URL: http://svn.digium.com/view/asterisk?view=rev&rev=158482
Log:
Fix for #13963.  Make physical channel mapping unconfigured default

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=158482&r1=158481&r2=158482
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Fri Nov 21 15:06:59 2008
@@ -298,8 +298,8 @@
 AST_MUTEX_DEFINE_STATIC(iflock);
 
 /* QSIG channel mapping option types */
-#define DAHDI_CHAN_MAPPING_LOGICAL	0
-#define DAHDI_CHAN_MAPPING_PHYSICAL	1
+#define DAHDI_CHAN_MAPPING_PHYSICAL	0
+#define DAHDI_CHAN_MAPPING_LOGICAL	1
 
 
 static int ifcount = 0;
@@ -814,6 +814,7 @@
 			.dialplan = PRI_UNKNOWN + 1,
 			.localdialplan = PRI_NATIONAL_ISDN + 1,
 			.nodetype = PRI_CPE,
+			.qsigchannelmapping = DAHDI_CHAN_MAPPING_PHYSICAL,
 
 			.minunused = 2,
 			.idleext = "",




More information about the asterisk-commits mailing list