[dahdi-commits] tzafrir: tools/trunk r9159 - /tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Wed Aug 18 08:49:28 CDT 2010
Author: tzafrir
Date: Wed Aug 18 08:49:24 2010
New Revision: 9159
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9159
Log:
DAHDI-perl: Config (sort of) for dynamic channels
Generate some sort of configuration for dynamic channels. Usable enough for
testing.
Modified:
tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm
Modified: tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm?view=diff&rev=9159&r1=9158&r2=9159
==============================================================================
--- tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm (original)
+++ tools/trunk/xpp/perl_modules/Dahdi/Config/Gen.pm Wed Aug 18 08:49:24 2010
@@ -151,6 +151,7 @@
FXS => $p->item('context_phones'),
IN => $p->item('context_input'),
OUT => $p->item('context_output'),
+ DYN => $p->item('context_lines'),
BRI_TE => $p->item('context_lines'),
BRI_NT => $p->item('context_lines'),
E1_TE => $p->item('context_lines'),
@@ -165,6 +166,7 @@
FXS => $p->item('group_phones'),
IN => '',
OUT => '',
+ DYN => '',
BRI_TE => $p->item('group_lines'),
BRI_NT => $p->item('group_lines'),
E1_TE => $p->item('group_lines'),
@@ -179,12 +181,14 @@
FXS => "fxo$fxs_default_start",
IN => "fxo$fxs_default_start",
OUT => "fxo$fxs_default_start",
+ DYN => "clear",
);
my %default_chan_dahdi_signalling = (
FXO => "fxs_$fxo_default_start",
FXS => "fxo_$fxs_default_start",
IN => "fxo_$fxs_default_start",
OUT => "fxo_$fxs_default_start",
+ DYN => "auto", # Cheating. Won't really work
);
# First complex mapping
More information about the dahdi-commits
mailing list