]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Adding Q.SIG switchtype option to chan_zap
authorMatthew Fredrickson <creslin@digium.com>
Thu, 28 Oct 2004 16:11:04 +0000 (16:11 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Thu, 28 Oct 2004 16:11:04 +0000 (16:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4119 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 13b21bfe94bd1518c26a9cfb5c529d6479a57889..63270fb7bdc6932403164990728fd3175b117a84 100755 (executable)
@@ -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);