originate string is the same string you put in the bridge app<br><br>eg:<br>sofia/default/<a href="mailto:foo@bar.com">foo@bar.com</a><br><br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 4:26 PM, 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;">Hi,<br>
<br>
what is an originate string? I tried the following:<br>
<br>
JavaSession session2= new JavaSession(System.nanoTime()+&quot;&quot;);<br>
<br>
what i get is the following error message:<br>
<br>
<br>
2008-06-26 17:23:26 [ERR] switch_core_session.c:205 switch_core_session_outgoing_channel() Could not locate channel type 61111410867975<br>
2008-06-26 17:23:26 [ERR] switch_ivr_originate.c:823 switch_ivr_originate() Cannot create outgoing channel of type [61111410867975] cause: [CHAN_NOT_IMPLEMENTED]<br>
<br>
<br>
Thanks,<br>
Klaus.<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Thu, 26 Jun 2008 09:13:41 -0500<br>
&gt; Von: &quot;Anthony Minessale&quot; &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&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; If you want to create a new one you can feed an originate string to the<br>
&gt; constructor instead of a uuid<br>
&gt;<br>
&gt; if you are just planning to bridge a call you can just execute bridge on<br>
&gt; your existing session.<br>
&gt;<br>
&gt; session.execute(&quot;brodge&quot;, &quot;sofia/default/<a href="mailto:foo@bar.com">foo@bar.com</a>&quot;);<br>
&gt;<br>
&gt;<br>
&gt; 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;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; Thanks for the feedback. But where do I get a GUID/UUID from if I want<br>
&gt; to<br>
&gt; &gt; create a brand new session?<br>
&gt; &gt; Do I need to create one myself?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; As the sample code on the wiki shows, if a FS session already exists, i<br>
&gt; can<br>
&gt; &gt; use the JavaSession constructor and pass it the UUID. But I tend to<br>
&gt; beleive<br>
&gt; &gt; that to originate a new call i would need to create a fresh JavaSession.<br>
&gt; &gt;<br>
&gt; &gt; Then, what do I pass to originate as first parameter? It&#39;s expecting a<br>
&gt; &gt; CoreSession.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Klaus L&#39;Imbecile.<br>
&gt; &gt;<br>
&gt; &gt; -------- Original-Nachricht --------<br>
&gt; &gt; &gt; Datum: Thu, 26 Jun 2008 15:25:59 +0200 (SAST)<br>
&gt; &gt; &gt; Von: <a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com</a><br>
&gt; &gt; &gt; An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt; &gt; Betreff: Re: [Freeswitch-users] Java Support<br>
&gt; &gt;<br>
&gt; &gt; &gt; X-ECN Telecoms-MailScanner-Information: Contact ECN Telecoms<br>
&gt; &gt; &gt; X-ECN Telecoms-MailScanner: Found to be clean<br>
&gt; &gt; &gt; X-ECN Telecoms-MailScanner-SpamCheck: not spam, SpamAssassin (not<br>
&gt; cached,<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; score=-101.81, required 6, autolearn=not spam, AWL 0.79,<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; BAYES_00 -2.60, NO_RELAYS -0.00, USER_IN_WHITELIST -100.00)<br>
&gt; &gt; &gt; X-ECN Telecoms-MailScanner-From: <a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com</a><br>
&gt; &gt; &gt; X-Spam-Status: No<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Folks,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Questions regading Java (not Javascript):<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 1) How do I originate a call? I tried somethis as following without<br>
&gt; &gt; &gt; &gt; success<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; JavaSession session2= new JavaSession();<br>
&gt; &gt; &gt; &gt;<br>
&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; &gt; &gt;<br>
&gt; &gt; &gt; You need to use the JavaSession constructor that takes a GUID/UUID<br>
&gt; &gt; string.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; The error messgae I get is that session2 is not initialized. Any<br>
&gt; idea?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 2) Assuming I have two legs session1 and session2. Bridging them<br>
&gt; would<br>
&gt; &gt; &gt; be<br>
&gt; &gt; &gt; &gt; done with freeswitch.birdge(session1, session2) is that correct? I<br>
&gt; &gt; &gt; &gt; coudln&#39;t test this since I&#39;m not able to create session2.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I guess.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Quick Observations:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 1) The wiki says that Java 1.6 would cause FS to crash. But,<br>
&gt; actually<br>
&gt; &gt; &gt; the<br>
&gt; &gt; &gt; &gt; current Java 1.6 works just fine while the current Java 1.5 (update<br>
&gt; 15)<br>
&gt; &gt; &gt; &gt; causes the FS to crash.<br>
&gt; &gt; &gt; &gt; 2) Whatever path to Java is specified when building FS, when<br>
&gt; starting<br>
&gt; &gt; &gt; it,<br>
&gt; &gt; &gt; &gt; it will look for Java at: /usr/java/jdk1.6.0/jre.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The config file for mod_java determines that path, not what was<br>
&gt; present<br>
&gt; &gt; at<br>
&gt; &gt; &gt; build time.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Looking forward to your feedback.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Klaus L&#39;Imbecile.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Good luck<br>
&gt; &gt; &gt; Damjan<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten<br>
&gt; &gt; &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; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &gt; &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; &gt; &gt; UNSUBSCRIBE:<br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Freeswitch-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
&gt; &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; &gt;<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; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!<br>
&gt; &gt; Jetzt dabei sein:<br>
&gt; &gt; <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>
&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; --<br>
&gt; Anthony Minessale II<br>
&gt;<br>
&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;<br>
&gt; AIM: anthm<br>
</div></div>&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> &lt;<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a>&lt;<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
<div class="Ih2E3d">&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
</div>&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> &lt;<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
<div class="Ih2E3d">&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a>&lt;<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>

&gt; pstn:213-799-1400<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">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>
</div></div></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