Thanks Steve for suggestion, i&#39;ll check <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">X-Auth-IP, its new for me.</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>

</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Since we are talking about HA options... Is it practically doable use it:<br>

<br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_redirect#Example_2">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_redirect#Example_2</a></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>

</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_redirect#Example_2"></a>The idea is to run one FS box (Redirect-FS) in front of several FS boxes which redirect the call to active/available FS. If we make some script on redirect FS to count the active calls on media FSes and rearrange the order of redirect then loadbalacing can also be done. </span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">...possible?<br>

</span></font><div><br><div class="gmail_quote">On Sun, Dec 12, 2010 at 12:23 PM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">&gt; 1. i am thinking to use kamailo in front of FS boxes, is there any<br>
&gt; difference between kamailo and opensips?<br>
<br>
</div>They&#39;re both forks of OpenSER so for the most part there&#39;s little difference.<br>
<br>
There are some small differences though since the fork. For example,<br>
opensips has a load_balancer module which kamalio does not (kamalio<br>
can still do load balancing but has a different interface to do so).<br>
<div class="im"><br>
&gt; 2. if kamailo or opensips is running in front of FS, then will it send call<br>
&gt; to FS with original customer ip? so i can do billing etc on FS box<br>
&gt; -&gt; actually i do IP based authentication and also ip based billing on FS<br>
&gt; box, so in case, i recieve kamailo ip on FS box then i&#39;ll loose the original<br>
&gt; customer overview.<br>
<br>
</div>It will appear coming from the proxy IP. But there is a workaround.<br>
Configure a proxy ACL on the SIP profile and add your proxy IP to it.<br>
Then adjust your proxy routing rules so that it adds a X-Auth-IP<br>
header that contains the original IP.<br>
Anything coming from anything in the proxy ACL is trusted and FS will<br>
use the value from X-Auth-IP (if it exists).<br>
<br>
-Steve<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On 11 December 2010 14:00, Saeed Ahmed &lt;<a href="mailto:saeedahmad1981@gmail.com">saeedahmad1981@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; 1. i am thinking to use kamailo in front of FS boxes, is there any<br>
&gt; difference between kamailo and opensips?<br>
&gt;<br>
&gt; 2. if kamailo or opensips is running in front of FS, then will it send call<br>
&gt; to FS with original customer ip? so i can do billing etc on FS box<br>
&gt; -&gt; actually i do IP based authentication and also ip based billing on FS<br>
&gt; box, so in case, i recieve kamailo ip on FS box then i&#39;ll loose the original<br>
&gt; customer overview.<br>
&gt;<br>
&gt; thanks<br>
&gt; On Tue, Dec 7, 2010 at 2:31 PM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; There are a few performance tweaking tips at<br>
&gt;&gt; <a href="http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations" target="_blank">http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations</a>.<br>
&gt;&gt;<br>
&gt;&gt; Yes a Sangoma card will reduce your CPU load since transcoding won&#39;t<br>
&gt;&gt; be done on the CPU any longer, that will then mean there&#39;s more CPU<br>
&gt;&gt; available so you&#39;ll be able to handle more calls.<br>
&gt;&gt;<br>
&gt;&gt; However, if you&#39;re looking to increase your number of calls then you<br>
&gt;&gt; probably want a cluster of servers as Juan pointed out.<br>
&gt;&gt;<br>
&gt;&gt; It&#39;ll mean you can increase the capacity by adding extra servers, so<br>
&gt;&gt; there&#39;d no longer be a limit to the number of calls you could handle<br>
&gt;&gt; (just add another server).<br>
&gt;&gt;<br>
&gt;&gt; It&#39;ll also make maintenance easier, as you&#39;ll be able to pull a server<br>
&gt;&gt; from service for updates etc while traffic continues to run on the<br>
&gt;&gt; other servers. Maintenance won&#39;t mean a service outage.<br>
&gt;&gt;<br>
&gt;&gt; If you&#39;re handling that many calls then additional servers would make<br>
&gt;&gt; your service more reliable. If a server crashes you&#39;ll still have the<br>
&gt;&gt; calls running on the other servers while you&#39;re fixing the problem so<br>
&gt;&gt; you won&#39;t have a complete outage. If FS is behind a load balancer then<br>
&gt;&gt; your customers might not even notice anything apart from a few dropped<br>
&gt;&gt; calls.<br>
&gt;&gt;<br>
&gt;&gt; There&#39;s <a href="http://wiki.freeswitch.org/wiki/Freeswitch_HA" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_HA</a> which will<br>
&gt;&gt; attempt to continue calls if FS crashes and restarts, but I think<br>
&gt;&gt; that&#39;s only for SIP-SIP not SIP-ISDN.<br>
&gt;&gt;<br>
&gt;&gt; -Steve<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 7 December 2010 12:26, Stephen Wilde &lt;<a href="mailto:wstephen80@gmail.com">wstephen80@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt; I have one server running Freeswitch with some ISDN connections (via<br>
&gt;&gt; &gt; FreeTDM+Sangoma boards) and some SIP connections with service providers<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; customer.<br>
&gt;&gt; &gt; The usage of Freeswitch is as switching so it &quot;bridge&quot; each incoming<br>
&gt;&gt; &gt; call to<br>
&gt;&gt; &gt; a new outgoing call.<br>
&gt;&gt; &gt; SIP calls use G.729 and ISDN calls use ALaw for voice encoding.<br>
&gt;&gt; &gt; Now the number of call is grow up and also the CPU load is a little high<br>
&gt;&gt; &gt; so<br>
&gt;&gt; &gt; I have the necessity to scale UP my Freeswitch to handle more calls:<br>
&gt;&gt; &gt; what is<br>
&gt;&gt; &gt; the best way to do that?<br>
&gt;&gt; &gt; My first idea is to use a Sangoma D500 board to reduce the CPU load. Can<br>
&gt;&gt; &gt; be<br>
&gt;&gt; &gt; this a solution?<br>
&gt;&gt; &gt; There are different way to scale UP?<br>
&gt;&gt; &gt; Thanks in advance,<br>
&gt;&gt; &gt; Stephen<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; 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; &gt;<br>
&gt;&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;<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>
<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></div></div>