怎么在asterisk里配置IVR,多級選單,例如用戶撥打一個號碼,這邊播放歡迎的一些語音之后提示按鍵1,登錄xxx系統,2,查詢xxx,0,轉人工.按下1之后播放語音提示請輸入用戶名按#結束輸入,然后獲得用戶輸入的用戶名?
uj5u.com熱心網友回復:
沒人來啊,自己頂頂uj5u.com熱心網友回復:
太久遠了,我現在回復可以太遲了。app read 就可以。
Read(variablefilename&filename2[&...],maxdigits,options,attempts,timeout)
Arguments
variable - The input digits will be stored in the given variable name.
filenames
filename - file(s) to play before reading digits or tone with option i
filename2
maxdigits - Maximum acceptable number of digits. Stops reading after maxdigits have been entered (without requiring the user to
press the # key).
Defaults to 0 - no limit - wait for the user press the # key. Any value below 0 means the same. Max accepted value is 255.
options
s - to return immediately if the line is not up.
i - to play filename as an indication tone from your indications.conf.
n - to read digits even if the line is not up.
attempts - If greater than 1, that many attempts will be made in the event no data is entered.
timeout - The number
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/131386.html
標籤:VOIP技術探討
下一篇:我網站是被劫持了還是掛馬了
