Looking into mod_java.c it seems that it implements a "java" dialplan application but not a "javarun" API like the other language modules. You might want to contact the mod_java author and ask for advice:
damjandotjov@gmail.com

Or you could use Lua for your hangup hook as it is lighter and faster than any of the embedded languages.

-MC

On Thu, Aug 4, 2011 at 4:46 AM, rahulkrishna <rahulkrishna222@gmail.com> wrote:
Hai can you please tell me how can run a mod_java application on call HangUp
using  api_hangup_hook .
Please give an example to.

--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/api-hangup-hook-and-hupall-tp5159879p6652362.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org