Hi there,<br><br>mod_managed exposes EventReceivedFunction such that:<br><br> Session.EventReceivedFunction = (e) =><br> {<br> Log.WriteLine(LogLevel.Alert, "Received Event {0}", e.ToString());<br> return "";<br>
};<br><br>should trap all events to which i subscribe.<br><br><br>But how do I subscribe to events? What is the .NET / managed equivalent of:<br><br>switch_event_bind(const char *id, switch_event_types_t event, const char *subclass_name, switch_event_callback_t callback, void *user_data);<br>
<br><br><br>Thank you!<br><br><br><br>Phillip Jones<br>