You are on page 1of 3

Database asterisk

Table structure for table extensionstable


Field Type Null Default Comments
id int(11) Yes NULL
context varchar(20) Yes
exten varchar(20) Yes
priority tinyint(4) Yes 0
app varchar(20) Yes
appdata varchar(128) Yes

Dumping data for table extensionstable


id context exten priority app appdata
1 goitudong _X. 1 Wait
2 goitudong _X. 2 Set contextxuly1
=$
{ODBCGTD
_READINFO
($
{dichvu},cont
extxuly1)}
3 goitudong _X. 3 Goto $
{contextxuly1
},1,s
4 goitudong h 1 Wait
5 goitudong h 2 Set contextxuly2
=$
{ODBCGTD
_READINFO
($
{dichvu},cont
extxuly2)}
6 goitudong h 3 Goto $
{contextxuly2
},1,s
7 goitudong failed 1 Wait
8 goitudong failed 2 Set contextxuly3
=$
{ODBCGTD
_READINFO
($
{dichvu},cont
extxuly3)}
9 goitudong failed 3 Goto $
{contextxuly3
},1,s
16 contextxulydi s 7 Set QT_BAIHAT
chvu1 =$
{ODBCVGB
_READINFO
($
{dichvu},gbv
ar2)}
10 contextxulydi s 1 Wait
chvu1
11 contextxulydi s 2 Set callerid=$
chvu1 {ODBCBDV
_READINFO
($
{dichvu},call
erid)}
12 contextxulydi s 3 Set context=$
chvu1 {ODBCBDV
_READINFO
($
{dichvu},cont
ext)}
13 contextxulydi s 4 Set preodbc=$
chvu1 {ODBCBDV
_READINFO
($
{dichvu},preo
dbc)}
14 contextxulydi s 5 Set tencallfile=$
chvu1 {ODBCBDV
_READINFO
($
{dichvu},tenc
allfile)}
15 contextxulydi s 6 Set vitrifile=${$
chvu1 {preodbc}_R
EADINFO5A
RG(${dtgoi},
${dtnhan},$
{ngaytang},$
{giotang},$
{mabh},vitrifi
le)}
17 contextxulydi s 8 Background ${vitrifile}&$
chvu1 {QT_BAIHA
T}/$
{mabh},m
18 contextxulydi s 9 WaitExten 1
chvu1
19 contextxulydi 1 1 Set QT_LOICA
chvu1 MON=$
{ODBCVGB
_READINFO
($
{dichvu},gbv
ar3)}
20 contextxulydi 1 2 Playback $
chvu1 {QT_LOICA
MON}/thank
21 contextxulydi 1 3 Set dagoi=${$
chvu1 {preodbc}_R
EADINFO5A
RG(${dtgoi},
${dtnhan},$
{ngaytang},$
{giotang},$
{mabh},dagoi
)}