[Asterisk-java-users] GetOptionCommand not working
Brought to you by:
srt
From: Rounak S. <rou...@gm...> - 2013-07-26 09:57:39
|
Hello this is my code getOption is returning an empty char why? public void service(AgiRequest request, AgiChannel channel) throws AgiException { answer(); System.out.println("Trying getOption"); GetOptionCommand a=new GetOptionCommand("main-menu","0#",10000); char b=getOption(a.getFile(),a.getEscapeDigits(),a.getTimeout()); System.out.println(b); System.out.println(a.getTimeout()); hangup(); } Output Trying getOption 10000 I can hear the main-menu being played but its not taking any dtmf as Input |