drachtio / drachtio-fsmrf

Drachtio freeswitch-based media resource function -- http://davehorton.github.io/drachtio-fsmrf
MIT License
48 stars 27 forks source link

fix play stop by * #78

Closed xquanluu closed 1 year ago

xquanluu commented 1 year ago

https://github.com/jambonz/jambonz-feature-server/issues/389

davehorton commented 1 year ago

seems to cause test failiure

xquanluu commented 1 year ago

@davehorton the test failed because: .then(() => { return ep.set('playback_terminators', '123456789#*'); }) .then(() => { ep.play(['silence_stream://1000', 'voicemail/8000/vm-record_message.wav']); promiseRecord = ep.record(EP_FILE2, {timeLimitSecs: 3}); t.pass('started recording'); return uac.generateSilence(2000); })

The testcase set 'playback_terminators', '123456789#*', then play will clean 'playback_terminators', 'none'

i have to remove ep.play(['silence_stream://1000', 'voicemail/8000/vm-record_message.wav']);