<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333333">
Thank you very very much! <br>
<br>
It works now, I have separated menu and options and it works
perfect. Many thanks!<br>
<br>
<br>
On 11/07/2011 03:43 PM, Tony Mountifield wrote:
<blockquote cite="mid:j98qrf$2om$1@softins.clara.co.uk" type="cite">
<pre wrap="">In article <a class="moz-txt-link-rfc2396E" href="mailto:4EB7EB14.9010501@wp.pl"><4EB7EB14.9010501@wp.pl></a>, Albert <a class="moz-txt-link-rfc2396E" href="mailto:alberton@wp.pl"><alberton@wp.pl></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I have very weird case, which i dont understand. I have voice menu where
customer is choosing language, and all works fine apart from this that
after pressing 1 applications related to 1-ext are being processed
immediatly and after pressinf 2, there is 4-5 sec delay betweek 1st
application is being processed related to that extension 2.
Difference which i am seeing in this log files is that in 2nd case,
there is " == CDR updated on ...", but why in 1st case it isnt and in
2nd is ? Could that be my source of problem ?
Thanks for your help, any hint will do
Regards
Robert
---------------------------------------
Below you can find part of menu from and log files....
*** menu ***
[voiceservices_menu]
exten => 2666,1,Background(custom/l_stories/swelcome)
exten => 2666,n,WaitExten(15) ;wait 15 sec
exten => 1,1,Verbose(Customer pressed key 1)
exten => 1,n,Goto(storiesmenu-lu,2666,1) ;if customer choosed 1 jump to
LU lang
exten => 2,1,Verbose(Customer pressed key 2)
exten => 2,n,Goto(storiesmenu-en,2666,1) ;if customer choosed 1 jump to
EN lang
exten => i,1,Playback(invalid)
exten => i,n,Goto(voiceservices_menu,2666,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Goto(voiceservices_menu,2666,1)
</pre>
</blockquote>
<pre wrap="">
Your problem is the presence of the 2666 extension. When you press 2,
the system waits for a few seconds to see if you are going to press
6 or not. You need to separate the initial extension and the menu
options into different contexts:
[voiceservices_menu]
exten => 2666,1,Set(EXT=${EXTEN})
exten => 2666,n,Goto(voiceservices_options,s,1)
[voiceservices_options]
exten => s,1,Background(custom/l_stories/swelcome)
exten => s,n,WaitExten(15) ;wait 15 sec
exten => 1,1,Verbose(Customer pressed key 1)
exten => 1,n,Goto(storiesmenu-lu,${EXT},1) ;if customer choosed 1 jump to LU lang
exten => 2,1,Verbose(Customer pressed key 2)
exten => 2,n,Goto(storiesmenu-en,${EXT},1) ;if customer choosed 1 jump to EN lang
exten => i,1,Playback(invalid)
exten => i,n,Goto(voiceservices_menu,s,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Goto(voiceservices_menu,s,1)
If the dialplan in storiesmenu-lu and storiesmenu-en do not actually
need to know the original dialled extension (2666), you can use the s
extension there too, and completely remove EXT and ${EXT}
Hope this helps!
Cheers
Tony
</pre>
</blockquote>
<br>
</body>
</html>