summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = "",