segments.get_segments: added hook for new dqsegdb