Asterisk sounds

Discussion in 'General' started by MST, Jan 2, 2011.

  1. MST

    MST

    Joined:
    Sep 25, 2009
    Messages:
    317
    Likes Received:
    0
    I have noticed in Elastix 2.0.3 that asterisk sounds are located in:

    /var/lib/asterisk/sounds/en

    instead of /var/lib/asterisk/sounds line in 1.6

    Here is a pice of code that works in Elastix 1.6 but does not work in 2.0.3

    exten => s,n,Congestion
    exten => s,1000,goto(s,3000)
    exten => s,3000,Playback(pls-entr-num-uwish2-call)

    I could not hear "pls-entr-num-uwish2-call" in 2.0.3

    Everything is the same but this does not work in 2.0.3

    Please advice
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    you can either replace

    exten => s,3000,Playback(pls-entr-num-uwish2-call)

    with

    exten => s,3000,Playback(${LANGUAGE}/pls-entr-num-uwish2-call)

    ( I believe ${LANGUAGE} defaults to "en" )

    or copy the contents of /var/lib/asterisk/sounds/en to /var/lib/asterisk/sounds

    the first option is preferable if you want to keep the polyglottal nature of Asterisk/FreePBX
     
  3. MST

    MST

    Joined:
    Sep 25, 2009
    Messages:
    317
    Likes Received:
    0
    Hmmm that's what I did ..... I copied the content of /var/lib/asterisk/sounds/en to /var/lib/asterisk/sounds
    after that chown asterisk:asterisk .....

    and silence ......
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Don't know what to say IWFM. perhaps explicitly use also the extension if you are not using the default. the log file might also expose an problems.

    dicko
     
  5. MST

    MST

    Joined:
    Sep 25, 2009
    Messages:
    317
    Likes Received:
    0
    Thank you for advice and sorry for confusion.

    ALl works like it should. No need to copy anything. Work with defaults folder paths
    using either Playback or Background (works with both and default folder location ./en/...

    Thank You,


    MST
     

Share This Page