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();
Party A is indeed created with the sessionUuid created by FS. And yes, the bridging that you propose works just fine.
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.
> session = new JavaSession(sessionUuid);
> session.execute("bridge", "sofia/gateway/voip.did.les.net/14146548900");
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org