AW: [Asterisk-Users] MP3player Problem

office info at kfactory.de
Wed Feb 8 07:58:32 MST 2006


 

<-----Ursprüngliche Nachricht-----
<Von: Bayrouni [mailto:bayrouni at brutele.be] 
<Gesendet: Dienstag, 7. Februar 2006 21:39
<An: asterisk-user at kfactory.de; 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




More information about the asterisk-users mailing list