From fb35cb8113b738f7d93ff925fa6f473b273a1a1f Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 25 Dec 2020 22:01:44 -0500 Subject: [PATCH] pbx fixes --- src/pbx/handlers/PageDTMF.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pbx/handlers/PageDTMF.ts b/src/pbx/handlers/PageDTMF.ts index 74ea7d2..464de4f 100644 --- a/src/pbx/handlers/PageDTMF.ts +++ b/src/pbx/handlers/PageDTMF.ts @@ -32,7 +32,7 @@ export default class PageDTMF extends Handler { if (!channel.connected) return; if (status === 0) { if (ev.digit === '#') { - await pnPlaybackC.stop(); + pnPlaybackC.stop().catch(() => {}); await channel.play({ media: 'sound:please-enter-the-pc', }, undefined);