I made a simple java example, following this guide http://wiki.freeswitch.org/wiki/Java so when someone calls it should print something in console. I've also modified dialplan/public.xml, what I want is to intercept calls from jabber and process them: http://pastebin.com/m35de11d9 But there is nothing printed into console, path to jar is ok, also class name is ok. Java module is being loaded on startup. What could be wrong? -- kriko
I made a simple java example, following this guide http://wiki.freeswitch.org/wiki/Java
so when someone calls it should print something in console. I've also modified dialplan/public.xml, what I want is to intercept calls from jabber and process them: http://pastebin.com/m35de11d9
But there is nothing printed into console, path to jar is ok, also class name is ok. Java module is being loaded on startup.
What could be wrong?
-- kriko
You need to specify the path to the JAR file containing si.marand.freeswitch.PhoneTest, which is definitely not freeswitch.jar. Otherwise try attaching a remote debugger to the Java module and trace through it as described on that wiki. Damjan
It is the right jar, I renamed it now to phoneTest.jar but still not working. Do I have to specify whole path to the program inside class or just the class? Remote debugging is working, but breakpoints never got triggered, so it is not being executed at all. I'm trying to process a call from gtalk to sip, maybe my public.xml is misconfigured (now I changed jar to phoneTest.jar): http://pastebin.com/m35de11d9 (or public.xml it is not the right place at all?) On Thu, 18 Dec 2008 11:53:22 +0100, <damjan@ecntelecoms.com> wrote:
You need to specify the path to the JAR file containing si.marand.freeswitch.PhoneTest, which is definitely not freeswitch.jar.
Otherwise try attaching a remote debugger to the Java module and trace through it as described on that wiki.
Damjan
_______________________________________________ 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
-- kriko
did you turn up your console log level high enough to see it? The default level is "INFO" On Thu, Dec 18, 2008 at 6:09 AM, kriko <kristjan.ugrin@gmail.com> wrote:
It is the right jar, I renamed it now to phoneTest.jar but still not working. Do I have to specify whole path to the program inside class or just the class? Remote debugging is working, but breakpoints never got triggered, so it is not being executed at all.
I'm trying to process a call from gtalk to sip, maybe my public.xml is misconfigured (now I changed jar to phoneTest.jar): http://pastebin.com/m35de11d9 (or public.xml it is not the right place at all?)
On Thu, 18 Dec 2008 11:53:22 +0100, <damjan@ecntelecoms.com> wrote:
You need to specify the path to the JAR file containing si.marand.freeswitch.PhoneTest, which is definitely not freeswitch.jar.
Otherwise try attaching a remote debugger to the Java module and trace through it as described on that wiki.
Damjan
_______________________________________________ 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
-- kriko
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Seems like my dialplan was a bit problematic, it works now. Thanks. On Thu, 18 Dec 2008 15:19:22 +0100, Anthony Minessale <anthony.minessale@gmail.com> wrote:
did you turn up your console log level high enough to see it? The default level is "INFO"
_______________________________________________ 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
-- kriko
participants (3)
-
Anthony Minessale
-
damjan@ecntelecoms.com
-
kriko