Skip to content

Commit

Permalink
siprec: raise start event every single time the recording
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Oct 3, 2024
1 parent 7fe1fe4 commit 6fc5ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/siprec/siprec_logic.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ int srec_register_callbacks(struct src_sess *sess)
"Will not be able to handle in-dialog for replicated sessions!\n");
LM_DBG("registered dialog callbacks for %p\n", sess);
sess->flags |= SIPREC_DLG_CBS;
raise_siprec_start_event(sess);
return 0;
}

Expand Down Expand Up @@ -399,6 +398,7 @@ static int srec_b2b_notify(struct sip_msg *msg, str *key, int type,
LM_ERR("cannot register callback for terminating session\n");
goto no_recording;
}
raise_siprec_start_event(ss);

return 0;
no_recording:
Expand Down

0 comments on commit 6fc5ede

Please sign in to comment.