[Asterisk-Users] monmp3thread: Request to schedule in the past?!?!

Glenn glenn at net127.com
Mon Apr 4 19:45:55 MST 2005


Kanuri, Seshu (Company IT) said:
> Give us the full story. Which Linux core 2.4 or 2.6 you are on? 2.6 does
> not need Ztdummy, if you don't have a Zaptel card.

[root at windhorse asterisk]# uname -a
Linux windhorse.DOMAIN.net 2.6.9-041221 #1 SMP Tue Dec 21 16:00:43 CET
2004 i686 i686 i386 GNU/Linux

(Fedora Core 2)

> 1) Do you have a Zap device?

No.

> 2) or are you using Ztdummy?

No. It won't compile:

mec2.h: In function `echo_can_create':
mec2.h:372: warning: implicit declaration of function `kmalloc'
mec2.h:372: error: `GFP_KERNEL' undeclared (first use in this function)
mec2.h:372: error: (Each undeclared identifier is reported only once
mec2.h:372: error: for each function it appears in.)
mec2.h:381: warning: implicit declaration of function `memset'
[..]
ztdummy.c:197: error: request for member `uhci_pci' in something not a
structure or union
ztdummy.c:205: error: request for member `int_chain' in something not a
structure or union
ztdummy.c: In function `cleanup_module':
ztdummy.c:219: error: request for member `irq' in something not a
structure or union
make: *** [ztdummy.o] Error 1


> 3) your 'lsdev' out put from linux commandline.

[root at windhorse zaptel]# lsdev
-bash: lsdev: command not found

('find / -name "lsdev"' returns nothing.)

> 4) Your sip.conf entry.

I'm not using SIP.

> 5) your extensions.conf entry which is causing the error.

I get the errors every five minutes, even with no extensions in use.

> 6) your musiconhold.conf entry

[root at windhorse asterisk]# cat musiconhold.conf
;
; Music on hold class definitions
;
[classes]
default => quietmp3:/var/lib/asterisk/mohmp3
;loud => mp3:/var/lib/asterisk/mohmp3
;random => quietmp3:/var/lib/asterisk/mohmp3,-z
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
; Note that the custom mode cannot handle escaped parameters (specifically
embedded spaces)
;manual => custom:/var/lib/asterisk/mohmp3,/usr/bin/mpg123 -q -r 8000 -f
8192 -b 2048 --mono -s


Thanks for your help,
glenn




More information about the asterisk-users mailing list