Re: [Asterisk-java-users] HELP: Fast AGI exed return value.
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-03-10 01:53:22
|
Hi Brett, > 1. txfax returns a value of -1 but the return from the call to > BaseAGIScript.exec("txfax", data) returns a value of 0. you dont have access to the return value through AGI afaik. > 2. I have modified app_txfax.c to set a channel variable to indicate > indicate the actual reason for the failure. When I attempt to retrieve > the channel value null is returned: yeah thats the way to go. (and with Asterisk 1.2 return values are deprected in favor of channel variables anyway) I dont see why "FAX_RESULT" isnt set correctly and "FAX_DEBUG" seems to be ok... did you do anything different regarding those two variables? Are you sure your code in app_txfax.c is executed? Maybe some debug logging statements help there. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |