<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="arial, sans-serif"><b>Why is a gateway recommended?</b></font></blockquote>
<div><br></div><div>Probably because you can use it from multiple FreeSWITCH servers, or a remote location. Of course that comes with its own problems too (an extra point to secure).</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<b>and how can I set the freeswitch to route the PSTN calls to the IP phone?</b></blockquote><div><br></div><div>That'll depend on the hardware. If it's a card then probably via the freetdm endpoint. If via a gateway then you'd probably send the call to the gateway via SIP (sofia endpoint). For more information look at these pages:</div>
<div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge</a><br></div><div><a href="http://wiki.freeswitch.org/wiki/FreeTDM" target="_blank">http://wiki.freeswitch.org/wiki/FreeTDM</a><br>
</div><div><a href="http://wiki.freeswitch.org/wiki/Sofia" target="_blank">http://wiki.freeswitch.org/wiki/Sofia</a><br></div><div><a href="http://wiki.freeswitch.org/wiki/Getting_Started_Guide" target="_blank">http://wiki.freeswitch.org/wiki/Getting_Started_Guide</a><br>
</div><div><br></div><div>Also, FXO would be for a normal analog PSTN connection (like you'd normally have at home). If it's a BRI/PRI connection (pretty common in businesses) you'd need a different (but similar) card/gateway for that.</div>
</div><div><br></div><div>-Steve</div><div><br></div><div><br></div><div style="font-family:arial,sans-serif;font-size:13px"></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 9 April 2013 15:00, Ebrahim Bararian <span dir="ltr"><<a href="mailto:ebrahim.bararian@gmail.com" target="_blank">ebrahim.bararian@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">You need to buy a 2-port FXO SIP gateway. You can install an FXO card e.g. Digium. But a gateway is recommended.</span></div><div><font face="arial, sans-serif"><b>Why is a gateway recommended?</b></font></div>
<div>
<div><font face="arial, sans-serif"><b><br></b></font><div><span style="font-family:arial,sans-serif;font-size:13px"> Configure the gateway and the FS sip_profiles, of course. Create a dialplan in the default context to route the call to the FXO gateway when you dial outside line e.g. 9+local_number.</span><br>
</div></div></div><div><span style="font-family:arial,sans-serif;font-size:13px"><b> and how can I set the freeswitch to route the PSTN calls to the IP phone?</b></span></div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 9, 2013 at 5:28 PM, Nandy Dagondon <span dir="ltr"><<a href="mailto:nandy1925@gmail.com" target="_blank">nandy1925@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You need to buy a 2-port FXO SIP gateway. You can install an FXO card e.g. Digium. But a gateway is recommended. Configure the gateway and the FS sip_profiles, of course. Create a dialplan in the default context to route the call to the FXO gateway when you dial outside line e.g. 9+local_number. </div>
<div class="gmail_extra"><br clear="all"><div>================================================<br><a href="http://www.magicbox.ph" target="_blank">www.magicbox.ph</a> - <i>the better magic* VoIP phone for Filipinos<br></i>Lapulapu City, Phils<br>
Phone: <a href="tel:%2B63-32-3401807" value="+63323401807" target="_blank">+63-32-3401807</a>, <br>Mobile: <a href="tel:%2B63-920-6373450" value="+639206373450" target="_blank">+63-920-6373450</a><br><b>USA# :</b> <a href="tel:%28646%29547-1226" value="+16465471226" target="_blank">(646)547-1226</a><br>
<b>Worldwide:</b> [<b>*462 + 17772930540 + #</b>] via any <a href="http://www.snipurl.com/magicbox-access" target="_blank">200+ Access Numbers (37 Countries)</a><br>
<br></div>
<br><br><div class="gmail_quote"><div><div>On Tue, Apr 9, 2013 at 1:34 AM, Ebrahim Bararian <span dir="ltr"><<a href="mailto:ebrahim.bararian@gmail.com" target="_blank">ebrahim.bararian@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">Hi,<div>I have some soft IP phones in an internal local network.</div><div>I want to connect these IP phones to PSTN via 2 PSTN lines.</div><div><br></div><div>How many ways are there to solve this problem?</div>
<div>Which hardwares should I buy?</div><div><br></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div>