diff options
author | zuul <zuul@gerrit.asterisk.org> | 2017-02-21 21:17:24 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-02-21 21:17:24 -0600 |
commit | a3584c68343f61e4f58c6db8456edd331065318a (patch) | |
tree | 8a2b40e5c6f4cdb7e7751576ef660bc6db284c5c /res/res_pjsip_outbound_publish.c | |
parent | 51c9dd3d165fa99a05274eb2a14a4b767341af28 (diff) | |
parent | eb9ae4f7cba333c4cd188c741a71c1f244071929 (diff) |
Merge "res_pjsip: Record the serializer earlier on the tdata." into 13
Diffstat (limited to 'res/res_pjsip_outbound_publish.c')
-rw-r--r-- | res/res_pjsip_outbound_publish.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_pjsip_outbound_publish.c b/res/res_pjsip_outbound_publish.c index 3afa41307..37f64481e 100644 --- a/res/res_pjsip_outbound_publish.c +++ b/res/res_pjsip_outbound_publish.c @@ -360,6 +360,7 @@ static int send_unpublish_task(void *data) pjsip_tx_data_set_transport(tdata, &selector); } + ast_sip_record_request_serializer(tdata); pjsip_publishc_send(client->client, tdata); } @@ -609,6 +610,7 @@ static int sip_publish_client_service_queue(void *data) pjsip_tx_data_set_transport(tdata, &selector); } + ast_sip_record_request_serializer(tdata); status = pjsip_publishc_send(client->client, tdata); if (status == PJ_EBUSY) { /* We attempted to send the message but something else got there first */ @@ -921,6 +923,7 @@ static void sip_outbound_publish_callback(struct pjsip_publishc_cbparam *param) pjsip_tx_data_set_transport(tdata, &selector); } + ast_sip_record_request_serializer(tdata); pjsip_publishc_send(client->client, tdata); } client->auth_attempts++; |