Merge "res_pjsip: Default endpoints to the "offline" status."

This commit is contained in:
zuul
2016-08-29 19:01:40 -05:00
committed by Gerrit Code Review

View File

@@ -1289,7 +1289,7 @@ static struct ast_endpoint *persistent_endpoint_find_or_create(const struct ast_
return NULL;
}
ast_endpoint_set_state(persistent->endpoint, AST_ENDPOINT_UNKNOWN);
ast_endpoint_set_state(persistent->endpoint, AST_ENDPOINT_OFFLINE);
ao2_link_flags(persistent_endpoints, persistent, OBJ_NOLOCK);
}