[Asterisk-Users] Help With Music On Hold

Walt Davis crazydog at waltdavis.net
Thu Mar 13 01:22:25 MST 2003


No but how about I try installing it? Thanks mark!

> Did you remember to move to mpg123 and not use mpg321 which is often
> aliased to mpg123?
>
> Mark
>
> On Wed, 12 Mar 2003, Walt Davis wrote:
>
>> It used to work just fine and I can only think of three possibilities:
>>
>> 1) Moved asterisk onto a different server and that server does not
>> have a sound card?
>>
>> 2) Rebuilt and hardened asterisk on a Mandrake 9.0 distro, so perhaps
>> I left out some modules or something.
>>
>> 3) Upgraded from the developer kit light to a single span T1.
>>
>> Can anybody confirm or deny these as possibilities?
>>
>> > Asterisk -rvvv
>> >     -- Starting simple switch on 'Zap/7-1'
>> >     -- Executing MusicOnHold("Zap/7-1", "") in new stack
>> >     -- Started music on hold, class 'default', on Zap/7-1
>> >     -- Stopped music on hold on Zap/7-1
>> >   == Spawn extension (home, 6, 1) exited non-zero on 'Zap/7-1'
>> >     -- Hungup 'Zap/7-1'
>> >
>> > As you can see MusicOnHold is starting and stopping but I dont hear
>> anything, just dead silence.
>> >
>> > My music on hold config:
>> > default => mp3:/var/lib/asterisk/mohmp3, -z.
>> >
>> > All MP3 Files in this dirctory have global read access.
>> >
>> > I'm getting a lot of these in the debug log:
>> > Mar 11 14:12:10 DEBUG[3076]: File res_musiconhold.c, Line 240
>> > (monmp3thread): Read 100 bytes of audio while expecting 640
>> >
>> > and these in the Message log:
>> > Mar 11 14:10:24 WARNING[1024]: File chan_oss.c, Line 419
>> > (soundcard_init)
>> >
>> > Any ideas?
>> >
>> > --
>> > Walt Davis
>> > www.waltdavis.net
>> >
>> >
>> > _______________________________________________
>> > Asterisk-Users mailing list
>> > Asterisk-Users at lists.digium.com
>> > http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list