Issue With Dahdi_channels.conf

Home » Asterisk Users » Issue With Dahdi_channels.conf
Asterisk Users 5 Comments

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

thanks and regards

5 thoughts on - Issue With Dahdi_channels.conf

  • In article , Salaheddine Elharit wrote:

    What are the contents of /etc/dahdi/system.conf ?

    Cheers Tony

  • 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.)

  • 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
    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 bchan2-46,48-62
    dchanG
    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

  • In article , Salaheddine Elharit wrote:

    OK, that looks fine.

    It’s always possible that the problem is a misconfiguration at the remote end. I had that once, where the PBX to which Asterisk was talking had had its channel numbers misconfigured, resulting in a similar problem to what you have described.

    What happens if you swap the cables over between the two E1 ports on the card?
    Does the problem move to the second card (channels 32-46)?

    Cheers Tony

  • thanks for your response i will swap the cables and i will update by the result

    best regards

    2013/10/31 Tony Mountifield