mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user