[Asterisk-java-users] how to avoid autohangup AGI

2016-03-14 Thread Иван Виноградов
Hello. Possible could somebody help me? I'm trying to use asterisk-java first time. public class TimeoutCalculation extends BaseAgiScript { public void service(AgiRequest request, AgiChannel channel) throws AgiException { channel.setVariable("dialTimeout", String.valueOf(20)); }

Re: [Asterisk-java-users] how to avoid autohangup AGI

2016-03-14 Thread Yves
Hi, set the verbosity of your asterisk to at least 3 and see output at cli. if the dialplan you wrote is complete, you will see that your agi returns to the dialplan, but there is no more step to execute in the dialplan and therefor the call is hung up. your agi does nothing more than set a va