MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / fixup_event_name_subs

Function fixup_event_name_subs

core_cmds.c:682–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

680}
681
682static int fixup_event_name_subs(void** param)
683{
684 str *s = (str*)*param;
685 event_id_t ev_id;
686
687 ev_id = evi_get_id(s);
688 if (ev_id == EVI_ERROR) {
689 ev_id = evi_publish_event(*s);
690 if (ev_id == EVI_ERROR) {
691 LM_ERR("cannot subscribe event\n");
692 return E_UNSPEC;
693 }
694 }
695
696 return 0;
697}
698
699static int fixup_format_string(void** param)
700{

Callers

nothing calls this directly

Calls 2

evi_get_idFunction · 0.85
evi_publish_eventFunction · 0.85

Tested by

no test coverage detected