Delay Before Recording Plays

This is no big deal but just a posting out of curiosity. I have noticed that there is a significant pause between when I make a menu selection and when the recording for that selection begins playing. Following are two items from the dialplan on which this happens. When I select option 8, there is about a six (6) second delay before the recording begins. And, no, there is no delay at the beginning of the actual gsm file. If I select option 3, I get the same 6 second delay. If I select option #, the recording begins playing almost immediately. Am I missing something in the coding of the dialplan that would make the recording begin playing quicker or is this just SOP. Again, no big deal but somewhat annoying to callers to have that long pause in there. Thank You.

[office-closed]
exten => s,1,Answer()
exten => s,n,Wait(1)
exten => s,n(playback),Background(closed-greeting)
exten => s,n,WaitExten(2)
exten => s,n,Goto(open-menu,s,1)
exten => 2,1,Goto(inside,19244,1)
exten => 3,1,Goto(class-transfer,s,1)
exten => 4,1,Goto(inside,19235,1)
exten => 5,1,Goto(inside,19206,1)
exten => 6,1,Goto(inside,19237,1)
exten => 7,1,Goto(inside,19211,1)
exten => 9,1,Goto(inside,19900,1)
exten => #,1,Goto(general-info,s,1)
exten => 8,1,Goto(company-directory,s,1)

[company-directory]
exten => s,1,Background(first-or-last)
exten => s,n,Wait(2)
exten => s,n,Goto(s,1)
exten => 1,1,Goto(s,1)
exten => 2,1,Goto(s,1)
exten => 3,1,Directory(default,users,e,f(3),p(300))
exten => 4,1,Goto(s,1)
exten => 5,1,Directory(default,users,e,l(3),p(300))
exten => 6,1,Goto(s,1)
exten => 7,1,Goto(s,1)
exten => 8,1,Goto(s,1)
exten => 9,1,Goto(s,1)
exten => 0,1,Goto(s,1)
exten => *,1,Goto(s,1)
exten => #,1,Goto(s,1)

I think you will find that it is waiting for the second digit of the two digit number you asked it to read.

That was one of my first thoughts so I took the WaitExten out of there. Still does the same thing. And the odd thing is that it doesn’t do it on the # selection. Of course # is commonly a termination indicator so perhaps that has something to do with it. But, again, I took the WaitExten(2) step out of there and it still does the same thing. But thanks for the response.

[quote=“jreed1949”]

[company-directory]
exten => s,1,Background(first-or-last)
exten => s,n,Wait(2)
exten => s,n,Goto(s,1)
exten => 1,1,Goto(s,1)
exten => 2,1,Goto(s,1)
exten => 3,1,Directory(default,users,e,f(3),p(300))
exten => 4,1,Goto(s,1)
exten => 5,1,Directory(default,users,e,l(3),p(300))
exten => 6,1,Goto(s,1)
exten => 7,1,Goto(s,1)
exten => 8,1,Goto(s,1)
exten => 9,1,Goto(s,1)
exten => 0,1,Goto(s,1)
exten => *,1,Goto(s,1)
exten => #,1,Goto(s,1)[/quote]

instead of writing down all the possibilities, you can also just add
exten=> i,Goto(s,1)

the i stands for invalid

and you should add exten=>t,Goto(s,1) as well: that is if there comes no reply from the caller (timeout)