Do you have a while(session:ready) wrapped around this?
-MC

On Thu, Nov 24, 2011 at 6:24 PM, Sanath Prasanna <ahe.sanath@gmail.com> wrote:
Hi all,
I used following to get phone number from caller in LUA program.

function get_dest()
  new_number = session:playAndGetDigits(9, 11, 3, 3000, "#", lang_path .. "enter_dest_number.wav", lang_path .. "error.wav", "\\d+");
  session:say(new_number, "en", "number", "pronounced");   
  session:setVariable("dest_numbers",new_number);
end

-- main --
freeswitch.consoleLog("info", "Voicemail - select_main_menu:\n\r");
reeswitch.consoleLog("info", "Voicemail - Select English :\n\r");
get_dest();
..
..

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).
is it bug or just need to ignore. Pls advice.

Br,
Sanath

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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org