Skip to content
Snippets Groups Projects
Commit e7d06a80 authored by zuul's avatar zuul Committed by Gerrit Code Review
Browse files

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

parents e91fc62f c98a047e
No related branches found
No related tags found
No related merge requests found
...@@ -1289,7 +1289,7 @@ static struct ast_endpoint *persistent_endpoint_find_or_create(const struct ast_ ...@@ -1289,7 +1289,7 @@ static struct ast_endpoint *persistent_endpoint_find_or_create(const struct ast_
return NULL; 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); ao2_link_flags(persistent_endpoints, persistent, OBJ_NOLOCK);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment