Do you have a while(session:ready) wrapped around this?<div>-MC<br><br><div class="gmail_quote">On Thu, Nov 24, 2011 at 6:24 PM, Sanath Prasanna <span dir="ltr">&lt;<a href="mailto:ahe.sanath@gmail.com">ahe.sanath@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>I used following to get phone number from caller in LUA program. <br><br>function get_dest()<br>  new_number = session:playAndGetDigits(9, 11, 3, 3000, &quot;#&quot;, lang_path .. 
&quot;enter_dest_number.wav&quot;, lang_path .. &quot;error.wav&quot;, &quot;\\d+&quot;);<br>  session:say(new_number, &quot;en&quot;, &quot;number&quot;, &quot;pronounced&quot;);    <br>  session:setVariable(&quot;dest_numbers&quot;,new_number);<br>

end<br><br>-- main --<br>freeswitch.consoleLog(&quot;info&quot;, &quot;Voicemail - select_main_menu:\n\r&quot;);<br>reeswitch.consoleLog(&quot;info&quot;, &quot;Voicemail - Select English :\n\r&quot;);<br>get_dest();<br>
..<br>
..<br><br>if caller hang off the phone without entering number(dtmf), I can see lot of same log lines in the freeswitch console log. (around 50000 lines in 1 or 2 sec.Pls see below). <br><b>is it bug or just need to ignore. Pls advice. </b><br>

<br>Br,<br>Sanath<br><br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu:  <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - Select English <br>2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail -  ./vm/en/ <br>

2011-11-22 05:58:23.301593 [INFO] switch_cpp.cpp:1190 Voicemail - select_main_menu: <br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>