Thanks to Brian and Michael for there valuable help.<br>While trying with the &quot;echo&quot; from default.xml, I was getting a beep like sound, so i assume that my port audio is working.( I didn&#39;t hear the word echo though..is it fine ?). Then i tried to play a mp3 file and then a wav file BY adding few changes.<br>
<br>
&lt;extension name=&quot;echo&quot;&gt;<br>
<br>
 &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^9996$&quot;&gt;<br>
<br>
 &nbsp; &nbsp;&lt;action application=&quot;answer&quot;/&gt;<br>
<br>
 &nbsp; &nbsp;&lt;action application=&quot;send_display&quot; data=&quot;Echo Test&quot;/&gt;<br>&nbsp;&nbsp; &lt;action application=&quot;playback&quot; data=&quot;file location&quot;/&gt;<br>
<br>
 &nbsp; &nbsp;&lt;action application=&quot;echo&quot;/&gt;<br>
<br>
 &nbsp;&lt;/condition&gt;<br>
<br>
&lt;/extension&gt;<br><br>When i tried this, freeswitch was not able to play the file as it was not able to find the ext. So what i am supposed to do so that i am able to play wav or mp3 file from specified location.<br>
<br>I have one more question that can get me kick start in decdoing the freeswitch code.&nbsp; <br><br>Here it goes:<br><br>1) If my ip is x.x.x.x and i want to call someone at ip y.y.y.y.(Currently assumng that both the ips are on same lan),&nbsp;&nbsp; Then what changes i am supposed to do in default.xml so that i can bridge the call between x.x.x.x and y.y.y.y using the freeswitch both computer can talk . I am using mod_portaudio as my end point. I think, i need to have freeswitch running at both the&nbsp; computer as how can y.y.y.y know that x.x.x.x has called it. Can you please tell me the exact dialplan to achieve this. And also is it possible to this with mod portaudio or i am in totally worng direction.<br>
<br>Please suggest.<br><br>(My irc name is Ritesh. I have just joined the IRC)<br><br>Regards<br>Ritesh<br><br><div class="gmail_quote">On Sat, Mar 29, 2008 at 12:24 AM,  &lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</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;">Send Freeswitch-users mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<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>
 &nbsp; &nbsp; &nbsp; &nbsp;<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 &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<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>
 &nbsp; &nbsp; &nbsp; &nbsp;<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 &quot;Re: Contents of Freeswitch-users digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. Re: New to FreeSwitch (Ritesh Singh) (Ritesh Singh)<br>
 &nbsp; 2. Re: New to FreeSwitch (Michael Collins)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 28 Mar 2008 22:18:47 +0530<br>
From: &quot;Ritesh Singh&quot; &lt;<a href="mailto:riteshsingh81@gmail.com">riteshsingh81@gmail.com</a>&gt;<br>
Subject: Re: [Freeswitch-users] New to FreeSwitch (Ritesh Singh)<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:98a09a460803280948q56f005f6w129adcc4fb6f941a@mail.gmail.com">98a09a460803280948q56f005f6w129adcc4fb6f941a@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On Fri, Mar 28, 2008 at 9:30 PM, &lt;<br>
<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>&gt; wrote:<br>
<br>
&gt; Send Freeswitch-users mailing list submissions to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of Freeswitch-users digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt; &nbsp; 1. Re: New to FreeSwitch (Brian West)<br>
&gt; &nbsp; 2. Re: How to bridge 2 sessions with Javascript? (Dale Thatcher)<br>
&gt; &nbsp; 3. Re: How to bridge 2 sessions with Javascript? (Anthony Minessale)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Fri, 28 Mar 2008 09:57:23 -0500<br>
&gt; From: Brian West &lt;<a href="mailto:brian.west@mac.com">brian.west@mac.com</a>&gt;<br>
&gt; Subject: Re: [Freeswitch-users] New to FreeSwitch<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Message-ID: &lt;<a href="mailto:CE2A83CB-29B3-41B9-BD01-DFD7861AC801@mac.com">CE2A83CB-29B3-41B9-BD01-DFD7861AC801@mac.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;<br>
&gt;<br>
&gt; On Mar 28, 2008, at 8:07 AM, Ritesh Singh wrote:<br>
&gt;<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt; I am very new to freeswitch. It will be great if some one can tell<br>
&gt; &gt; me few things:<br>
&gt;<br>
&gt; Welcome to the community.<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; 1) If my ip is x.x.x.x and i want to call someone at ip y.y.y.y.<br>
&gt; &gt; Then what changes i am supposed to do and at what place. I would<br>
&gt; &gt; like to use the mod_portaudio for this purpose.<br>
&gt; &gt;<br>
&gt; &gt; 2) I started the windows freeswitch and loaded port_audio by using<br>
&gt; &gt; &quot;load mod_portaudio&quot; , then used &quot;pa call 1234&quot;...the session gets<br>
&gt; &gt; initiated but the call gets hanged up with the log &quot;portaudio/1234<br>
&gt; &gt; [CS_RING] [NO_ROUTE_DESTINATION]&quot;.<br>
&gt;<br>
&gt; I&#39;m sure this message is rather clear... You do not have a route in<br>
&gt; your dialplan for 1234 thus it fails.<br>
&gt;<br>
&gt; &gt; 3) Suppose i have a jabber server <a href="http://x.net" target="_blank">x.net</a>. and i have 2 users having<br>
&gt; &gt; account at that jabber server. Then how can i use mod_dingaling so<br>
&gt; &gt; that i have the voice chat between those user of the jabber server<br>
&gt; &gt; <a href="http://x.net" target="_blank">x.net</a>.<br>
&gt; &gt; Also, i would like to dump the all the record regarding the call<br>
&gt; &gt; made, like duration of call , person who initiated the call, call<br>
&gt; &gt; destination , etc.<br>
&gt;<br>
&gt; Feels like your trying to do too much at once before you fully<br>
&gt; understand what is going on.<br>
&gt;<br>
&gt; &gt; Any help in this regard is highly appreciable. &nbsp;Please &nbsp;do forgive<br>
&gt; &gt; me if you think its stupid mail but i am desparate &nbsp;for these answers.<br>
&gt; &gt;<br>
&gt;<br>
&gt; You&#39;re trying to fly before you can even crawl. &nbsp;You have many things<br>
&gt; to learn.<br>
&gt;<br>
&gt; Best things to do are start here <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a> and<br>
&gt; #freeswitch on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a><br>
&gt;<br>
&gt; Remember I&#39;ll be very glad to answer questions but the requirement is<br>
&gt; that you MUST put the info you learn on the wiki and pay it forward to<br>
&gt; others.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; /b<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL:<br>
&gt; <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>

&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Fri, 28 Mar 2008 15:12:09 +0000<br>
&gt; From: Dale Thatcher &lt;<a href="mailto:freeswitch@dalethatcher.com">freeswitch@dalethatcher.com</a>&gt;<br>
&gt; Subject: Re: [Freeswitch-users] How to bridge 2 sessions with<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;Javascript?<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Message-ID: &lt;1206717129.8070.51.camel@desktop&gt;<br>
&gt; Content-Type: text/plain<br>
&gt;<br>
&gt; Great, guess I&#39;ll drop that from my config then. &nbsp;Sorry Nicolas must be<br>
&gt; something else.<br>
&gt;<br>
&gt; - Dale<br>
&gt;<br>
&gt; On Fri, 2008-03-28 at 09:53 -0500, Brian West wrote:<br>
&gt; &gt; Dale,<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; This was due to a rogue SRV record saying use TCP that has since<br>
&gt; been<br>
&gt; &gt; corrected after a month of talking to them about it.<br>
&gt; &gt;<br>
&gt; &gt; /b<br>
&gt; &gt;<br>
&gt; &gt; On Mar 28, 2008, at 8:50 AM, Dale Thatcher wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; I had some slow connection problems with sipphone that were solved by:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp; &nbsp; &lt;param name=&quot;bind-params&quot; value=&quot;transport=udp&quot;/&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; in the sip profile, might be worth a go. &nbsp;BTW this is a bug with<br>
&gt; &gt; &gt; sipphone, not with Freeswitch.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; - Dale<br>
&gt; &gt;<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; ------------------------------------------------<br>
&gt; <a href="http://myhelpa.com" target="_blank">http://myhelpa.com</a> - Sign up to be a Beta Helpa.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 3<br>
&gt; Date: Fri, 28 Mar 2008 08:16:50 -0700 (PDT)<br>
&gt; From: Anthony Minessale &lt;<a href="mailto:anthmct@yahoo.com">anthmct@yahoo.com</a>&gt;<br>
&gt; Subject: Re: [Freeswitch-users] How to bridge 2 sessions with<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;Javascript?<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Message-ID: &lt;<a href="mailto:539060.7259.qm@web90604.mail.mud.yahoo.com">539060.7259.qm@web90604.mail.mud.yahoo.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;<br>
&gt; and just to point it out, you can also do:<br>
&gt;<br>
&gt; session1 = new Session();<br>
&gt; session1.originate(session1, &quot;{ignore_early_media=true}sofia/gateway/<br>
&gt; <a href="http://asterlink.com/19184249378" target="_blank">asterlink.com/19184249378</a>&quot;);<br>
&gt;<br>
&gt; session1.execute(&quot;bridge&quot;, &quot;sofia/gateway/asterlink.com/19184238080&quot;);<br>
&gt;<br>
&gt; or even better<br>
&gt;<br>
&gt; // this will transfer the channel into the dialplan and end the script<br>
&gt; // thus reducing overhead of leaving JS open.<br>
&gt; session1.execute(&quot;transfer&quot;, &quot;19184238080&quot;);<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>
&gt; <a href="mailto:MSN:anthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt; GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a><br>
&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;<br>
&gt; FreeSWITCH Developer Conference<br>
&gt; <a href="mailto:sip:888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt; <a href="mailto:googletalk:conf+888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt; pstn:213-799-1400<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message ----<br>
&gt; From: Brian West &lt;<a href="mailto:brian.west@mac.com">brian.west@mac.com</a>&gt;<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Sent: Thursday, March 27, 2008 9:55:25 PM<br>
&gt; Subject: Re: [Freeswitch-users] How to bridge 2 sessions with Javascript?<br>
&gt;<br>
&gt; Revised script:<br>
&gt;<br>
&gt; session1 = new Session();<br>
&gt; session1.originate(session1, &quot;{ignore_early_media=true}sofia/gateway/<br>
&gt; <a href="http://asterlink.com/19184249378" target="_blank">asterlink.com/19184249378</a>&quot;);<br>
&gt;<br>
&gt; session2 = new Session();<br>
&gt; session2.originate(session2, &quot;sofia/gateway/asterlink.com/19184238080&quot;);<br>
&gt;<br>
&gt; bridge(session1, session2);<br>
&gt; session.hangup();<br>
&gt; while (session1.ready() &amp;&amp; session2.ready()) { }<br>
&gt;<br>
&gt;<br>
&gt; You don&#39;t need waitForAnswer because the ignore_early_media=true<br>
&gt; performs that automatically for you so it won&#39;t return till you<br>
&gt; answer. &nbsp;And you don&#39;t want the ignore_early_media on the second leg<br>
&gt; otherwise you get NO ringback and its just silent till the other end<br>
&gt; is answered.<br>
&gt;<br>
&gt; /b<br>
&gt;<br>
&gt; On Mar 27, 2008, at 9:10 PM, Nicolas Brenner wrote:<br>
&gt;<br>
&gt; &gt; Hello everybody again,<br>
&gt; &gt;<br>
&gt; &gt; First of all I want to say thanks to the people on this list and on<br>
&gt; &gt; IRC, I&#39;m really surprised (in a very good way) of the help I&#39;ve<br>
&gt; &gt; received.<br>
&gt; &gt;<br>
&gt; &gt; Now to my problem: I&#39;m trying to bridge two SIP calls together with a<br>
&gt; &gt; JS script, and to achieve it, I&#39;m did the following:<br>
&gt; &gt; - created a dialplan entry for extension 500 which calls js script<br>
&gt; &gt; - created a js script with the following code:<br>
&gt; &gt;<br>
&gt; &gt; // Create new_session<br>
&gt; &gt; session1 = new Session();<br>
&gt; &gt; session1.originate(session,<br>
&gt; &gt; &quot;{ignore_early_media=true}sofia/gateway/sip.sipdiscount.com/<br>
&gt; &gt; 005624949458&quot;);<br>
&gt; &gt; session1.waitForAnswer(10000);<br>
&gt; &gt;<br>
&gt; &gt; new_session = new Session();<br>
&gt; &gt; new_session.originate(session,<br>
&gt; &gt; &quot;{ignore_early_media=true}sofia/gateway/sip.sipdiscount.com/<br>
&gt; &gt; 0056979039388&quot;,<br>
&gt; &gt; 30);<br>
&gt; &gt; new_session.waitForAnswer(10000);<br>
&gt; &gt;<br>
&gt; &gt; // IF everybody is ready, then bridge our current session &amp; the<br>
&gt; &gt; new_session<br>
&gt; &gt; if (session1.ready() &amp;&amp; new_session.ready()) {<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;console_log(&quot;info&quot;, &quot;Interoligofrenico!\n&quot;);<br>
&gt; &gt; &nbsp; &nbsp;bridge(session1, new_session);<br>
&gt; &gt; }<br>
&gt; &gt;<br>
&gt; &gt; // hangup when done<br>
&gt; &gt; session1.hangup();<br>
&gt; &gt; new_session.hangup();<br>
&gt; &gt;<br>
&gt; &gt; When I register with extension 1000 using a softphone and dial<br>
&gt; &gt; extension 500, the code above successfully creates the two new<br>
&gt; &gt; sessions, makes the calls in order, and supposedly bridges the<br>
&gt; &gt; sessions (I get no error about the bridge on the console, and I get<br>
&gt; &gt; the log text too), but I get no audio on either end. Anybody know<br>
&gt; &gt; what&#39;s wrong with the code?<br>
&gt; &gt;<br>
&gt; &gt; Btw, how can I originate a call to a configure extension? All examples<br>
&gt; &gt; on the wiki use the &#39;sofia syntax&#39;, should I just use<br>
&gt; &gt; sofia/default/1001 for example?<br>
&gt; &gt;<br>
&gt; &gt; Thanks!<br>
&gt; &gt;<br>
&gt; &gt; Nicolas<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;<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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;____________________________________________________________________________________<br>
&gt; Never miss a thing. &nbsp;Make Yahoo your home page.<br>
&gt; <a href="http://www.yahoo.com/r/hs" target="_blank">http://www.yahoo.com/r/hs</a><br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL:<br>
&gt; <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>

&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>
&gt;<br>
&gt;<br>
&gt; End of Freeswitch-users Digest, Vol 21, Issue 75<br>
&gt; ************************************************<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/4833b61e/attachment-0001.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/4833b61e/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 28 Mar 2008 12:01:15 -0700<br>
From: &quot;Michael Collins&quot; &lt;<a href="mailto:mcollins@fcnetwork.com">mcollins@fcnetwork.com</a>&gt;<br>
Subject: Re: [Freeswitch-users] New to FreeSwitch<br>
To: &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:251B739C905BF64FBACCF028D963A5FB021B367C@exchange.fcnetwork.com">251B739C905BF64FBACCF028D963A5FB021B367C@exchange.fcnetwork.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Ritesh,<br>
<br>
<br>
<br>
Welcome to the FS community! &nbsp;Brian already mentioned a few things, like<br>
the wiki and the IRC channel, so definitely get familiar with those.<br>
<br>
<br>
<br>
One thing I&#39;d like to recommend is that you check out the dialplan xml<br>
files. &nbsp;(I hope you&#39;re comfortable with XML!) &nbsp;In the freeswitch conf<br>
directory look under dialplan for &quot;default.xml&quot; - this has the pre-built<br>
dialplan. &nbsp;(You did do &quot;make samples&quot; after the initial install, didn&#39;t<br>
you? :-)) &nbsp;Freeswtich uses regular expressions for matching various<br>
values in the dialplan. (I hope you like regular expressions! :-))<br>
Here&#39;s an example right from the sample dialplan:<br>
<br>
<br>
<br>
&lt;extension name=&quot;echo&quot;&gt;<br>
<br>
 &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^9996$&quot;&gt;<br>
<br>
 &nbsp; &nbsp;&lt;action application=&quot;answer&quot;/&gt;<br>
<br>
 &nbsp; &nbsp;&lt;action application=&quot;send_display&quot; data=&quot;Echo Test&quot;/&gt;<br>
<br>
 &nbsp; &nbsp;&lt;action application=&quot;echo&quot;/&gt;<br>
<br>
 &nbsp;&lt;/condition&gt;<br>
<br>
&lt;/extension&gt;<br>
<br>
<br>
<br>
This is the sample echo test extension. &nbsp;XML helps make some of the<br>
features obvious, like the extension name. &nbsp;The most interesting thing<br>
here is the &quot;condition&quot; tag. &nbsp;That line essential says, &quot;If the<br>
destination number is exactly 9996 then execute these actions.&quot; &nbsp;The<br>
actions are &quot;answer&quot; - that answer the call, then display &quot;Echo Test&quot; on<br>
the display, and lastly launch the echo application. &nbsp;If you want to<br>
hear the echo test then try this:<br>
<br>
pa call 9996<br>
<br>
<br>
<br>
If you get the echo test then you know the basic setup of the dial plan<br>
and port audio is working. &nbsp;Please try it out and report back to the<br>
list or to IRC. &nbsp;(BTW, do you have an IRC screen name?) &nbsp;We&#39;ll go from<br>
there!<br>
<br>
<br>
<br>
-MC (IRC: mercutioviz)<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
Ritesh Singh<br>
Sent: Friday, March 28, 2008 6:08 AM<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Subject: [Freeswitch-users] New to FreeSwitch<br>
<br>
<br>
<br>
Hi All,<br>
<br>
I am very new to freeswitch. It will be great if some one can tell me<br>
few things:<br>
<br>
1) If my ip is x.x.x.x and i want to call someone at ip y.y.y.y. Then<br>
what changes i am supposed to do and at what place. I would like to use<br>
the mod_portaudio for this purpose.<br>
<br>
2) I started the windows freeswitch and loaded port_audio by using &quot;load<br>
mod_portaudio&quot; , then used &quot;pa call 1234&quot;...the session gets initiated<br>
but the call gets hanged up with the log &quot;portaudio/1234 [CS_RING]<br>
[NO_ROUTE_DESTINATION]&quot;.<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 that<br>
i have the voice chat between those user of the jabber server <a href="http://x.net" target="_blank">x.net</a>.<br>
Also, i would like to dump the all the record regarding the call made,<br>
like duration of call , person who initiated the call, call destination<br>
, etc.<br>
<br>
Any help in this regard is highly appreciable. &nbsp;Please &nbsp;do forgive me if<br>
you think its stupid mail but i am desparate &nbsp;for these answers.<br>
<br>
This is my second mail as no one replied my first mail. Please do reply<br>
this mail else i ll be broken ....<br>
<br>
Thanks and Regards<br>
Ritesh<br>
<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/7bd536bd/attachment.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080328/7bd536bd/attachment.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 76<br>
************************************************<br>
</blockquote></div><br>