diff options
author | Mark Spencer <markster@digium.com> | 2003-05-28 22:40:26 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-05-28 22:40:26 +0000 |
commit | d6e3f866bc29acd0478d6c81b2621b6474dcc9a0 (patch) | |
tree | d39b29fb035897dece7548aa04b300393b96bc25 /channels | |
parent | a03406e91f098665d9a192cc138430c12275a183 (diff) |
Add National ISDN 1 support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index c489e27ec..92fcacbd4 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6591,6 +6591,10 @@ int load_module() } else if (!strcasecmp(v->name, "switchtype")) { if (!strcasecmp(v->value, "national")) switchtype = PRI_SWITCH_NI2; +#ifdef PRI_SWITCH_NI1 + else if (!strcasecmp(v->value, "ni1")) + switchtype = PRI_SWITCH_NI1; +#endif else if (!strcasecmp(v->value, "dms100")) switchtype = PRI_SWITCH_DMS100; else if (!strcasecmp(v->value, "4ess")) |