<p dir="ltr">Why not OpenSIPS? I find OpenSIPS documentation way better and both projects are quite similar</p>
<div class="gmail_quote">El 10/06/2015 19:21, &quot;Giovanni Maruzzelli&quot; &lt;<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>&gt; escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 11, 2015 at 12:24 AM, Stanislav Sinyagin <span dir="ltr">&lt;<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@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">How about an open-design and open-source project? Many companies want<br>
the same, and now they have to design and build the whole thing from<br>
scratch. Everyone could actually benefit from a joint effort instead.<br>
<br>
I think residential mass service should be completely separated from<br>
business PBX service, as they have completely orthogonal requirements.<br>
<br>
I would propose something like this for residential users:<br>
<br>
1. Kamailio cluster handles user registrations and SIP OPTIONS pings.<br>
It also blocks some basic scanning and DOS attacks. The user<br>
registrations are stored in a backend SQL database.<br>
<br>
2. Calls from users are handled by Kamailio&#39;s DISPATCHER module, and<br>
it sends them to a pool of FreeSWITCH media servers in round-robin or<br>
hash-based fashion.<br>
<br>
3. As the call from a user arrives to FreeSWITCH server, it places it<br>
to &amp;park() application. Then, an external routing program catches this<br>
event via ESL, and makes the routing decision: if the destination is<br>
one of our own users, we take the user&#39;s location from Kamailio&#39;s<br>
registrar database and send the call to Kamailio for further<br>
forwarding to the user (the SIP INVITE toward the user should come<br>
from registrar&#39;s IP address and port, otherwise NAT firewalls will<br>
block it).<br>
<br>
4. If the destination is not our own user, the routing program sends<br>
the call to one of PSTN trunks. Here it may also have some logic, like<br>
cost optimization and trunk status monitoring.<br>
<br>
5. Incoming calls from PSTN are also parked and handled by our routing program.<br>
<br>
6. If the SIP user is not reachable, the routing program looks up in<br>
user&#39;s preferences and sends the call to voicemail or forwarding<br>
destination. The user may also have some calendar or time-of-day<br>
options -- the program should actually be modular and extendable, so<br>
that new features are added as needed, and also third parties can add<br>
their own functionality.<br>
<br>
Golang.org is probably one of the best choices for such a routing program.<br>
<br>
-----------------<br>
<br>
for business PBX, it makes sense to register users at FreeSWITCH --<br>
then we have BLF and notofocations working out of the box. Kamailio<br>
can still be used for security screening and fault tolerance. Also<br>
business customers will want conference bridges, and probably video<br>
calls or video conferencing. So, here it&#39;s a completely different<br>
challenge, and needs to be designed separately. User registrations<br>
could be served with mod_xml_curl, and call routing could also be<br>
routed by an external program via ESL.<br>
<br>
<br>
I would be glad to jump in onto such a project if it were open-source<br>
and open-design.<br>
<div><div><br></div></div></blockquote><div><br></div><div>Also, you can have the same database table used by Kamailio for registrations (read-write), used also by FreeSWITCH (read-only).<br><br></div><div>That would greatly simplify things.<br><br></div><div>Add a NAS for configurations and media storage (prompts, voicemails, etc), some logic for having (audio|video) conferences participants to go on the same box, and you have an interesting solution, that keep most of the logic on FreeSWITCH side, and can permit to dish out &quot;advanced&quot; services to residential customers too.<br></div><div><br></div><div>-giovanni<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<br>
<br>
<br>
<br>
<br>
<br>
On Wed, Jun 10, 2015 at 11:47 PM, Aqs Younas &lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt; wrote:<br>
&gt; Thanks your for reply.<br>
&gt;<br>
&gt; Alex: We are planning some pbx related functions too. Like voicemail, ivr,<br>
&gt; block numbers.<br>
&gt; Thats why we chose to keep registrations at freeswitch end.<br>
&gt;<br>
&gt; On 10 June 2015 at 14:38, Aqs Younas &lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Thanks for your reply.<br>
&gt;&gt;<br>
&gt;&gt; Stanislav Sinyagin : Majority of them are residential users with simple<br>
&gt;&gt; service.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 10 June 2015 at 14:13, Stanislav Sinyagin &lt;<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Are those residential users with a uniform and simple service, or<br>
&gt;&gt;&gt; business customers with small work groups and business-specific call<br>
&gt;&gt;&gt; routing?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Jun 10, 2015 10:54 PM, &quot;Aqs Younas&quot; &lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hope you all are having a good day. :)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I need some suggestions in designing SIP trunking with freeswitch.<br>
&gt;&gt;&gt;&gt; We are required to register more than 10,000 users on multiple<br>
&gt;&gt;&gt;&gt; freeswitch instances sharing same database.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; How can we load balance registration on each freeswitch so, they have<br>
&gt;&gt;&gt;&gt; equal number of registrations.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I know with mod_xml_curl i can have freeswitch share same database. But<br>
&gt;&gt;&gt;&gt; how can i load balance registrations?<br>
&gt;&gt;&gt;&gt; (inbound calls must be directed to that freeswitch with which user is<br>
&gt;&gt;&gt;&gt; registered)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Or any suggestion how we can achieve this, so, that we can add more<br>
&gt;&gt;&gt;&gt; freeswitch in future.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks for your help.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _________________________________________________________________________<br>
&gt;&gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt;&gt;&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&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;&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;&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;&gt; _________________________________________________________________________<br>
&gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt;&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Sincerely,<br><br>Giovanni Maruzzelli<br>Cell : <a href="tel:%2B39-347-2665618" value="+393472665618" target="_blank">+39-347-2665618</a><br></div>
</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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">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></blockquote></div>