Hi, I’m doing a Java application implemented with AsteriskJava. I used the OriginateAction to process the calls
OriginateAction originateAction = new OriginateAction();
originateAction.setChannel(SIP/639187778878@myvoipprovider);
originateAction.setContext("default");
originateAction.setExten("6000");
originateAction.setPriority(1);
originateAction.setTimeout(30000);
This code works and calls my mobile number and plays the voice menu I specified. However, there are a lot of times that it doesn’t call my phone and when I check the CLI logs, I can see that my voice menu is playing. But as I’ve said, it happens most of the time. On my Java app logs:
Jan 28, 2009 10:17:50 AM org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect
INFO: Closing socket.