A400E on DAHDI User Manual
OpenVox Communication Co. LTD.
URL: www.openvox.cn
24
Chan Extension Context Language MOH Interpret
Pseudo default default
1 from-internal default
2 from-internal default
3 from-pstn default
4 from-pstn default
Figure 9 channels show
If DAHDI channels are found, it means they have been loaded into
Asterisk. You are going to edit dialplan by your requirements.
4. Dialplan edit
Users must make sure that the context
"
from-pstn
"
and
"
from-internal
"
are in extensions.conf, here a simple example is given:
# vim /etc/asterisk/extensions.conf
[from-pstn]
exten => s,1,Answer()
exten => s,n,Dial(dahdi/1,,r)
exten => s,n,Hangup()
[from-internal]
exten => 200,1,Dial(dahdi/3/outgoing_number)
exten => 200,2,Hangup()
Figure 10 dial plan
You should write the destination number instead of the
outgoing_number in the above dial plan. The dialplan
achieves that when any extension telephone dials 200,
Asterisk will transfer through channel 3 to the destination.
http://ArtTel.ru