<div dir="ltr">Seven yes that&#39;s somewhat I was thinking, Chris has somewhat opposite of the required.<div><br></div><div>I&#39;ve multiple clients connecting to multiple FS-ESL sockets. Clients send just &quot;originate&quot; command and they don&#39;t care which FS received the command and what happened with the request. </div>
<div><br></div><div>All I think about what the ESL-Proxy should do is either send messages to a mentioned FS-Server if user/client specifies else do a round-robin to active FS-ESL sockets.</div><div><br></div><div>If anyone has any partial script doing anything like this I&#39;ll be happy to modify it according to the requirements and put up for others to use.</div>
<div><br></div><div>Regards,</div><div>Sammy</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 12:09 PM, Chris Cachor <span dir="ltr">&lt;<a href="mailto:ccachor@gmail.com" target="_blank">ccachor@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 style="word-wrap:break-word"><div>I&#39;m working on a similar setup except that I&#39;m having Freeswitch make a Curl request to a Node.js script with the IP to connect to, and the Node.js script will listen to the incoming request then open a ESL inbound socket connection to the box that requested it. The Node.js script will handle the multiple connection instances (and won&#39;t try to connect if it&#39;s connected to the machine already). Note: The Node script runs as a daemon. It&#39;s a solution that scales with minimal config changes as well.</div>
<div><br></div><div>- Chris</div><br><div><div>On Aug 6, 2013, at 1:58 PM, <a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a> wrote:</div><br><blockquote type="cite">
Send FreeSWITCH-users mailing list submissions to<br><span style="white-space:pre-wrap">        </span><a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>
<span style="white-space:pre-wrap">        </span><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>
<span style="white-space:pre-wrap">        </span><a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a><br><br>You can reach the person managing the list at<br>
<span style="white-space:pre-wrap">        </span><a href="mailto:freeswitch-users-owner@lists.freeswitch.org" target="_blank">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>Today&#39;s Topics:<br><br>   1. Re: Can not make out going call from sangoma A200 (Ivan)<br>   2. Re: Do we have ESL-proxy? (Seven Du)<br><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>From: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">Ivan &lt;<a href="mailto:ivan@c3i.bg" target="_blank">ivan@c3i.bg</a>&gt;<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>Subject: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><b>Re: [Freeswitch-users] Can not make out going call from sangoma A200</b><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>Date: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">August 6, 2013 12:19:57 PM CDT<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>To: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>Reply-To: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
</span></div><br><br>WRT the callerid issue, do you answer the call immediately ? If yes you should try to wait 2 or 3 rings before answering, since the callerid data is usually sent at the first ring.<br>There might also be a problem with your provider, did you check first that you get the callerid when plugging a telephone to your provider&#39;s line ?<br>
<br>Outgoing call problem: please post more debug from fs_cli (before the hangup).<br><br>ivan<br><br><br>On 08/06/2013 09:42 AM, James zhu wrote:<br><blockquote type="cite">hello:<br>I contacted Sangoma, but I do not have any feedback yet. I think it<br>
might be a bug<br>for analog card with freeSWITCH.  freetdm  partially works with sangoma<br>A200.<br>There are two issues:<br>1) Can not get callerid from IO:  only shows this:Initializing cid data!<br>the callerid is empty<br>
even I set to CN.<br>2) Can not make outgoing calls by the port that I used to make outgoing<br>calls. even I replaced a FXO module, the problem is same. I use same<br>syntax as follow:<br><a href="http://blog.hiastar.com/?p=276" target="_blank">http://blog.hiastar.com/?p=276</a><br>
Hope someone from the FreeSWITCH community to clarify that.<br><br>Best regards,<br>James.zhu<br>website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a><br><br>------------------------------------------------------------------------<br>
Date: Fri, 2 Aug 2013 23:03:47 -0400<br>From: <a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Subject: Re: [Freeswitch-users] Can not make out going call from sangoma<br>A200<br><br>I apologize, I misread your email. Hopefully someone who knows FreeTDM<br>will come around. Have you contacted Sangoma? They are the maintainers<br>
of FreeTDM as far as I know. You might try that route. They are very<br>familiar with freeswitch im sure :).<br><br>Thank you,<br><br>Brian Foster<br>Project Manager/Owner&#39;s Rep.<br>Davri Investments, Inc.<br>O: 317-787-2686 x2102<br>
M: 317-600-9753<br>E: <a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a> &lt;mailto:<a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a>&gt;<br>Indianapolis, Indiana<br><br>Sent from a mobile device.<br>
<br>On Aug 2, 2013 10:39 PM, &quot;James zhu&quot; &lt;<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a><br>&lt;mailto:<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a>&gt;&gt; wrote:<br>
<br>    thanks, Brian.  actually the 2:1 is idle because the port can accept<br>    incoming call. after<br>    I reload freetdm or restart FS, I still can not make outgoing calls.<br>    If the port physically<br>    failed, how come I can make incoming call use the same port.<br>
    confused. thanks again.<br><br>    Best regards,<br>    James.zhu<br>    website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a> &lt;<a href="http://www.hiastar.com" target="_blank">http://www.hiastar.com</a>&gt;<br>
<br>    ------------------------------------------------------------------------<br>    Date: Fri, 2 Aug 2013 14:22:29 -0400<br>    From: <a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a> &lt;mailto:<a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a>&gt;<br>
    To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>    &lt;mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
    Subject: Re: [Freeswitch-users] Can not make out going call from<br>    sangoma A200<br><br>    That&#39;s the expected behavior if 2:1 is in use. So that means you use<br>    another port to place your outbound call. Tips on how to do that,<br>
    however, I can&#39;t really produce. Hopefully someone with more<br>    experience with FreeTDM can chime in.<br><br>    Thank you,<br><br>    Brian Foster<br>    Project Manager/Owner&#39;s Rep.<br>    Davri Investments, Inc.<br>
    O: 317-787-2686 x2102<br>    M: 317-600-9753<br>    E: <a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a> &lt;mailto:<a href="mailto:bdfoster@davri.com" target="_blank">bdfoster@davri.com</a>&gt;<br>
    Indianapolis, Indiana<br><br>    Sent from a mobile device.<br><br>    On Aug 2, 2013 3:09 AM, &quot;James zhu&quot; &lt;<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a><br>    &lt;mailto:<a href="mailto:zhulizhong@live.com" target="_blank">zhulizhong@live.com</a>&gt;&gt; wrote:<br>
<br>        hello:<br>        I installed freeswitch and sangoma A200 with 2 FXOs. i set the<br>        tone group to CN<br>        and opermode=china. the A200 can make accept incoming calls from<br>        FreeTDM/2:1 , but I use same port to make out going port, the<br>
        shows the port is CONGESTION.<br>        --------------------------system<br>        log-----------------------------------------------<br>        2013-08-02 14:36:42.003531 [DEBUG] mod_freetdm.c:640 [2:1]<br>        FreeTDM/2:1/13811737925 CHANNEL HANGUP EXIT<br>
        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:48 FreeTDM/2:1/13811737925 Standard<br>        HANGUP, cause: NORMAL_CIRCUIT_CONGESTION<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:679 (FreeTDM/2:1/13811737925) State<br>
        HANGUP going to sleep<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:692 (FreeTDM/2:1/13811737925)<br>        Callstate Change DOWN -&gt; HANGUP<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>
        switch_core_state_machine.c:447 (FreeTDM/2:1/13811737925) State<br>        Change CS_HANGUP -&gt; CS_REPORTING<br>        2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341<br>        Send signal FreeTDM/2:1/13811737925 [BREAK]<br>
        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:416 (FreeTDM/2:1/13811737925)<br>        Running State Change CS_REPORTING<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:764 (FreeTDM/2:1/13811737925) State<br>
        REPORTING<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:92 FreeTDM/2:1/13811737925 Standard<br>        REPORTING, cause: NORMAL_CIRCUIT_CONGESTION<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>
        switch_core_state_machine.c:764 (FreeTDM/2:1/13811737925) State<br>        REPORTING going to sleep<br>        2013-08-02 14:36:42.003531 [DEBUG]<br>        switch_core_state_machine.c:441 (FreeTDM/2:1/13811737925) State<br>
        Change CS_REPORTING -&gt; CS_DESTROY<br>        2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1341<br>        Send signal FreeTDM/2:1/13811737925 [BREAK]<br>        2013-08-02 14:36:42.003531 [DEBUG] switch_core_session.c:1549<br>
        Session 37 (FreeTDM/2:1/13811737925) Locked, Waiting on external<br>        entities<br>        2013-08-02 14:36:42.023531 [DEBUG] switch_ivr_originate.c:3632<br>        Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]<br>
        2013-08-02 14:36:42.023531 [INFO] mod_dptools.c:3192 Originate<br>        Failed.  Cause: NORMAL_CIRCUIT_CONGESTION<br>        2013-08-02 14:36:42.023531 [NOTICE] switch_channel.c:4593 Hangup<br>        sofia/internal/<a href="mailto:1008@192.168.0.173" target="_blank">1008@192.168.0.173</a> &lt;mailto:<a href="mailto:1008@192.168.0.173" target="_blank">1008@192.168.0.173</a>&gt;<br>
        [CS_EXECUTE] [NORMAL_CIRCUIT_CONGESTION]<br>        2013-08-02 14:36:42.023531 [DEBUG] switch_channel.c:3135 Send<br>        signal sofia/internal/<a href="mailto:1008@192.168.0.173" target="_blank">1008@192.168.0.173</a><br>
        &lt;mailto:<a href="mailto:1008@192.168.0.173" target="_blank">1008@192.168.0.173</a>&gt; [KILL]<br>        2013-08-02 14:36:42.023531 [DEBUG] switch_core_session.c:1341<br>        Send signal sofia/internal<br>        ---------------------------------------------<br>
        the FS is download from git and wanpipe is latest version.<br>          please give a help for that issue.<br><br>        Best regards,<br>        James.zhu<br>        website: <a href="http://www.hiastar.com" target="_blank">www.hiastar.com</a> &lt;<a href="http://www.hiastar.com" target="_blank">http://www.hiastar.com</a>&gt;<div class="im">
<br><br>        _________________________________________________________________________<br>        Professional FreeSWITCH Consulting Services:<br></div>        <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<div class="im">
<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>
</div>        &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<div class="im"><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></div><div class="im">    _________________________________________________________________________<br>    Professional FreeSWITCH Consulting Services:<br></div>    <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<div class="im">
<br>    <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> FreeSWITCH-powered IP PBX: The<br>    CudaTel Communication Server <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a> Official<br>
    FreeSWITCH Sites <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> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> FreeSWITCH-users<br>
    mailing list <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br></div>    &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<div class="im">
<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></div><div class="im">    _________________________________________________________________________<br>    Professional FreeSWITCH Consulting Services:<br>
</div>    <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&gt;<div class="im"><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></div>    &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<div>
<div class="h5"><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>_________________________________________________________________________ Professional<br>FreeSWITCH Consulting Services: <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> FreeSWITCH-powered IP PBX: The<br>CudaTel Communication Server <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a> Official FreeSWITCH<br>
Sites <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> <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> 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><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></div></div></blockquote><br><br><br><br><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>From: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">Seven Du &lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt;<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>Subject: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium"><b>Re: [Freeswitch-users] Do we have ESL-proxy?</b><br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>Date: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">August 6, 2013 1:57:48 PM CDT<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>To: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
</span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="font-family:&#39;Helvetica&#39;;font-size:medium;color:rgba(127,127,127,1.0)"><b>Reply-To: </b></span><span style="font-family:&#39;Helvetica&#39;;font-size:medium">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
</span></div><div><div class="h5"><br><br>
                <div>
                    I was actually thinking how to do that. Raw idea would be run a daemon that connects to multiple FS instances and routes ESL requests from a single client accordingly.</div><div><br></div><div>FS has core-uuid in events so it can tell which FS it comes from, and api and sendmsg might need to be extended to add the core-uuid so the proxy nows which FS it needs to route to.</div>
<div><div><br></div><div>Is this what are we talking about? I might do this in Erlang.</div><div><br></div><div>-- </div><div>Seven Du</div><div><span style="font-size:10pt"><a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></span></div>
<div><a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a></div><div><a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a></div><div><br></div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig" target="_blank">Sparrow</a></div>
<div><br></div></div><p style="color:#a0a0a8">On Wednesday, August 7, 2013 at 2:00 AM, Nathan Neulinger wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div>ESL is just a simple TCP socket connection... if all you&#39;re wanting to do is rotate between them, there are LOTs of </div><div>different solutions. If you&#39;re looking for load balancing/calculated assignment of which one to use/etc. then you&#39;re </div>
<div>going to need something more advanced.</div><div><br></div><div>I&#39;m not aware of any high-level proxy services that do the sort of things described in amiproxy/astmanproxy, but someone </div><div>else may be aware of something like it.</div>
<div><br></div><div>-- Nathan</div><div><br></div><div>On 08/06/2013 12:57 PM, SamyGo wrote:</div><blockquote type="cite"><div>Dear Nathan,</div><div>Can you refer me some relevant links, this seems more complex solution. I was thinking more like AMIproxy/ AstmanProxy</div>
<div>thing.</div><div><br></div><div>BR,</div><div>Sammy</div><div><br></div><div><br></div><div><br></div><div>On Tue, Aug 6, 2013 at 10:40 AM, Nathan Neulinger &lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt; wrote:</div>
<div><br></div><div>    With HAProxy, you could just define a list of target servers. You&#39;d configure your app to talk to the HA IP, and</div><div>    then each request would go to next available server in the pool you have defined.</div>
<div><br></div><div>    You could also simply do a DNS round robin if you wanted. All depends on what infrastructure/etc. you have available</div><div>    to you and how resilient it needs to be.</div><div><br></div><div>
    -- Nathan</div><div><br></div><div><br></div><div>    On 08/06/2013 12:38 PM, SamyGo wrote:</div><div><br></div><div>        Dear Nathan,</div><div><br></div><div>        I think I&#39;ve missed something. I don&#39;t understand how HAproxy and Floating IP and KeepAlived will help me? I need to</div>
<div>        have all Active FS Servers and some mechanism to send ESL commands to them in round-robin fashion. I&#39;ve an</div><div>        autodialer</div><div>        script so that Proxy will help me use many FS Servers at the same time !</div>
<div><br></div><div>        Thanks,</div><div>        Sammy</div><div><br></div><div><br></div><div><br></div><div>        On Tue, Aug 6, 2013 at 10:22 AM, Nathan Neulinger &lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt; &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a></div>
<div>        &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt;&gt; wrote:</div><div><br></div><div>             You might look at the keepalived page on wiki, that&#39;s what I use to float an IP in the case where only one</div>
<div>        of the FS</div><div>             instances should be online.</div><div><br></div><div>             You could also use HAProxy to define a group of systems for it to talk to if you want multiple to be online</div>
<div>        at once,</div><div>             but rotating between them.</div><div><br></div><div>             -- Nathan</div><div><br></div><div><br></div><div>             On 08/06/2013 12:19 PM, SamyGo wrote:</div><div>
<br></div><div>                 Hi Nathan,</div><div><br></div><div>                 I can only think of Round Robin with failover. I definitely don&#39;t want to parallel fork an ESL command.</div><div><br></div><div>                 --</div>
<div>                 Sammy</div><div><br></div><div><br></div><div><br></div><div>                 On Tue, Aug 6, 2013 at 10:16 AM, Nathan Neulinger &lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;</div>
<div>        &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt; &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;</div>
<div><br></div><div>                 &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt;&gt;&gt; wrote:</div><div>
<br></div><div>                      Are you saying &quot;round robin&quot; or &quot;mirrored&quot; for the commands?</div><div><br></div><div>                      i.e. if you send a command over this proxy, would it be duplicated to all of the FS servers, or</div>
<div>        sent to &quot;first</div><div>                      available&quot;?</div><div><br></div><div>                      -- Nathan</div><div><br></div><div><br></div><div>                      On 08/06/2013 12:05 PM, SamyGo wrote:</div>
<div><br></div><div>                          Dear Users,</div><div><br></div><div>                          I have come up with a requirement to have ESL connection made with multiple FS Servers at the</div><div>        same time</div>
<div>                 and send</div><div>                          them</div><div>                          commands(no event receiving is required for now) The connections to FS should be pooled and</div><div>        monitored</div>
<div>                 if any FS</div><div>                          goes down.</div><div><br></div><div>                          Is there any ESLproxy available to be used readily?</div><div><br></div><div>                          Thanks,</div>
<div>                          Sammy</div><div><br></div><div><br></div><div>                      --</div><div>                      ------------------------------______--------------------------__--__--</div><div>                      Nathan Neulinger <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt; &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a></div>
<div>        &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt; &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt; &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt;&gt;</div>
<div><br></div><div><br></div><div>                      Missouri S&amp;T Information Technology    (573) 612-1412</div><div>                      System Administrator - Architect</div><div><br></div><div><br></div><div><br>
</div><div>             --</div><div>             ------------------------------____----------------------------__--</div><div>             Nathan Neulinger <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt; &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;&gt;</div>
<div>             Missouri S&amp;T Information Technology    (573) 612-1412</div><div>             System Administrator - Architect</div><div><br></div><div><br></div><div><br></div><div>    --</div><div>    ------------------------------__------------------------------</div>
<div>    Nathan Neulinger <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a> &lt;<a href="mailto:nneul@mst.edu" target="_blank">mailto:nneul@mst.edu</a>&gt;</div><div>    Missouri S&amp;T Information Technology    (573) 612-1412</div>
<div>    System Administrator - Architect</div></blockquote><div><br></div><div>-- </div><div>------------------------------------------------------------</div><div>Nathan Neulinger                       <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a></div>
<div>Missouri S&amp;T Information Technology    (573) 612-1412</div><div>System Administrator - Architect</div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div>
<div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a></div><div><br></div>
<div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></div>
<div><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div>
<div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></div>
</span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            <br><br></div></div>_______________________________________________<div class="im"><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></blockquote></div><br></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>
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">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>