[Asterisk-java-users] Agi scripts on hungup extension?
Brought to you by:
srt
From: Edu <jav...@ba...> - 2006-04-19 17:14:46
|
Hi! I'm working on some AGI scripts, and I was wondering I can use the hangup extension (h) to run an AGI script for saving some info in a database, but it seems to be impossible, whien I hang up and the extension is executed, I get the following error. There is some way to run the script elsewere? If not, I can mix AGI script with manager api to do this... 19-abr-2006 19:07:28 net.sf.asterisk.util.impl.JavaLoggingLog error GRAVE: AGIException while handling request net.sf.asterisk.fastagi.AGIHangupException: Channel was hung up. at net.sf.asterisk.fastagi.impl.AGIReaderImpl.readReply(AGIReaderImpl.java:103) at net.sf.asterisk.fastagi.impl.AGIChannelImpl.sendCommand(AGIChannelImpl.java:82) at net.sf.asterisk.fastagi.AGIConnectionHandler.run(AGIConnectionHandler.java:117) at net.sf.asterisk.util.ThreadPool$TaskThread.run(ThreadPool.java:167) |