-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextensions_custom.conf
50 lines (40 loc) · 1.31 KB
/
extensions_custom.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
[from-internal-custom]
include => paleo-callcenter
include => paleo-answer
include => paleo-jukebox
[paleo-callcenter]
exten => 2001,1,Answer()
exten => 2001,1,Wait(0.5)
exten => 2001,n,Read(code,gestionair/entercode,3)
exten => 2001,n,Playback(gestionair/appel)
exten => 2001,n,AGI(paleo-po.py,${code})
exten => 2001,n,Hangup()
[paleo-answer]
exten => 2002,1,Answer()
exten => 2002,1,Wait(0.5)
exten => 2002,n,Playback(gestionair/callintro)
exten => 2002,n,Playback(gestionair/appel)
exten => 2002,n,AGI(paleo-public.py)
exten => 2002,n,Hangup()
[paleo-public]
exten => 2003,1,Answer()
exten => 2002,1,Wait(0.5)
exten => 2003,n,Read(code,gestionair-entercode,1)
exten => 2003,n,Playback(gestionair-appel)
exten => 2003,n,AGI(paleo-test.py,${code})
exten => 2003,n,Hangup()
[paleo-jukebox]
exten => 6666,1,Answer()
exten => 6666,n,Background(gestionair/jukebox)
exten => 1,1,Playback(gestionair/funk)
exten => 1,n,Goto(paleo-jukebox,6666,1)
exten => 2,1,Playback(gestionair/setup)
exten => 2,n,Goto(paleo-jukebox,6666,1)
exten => 3,1,Playback(gestionair/powerdown
exten => 3,n,Goto(paleo-jukebox,6666,1)
exten => 4,1,Playback(gestionair/teuf)
exten => 4,n,Goto(paleo-jukebox,6666,1)
exten => i,1,Playback(gestionair/invalid-song)
exten => i,n,Goto(paleo-jukebox,6666,1)
exten => t,1,Playback(gestionair/goodbye)
exten => t,n,Hangup()