Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Java example


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
kristjan.ugrin at gmai...
Guest





PostPosted: Thu Dec 18, 2008 5:47 am    Post subject: [Freeswitch-users] Java example Reply with quote

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

_______________________________________________
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
Back to top
damjan at ecntelecoms.com
Guest





PostPosted: Thu Dec 18, 2008 5:59 am    Post subject: [Freeswitch-users] Java example Reply with quote

Quote:
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



_______________________________________________
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
Back to top
kristjan.ugrin at gmai...
Guest





PostPosted: Thu Dec 18, 2008 7:12 am    Post subject: [Freeswitch-users] Java example Reply with quote

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:

Quote:
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Dec 18, 2008 9:26 am    Post subject: [Freeswitch-users] Java example Reply with quote

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 (kristjan.ugrin@gmail.com)> wrote:
Quote:
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 (damjan@ecntelecoms.com)> wrote:

Quote:
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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
kristjan.ugrin at gmai...
Guest





PostPosted: Fri Dec 19, 2008 4:18 am    Post subject: [Freeswitch-users] Java example Reply with quote

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:

Quote:
did you turn up your console log level high enough to see it? The default
level is "INFO"


Quote:

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services