Re: [Asterisk-java-users] Agi scripts on hungup extension?
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-04-20 11:10:21
|
Eduard Martinez wrote: >> Edu <jav...@ba...> wrote: 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. This should be fine as long as you dont try to send any commands to Asterisk. If I look at the line number of your stacktrace, your problem seems to be related to Asterisk-Java not finding the correct script instance. The problem here is that Asterisk-Java tries to send that error message to the Asterisk console via VerboseCommand that throws the error here since the channel is dead. So once you fix your URL and/or mapping things should work. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... |