dahdi-tools/xpp/perl_modules/Dahdi/Config/Gen
Oron Peled 1e6b2741db dahdi_genconf: remove hard-coded E1 default
* The "spantypes" generator had E1 default if no 'line-mode' parameter
  was passed.

* As a result the new logic in "dahdi_span_types dumpconfig" had no
  effect when called from dahdi_genconf, as it was always called
  with "--line-mode=" argument.

* Now "dahdi_genconf spantype" behaves just like
  "dahdi_span_types dumpconfig":
  - The "--line-mode=" forces generation of provided line-mode (E1/J1/T1)
  - Without this option, the generated config matches the current spans
    state according to new dahd_span_types default logic:
    - Wildcard rule if all spans have same line-mode.
    - Uncommented specific matches if spans have different line-modes.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
2014-04-30 22:51:58 +03:00
..
Assignedspans.pm Add dahdi_ prefix to handle_device, span_types, span_assignments, and span_config. 2013-11-26 13:50:02 -06:00
Chandahdi.pm chandahdi gen: extens can have any num of digits 2011-10-23 14:23:17 +00:00
Freepbxdb.pm dahdi-perl: Freepbxdb config generator 2011-08-18 15:38:45 +00:00
Modules.pm Import DAHDI-Tools r9159 2010-08-18 13:49:24 +00:00
Spantypes.pm dahdi_genconf: remove hard-coded E1 default 2014-04-30 22:51:58 +03:00
System.pm dahdi-perl: more left-over $span->xpd 2011-02-06 18:39:57 +00:00
Unicall.pm Import DAHDI-Tools r9159 2010-08-18 13:49:24 +00:00
Users.pm Import DAHDI-Tools r9159 2010-08-18 13:49:24 +00:00
Xpporder.pm xpp_order generator: ignore EC XPD 2011-10-23 14:28:40 +00:00