From 8cb6ecdd24a4c710b6aa513a8cbc10a176bfb189 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Fri, 21 Nov 2008 21:06:59 +0000 Subject: 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 --- channels/chan_dahdi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'channels') 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 = "", -- cgit v1.2.3