Merge "Replace Wait(1) with Playback(silence/1)"

This commit is contained in:
Jenkins 2016-03-25 13:43:43 +00:00 committed by Gerrit Code Review
commit 8fab4a50bd

View File

@ -3,7 +3,7 @@
[public] [public]
exten => s,1,Answer() exten => s,1,Answer()
same => n,Wait(1) same => n,Playback(silence/1)
same => n,Set(RETRIES=3) same => n,Set(RETRIES=3)
same => n,Set(COUNT=0) same => n,Set(COUNT=0)
same => n,While($[${COUNT} < ${RETRIES}]) same => n,While($[${COUNT} < ${RETRIES}])
@ -19,12 +19,13 @@ exten => s,1,Answer()
; Default setup for a Conference bridge. ; Default setup for a Conference bridge.
; Conferences are 6000 - 7999 ; Conferences are 6000 - 7999
exten => _[67]XXX,1,Answer() exten => _[67]XXX,1,Answer()
same => n,Playback(silence/1)
same => n,ConfBridge(${EXTEN},,,sample_user_menu) same => n,ConfBridge(${EXTEN},,,sample_user_menu)
same => n,Hangup() same => n,Hangup()
; Echo test ; Echo test
exten => 5000,1,Answer() exten => 5000,1,Answer()
same => n,Wait(1) same => n,Playback(silence/1)
same => n,Playback(demo-echotest) same => n,Playback(demo-echotest)
same => n,Echo() same => n,Echo()
same => n,Playback(demo-echodone) same => n,Playback(demo-echodone)
@ -32,7 +33,7 @@ exten => 5000,1,Answer()
; Easter egg -- spam on the keypad. ; Easter egg -- spam on the keypad.
exten => 7726,1,Answer() exten => 7726,1,Answer()
same => n,Wait(1) same => n,Playback(silence/1)
same => n,Playback(spam) same => n,Playback(spam)
same => n,Hangup() same => n,Hangup()