MPlayer always working

Discussion in 'General' started by mostafa33, Apr 1, 2011.

  1. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    i created a steaming MOH , and played it using Mplayer
    but the problem is the stream is always working on the elastix machine, i wants to play it in the music on hold only.

    how can i stop it??
     
  2. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    if it streaming need to be running always ni back...imagine the scenario when a client enter the system and the buffer needs t be populated every time with for example 8 secs that is 8 secs of silence every time people call ....
     
  3. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    i didn't mean the buffering process of the software, the problem is the elastix system always send the MOH on the speakers of the machine, which is strange as the MOH is targets the holding users in a queue for example ,i wants to stop this sound (may the Mplayer running the buffering process in background)
     
  4. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:MPlayer always working

    do u have aplied all the acnges? mplayer is called bia /usr/bin commands in correct music category? music category is selected in destinations?? example queue conferences etc?
     
  5. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    Re: Re:MPlayer always working

    i use the following command in the MOH to play my stream:

    /usr/local/bin/mplayer http://208.43.81.168:8613
     
  6. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:MPlayer always working

    ohh yeah and the conversions to be reproduced in the elastix box??? aka mono 8000hz etc...
     
  7. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    Re: Re:MPlayer always working

    not understanding you, do u think the command needs a certain option?
     
  8. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:MPlayer always working

    as far as i know always....this is a correct line using mpg123
    application=/usr/local/bin/mpg123 -q -r 8000 -f 8192 -s --mono http://213.186.41.160:8000/

    ..join the new list asterisk-biz-hands-on in google groups where all the gurus here are going after dickos
     
  9. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    Re: Re:MPlayer always working

    the problem in mpg123 that it can't play all streams (like mms),
     
  10. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:MPlayer always working

    well then u have to manage how to convert the stream into any stream that asterisk can read correctly
     
  11. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
  12. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    Re: Re:MPlayer always working

    there is a software can convert the stream type??
     
  13. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:MPlayer always working

    read the post in voip info.....
     
  14. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    i tried the script that run the mms stream in the voip-info post, but there is no voice

    here the script, it needs any update?

     
  15. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    i tried the script that run the mms stream in the voip-info post, but there is no voice

    here the script, it needs any update?

     
  16. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
  17. mostafa33

    Joined:
    May 25, 2010
    Messages:
    121
    Likes Received:
    0
    no sound also
    steps i have done:
    1)create stream MOH
    2)add the following lines in musiconhold_custom.conf
    3)create the following script (rr.sh) in the path /yy
    4)add the MOH "uptemposmoothjazz" in a queue, but no sound, please help
     

Share This Page