switch_core_hash_insert(bound_events,event_name,detector);/* mark as bound */
}elseif(bound_detector!=detector){
/* can't have multiple detectors generating the same event! */
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_WARNING,"Detector %s attempted to bind to event %s that is already bound by %s\n",detector->name,event_name,bound_detector->name);