Hello,
I have the Sangoma card with PRI line connection having 30 channels.
I want to configure
a) 1-15 channels for the context [to-pstn] and
b) 17-31 channels for the context [from-pstn]
Channel (16) is D-Channel.
How do I do this please help. Below are the details of extensions.conf and chan_dahdi.conf.
I have extensions.conf where I have two context,
[from-pstn]
[to-pstn]
My chan_dahdi.conf is as below:
autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2019-09-24
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma A101 port 1 [slot:4 bus:4 span:1]
switchtype=dms100
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-15,17-31