Skip to content

Commit

Permalink
fix: [janus_sip] Fix "call_id" property in "missed_call" events (meet…
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasduteil committed Jun 1, 2021
1 parent 9eeeb38 commit de2117e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/janus_sip.c
Original file line number Diff line number Diff line change
Expand Up @@ -4929,7 +4929,7 @@ void janus_sip_sofia_callback(nua_event_t event, int status, char const *phrase,
char *callee_text = url_as_string(session->stack->s_home, sip->sip_to->a_url);
json_object_set_new(result, "callee", json_string(callee_text));
json_object_set_new(missed, "result", result);
json_object_set_new(missed, "call_id", json_string(session->callid));
json_object_set_new(missed, "callid", json_string(sip->sip_call_id->i_id));
int ret = gateway->push_event(session->handle, &janus_sip_plugin, session->transaction, missed, NULL);
JANUS_LOG(LOG_VERB, " >> Pushing event to peer: %d (%s)\n", ret, janus_get_api_error(ret));
json_decref(missed);
Expand Down

0 comments on commit de2117e

Please sign in to comment.