added run-time config options to agi-record-prompts script for format(gsm/wav) and timeout(in milliseconds)

updated docs and conf_examples accordingly

git-svn-id: svn://192.168.202.10@755 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2007-12-26 18:45:03 +00:00
parent 147d1260e2
commit 2fc9bd652a
4 changed files with 55 additions and 10 deletions
+7 -2
View File
@@ -2486,9 +2486,14 @@ exten => 8500998,2,Playback(silence)
exten => 8500998,3,AGI(agi-dtmf.agi)
exten => 8500998,4,Hangup
; prompt recording AGI script, ID is 4321
; prompts for recording AGI script, ID is 4321
; first variable is format (gsm/wav)
; second variable is timeout in milliseconds (default is 360000 [6 minutes])
exten => 8167,1,Answer
exten => 8167,2,AGI(agi-record_prompts.agi,wav-----360000)
exten => 8167,3,Hangup
exten => 8168,1,Answer
exten => 8168,2,AGI(agi-record_prompts.agi)
exten => 8168,2,AGI(agi-record_prompts.agi,gsm-----360000)
exten => 8168,3,Hangup
; playback of recorded prompts