Replace Wait(1) with Playback(silence/1)
Switching to Playback(silence/1) will actually establish an RTP session (audio) where Wait(1) does not. The main reason for this is to give a better user experience to SIP clients. This delay _should_ allow enough time for sessions to be established fixing any potential truncated audio. Change-Id: I3cd33e52647b94bdf61f5117fda2f917f4ed817d Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
095ab35ba3
commit
d8a1e04aca
@ -3,7 +3,7 @@
|
||||
[public]
|
||||
|
||||
exten => s,1,Answer()
|
||||
same => n,Wait(1)
|
||||
same => n,Playback(silence/1)
|
||||
same => n,Set(RETRIES=3)
|
||||
same => n,Set(COUNT=0)
|
||||
same => n,While($[${COUNT} < ${RETRIES}])
|
||||
@ -19,12 +19,13 @@ exten => s,1,Answer()
|
||||
; Default setup for a Conference bridge.
|
||||
; Conferences are 6000 - 7999
|
||||
exten => _[67]XXX,1,Answer()
|
||||
same => n,Playback(silence/1)
|
||||
same => n,ConfBridge(${EXTEN},,,sample_user_menu)
|
||||
same => n,Hangup()
|
||||
|
||||
; Echo test
|
||||
exten => 5000,1,Answer()
|
||||
same => n,Wait(1)
|
||||
same => n,Playback(silence/1)
|
||||
same => n,Playback(demo-echotest)
|
||||
same => n,Echo()
|
||||
same => n,Playback(demo-echodone)
|
||||
@ -32,7 +33,7 @@ exten => 5000,1,Answer()
|
||||
|
||||
; Easter egg -- spam on the keypad.
|
||||
exten => 7726,1,Answer()
|
||||
same => n,Wait(1)
|
||||
same => n,Playback(silence/1)
|
||||
same => n,Playback(spam)
|
||||
same => n,Hangup()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user