working queue with moh

This commit is contained in:
Your Name
2020-12-08 21:28:09 +00:00
parent 7aca863db3
commit 9428b5a351
4 changed files with 16 additions and 4 deletions

View File

@@ -733,10 +733,11 @@ exten => _X.,n,Return()
exten => s,1,Answer()
same => n,Wait(1)
same => n,Playback(hello)
same => n,Playback(demo-echotest)
same => n,Echo()
same => n,Playback(demo-echodone)
same => n,Playback(vm-goodbye)
;same => n,Playback(demo-echotest)
;same => n,Echo()
;same => n,Playback(demo-echodone)
;same => n,Playback(vm-goodbye)
same => n,Queue(shop)
same => n,Hangup()
[local]

Binary file not shown.

View File

@@ -48,6 +48,10 @@
[default]
mode=files
directory=moh
[shop]
mode=files
directory=/etc/asterisk/media/moh/shop
;
;[native-random]
;mode=files

View File

@@ -560,3 +560,10 @@ monitor-type = MixMonitor
;member => Local/1002@agents,0,John Doe,Agent:1002
;member => Local/1000@default,0,John Smith,SIP/1000
;member => Local/2000@default,0,Lorem Ipsum,SIP/2000,no
[shop]
musicclass=shop
strategy=ringall
announce-position=no
announce-to-first-user=no
member => SIP/21