Upgrade 3CX to v18 and get it hosted free!

Asterisk config capi.conf

Author image

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.


Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.