[Freeswitch-users] Java Support

Klaus Teller klaus.teller at gmx.net
Thu Jun 26 16:17:05 PDT 2008


Fabulous! You just made my day :)

The setVariable is working great; just tried it with javascript and the conventional bridge approach. A side question: is there any performance comparison between the different  languages that FS supports (in particular between Java and Javascript)?

Klaus L'Imbecile.

-------- Original-Nachricht --------
> Datum: Thu, 26 Jun 2008 18:03:55 -0500
> Von: "Anthony Minessale" <anthony.minessale at gmail.com>
> An: freeswitch-users at lists.freeswitch.org
> Betreff: Re: [Freeswitch-users] Java Support

> put
> session.setVariable("ringback", "<file path to some audio file>");
> before you bridge.
> 
> There are more complicated ways to do it if you really want but only if
> you
> really need to:
> 
> session = new JavaSession(sessionUuid);
> session2 = new JavaSession("sofia/gateway/voip.did.les.net/14146548900",
> session);
> 
> bridge(session, session2);
> 
> session.hangup();
> session2.hangup();
> 
> 
> 
> On Thu, Jun 26, 2008 at 5:49 PM, Klaus Teller <klaus.teller at gmx.net>
> wrote:
> 
> > Party A is indeed created with the sessionUuid created by FS. And yes,
> the
> > bridging that you propose works just  fine.
> >
> > > session = new JavaSession(sessionUuid);
> > > session.execute("bridge",
> "sofia/gateway/voip.did.les.net/14146548900");
> >
> >
> > I was hopping that  while orginatinging the call to party B seperately,
> I
> > could create a thread where a nice music or advertisement is played to
> Party
> > A.
> >
> > Klaus.
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger




More information about the FreeSWITCH-users mailing list