mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
backport fix for reloading peer context (issue #6007)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8147,6 +8147,7 @@ static struct iax2_peer *build_peer(const char *name, struct ast_variable *v, in
|
||||
peer->smoothing = 0;
|
||||
peer->pokefreqok = DEFAULT_FREQ_OK;
|
||||
peer->pokefreqnotok = DEFAULT_FREQ_NOTOK;
|
||||
peer->context[0] = '\0';
|
||||
while(v) {
|
||||
if (!strcasecmp(v->name, "secret")) {
|
||||
if (!ast_strlen_zero(peer->secret)) {
|
||||
|
Reference in New Issue
Block a user