pbx fixes

pull/29/head
Matthew 2020-12-25 22:01:44 -05:00
parent 02c5932c86
commit fb35cb8113
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default class PageDTMF extends Handler {
if (!channel.connected) return; if (!channel.connected) return;
if (status === 0) { if (status === 0) {
if (ev.digit === '#') { if (ev.digit === '#') {
await pnPlaybackC.stop(); pnPlaybackC.stop().catch(() => {});
await channel.play({ await channel.play({
media: 'sound:please-enter-the-pc', media: 'sound:please-enter-the-pc',
}, undefined); }, undefined);