Skip to content

Commit

Permalink
[siptrace][bugfix] sequential requests - set context for sl callbacks
Browse files Browse the repository at this point in the history
(cherry picked from commit 943d901)
  • Loading branch information
ionutrazvanionita committed Apr 21, 2016
1 parent 6ce202a commit 21ca280
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/siptrace/siptrace.c
Expand Up @@ -931,6 +931,10 @@ static void trace_transaction_dlgcb(struct dlg_cell* dlg, int type,

info=*params->param;

/* for sl callbacks */
context_put_ptr(CONTEXT_GLOBAL, current_processing_ctx,
sl_ctx_idx, info);

if (trace_transaction(params->msg, info, 1)<0) {
LM_ERR("trace transaction failed!\n");
return;
Expand Down

0 comments on commit 21ca280

Please sign in to comment.