IVR Congestion

I have created a IVR menu
when i call the menu it ask me for the pincode
i hear the please wait a moment (just for some sound)
after that i can pres a number or do nothing the result is Congestion
I have copy and past it from the internet and changed some parts
but i don’t know what i do wrong

the first part of the menu

[code]include => ext-miscdests-custom
[from-internal-custom]

exten => 1099,1,Noop(MiscDest: test)
exten => 1099,n,Playback(silence/1)
exten => 1099,n,Authenticate(123)
exten => 1099,n,Set(TIMEOUT(digit)=10)
exten => 1099,n,Set(TIMEOUT(response)=10)
exten => 1099,n,Background(wait-moment)

exten => 1,1,Goto(website,web,1)
exten => 2,1,Goto(backup,bac,1)
exten => 3,1,Goto(reboot,reb,1)
exten => i,1,Playback(TimeOut_EN)
[/code]

what the logfile show

-- Executing [1099@from-internal:1] NoOp("SIP/2002-00000036", "MiscDest: test") in new stack -- Executing [1099@from-internal:2] Playback("SIP/2002-00000036", "silence/1") in new stack -- <SIP/2002-00000036> Playing 'silence/1.ulaw' (language 'en') -- Executing [1099@from-internal:3] Authenticate("SIP/2002-00000036", "123") in new stack -- <SIP/2002-00000036> Playing 'agent-pass.ulaw' (language 'en') -- <SIP/2002-00000036> Playing 'auth-thankyou.ulaw' (language 'en') -- Executing [1099@from-internal:4] Set("SIP/2002-00000036", "TIMEOUT(digit)=10") in new stack -- Digit timeout set to 10.000 -- Executing [1099@from-internal:5] Set("SIP/2002-00000036", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10.000 -- Executing [1099@from-internal:6] BackGround("SIP/2002-00000036", "wait-moment") in new stack -- <SIP/2002-00000036> Playing 'wait-moment.gsm' (language 'en') -- Executing [1099@from-internal:7] Wait("SIP/2002-00000036", "1") in new stack -- Executing [1099@from-internal:8] Congestion("SIP/2002-00000036", "20") in new stack == Spawn extension (from-internal, 1099, 8) exited non-zero on 'SIP/2002-00000036' -- Executing [h@from-internal:1] Hangup("SIP/2002-00000036", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2002-00000036'

the include statement should be inside your from-internal-custom context.

[from-internal-custom]
include => ext-miscdests-custom

If that doesn’t solve it yet, how does your ext-miscdests-custom looks like?

Regards,
Tom

i have put the line down

[from-internal-custom] include => ext-miscdests-custom
this didn’t work
i was looking for something called ext-miscdests-custom but i didn’t know where i can find it
so i removed the line (for test) and the result is still the same

Where is your configuration of your website,backup and reboot context?
mvg,
Tom

sorry

i think i do not understand your question

i have a asterisk now installation with freepbx

is there nobody who can help me?

the meaning of the menu is that there is a main menu with 3 submenu 's inside

is there someone who can give a example that should work so i can test if everything works as it should be

There are more lines in your dialplan than you have shown. The trace shows that there is a Wait after the Background, and then a Congestion. The Wait is only for 1 second. You acutally need a WaitExten, and you need a timeout that is actually long enough for someone to enter a number!

sorry for the late reply
the missing part was WaitExten

now i have

exten => 1099,1,Noop(MiscDest: test) exten => 1099,n,Playback(silence/1) exten => 1099,n,Authenticate(123) exten => 1099,n,Set(TIMEOUT(digit)=10) exten => 1099,n,Set(TIMEOUT(response)=10) exten => 1099,n,Background(wait-moment) exten => 1099,n,WaitExten
there is only one strange litle thing
after i pres the right digit it takes 10 seconds before it goes to the next part

If the right digit were 1, it would need to used the full timeout to be able to distinguish it from 1099.

sorry i don’t understand what you mean
can you correct it in the example
so i can use it in the rest of the menu?

You can try pressing 1, 2, 3 and end with the pound key (#).
Then it should not wait 10sec for next key or the timeout!

The example is not complete, or you have a more fundamental misunderstanding than can be simpy corrected.

[code]; // Amin menu \
exten => 1099,1,Noop(MiscDest: test)
exten => 1099,n,Playback(silence/1)
exten => 1099,n,Authenticate(123)
exten => 1099,n,Set(TIMEOUT(digit)=10)
exten => 1099,n,Set(TIMEOUT(response)=10)
exten => 1099,n,Background(wait-moment)
exten => 1099,n,WaitExten

exten => 1,1,Goto(website,web,1)
exten => 2,1,Goto(backup,bac,1)
exten => 3,1,Goto(reboot,reb,1)
exten => i,1,Playback(TimeOut_EN)
exten => t,1,Playback(TimeOut_EN)
[/code]

this is the first part of the menu
the goto works fine so i think the rest of the code is not intresting
i heve used a example menu from internet as basic
if it is totaly wrong can you please point me to a simple instruction

Try using:

exten => _1!,1,Goto(website,web,1)
exten => _2!,1,Goto(backup,bac,1)
exten => _3!,1,Goto(reboot,reb,1)

I haven’t tested this. The presence of a non-pattern matched 1099 might still make it wait for a second digit other than zero.

A better approach would be to have a new context, with the dialplan that sets up the prompt, etc., as the s extension.

You do, though, really need to understand what this is doing, rather than simply copying something from the internet.