pbx fixes
parent
02c5932c86
commit
fb35cb8113
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue