summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2008-11-21 21:06:59 +0000
committerMatthew Fredrickson <creslin@digium.com>2008-11-21 21:06:59 +0000
commit8cb6ecdd24a4c710b6aa513a8cbc10a176bfb189 (patch)
tree0e3190a5d86371384e2c1b7b97fff95dc2b97e3a /channels
parent9789c663753843833df3e7fcbc3841f59396eff7 (diff)
Fix for #13963. Make physical channel mapping unconfigured default
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 4dcea7891..053e6755f 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -298,8 +298,8 @@ static int matchdigittimeout = 3000;
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 @@ static struct dahdi_chan_conf dahdi_chan_conf_default(void) {
.dialplan = PRI_UNKNOWN + 1,
.localdialplan = PRI_NATIONAL_ISDN + 1,
.nodetype = PRI_CPE,
+ .qsigchannelmapping = DAHDI_CHAN_MAPPING_PHYSICAL,
.minunused = 2,
.idleext = "",