Skip to content

Commit

Permalink
siprec: properly populate session in event
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Aug 13, 2024
1 parent 217654b commit fe4dbd7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/siprec/siprec_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ int src_init_events(void)
siprec_state_event_dlg_callid_s.s, siprec_event_start_name.s);
goto error;
}
if ((siprec_state_event_session = evi_param_create(siprec_state_event_params,
&siprec_state_event_session_s)) == NULL) {
LM_ERR("could not create %s param for %s event\n",
siprec_state_event_session_s.s, siprec_event_start_name.s);
goto error;
}
if ((siprec_state_event_server = evi_param_create(siprec_state_event_params,
&siprec_state_event_server_s)) == NULL) {
LM_ERR("could not create %s param for %s event\n",
Expand Down

0 comments on commit fe4dbd7

Please sign in to comment.