mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
res_pjsip_outbound_registration: Fix build due to removal of transaction.
Change-Id: I7a8a7beec3334cec304943f2dd7597eabe2e3150
This commit is contained in:
@@ -573,13 +573,13 @@ static int handle_registration_response(void *data)
|
|||||||
ast_copy_pj_str(client_uri, &info.client_uri, sizeof(client_uri));
|
ast_copy_pj_str(client_uri, &info.client_uri, sizeof(client_uri));
|
||||||
|
|
||||||
if (response->client_state->status == SIP_REGISTRATION_STOPPED) {
|
if (response->client_state->status == SIP_REGISTRATION_STOPPED) {
|
||||||
ast_debug(1, "Not handling registration response from '%s' (transaction %s). Registration already stopped\n",
|
ast_debug(1, "Not handling registration response from server '%s' for client '%s'. Registration already stopped\n",
|
||||||
server_uri, response->tsx ? response->tsx->obj_name : "<none>");
|
server_uri, client_uri);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ast_debug(1, "Processing REGISTER response %d from '%s' (transaction %s)\n",
|
ast_debug(1, "Processing REGISTER response %d from server '%s' for client '%s'\n",
|
||||||
response->code, server_uri, response->tsx ? response->tsx->obj_name : "<none>");
|
response->code, server_uri, client_uri);
|
||||||
|
|
||||||
if (!response->client_state->auth_attempted &&
|
if (!response->client_state->auth_attempted &&
|
||||||
(response->code == 401 || response->code == 407)) {
|
(response->code == 401 || response->code == 407)) {
|
||||||
|
Reference in New Issue
Block a user