chan_dahdi.c ERROR

Discussion in 'General' started by magmag, Apr 3, 2011.

  1. magmag

    Joined:
    Jul 26, 2010
    Messages:
    7
    Likes Received:
    0
    This error had frequently appeared now, it was only once in 2-3 months before, but now it's almost once per week. Have googled and noted someone got same issue, but no solution at all. Can anyone help?

    I'm using D110P with Elastix 2.0
    [2011-03-28 05:35:26] ERROR[2802] chan_dahdi.c: PTP MDL can't handle error of type F
    [2011-03-28 05:35:26] ERROR[2802] chan_dahdi.c: MDL-ERROR (F), SABME in state 7
    [2011-03-30 06:30:01] ERROR[2659] asterisk.c: Unable to spawn thread to handle connection: Cannot allocate memory
    [2011-03-30 06:35:01] ERROR[2659] asterisk.c: Unable to spawn thread to handle connection: Cannot allocate memory
     
  2. magmag

    Joined:
    Jul 26, 2010
    Messages:
    7
    Likes Received:
    0
    pretty bad.. this comes twice again this week..

    Anybody got any idea?
     
  3. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    What about if you set a crontab to stop and start asterisk all days at 03:20?
    Thta will help you, until there is the proper correction to this issue.
     
  4. magmag

    Joined:
    Jul 26, 2010
    Messages:
    7
    Likes Received:
    0
    may I know how can I set this? I have no solid knowledge in Linux, appreciate very much for your help.

    Btw, why is that 03:20?
     
  5. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    lol...
    03:20 was the first thing that I came up, there is no big deal.. you can set it at 03:19 :lol:
    What I was talking about was a crontab:
    www.lmgtfy.com/?q=linux+crontab

    In order to set it up, do the following:

    crontab -e
    20 03 * * * /etc/init.d/asterisk stop; /etc/init.d/asterisk stop; /etc/init.d/asterisk start;
     

Share This Page