mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
remove duplicate option parsing (bug #3173)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3518,8 +3518,6 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
|||||||
adsi = ast_true(v->value);
|
adsi = ast_true(v->value);
|
||||||
} else if (!strcasecmp(v->name, "callreturn")) {
|
} else if (!strcasecmp(v->name, "callreturn")) {
|
||||||
callreturn = ast_true(v->value);
|
callreturn = ast_true(v->value);
|
||||||
} else if (!strcasecmp(v->name, "immediate")) {
|
|
||||||
immediate = ast_true(v->value);
|
|
||||||
} else if (!strcasecmp(v->name, "callwaiting")) {
|
} else if (!strcasecmp(v->name, "callwaiting")) {
|
||||||
callwaiting = ast_true(v->value);
|
callwaiting = ast_true(v->value);
|
||||||
} else if (!strcasecmp(v->name, "slowsequence")) {
|
} else if (!strcasecmp(v->name, "slowsequence")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user