fix rtpengine "direction" flag