Topic: Channel to DID Map Problems [Comments: 2]
Fri, 01/09/2009 - 08:16 | Channel to DID Map Problems
A quick question about analog Digium Boards, Zap and DID that I was hoping for help debugging.
We have an analog Digium AEX800 with two TXS and four FXO (See output of ztcfg below)
# /sbin/ztcfg -vvv
Zaptel Version: SVN-branch-1.4-r4609
Echo Canceller: MG2
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 05: FXO Kewlstart (Default) (Slaves: 05)
Channel 06: FXO Kewlstart (Default) (Slaves: 06)
Channel 07: FXO Kewlstart (Default) (Slaves: 07)
Channel 08: FXO Kewlstart (Default) (Slaves: 08)
Calls are incoming to Channel 01 and 02 from the UK POTS PSTN and are appropriately received, with good quality audio, call handling and Caller ID detection.
The problem is that I dont seem to be able to create a workable Channel to DID map.
Here's what I did -
Set up and tested the Zap Channels.
Created a Zap Trunk called simply 1 and made sure it was enabled.
Created a Channel to DID map where I selected Channel 1 and allocated a number 019XXXXXXX
Created an inbound route for this DID - 019XXXXXXX and pointed it at an internal extension to test.
Called the Incoming BT line to test -
Result - all works fine except the routing based on the DID that I created above - which resolutely fails to work - all the calls on both incoming lines to the AEX800 end up being handled by s.
My config files are pretty basic:
; hardware channels defaults - these populate downwards unless overridden
; now we define the extension channels on ports 5 -8 FXS devices with FXO signalling
channel => 5
channel => 6
channel => 7
channel => 8
; and define the incoming channel attached to port 1 - 2
; and now define some of the parameters for the incoming analog OTS / PSTN line thus
cidsignalling=v23 ; Added for UK CLI detection
cidstart=polarity ; Added for UK CLI detection
;set up a group for both the following lines
; (dont really need to define options more than once as they cascade)
channel => 1
; and define the second incoming channel
channel => 2
The Zap Channel part of trunks.include
and lastly (and backwards in order somewhat!) - Zaptel.conf
Can anyone see where I have gone wrong? I would have thought that this would work fine - or am I missing a script error somewhere?
Any help would be very appreciated as this card is almost perfect now!
Kind Regards and thanks in advance,