
www.atcom.cn 8
Chapter 3 Software Configuration
1. Please configure the misdn-init.conf file:
[root@elastix ~]# vi /etc/ misdn-init.conf
configure the NT/TE mode of the four ports, for example(I set por1and port2 as NT mode,
port3 and port4 as TE mode):
==================================================================
card=1,0x4
#
# Port settings
#
# Syntax: <port_type>=<port_number>[,<port_number>...]
#
# <port_type> te_ptp - TE-Mode, PTP
# te_ptmp - TE-Mode, PTMP
# te_capi_ptp - TE-Mode (capi), PTP
# te_capi_ptmp - TE-Mode (capi), PTMP
# nt_ptp - NT-Mode, PTP
# nt_ptmp - NT-Mode, PTMP
# <port_number> port that should be considered
#
nt_ptmp=1,2
te_ptmp=3,4
#
# Port Options
#
# Syntax: option=<port_number>,<option>[,<option>...]
==================================================================
2. Please configure the extensions .conf file:
[root@elastix ~]# vi /etc/asterisk/extensions.conf
For example:
==================================================================
[test]
exten => 301,1,Answer()
exten => 301,2,Dial(misdn/1/100,20,tr)
exten => 301,3,Hangup()
exten => 100,1,Answer()
Comentarios a estos manuales