Hello all,
I have the following working (somewhat) setup:
TELCO
|
|
E1 (30 Chan -- TE210 SPAN 2)
|
|
Asterisk box 1.6 with
DAHDI drivers loaded
Digium TE210p
|
|
E1 (30 Chan -- TE210 SPAN 1)
|
|
NEC PBX
>From the NEC system I can make calls out. From a line on the other side of
the Telco, I can make calls in.
What I am trying to get though is how to pass through the DID range.
The E1 that I am connecting to the Telco with, used to connect direct to the
NEC system and already has hunt group calling enabled for all 30 channels.
Also, I was given a 100 number indial range (from 00 -> 99).
If the E1 is connected to the NEC directly, I can call 5555 7320 and the NEC
will route that directly to a certain handset.
But when I put the asterisk system in between, I am getting the call
through, but it does not then call the correct number it seems..
The telco side has the following in extensions.conf:
[from-pstn]
exten => _555573XX,1,Dial(DAHDI/g1/${ARG1},,T)
[from-nec]
exten => s,1,Dial(DAHDI/g1/${ARG1},,T)
The dahdi_channels.conf has:
; SPAN 1 connects to the NEC PBX system
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-nec
switchtype = euroisdn
signalling = pri_net
channel => 1-15,17-31
group = 63
; SPAN 2 connects to Telstra on 02 5555 7300 - 30 channel E1
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
group = 63
Which is then included in chan_dahdi.conf with an #include...
What am I missing? Is there something more I should read on this?
I can't seem to find my answers in the Asterisk book nor online....
Thanks
Mikel
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users