[Asterisk-Users] MusicOnHold pulsing sound

Stefano Finetti Lynx Automotive srl ssfinetti at lynxautomotive.it
Wed Feb 19 05:20:14 MST 2003


"Jens-E. Hansen"  Wrote:


>
> When asterisk boots i get: WARNING[1024]: File res_musiconhold.c, Line
> 466 (moh_register): unable to open pseudo channel for timing...  Sound
> may be choppy.
>
> Asterisk tries to open /dev/zap/pseudo but i have no zap devices so it
> has to fail.

I've the same error you have.

In my /dev dir I've also the /zap subdir with pseudo device inside. (I
currently DON'T have any zaptel hardware installed, but i've compiled it in
order to have it ready if I install the hardware later, now i'm just testing
asterisk)

I've tried to compile ztdummy but it breaks on compiling.

This is the output for #make ztdummy

[root at asterisk zaptel]# make ztdummy
cc   ztdummy.o   -o ztdummy
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18):
undefined reference to `main'
ztdummy.o: In function `init_module':
ztdummy.o(.text+0x6): undefined reference to `uhci_devices'
ztdummy.o(.text+0x26): undefined reference to `printk_R1b7d4074'
ztdummy.o(.text+0x46): undefined reference to `kmalloc_R93d4cfe6'
ztdummy.o(.text+0x5f): undefined reference to `printk_R1b7d4074'
ztdummy.o(.text+0x8c): undefined reference to `sprintf_R1d26aa98'
ztdummy.o(.text+0xa0): undefined reference to `sprintf_R1d26aa98'
ztdummy.o(.text+0xb8): undefined reference to `sprintf_R1d26aa98'
ztdummy.o(.text+0x100): undefined reference to `zt_register'
ztdummy.o(.text+0x114): undefined reference to `printk_R1b7d4074'
ztdummy.o(.text+0x120): undefined reference to `kfree_R037a0cba'
ztdummy.o(.text+0x142): undefined reference to `free_irq_Rf20dabd8'
ztdummy.o(.text+0x15e): undefined reference to `request_irq_R0c60f2e0'
ztdummy.o(.text+0x174): undefined reference to `printk_R1b7d4074'
ztdummy.o(.text+0x180): undefined reference to `kfree_R037a0cba'
ztdummy.o(.text+0x1a2): undefined reference to `uhci_interrupt'
ztdummy.o(.text+0x1a8): undefined reference to `request_irq_R0c60f2e0'
ztdummy.o(.text+0x1c3): undefined reference to `alloc_td'
ztdummy.o(.text+0x1d7): undefined reference to `fill_td'
ztdummy.o(.text+0x1ee): undefined reference to `insert_td_horizontal'
ztdummy.o(.text+0x20e): undefined reference to `printk_R1b7d4074'
ztdummy.o(.text+0x222): undefined reference to `printk_R1b7d4074'
ztdummy.o: In function `cleanup_module':
ztdummy.o(.text+0x246): undefined reference to `zt_unregister'
ztdummy.o(.text+0x25a): undefined reference to `free_irq_Rf20dabd8'
ztdummy.o(.text+0x266): undefined reference to `kfree_R037a0cba'
ztdummy.o(.text+0x27c): undefined reference to `unlink_td'
ztdummy.o(.text+0x28f): undefined reference to `delete_desc'
ztdummy.o(.text+0x2ad): undefined reference to `printk_R1b7d4074'
ztdummy.o: In function `ztdummy_interrupt':
ztdummy.o(.text+0x366): undefined reference to `zt_receive'
ztdummy.o(.text+0x372): undefined reference to `zt_transmit'
ztdummy.o(.text+0x3a1): undefined reference to `printk_R1b7d4074'
collect2: ld returned 1 exit status
make: *** [ztdummy] Error 1

Any suggestion?
I've read the archive finding out there is a patch for the kernel 2.4.20,
but i'm still on 2.4.18 so...

Bye
--
Stefano Finetti
----
System Consultant
BlueBox Project Coordinator
Lynx Automotive srl
email: ssfinetti at lynxautomotive.it
tel: +39 199 79 79 30
fax: +39 06 233 227 934
Linux Registered User #271978
----




More information about the asterisk-users mailing list