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

Function cfg_validate

modules/event_routing/event_routing.c:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229
230static int cfg_validate(void)
231{
232 if ( ebr_tmb.t_gett==NULL && is_script_func_used("notify_on_event",-1)) {
233 LM_ERR("notify_on_event() was found, but module started without TM "
234 "support/biding, better restart\n");
235 return 0;
236 }
237
238 return 1;
239}
240
241
242ebr_event *get_ebr_event(const str *name)

Callers

nothing calls this directly

Calls 1

is_script_func_usedFunction · 0.85

Tested by

no test coverage detected