[asterisk-users] issue with dahdi_channels.conf
Salaheddine Elharit
salah.elharit200 at gmail.com
Thu Oct 31 11:44:45 CDT 2013
below
etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Tue Oct 22 15:03:14 2013
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,0,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62
# Global data
loadzone = us
defaultzone = us
dahdi-channels.conf
===============
with this configuration there is no problem but when i add 1-15
and i make service asterisk stop, service dahdi stop, service dahdi start,
service asterisk start i can't make the calls i must remove 1-15 in order
to make the calls
; Autogenerated by /usr/sbin/dahdi_genconf on Tue Oct 22 15:03:14 2013
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is
intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global
settings
;
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 17-31
context = default
group = 63
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = qsig
signalling = pri_net
channel => 32-46,48-62
context = default
group = 63
chan_dahdi.conf
===============
[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1
[channels]
#include dahdi-channels.conf
context=default
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
rxgain=0.0
txgain=0.0
group=1
switchtype=euroisdn
signalling=pri_cpe
callgroup=1
;pickupgroup=1
immediate=no
channel => 1-15,17-31
group=2
callgroup=2
switchtype=qsig
signalling=pri_net
callerid=52xxxxxx
immediate=no
channel => 32-46,48-52
thanks and regards
2013/10/31 A J Stiles <asterisk_list at earthshod.co.uk>
> On Thursday 31 October 2013, Salaheddine Elharit wrote:
> > Hello list
> >
> >
> > i have an issue with my dahdi_channels.conf
> >
> > in span 1 when i use it like below i can do my outband calls without
> issue
> >
> > ; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
> > group=0,11
> > context=from-pstn
> > switchtype = euroisdn
> > signalling = pri_cpe
> > channel => 17-31
> > context = default
> > group = 63
> >
> >
> >
> > but when i add in channel 1-15 like: channel => 1-15,17-31
> >
> > i receive all the time this message
> >
> > chan_dahdi.c:9438 pri_fixup_principle: Can't move call (DAHDI/3-1) from
> > channel 3 to 2. It is already in use.
> >
> >
> > WARNING[4264]: chan_dahdi.c:9558 pri_find_fixup_principle: Span 1: PRI
> > requested channel 1/2 is not available.
> >
> >
> > in span 2 there is no problem
> >
> > ; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
> > group=0,12
> > context=from-pstn
> > switchtype = qsig
> > signalling = pri_net
> > channel => 32-46,48-62
> > context = default
> > group = 63
> >
> > could you please help me
>
> Not without more information.
>
> Can you post the contents of /etc/dahdi/system.conf ?
>
> What country are you in? Are the jumpers on your card set correctly for
> there?
>
> Do your telco have any information regarding configuring Asterisk to work
> with
> their equipment? (They should have at least heard of Asterisk by now.)
>
> --
> AJS
>
> Answers come *after* questions.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131031/a8e1e711/attachment.html>
More information about the asterisk-users
mailing list