mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Merge "res_pjsip: Change log message from error to warning for valid use cases"
This commit is contained in:
@@ -3779,7 +3779,7 @@ static int create_out_of_dialog_request(const pjsip_method *method, struct ast_s
|
||||
contact = ast_sip_location_retrieve_contact_from_aor_list(endpoint->aors);
|
||||
}
|
||||
if (!contact || ast_strlen_zero(contact->uri)) {
|
||||
ast_log(LOG_ERROR, "Unable to retrieve contact for endpoint %s\n",
|
||||
ast_log(LOG_WARNING, "Unable to retrieve contact for endpoint %s\n",
|
||||
ast_sorcery_object_get_id(endpoint));
|
||||
return -1;
|
||||
}
|
||||
|
@@ -655,7 +655,7 @@ static int msg_send(void *data)
|
||||
}
|
||||
|
||||
if (ast_sip_create_request("MESSAGE", NULL, endpoint, uri, NULL, &tdata)) {
|
||||
ast_log(LOG_ERROR, "PJSIP MESSAGE - Could not create request\n");
|
||||
ast_log(LOG_WARNING, "PJSIP MESSAGE - Could not create request\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user