There is a multi-level menu. Dialplan works as it should, but with a delay of 5 seconds due to waiting for additional input. In the book AsteriskTM: The Future of Telephony says the cause of the problem. I can't find her solutions
[outcoling] exten=>253377,1,Wait(0.5) exten=>253377,2,Answer() exten=>253377,n,Background(/var/lib.../hello) same=>n,WaitExten(10) include=>menu [menu] exten=>_1,1,AGI(agi://...) exten=>2,1,goto(group,s,1) exten=>i,1,goto(..) exten=>h,1,goto(..) [group] exten=>s,1,Background(...) same=>2,WaitExten(10) include=>...