mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
correctly set amaflags (bug #3962)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3568,6 +3568,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
||||
strncpy(e->mailbox, mailbox, sizeof(e->mailbox)-1);
|
||||
snprintf(e->rqnt_ident, sizeof(e->rqnt_ident), "%08x", rand());
|
||||
e->msgstate = -1;
|
||||
e->amaflags = amaflags;
|
||||
e->capability = capability;
|
||||
e->parent = gw;
|
||||
e->dtmfmode = dtmfmode;
|
||||
@@ -3667,6 +3668,7 @@ static struct mgcp_gateway *build_gateway(char *cat, struct ast_variable *v)
|
||||
e->msgstate = -1;
|
||||
e->parent = gw;
|
||||
}
|
||||
e->amaflags = amaflags;
|
||||
e->capability = capability;
|
||||
e->dtmfmode = dtmfmode;
|
||||
e->adsi = adsi;
|
||||
|
Reference in New Issue
Block a user