Help with ivr

Hello.

I am learning how to use asterisk, I’m testing with a simple IVR. I would like the caller to enter the extension number before the menu ends. For example, the caller gets the start of the menu: “if you know your party extension please enter it now”; the caller presses 100 and the call should be rerouted to ext 100 but, the way I have it set up the caller HAS to finish the entire menu before it is able to enter the extension.

ivr:
exten => s,2,PlayBack(thank-you-for-calling)
exten => s,3,PlayBack(if-u-know-ext-dial)
exten => s,4,Wait(1)
exten => s,5,Playback(for-tech-support)
exten => s,n,Playback(press-1)
exten => s,n,Playback(for-sales)
exten => s,n,Playback(press-2)
exten => s,n,Playback(customer-service)
exten => s,n,Playback(press-3)
exten => s,n,WaitExten()

exten => 1,1,goto(tech-support,s,1)
exten => 2,1,goto(sales,s,1)
exten => 3,1,goto(cust-service,s,1)
exten => 100,1,goto(wilson,s,1)

Please help. Your help will be very appreciated.

Hi

Use background not playback

Ian

Ok.

Thank you. It worked.