projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9789c66
)
Fix for #13963. Make physical channel mapping unconfigured default
author
Matthew Fredrickson
<creslin@digium.com>
Fri, 21 Nov 2008 21:06:59 +0000
(21:06 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Fri, 21 Nov 2008 21:06:59 +0000
(21:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158482
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_dahdi.c
patch
|
blob
|
history
diff --git
a/channels/chan_dahdi.c
b/channels/chan_dahdi.c
index
4dcea78
..
053e675
100644
(file)
--- 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 = "",