diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-29 18:09:24 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-29 18:09:24 -0500 |
commit | 27989f22f32ff54d41899b58993b04938d55d2c5 (patch) | |
tree | d7b56bd1dd1a9c83b50b500062fc54da6b6eb8ee /res/res_pjsip | |
parent | cfab4d4d41a3daf6b0dc4a458dac3e814192c3ce (diff) | |
parent | c16ef02318201f9db2e26512ec66cd62ec878d04 (diff) |
Merge "res_pjsip: Default endpoints to the "offline" status." into 13
Diffstat (limited to 'res/res_pjsip')
-rw-r--r-- | res/res_pjsip/pjsip_configuration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c index 64c822c3c..e495054f6 100644 --- a/res/res_pjsip/pjsip_configuration.c +++ b/res/res_pjsip/pjsip_configuration.c @@ -1292,7 +1292,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); } |