![OpenVox B100E Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/openvox/b100e/b100e_user-manual_1640146025.webp)
B100E on DAHDI User Manual
OpenVox Communication Co. LTD.
URL: www.openvox.cn
24
connections.
4. Dialplan edit
You should make sure that the context
"
from-isdn
"
and
"
from-internal
"
are in extensions.conf. Here a simple example is given:
# vim /etc/asterisk/extensions.conf
[from-isdn]
exten => s,1,Dial(SIP/100,,r)
exten => s,n,Hangup()
[from-internal]
exten => _X.,1,Dial(dahdi/1/${EXTEN},,r)
exten => _X.,n,Hangup()
Figure 8 dial plan
After saving your dialplan, please run
"
asterisk –r
"
, then execute
"
reload
"
in the CLI. Now you are able to make calls. The above
dialplan achieves that:
If there is a call from the ISDN line, Asterisk will transfer to SIP
extension 100, then the SIP phone rings;
If SIP extension 100 dials any phone number, Asterisk will transfer to
the destination phone through the first channel.
VoIPon www.voipon.co.uk [email protected] Tel: +44 (0)1245 808195 Fax: +44 (0)1245 808299