Asterisk config capi.conf

NOTE: This is an example for an old chan-capi version. Please look at the capi.conf example provided by packages on ftp://ftp.chan-capi.org and the information on http://www.chan-capi.org. Don't use this example with newer chan-capi version, it will not work.

CAPI.CONF - configuration of the Linux CAPI 2.0 channel


Example from the distribution:

;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]

incomingmsn=*
controller=1
softdtmf=1
accountcode=
context=demo
;echosquelch=1
;echocancel=yes
;echotail=64
deflect=12345678
devices=2


;PointToPoint (55512-0)
;for outgoing calls use example 5551212
;and in dialplan you can use callerid like
;exten => _0XXX.,1,StripMSD,1
exten => _XXX.,2,Dial,CAPI/55512${CALLERIDNUM}
bBYEXTENSION
;============================================================
;mode=immediate
;isdnmode=ptp
;msn=55512
;controller=2
;devices=30




If you want to have a second controller, make sure you duplicate all of this section and adjust it to make sense for your second card.


incomingmsn=*
controller=2
softdtmf=1
accountcode=
context=demo
;echosquelch=1
;echocancel=yes
;echotail=64
devices=2



If you're using an E1 card, don't forget to change devices=2 to devices=30.



NOTE: This is an example for an old chan-capi version. Please look at the capi.conf example provided by packages on ftp://ftp.chan-capi.org and the information on http://www.chan-capi.org. Don't use this example with newer chan-capi version, it will not work.

CAPI.CONF - configuration of the Linux CAPI 2.0 channel


Example from the distribution:

;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]

incomingmsn=*
controller=1
softdtmf=1
accountcode=
context=demo
;echosquelch=1
;echocancel=yes
;echotail=64
deflect=12345678
devices=2


;PointToPoint (55512-0)
;for outgoing calls use example 5551212
;and in dialplan you can use callerid like
;exten => _0XXX.,1,StripMSD,1
exten => _XXX.,2,Dial,CAPI/55512${CALLERIDNUM}
bBYEXTENSION
;============================================================
;mode=immediate
;isdnmode=ptp
;msn=55512
;controller=2
;devices=30




If you want to have a second controller, make sure you duplicate all of this section and adjust it to make sense for your second card.


incomingmsn=*
controller=2
softdtmf=1
accountcode=
context=demo
;echosquelch=1
;echocancel=yes
;echotail=64
devices=2



If you're using an E1 card, don't forget to change devices=2 to devices=30.



Created by: oej, Last modification: Sat 18 of Mar, 2006 (21:28 UTC) by armincm
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+