diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-21 21:06:59 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-21 21:06:59 +0000 |
commit | eb5e55e9c916fe67d9aaf6999944d05464fe90e9 (patch) | |
tree | 0e3190a5d86371384e2c1b7b97fff95dc2b97e3a | |
parent | 939ebd07ea205835308046f913f6a7d46dfb8902 (diff) |
Fix for #13963. Make physical channel mapping unconfigured default
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@158482 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_dahdi.c | 5 |
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 = "", |