summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2004-10-28 16:11:04 +0000
committerMatthew Fredrickson <creslin@digium.com>2004-10-28 16:11:04 +0000
commitac558d5dbeb6b787b87378aecc8a1f3874a33c88 (patch)
tree342f9a296c272416b3240cefd15081cf8bd1e253 /channels
parent3c12ea1c8970cf256b2687d511d2182c83971702 (diff)
Adding Q.SIG switchtype option to chan_zap
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 13b21bfe9..63270fb7b 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -9474,6 +9474,8 @@ static int setup_zap(int reload)
switchtype = PRI_SWITCH_LUCENT5E;
else if (!strcasecmp(v->value, "euroisdn"))
switchtype = PRI_SWITCH_EUROISDN_E1;
+ else if (!strcasecmp(v->value, "qsig"))
+ switchtype = PRI_SWITCH_QSIG;
else {
ast_log(LOG_ERROR, "Unknown switchtype '%s'\n", v->value);
ast_destroy(cfg);