Just a long shot: Do you need to Answer() the call first? exten => 10,1,Answer exten => 10,2,MP3Player(...)
Like this. Rene Kluwen Chimit > > > <-----Ursprüngliche Nachricht----- > <Von: Bayrouni [mailto:[EMAIL PROTECTED] > <Gesendet: Dienstag, 7. Februar 2006 21:39 > <An: [EMAIL PROTECTED]; Asterisk Users Mailing List - > Non-Commercial > Discussion > <Betreff: Re: [Asterisk-Users] MP3player Problem > < > <office wrote: > <> Hi, > <> > <> > <> i use in my extensions.conf a testline for an internal test : > <> > <> exten => 10,1,MP3Player(/var/lib/asterisk/mohmp3/fpm-calm-river.mp3) > <> > <> > <> When i call 10, Asterisk answer and i see in the CLI, that MP3player > <> works without problems - but i can't hear the sound at the phone ? > <> > <> Where is the Problem ? > <> > <> > <> Walter > <> > < > <Hello, > <you are missing mpg123,Install it and moh will work > < > <-- > <Bayrouni > > Hello, > > I have already installed mpg123 and it works fine ! > When i start mpg123 i see these correct outputs : > > "High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. > Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. > Uses code from various people. See 'README' for more! > THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!" > > This ist the CLI-Output, when i try an internal call to 10 : > > "*CLI> == Primary D-Channel on span 1 up for TEI 64 > -- Accepting overlap voice call from '11' to '10' on channel 0/2, span > 1 > -- Starting simple switch on 'Zap/2-1' > -- Executing Set("Zap/2-1", "LANGUAGE()=de") in new stack > -- Executing Answer("Zap/2-1", "") in new stack > -- Executing MP3Player("Zap/2-1", > "/var/lib/asterisk/mohmp3/fpm-calm-river.mp3") in new stack" > > > > Now i don't know, which job make asterisk in the background - but after > 2min. Asterisk hangup with this : > > > > > "Feb 8 15:56:59 NOTICE[29435]: app_mp3.c:108 timed_read: Poll timed > out/errored out with 0 > -- Executing PlayTones("Zap/2-1", "congestion") in new stack > -- Executing Hangup("Zap/2-1", "") in new stack > == Spawn extension (zap-incoming, 10, 5) exited non-zero on 'Zap/2-1' > -- Hungup 'Zap/2-1' > -- Executing PlayTones("Zap/2-1", "congestion") in new stack" > > > > > Walter > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
