?

2

, ! , Digium TE122 1 . ?

 Digium TE122  Asterisk

IP Asterisk (CLI) - /etc/dahdi/system.conf . :

span=1,1,0,ccs,hdb3 
bchan=1-15,17-31 
dchan=16 

. /etc/asterisk/chan_dahdi.conf :

group=0 
signalling=pri_cpe 
switchtype=euroisdn 
context=incoming 
channel=1-15,17-31

:

dahdi_tool

( mc). . , chan_dahdi.conf. nano /etc/asterisk/chan_dahdi.conf :

[channels]
language=ru
busydetect=yes
busycount=10
usecallerid=yes
callwaiting=yes
usecallingpres=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=no
immediate=no
faxdetect=no
rxgain=0.0
txgain=0.0

/etc/asterisk/chan_dahdi_channels_custom.conf :

;language=ru
;callwaiting=yes
usecallingpres=yes
;pridialplan=unknown
;prilocaldialplan=unknown
resetinterval = 100000000
facilityenable = yes
usecallerid=yes
cidsignalling=bell
cidstart=ring
hidecallerid=no
sendcalleridafter=1
callwaitingcallerid=yes
callerid = asreceived
restrictcid = no
threewaycalling=yes
;transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
;echotraining=800
relaxdtmf=no
;switchtype=national
;signalling=pri_cpe

;group=0
;context=from-pstn
;channels=>1-15,17-31

. Dahdi:

/etc/init.d/dahdi restart

. extensions_custom.conf . :

[test_context]
exten => _X.,1,Dial(Dahdi/g0/${EXTEN},60,tT)

FreePBX g0. .


?