Hello
Asterisk 1.4.21.2 (AstLinux 0.6.1) + TDM404EF (=TDM410P + 4 FXO + hardware echo cancellation). Currently using only channels 1 and 2, both plugged into separate UK POTS lines. Using wctdm24xxp driver with opermode=uk.
zaptel.conf:
[code]fxsks=1
loadzone=uk
defaultzone=uk
fxsks=2
loadzone=uk
defaultzone=uk[/code]
zapata.conf:
[code][channels]
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=yes
transfer=yes
echocancel=yes
echotraining=yes
context=incoming
signalling=fxs_ks
group=1
channel => 1
context=incoming
signalling=fxs_ks
group=1
channel => 2[/code]
extensions.conf:
[code][work]
exten => _0.,1,Dial(Zap/g1/${EXTEN})
[incoming]
exten => s,1,Dial(SIP/UserA,20,t)[/code]
sip.conf:
[UserA]
type=friend
host=dynamic
context=nnpa
username=UserA
secret=password
disallow=all
allow=gsm
allow=ulaw
mailbox=0234
callerid=Test user <0121 111222>
Only one line works, the other failing for both incoming and outgoing. I can rule out the card or the modules, because if I swap which module is connected to which POTS socket, the channels which work from Asterisk’s point of view swap over.
Am I doing something obviously wrong? Do I have to pass any other parameters alongside opermode? As is apparent, I’m a beginner.
Thanks
Tom