summaryrefslogtreecommitdiff
path: root/res/res_pjsip_header_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip_header_funcs.c')
-rw-r--r--res/res_pjsip_header_funcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip_header_funcs.c b/res/res_pjsip_header_funcs.c
index b5383fb32..dc9d6aad4 100644
--- a/res/res_pjsip_header_funcs.c
+++ b/res/res_pjsip_header_funcs.c
@@ -592,6 +592,7 @@ static void outgoing_request(struct ast_sip_session *session, pjsip_tx_data * td
AST_LIST_TRAVERSE(list, le, nextptr) {
pjsip_msg_add_hdr(tdata->msg, (pjsip_hdr *) pjsip_hdr_clone(pool, le->hdr));
}
+ ast_sip_session_remove_datastore(session, datastore->uid);
}
static struct ast_sip_session_supplement header_funcs_supplement = {