Merge "res_pjsip: Record the serializer earlier on the tdata." into 13

This commit is contained in:
zuul
2017-02-21 21:17:24 -06:00
committed by Gerrit Code Review
5 changed files with 18 additions and 12 deletions

View File

@@ -539,6 +539,7 @@ static pj_status_t registration_client_send(struct sip_outbound_registration_cli
*/
ast_sip_set_tpselector_from_transport_name(client_state->transport_name, &selector);
pjsip_regc_set_transport(client_state->client, &selector);
ast_sip_record_request_serializer(tdata);
status = pjsip_regc_send(client_state->client, tdata);
/* If the attempt to send the message failed and the callback was not invoked we need to