FREEPBX-1953 - if function doesn't exist don't run the new code