Adding Q.SIG switchtype option to chan_zap

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Fredrickson
2004-10-28 16:11:04 +00:00
parent 3c12ea1c89
commit ac558d5dbe

View File

@@ -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);