summaryrefslogtreecommitdiff
path: root/res/res_pjsip.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2017-05-31 15:41:45 +0000
committerJoshua Colp <jcolp@digium.com>2017-06-06 09:46:39 -0500
commit861984eac0d9d3582db6922a89e2d75796ae108f (patch)
treed939381d1a4d848c8395636d6533a94072af3e69 /res/res_pjsip.c
parent452e6315bb8be7578937de279aa1d906662faa20 (diff)
res_pjsip: Add support for returning only reachable contacts and use it.
This introduces the ability for PJSIP code to specify filtering flags when retrieving PJSIP contacts. The first flag for use causes the query code to only retrieve contacts that are not unreachable. This change has been leveraged by both the Dial() process and the PJSIP_DIAL_CONTACTS dialplan function so they will now only attempt calls to contacts which are not unreachable. ASTERISK-26281 Change-Id: I8233b4faa21ba3db114f5a42e946e4b191446f6c
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r--res/res_pjsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index 102bc3933..d994f2824 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -3040,7 +3040,7 @@ pjsip_dialog *ast_sip_create_dialog_uac(const struct ast_sip_endpoint *endpoint,
if (res != PJ_SUCCESS) {
if (res == PJSIP_EINVALIDURI) {
ast_log(LOG_ERROR,
- "Endpoint '%s': Could not create dialog to invalid URI '%s'. Is endpoint registered?\n",
+ "Endpoint '%s': Could not create dialog to invalid URI '%s'. Is endpoint registered and reachable?\n",
ast_sorcery_object_get_id(endpoint), uri);
}
return NULL;