Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Exclamation Asterisk IVR Menu Configuration

    Hello, I am trying to implement an IVR menu on a Asterisk PBX Server. I am running on Cento5. Here is my extensions.conf

    exten => 00,1,VoicemailMain(${CALLERIDNUM:1}@${CONTEXT})
    exten => asterisk,1,VoicemailMain(${CALLERIDNUM:1}@${CONTEX T})
    exten => a,1,Macro(voicemailescape,${EXTEN},edstest)
    exten => i,1,Playback(invalid)
    exten => i,2,Congestion
    include => inbound
    include => defaultoutbound
    include => mainmenu

    exten => s,1,Background(/var/lib/asterisk/sounds/s-xpress.gsm)
    exten => s,3,Background(silence/5)
    exten => s,4,noop()
    exten => s,5,Background(/var/lib/asterisk/sounds/s-xpress.gsm)
    exten => s,6,Background(silence/10)
    exten => s,7,Background(Hangup)
    exten -> 0,1,Goto(infotest|1000|1)
    exten => 1,1,Goto(infotest|1001|1)
    exten => 2,1,Goto(infotest|1002|1)
    exten => 3,1,Goto(infotest|1003|1)
    exten => 4,1,Goto(infotest|1004|1)
    exten => 5,1,Goto(infotest|1005|1)
    exten => i,1,playback(invalid)
    exten => i,2,goto(infotest|s|1)

    exten => 3000,1,Goto(mainmenu,s,1)

    exten 3000 is supposed to ring the auto attendant. When I dial this extension it goes to dead air. This is from the messages log

    [Aug 7 11:53:07] WARNING[2701] file.c: Unable to open /var/lib/asterisk/sounds/s-xpress.gsm (format 0x4 (ulaw)): No such file or directory
    [Aug 7 11:53:07] WARNING[2701] pbx.c: ast_streamfile failed on SIP/infotest1000-09018900 for /var/lib/asterisk/sounds/s-xpress.gsm

    gsm file has been converted via sox. Please any help on this error and or my configuration if it is not correct?

  2. #2


    Hi I am from Argentina and my english is not very good, but I will try helping you. The problem I see is in the Background application. The name of the sound file doesn't have to have the extension file. For example:

    your line:
    exten => s,1,Background(/var/lib/asterisk/sounds/s-xpress.gsm)

    correct line:

    exten => s,1,Background(/var/lib/asterisk/sounds/s-xpress)

    maybe you have all redy solved it, but this may help someone else.

    good luck

  3. #3
    tell me how to configure IVR on ASTERISK .... I install centos..

  4. $spacer_open
  5. #4
    Join Date
    May 2004
    arch linux
    Hello and welcome to the forums, qamran!

    This thread is going on 4 years old so I'm going to close it, but don't hesitate to start fresh threads of your own if you are having any troubles with Linux.

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts