mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_pjsip_outbound_publish: Fix processing 412 response" into 13
This commit is contained in:
@@ -891,7 +891,7 @@ static void sip_outbound_publish_callback(struct pjsip_publishc_cbparam *param)
|
|||||||
pjsip_publishc_destroy(client->client);
|
pjsip_publishc_destroy(client->client);
|
||||||
client->client = NULL;
|
client->client = NULL;
|
||||||
|
|
||||||
if (sip_outbound_publish_client_alloc(publish)) {
|
if (sip_outbound_publish_client_alloc(client)) {
|
||||||
ast_log(LOG_ERROR, "Failed to create a new outbound publish client for '%s' on 412 response\n",
|
ast_log(LOG_ERROR, "Failed to create a new outbound publish client for '%s' on 412 response\n",
|
||||||
ast_sorcery_object_get_id(publish));
|
ast_sorcery_object_get_id(publish));
|
||||||
goto end;
|
goto end;
|
||||||
|
Reference in New Issue
Block a user