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