summaryrefslogtreecommitdiff
path: root/res/res_pjsip_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip_session.c')
-rw-r--r--res/res_pjsip_session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index 9e363a18f..60850f04d 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -1736,6 +1736,8 @@ struct ast_sip_session *ast_sip_session_create_outgoing(struct ast_sip_endpoint
/* If we still have no URI to dial fail to create the session */
if (ast_strlen_zero(uri)) {
+ ast_log(LOG_ERROR, "Endpoint '%s': No URI available. Is endpoint registered?\n",
+ ast_sorcery_object_get_id(endpoint));
return NULL;
}