unispeech / asterisk-unimrcp

UniMRCP modules for Asterisk
http://www.unimrcp.org/asterisk
GNU General Public License v2.0
48 stars 36 forks source link

Invalid flags masks #7

Closed bsixto closed 7 years ago

bsixto commented 7 years ago

The rigth formt to set the bits for the flags masks is (from the Voximal fork):

MRCPSYNTH_PROFILE        = (1 << 0),
MRCPSYNTH_INTERRUPT      = (1 << 1),
MRCPSYNTH_FILENAME       = (1 << 2),
MRCPSYNTH_KEEPSESSION    = (1 << 3),
MRCPSYNTH_ASTERISKVOLUME = (1 << 4),
MRCPSYNTH_SENDDTMF       = (1 << 5)

and not

MRCPSYNTH_PROFILE        = (1 << 0),
MRCPSYNTH_INTERRUPT      = (2 << 0),
MRCPSYNTH_FILENAME       = (3 << 0)
achaloyan commented 7 years ago

Thanks, Borja. Good catch, not sure how this bug survived till this point.

Fixed in e2b0ef3bd41a8a0d878f77408315b28ebbe38e34