FREEPBX-7317 - escape the register string