<p>Routes for handling events are require to have the same name as the event that is subscribed to it.<br>
The following config works fine:</p>

<pre><code>startup_route{
    subscribe_event("E_CORE_THRESHOLD", "route:E_CORE_THRESHOLD");
}

event_route[E_CORE_THRESHOLD] {
    xlog("L_INFO", "E_CORE_THRESHOLD\n");
}
</code></pre>

<p>This config doesn't:</p>

<pre><code>startup_route{
    subscribe_event("E_CORE_THRESHOLD", "route:E_CORE_THRESHOLD_ROUTE");
}
...
event_route[E_CORE_THRESHOLD_ROUTE] {
    xlog("L_INFO", "E_CORE_THRESHOLD_ROUTE\n");
}
</code></pre>

<p>ERROR:event_route:child_init: Event E_CORE_THRESHOLD_ROUTE not registered<br>
ERROR:core:init_mod_child: failed to initializing module event_route, rank 1</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/334">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNjQxNzQ0NywiZGF0YSI6eyJpZCI6NDI1MDAyNTZ9fQ==--c1b914accf6b79d9a2ba6f5b7e859e4988283afd.gif" width="1" /></p>