[Asterisk-java-users] "MonitorAction" always 'Exceeds TimeOut'
Brought to you by:
srt
From: Jose B. <pe...@gm...> - 2014-01-02 17:01:15
|
Hi! I've been struggling a bit with asterisk-java-1.0.0.CI-20140101.jar (January 1st, 2014) and Asterisk v11.5 Whenever I run *"MonitorAction"* Asterisk-java replies with "TimeOut Exceed" exception, but Asterisk is recording OK. Same exception happens with "StopMonitor". try { managerConnection.sendAction(*new MonitorAction*(channel, filename, "WAV", true)); // Forcing a timeout still pops exception. //managerConnection.sendAction(*new MonitorAction*(channel, filename, "WAV", true), 1000); } catch (IOException ex) { System.out.println(ex); } catch (TimeoutException ex) { System.out.println(ex); } catch (IllegalArgumentException ex) { System.out.println(ex); } catch (IllegalStateException ex) { System.out.println(ex); } Any idea? |