summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-08-29 19:01:40 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-08-29 19:01:40 -0500
commite7d06a80978f9e87b91a5009dde97c0cff355ceb (patch)
tree48c26db48f545e13fbdb6c82a21d96b006d0bdf3
parente91fc62f804a1f3d01d41d40fbaf96de92a7ffa1 (diff)
parentc98a047ee6f484625494cf3b07d44da4e91c6577 (diff)
Merge "res_pjsip: Default endpoints to the "offline" status."
-rw-r--r--res/res_pjsip/pjsip_configuration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index 23aa522ce..333be7143 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -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);
}