Module reload

Home » Asterisk Users » Module reload
Asterisk Users 7 Comments

Hi all,

Every time I reload my asterisk it fall down and the following message appear on log:

parse error: No category context for line 7 of /etc/asterisk/chan_dahdi.conf

If I comment that line, it change to other line.

There are some thing wrong with my dahdi?

Att,

Flavio Roberto Miranda
MSN:flaviormiranda@hotmail.com
Skype: flaviormiranda

7 thoughts on - Module reload

  • Sounds like you’re missing some sort of [header] in the file, such as a
    [general] or something.

    Perhaps if you showed the configuration file it would be easier to determine
    what the actual problem is.

    Leif.

  • Hello,

    Flavio Miranda wrote:

    No, but there’s probably something wrong with your chan_dahdi.conf.
    Maybe in the previews line.

    It would help if you could show us your chan_dahdi.conf

    Best regards,
    Paulo Santos

  • It’s more than likely a problem with your chan_dahdi.conf file — which, by
    the way, you appear to have forgotten to attach.

  • Asterisk:/var/log/asterisk# pico /etc/asterisk/chan_dahdi.conf

    ; DAHDI telephony

    ;language=en

    ;echocancel=yes

    echocancelwhenbridged=yes

    ss7type = itu

    ss7_called_nai=dynamic

    ss7_calling_nai=dynamic

    ;General options

    usecallerid = yes
    hidecallerid = no
    callwaiting = yes
    threewaycalling = yes
    transfer = yes
    echocancel = yes
    rxgain = 0.0
    txgain = 0.0

    ;FXO Modules
    group = 1
    echocancel = yes
    signalling = fxs_ks
    context = local
    channel = 1

    That´s it!!

    Att,

    Flavio Roberto Miranda
    MSN:flaviormiranda@hotmail.com
    Skype: flaviormiranda

    href=”mailto:asterisk_list@earthshod.co.uk”>asterisk_list@earthshod.co.uk
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

  • Hello,

    Flavio Miranda wrote:
    […]

    You’re missing the context [channels] at the start.

    Best regards,
    Paulo Santos