Here is rather big and, let's say, complete example of mod_java usage:
https://starpound.svn.sourceforge.net/svnroot/starpound/trunk/src/fs2agi
The goal of this project is to be a proxy between FreeSwitch and server application which knows Asterisk AGI.



On Mon, Nov 2, 2009 at 2:53 PM, <dipen@entvoice.com> wrote:

Hi,

Can you please paste me your sample java dialplan code that work for you ? ..coz m also facing the same problem.

My mod_java is loaded properly.
Also /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre/lib/i386/client/libjvm.so and freeswitch.jar in java.conf.xml is specified properly.

I have written a java code to print HIIIIIIIIII on the console but its not printing. Level mentioned is INFO.

on FS console it just prints
EXECUTE sofia/internal/1004@192.168.1.144:5061 java(testing.class)


I am attaching my java code herewith.
Can u just tell me where more i should do the modification to get my dialplan work.

Waiting for your kind reply.

Thanks & Regards,
Dipen Velani

On Fri 19/12/08  4:09 AM , kriko <kristjan.ugrin@gmail.com> wrote:

> Seems like my dialplan was a bit problematic, it works now.
> Thanks.
> On Thu, 18 Dec 2008 15:19:22 +0100, Anthony Minessale
> wrote:
> > did you turn up your console log level high enough to see it? The
> default
> > level is "INFO"
> >
> >
> >>
> >> _______________________________________________
> >> Freeswitch-users mailing list
> >>
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >>
> >
> >
> >
> --
> kriko
> _______________________________________________
> Freeswitch-users mailing list
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
---- Msg sent via @Mail - http://atmail.com/
_______________________________________________
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