-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathextensions.conf
69 lines (68 loc) · 1.72 KB
/
extensions.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[from-internal]
exten = 100,1,Answer()
same = n,Wait(1)
same = n,Set(soundpath=/home/advrobot/robocall/sounds)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,WaitExten(1)
; 您的行李已送達, 請按0
same = n,Background(${soundpath}/tts0)
;
same = n,Hangup()
;
; 用戶按了0
exten = 0,1,NoOp()
same = n,Set(soundpath=/home/advrobot/robocall/sounds)
same = n,Set(d1=${pw:0:1})
same = n,Set(d2=${pw:1:1})
same = n,Set(d3=${pw:2:1})
same = n,Set(d4=${pw:3:1})
;
same = n,NoOp(KKUEI ext0)
; 親愛的貴賓您好我是和寶 您的行李已經送到房口囉 快來領取吧
same = n,Playback(${soundpath}/tts1)
same = n,WaitExten(1)
; 您設定的密碼為
same = n,Playback(${soundpath}/pwPrompt)
same = n,Playback(${soundpath}/${d1})
same = n,Playback(${soundpath}/${d2})
same = n,Playback(${soundpath}/${d3})
same = n,Playback(${soundpath}/${d4})
same = n,WaitExten(3)
;
same = n,Hangup()