diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c index 23aa522ce89f1c17d7a4a85296f2c195ebea4d39..333be71438a735b00fb0772a45f5b1ce71d7cb14 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); }