chan_dahdi.c ERROR

magmag

Joined
Jul 26, 2010
Messages
7
Likes
0
Points
0
#1
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
 

magmag

Joined
Jul 26, 2010
Messages
7
Likes
0
Points
0
#2
pretty bad.. this comes twice again this week..

Anybody got any idea?
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#3
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.
 

magmag

Joined
Jul 26, 2010
Messages
7
Likes
0
Points
0
#4
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?
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#5
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;
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top