If you want to create a new one you can feed an originate string to the constructor instead of a uuid<br><br>if you are just planning to bridge a call you can just execute bridge on your existing session.<br><br>session.execute(&quot;brodge&quot;, &quot;sofia/default/<a href="mailto:foo@bar.com">foo@bar.com</a>&quot;);<br>
<br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 9:06 AM, Klaus Teller &lt;<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for the feedback. But where do I get a GUID/UUID from if I want to create a brand new session?<br>
Do I need to create one myself?<br>
<br>
<br>
As the sample code on the wiki shows, if a FS session already exists, i can use the JavaSession constructor and pass it the UUID. But I tend to beleive that to originate a new call i would need to create a fresh JavaSession.<br>

<br>
Then, what do I pass to originate as first parameter? It&#39;s expecting a CoreSession.<br>
<br>
<br>
Klaus L&#39;Imbecile.<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Thu, 26 Jun 2008 15:25:59 +0200 (SAST)<br>
&gt; Von: <a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com</a><br>
&gt; An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Betreff: Re: [Freeswitch-users] Java Support<br>
<br>
&gt; X-ECN Telecoms-MailScanner-Information: Contact ECN Telecoms<br>
&gt; X-ECN Telecoms-MailScanner: Found to be clean<br>
&gt; X-ECN Telecoms-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,<br>
&gt; &nbsp; &nbsp; &nbsp; score=-101.81, required 6, autolearn=not spam, AWL 0.79,<br>
&gt; &nbsp; &nbsp; &nbsp; BAYES_00 -2.60, NO_RELAYS -0.00, USER_IN_WHITELIST -100.00)<br>
&gt; X-ECN Telecoms-MailScanner-From: <a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com</a><br>
&gt; X-Spam-Status: No<br>
&gt;<br>
&gt; &gt; Hi Folks,<br>
&gt; &gt;<br>
&gt; &gt; Questions regading Java (not Javascript):<br>
&gt; &gt;<br>
&gt; &gt; 1) How do I originate a call? I tried somethis as following without<br>
&gt; &gt; success<br>
&gt; &gt;<br>
&gt; &gt; JavaSession session2= new JavaSession();<br>
&gt; &gt; session2.originate(null,&quot;sofia/gateway/<a href="http://did.voip.les.net/14163442000" target="_blank">did.voip.les.net/14163442000</a>&quot;);<br>
&gt;<br>
&gt; You need to use the JavaSession constructor that takes a GUID/UUID string.<br>
&gt;<br>
&gt; &gt; The error messgae I get is that session2 is not initialized. Any idea?<br>
&gt; &gt;<br>
&gt; &gt; 2) Assuming I have two legs session1 and session2. Bridging them would<br>
&gt; be<br>
&gt; &gt; done with freeswitch.birdge(session1, session2) is that correct? I<br>
&gt; &gt; coudln&#39;t test this since I&#39;m not able to create session2.<br>
&gt;<br>
&gt; I guess.<br>
&gt;<br>
&gt; &gt; Quick Observations:<br>
&gt; &gt;<br>
&gt; &gt; 1) The wiki says that Java 1.6 would cause FS to crash. But, actually<br>
&gt; the<br>
&gt; &gt; current Java 1.6 works just fine while the current Java 1.5 (update 15)<br>
&gt; &gt; causes the FS to crash.<br>
&gt; &gt; 2) Whatever path to Java is specified when building FS, when starting<br>
&gt; it,<br>
&gt; &gt; it will look for Java at: /usr/java/jdk1.6.0/jre.<br>
&gt;<br>
&gt; The config file for mod_java determines that path, not what was present at<br>
&gt; build time.<br>
&gt;<br>
&gt; &gt; Looking forward to your feedback.<br>
&gt; &gt;<br>
&gt; &gt; Klaus L&#39;Imbecile.<br>
&gt;<br>
&gt; Good luck<br>
&gt; Damjan<br>
&gt;<br>
&gt;<br>
&gt; &gt; Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten<br>
&gt; &gt; Browser-Versionen downloaden: <a href="http://www.gmx.net/de/go/browser" target="_blank">http://www.gmx.net/de/go/browser</a><br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
--<br>
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!<br>
Jetzt dabei sein: <a href="http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx" target="_blank">http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx</a><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400