MFC/R2 detected as ISDN PRI

Home » Asterisk Users » MFC/R2 detected as ISDN PRI
Asterisk Users 5 Comments

Hi list,

I’m trying to setup an asterisk 1.8.0 with MFC/R2, but I’m having these
error messages loading chan_dahdi:

> module load chan_dahdi.so
ERROR[9241]: chan_dahdi.c:11848 mkintf: Signalling requested on channel
1 is MFC/R2 but line is in ISDN PRI signalling
ERROR[9241]: chan_dahdi.c:16180 build_channels: Unable to register
channel ‘1-15’

I got the config in /etc/asterisk/chan_dahdi.conf with the correct
signalling:

signalling=mfcr2
mfcr2_variant=ar

Why asterisk detects it as ISDN PRI? Is there any way to force it to use
MFC/R2? Am I missing something?
Any tip or link to documentation is really appreciated.

Here goes some info about what I have:

# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TE121 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE121 (VPMADT032)
location=PCI Bus 37 Slot 09
basechan=1
totchans=31
irq=32
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=AMI,HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS

Asterisk version: 1.8.0
Dahdi version: dahdi-linux-complete-2.4.0+2.4.0
libpri version: libpri-1.4.11.4
openr2 version: openr2-1.2.0

My location: Argentina

Again, if you have any tip, I’ll really thank you it. I’ve been
scratching my head with this for two long days..

Cheers,

Martín

5 thoughts on - MFC/R2 detected as ISDN PRI

  • That is: “You requested [in chan_dahdi.conf] MFC/R2 signalling, but the
    channel has [applied from /etc/dahdi/system.conf] PRI signalling.

    You should probably have in /etc/dahdi/system.conf something along the
    lines of:

    # Not sure about crc4
    span=1,1,0,cas,hdb3,crc4
    cas=1-15,17-31,1101
    dchan=16

    # also be sure to set echocan, tonezone, and such

  • Thank you so much Tzafrir for your response.

    After reading your post, it gets a bit more clearer, but can’t figure
    out how to solve it.

    This is my /etc/dahdi/system.con

    span = 1,1,0,ccs,hdb3
    bchan = 1-15,17-31
    dchan = 16
    echocanceller = mg2,1-240
    loadzone = ar
    defaultzone = ar

    And this my /etc/asterisk/chan_dahdi.conf

    [channels]
    echocanceller=yes
    cancallforward=yes
    echocancelwhenbridged=yes
    context=entrantes-pstn
    callgroup=1
    pickupgroup=1
    signalling=mfcr2
    mfcr2_variant=ar
    mfcr2_max_ani=10
    mfcr2_max_dnis=14
    mfcr2_category=national_subscriber
    mfcr2_logdir=span1
    mfcr2_call_files=yes
    mfcr2_logging=all
    channel => 1-15
    channel => 17-31

    Does they make sense to you? I’m kind of messed up after review them
    hundreds of times in 48 hours.

    Cheers,

    Martin

  • Hi Martin,

    I think you should change the following:

    To this:

    span = 1,1,0,cas,hdb3
    cas = 1-15,17-31:1101
    echocanceller = mg2,1-240
    loadzone = ar
    defaultzone = ar

    Then restart dahdi.

    Cheers,
    Shaun

  • Tzafir, Shaun and Miguel:

    Thanks so much for your help! The config that Shaun sent worked
    perfectly, and it’s the same that Miguel pointed on his mail.

    As I have no way to show you how happy I am finally solving this, if you
    ever visit Buenos Aires, I promise you guys I’ll buy as much beer/coffee
    as you can take 😀

    Best regards and thank you once again!

    Martin