Problems to setup a basic IVR

Discussion in 'General' started by pedropolian, Mar 23, 2009.

  1. pedropolian

    Joined:
    Mar 2, 2009
    Messages:
    20
    Likes Received:
    0
    Hello,

    I'm trying to setup a basic IVR. I followed the steps from "Elastix without tears":

    Name (Change Name): MainOffice (that
     
  2. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    It looks like its timing out, try removing the "t" option and see what happens
     
  3. pedropolian

    Joined:
    Mar 2, 2009
    Messages:
    20
    Likes Received:
    0
    I removed the "t" option and after 10 seconds I hear the asterisk sound "good bye". I can't hear or dial anything during that 10 seconds because the call is hangup.

    What could be happening?

    Pedro
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    It apparrently is not deteting your dtmf, what dtmf mode are yu using in the extensions, (try dtmfmode=auto)
     
  5. pedropolian

    Joined:
    Mar 2, 2009
    Messages:
    20
    Likes Received:
    0
    But I think the extensions are OK with rfc2833, or it could be the dtmf configuration of the voip provider (in the trunk)?

    Pedro
     
  6. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Does the phones have also rfc2833 in the dtmfs?

    Regards,

    Rafael
     
  7. pedropolian

    Joined:
    Mar 2, 2009
    Messages:
    20
    Likes Received:
    0
    Yes, you Rafael and Dicko were right. The problem was that the phone where I was making the call doesn't have rfc2833 enabled.

    I have more doubts, I want to play in the IVR my sounds, for example say "if you want to call to Sr. Julio dial 1" and so on ... where I can configure that?

    Here is the IVR's options:
    1 Ring Groups (Admin Group 11)
    2 Extension 20
    i Extension 10

    And here: /etc/asterisk/extensions_additional.conf

    Code:
    [ivr-2]
    include => ivr-2-custom
    include => ext-findmefollow
    include => ext-local
    include => app-directory
    exten => #,1,Goto(app-directory,#,1)
    exten => h,1,Hangup
    exten => s,1,Set(LOOPCOUNT=0)
    exten => s,n,Set(__DIR-CONTEXT=)
    exten => s,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT})
    exten => s,n,Set(_IVR_CONTEXT=${CONTEXT})
    exten => s,n,GotoIf($["${CDR(disposition)}" = "ANSWERED"]?begin)
    exten => s,n,Answer
    exten => s,n,Wait(1)
    exten => s,n(begin),Set(TIMEOUT(digit)=3)
    exten => s,n,Set(TIMEOUT(response)=10)
    exten => s,n,WaitExten(,)
    exten => hang,1,Playback(vm-goodbye)
    exten => hang,n,Hangup
    exten => 1,1,dbDel(${BLKVM_OVERRIDE})
    exten => 1,n,Set(__NODEST=)
    exten => 1,n,GotoIf($["x${IVR_CONTEXT_${CONTEXT}}" = "x"]?ext-group,11,1:${IVR_CONTEXT_${CONTEXT}},return,1)
    exten => 2,1,dbDel(${BLKVM_OVERRIDE})
    exten => 2,n,Set(__NODEST=)
    exten => 2,n,GotoIf($["x${IVR_CONTEXT_${CONTEXT}}" = "x"]?from-did-direct,20,1:${IVR_CONTEXT_${CONTEXT}},return,1)
    exten => i,1,dbDel(${BLKVM_OVERRIDE})
    exten => i,n,Set(__NODEST=)
    exten => i,n,Goto(from-did-direct,10,1)
    exten => t,1,Goto(loop,1)
    exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
    exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
    exten => loop,n,Goto(ivr-2,s,begin)
    exten => return,1,Set(_IVR_CONTEXT=${CONTEXT})
    exten => return,n,Set(_IVR_CONTEXT_${CONTEXT}=${IVR_CONTEXT_${CONTEXT}})
    exten => return,n,Goto(ivr-2,s,begin)
    exten => fax,1,Goto(ext-fax,in_fax,1)
    
    I have to modify /etc/asterisk/extensions_additional.conf or just in the web in order to play sounds in the IVR before someone dial a number?

    Pedro
     
  8. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    This is all built into Elastix/FreePBX use "system Recordings" to get the recordings into the system and then configure with the IVR page.

    (I suggest you read "Elastix Without Tears" again, it's all in that document)
     
  9. pedropolian

    Joined:
    Mar 2, 2009
    Messages:
    20
    Likes Received:
    0
    Yes! it was very easy, thanks again!

    Pedro
     

Share This Page