<br><br><div class="gmail_quote">On Fri, Mar 28, 2008 at 9:30 PM, <<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send Freeswitch-users mailing list submissions to<br> <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Freeswitch-users digest..."<br><br><br>Today's Topics:<br><br> 1. Re: New to FreeSwitch (Brian West)<br> 2. Re: How to bridge 2 sessions with Javascript? (Dale Thatcher)<br>
3. Re: How to bridge 2 sessions with Javascript? (Anthony Minessale)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 28 Mar 2008 09:57:23 -0500<br>From: Brian West <<a href="mailto:brian.west@mac.com">brian.west@mac.com</a>><br>
Subject: Re: [Freeswitch-users] New to FreeSwitch<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>Message-ID: <<a href="mailto:CE2A83CB-29B3-41B9-BD01-DFD7861AC801@mac.com">CE2A83CB-29B3-41B9-BD01-DFD7861AC801@mac.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br><br><br>On Mar 28, 2008, at 8:07 AM, Ritesh Singh wrote:<br><br>> Hi All,<br>><br>> I am very new to freeswitch. It will be great if some one can tell<br>
> me few things:<br><br>Welcome to the community.<br><br>><br>><br>> 1) If my ip is x.x.x.x and i want to call someone at ip y.y.y.y.<br>> Then what changes i am supposed to do and at what place. I would<br>
> like to use the mod_portaudio for this purpose.<br>><br>> 2) I started the windows freeswitch and loaded port_audio by using<br>> "load mod_portaudio" , then used "pa call 1234"...the session gets<br>
> initiated but the call gets hanged up with the log "portaudio/1234<br>> [CS_RING] [NO_ROUTE_DESTINATION]".<br><br>I'm sure this message is rather clear... You do not have a route in<br>your dialplan for 1234 thus it fails.<br>
<br>> 3) Suppose i have a jabber server <a href="http://x.net/" target="_blank">x.net</a>. and i have 2 users having<br>> account at that jabber server. Then how can i use mod_dingaling so<br>> that i have the voice chat between those user of the jabber server<br>
> <a href="http://x.net/" target="_blank">x.net</a>.<br>> Also, i would like to dump the all the record regarding the call<br>> made, like duration of call , person who initiated the call, call<br>> destination , etc.<br>
<br>Feels like your trying to do too much at once before you fully<br>understand what is going on.<br><br>> Any help in this regard is highly appreciable. Please do forgive<br>> me if you think its stupid mail but i am desparate for these answers.<br>
><br><br>You're trying to fly before you can even crawl. You have many things<br>to learn.<br><br>Best things to do are start here <a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a> and<br>
#freeswitch on <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a><br><br>Remember I'll be very glad to answer questions but the requirement is<br>that you MUST put the info you learn on the wiki and pay it forward to<br>
others.<br><br>Thanks,<br>/b<br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/e0635081/attachment-0001.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/e0635081/attachment-0001.html</a><br>
<br>------------------------------<br><br>Message: 2<br>Date: Fri, 28 Mar 2008 15:12:09 +0000<br>From: Dale Thatcher <<a href="mailto:freeswitch@dalethatcher.com">freeswitch@dalethatcher.com</a>><br>Subject: Re: [Freeswitch-users] How to bridge 2 sessions with<br>
Javascript?<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>Message-ID: <1206717129.8070.51.camel@desktop><br>Content-Type: text/plain<br><br>Great, guess I'll drop that from my config then. Sorry Nicolas must be<br>
something else.<br><br>- Dale<br><br>On Fri, 2008-03-28 at 09:53 -0500, Brian West wrote:<br>> Dale,<br>> This was due to a rogue SRV record saying use TCP that has since been<br>> corrected after a month of talking to them about it.<br>
><br>> /b<br>><br>> On Mar 28, 2008, at 8:50 AM, Dale Thatcher wrote:<br>><br>> > I had some slow connection problems with sipphone that were solved by:<br>> ><br>> > <param name="bind-params" value="transport=udp"/><br>
> ><br>> > in the sip profile, might be worth a go. BTW this is a bug with<br>> > sipphone, not with Freeswitch.<br>> ><br>> > - Dale<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>
> 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><a href="http://myhelpa.com/" target="_blank">http://myhelpa.com</a> - Sign up to be a Beta Helpa.<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 28 Mar 2008 08:16:50 -0700 (PDT)<br>
From: Anthony Minessale <<a href="mailto:anthmct@yahoo.com">anthmct@yahoo.com</a>><br>Subject: Re: [Freeswitch-users] How to bridge 2 sessions with<br> Javascript?<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Message-ID: <<a href="mailto:539060.7259.qm@web90604.mail.mud.yahoo.com">539060.7259.qm@web90604.mail.mud.yahoo.com</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>and just to point it out, you can also do:<br>
<br>session1 = new Session();<br>session1.originate(session1, "{ignore_early_media=true}sofia/gateway/<br><a href="http://asterlink.com/19184249378" target="_blank">asterlink.com/19184249378</a>");<br><br>session1.execute("bridge", "sofia/gateway/asterlink.com/19184238080");<br>
<br>or even better<br><br>// this will transfer the channel into the dialplan and end the script<br>// thus reducing overhead of leaving JS open.<br>session1.execute("transfer", "19184238080");<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><a href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>FreeSWITCH Developer Conference<br><a href="mailto:sip:888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk:conf+888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br><br><br>----- Original Message ----<br>From: Brian West <<a href="mailto:brian.west@mac.com">brian.west@mac.com</a>><br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>Sent: Thursday, March 27, 2008 9:55:25 PM<br>Subject: Re: [Freeswitch-users] How to bridge 2 sessions with Javascript?<br>
<br>Revised script:<br><br>session1 = new Session();<br>session1.originate(session1, "{ignore_early_media=true}sofia/gateway/<br><a href="http://asterlink.com/19184249378" target="_blank">asterlink.com/19184249378</a>");<br>
<br>session2 = new Session();<br>session2.originate(session2, "sofia/gateway/asterlink.com/19184238080");<br><br>bridge(session1, session2);<br>session.hangup();<br>while (session1.ready() && session2.ready()) { }<br>
<br><br>You don't need waitForAnswer because the ignore_early_media=true<br>performs that automatically for you so it won't return till you<br>answer. And you don't want the ignore_early_media on the second leg<br>
otherwise you get NO ringback and its just silent till the other end<br>is answered.<br><br>/b<br><br>On Mar 27, 2008, at 9:10 PM, Nicolas Brenner wrote:<br><br>> Hello everybody again,<br>><br>> First of all I want to say thanks to the people on this list and on<br>
> IRC, I'm really surprised (in a very good way) of the help I've<br>> received.<br>><br>> Now to my problem: I'm trying to bridge two SIP calls together with a<br>> JS script, and to achieve it, I'm did the following:<br>
> - created a dialplan entry for extension 500 which calls js script<br>> - created a js script with the following code:<br>><br>> // Create new_session<br>> session1 = new Session();<br>> session1.originate(session,<br>
> "{ignore_early_media=true}sofia/gateway/sip.sipdiscount.com/<br>> 005624949458");<br>> session1.waitForAnswer(10000);<br>><br>> new_session = new Session();<br>> new_session.originate(session,<br>
> "{ignore_early_media=true}sofia/gateway/sip.sipdiscount.com/<br>> 0056979039388",<br>> 30);<br>> new_session.waitForAnswer(10000);<br>><br>> // IF everybody is ready, then bridge our current session & the<br>
> new_session<br>> if (session1.ready() && new_session.ready()) {<br>> console_log("info", "Interoligofrenico!\n");<br>> bridge(session1, new_session);<br>> }<br>><br>
> // hangup when done<br>> session1.hangup();<br>> new_session.hangup();<br>><br>> When I register with extension 1000 using a softphone and dial<br>> extension 500, the code above successfully creates the two new<br>
> sessions, makes the calls in order, and supposedly bridges the<br>> sessions (I get no error about the bridge on the console, and I get<br>> the log text too), but I get no audio on either end. Anybody know<br>
> what's wrong with the code?<br>><br>> Btw, how can I originate a call to a configure extension? All examples<br>> on the wiki use the 'sofia syntax', should I just use<br>> sofia/default/1001 for example?<br>
><br>> Thanks!<br>><br>> Nicolas<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>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><br> ____________________________________________________________________________________<br>Never miss a thing. Make Yahoo your home page.<br>
<a href="http://www.yahoo.com/r/hs" target="_blank">http://www.yahoo.com/r/hs</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/d5c4f17f/attachment-0001.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/d5c4f17f/attachment-0001.html</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>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>End of Freeswitch-users Digest, Vol 21, Issue 75<br>************************************************<br></blockquote></div><br>