Hello, I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work. I have: <param name="track-calls" value="true"/> on internal sip profile and: <X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/> on vars.xml When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash: fsctl crash FS goes down and the call drop... What I'm doing wrong? Thank you in advance -- --- I'm SoCIaL, MayBe
Hi All, On FS 1.8 on docker. Trying to make mod_event_socket work but seeing a wired problem. My /etc/freeswitch/dialplan/default.xml has the following ip ( 172.20.0.4:8084). Then why would it be trying to reach 127.0.0.1 ? <extension name="testext"> <condition field="destination_number" expression="^(\d+)$"> <action application="enable_heartbeat" data="60"/> <action application="socket" data="172.20.0.4:8084 async full"/> <!-- <action application="bridge" data="sofia/gateway/callwithus-outbound/$1"/> --> </condition> </extension> *Logs / CLI output: * ec1280b7 EXECUTE sofia/external/3246 socket(127.0.0.1:8084 async full) *ec1280b7 2019-03-12 06:20:11.438586 [NOTICE] mod_event_socket.c:447 Trying host: 127.0.0.1:8084 <http://127.0.0.1:8084>* *ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:481 Socket Error: Connection refused* ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:485 Socket Error! Spent two days trying everything and looking at the docs and wiki but cant figure it out. Plz plz help. Regards
Hi All,
On FS 1.8 on docker. Trying to make mod_event_socket work but seeing a wired problem.
My /etc/freeswitch/dialplan/default.xml has the following ip ( 172.20.0.4:8084). Then why would it be trying to reach 127.0.0.1 ?
<extension name="testext"> <condition field="destination_number" expression="^(\d+)$"> <action application="enable_heartbeat" data="60"/> <action application="socket" data="172.20.0.4:8084 async full"/> <!-- <action application="bridge" data="sofia/gateway/callwithus-outbound/$1"/> --> </condition> </extension>
*Logs / CLI output: * ec1280b7 EXECUTE sofia/external/3246 socket(127.0.0.1:8084 async full) *ec1280b7 2019-03-12 06:20:11.438586 [NOTICE] mod_event_socket.c:447 Trying host: 127.0.0.1:8084 <http://127.0.0.1:8084>* *ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:481 Socket Error: Connection refused* ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:485 Socket Error!
Spent two days trying everything and looking at the docs and wiki but cant figure it out.
Plz plz help.
Regards
Is it default (vanilla config)? Or custom config? ср, 13 мар. 2019 г., 1:48 December Drift <decemberdrift@gmail.com>:
Hi All,
On FS 1.8 on docker. Trying to make mod_event_socket work but seeing a wired problem.
My /etc/freeswitch/dialplan/default.xml has the following ip ( 172.20.0.4:8084). Then why would it be trying to reach 127.0.0.1 ?
<extension name="testext"> <condition field="destination_number" expression="^(\d+)$"> <action application="enable_heartbeat" data="60"/> <action application="socket" data="172.20.0.4:8084 async full"/> <!-- <action application="bridge" data="sofia/gateway/callwithus-outbound/$1"/> --> </condition> </extension>
*Logs / CLI output: * ec1280b7 EXECUTE sofia/external/3246 socket(127.0.0.1:8084 async full) *ec1280b7 2019-03-12 06:20:11.438586 [NOTICE] mod_event_socket.c:447 Trying host: 127.0.0.1:8084 <http://127.0.0.1:8084>* *ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:481 Socket Error: Connection refused* ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:485 Socket Error!
Spent two days trying everything and looking at the docs and wiki but cant figure it out.
Plz plz help.
Regards _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Had you also shared database between? https://freeswitch.org/confluence/display/FREESWITCH/High+Availability Regards, Igor On Mar 12, 2019, 07:20 +0200, Social Boh <social@bohboh.info>, wrote:
Hello,
I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work.
I have:
<param name="track-calls" value="true"/>
on internal sip profile and:
<X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/>
on vars.xml
When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash:
fsctl crash
FS goes down and the call drop...
What I'm doing wrong?
Thank you in advance
-- --- I'm SoCIaL, MayBe
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
How is the second node taking over the first node after failure? On Mon, Mar 11, 2019 at 21:50 Social Boh <social@bohboh.info> wrote:
Hello,
I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work.
I have:
<param name="track-calls" value="true"/>
on internal sip profile and:
<X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/>
on vars.xml
When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash:
fsctl crash
FS goes down and the call drop...
What I'm doing wrong?
Thank you in advance
-- --- I'm SoCIaL, MayBe
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Also, are you using UDP or TCP? Any TCP protocols will not recover usually. /b On Tue, Mar 12, 2019 at 9:15 AM Joel Serrano <joel@textplus.com> wrote:
How is the second node taking over the first node after failure?
On Mon, Mar 11, 2019 at 21:50 Social Boh <social@bohboh.info> wrote:
Hello,
I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work.
I have:
<param name="track-calls" value="true"/>
on internal sip profile and:
<X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/>
on vars.xml
When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash:
fsctl crash
FS goes down and the call drop...
What I'm doing wrong?
Thank you in advance
-- --- I'm SoCIaL, MayBe
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
So recover works only if I use two FreeSWITCH. I thought it could be used with one. Sorry for the noise. Regards --- I'm SoCIaL, MayBe On 3/12/19 09:22, Brian West wrote:
Also, are you using UDP or TCP?
Any TCP protocols will not recover usually.
/b
On Tue, Mar 12, 2019 at 9:15 AM Joel Serrano <joel@textplus.com <mailto:joel@textplus.com>> wrote:
How is the second node taking over the first node after failure?
On Mon, Mar 11, 2019 at 21:50 Social Boh <social@bohboh.info <mailto:social@bohboh.info>> wrote:
Hello,
I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work.
I have:
<param name="track-calls" value="true"/>
on internal sip profile and:
<X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/>
on vars.xml
When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash:
fsctl crash
FS goes down and the call drop...
What I'm doing wrong?
Thank you in advance
-- --- I'm SoCIaL, MayBe
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com <mailto:sales@freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com <mailto:brian@freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
https://www.facebook.com/signalwireinc?src=email <https://www.facebook.com/freeswitch> https://twitter.com/freeswitch <https://twitter.com/freeswitch>
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
works with one too... :) On Tue, Mar 12, 2019 at 11:23 AM Social Boh <social@bohboh.info> wrote:
So recover works only if I use two FreeSWITCH.
I thought it could be used with one.
Sorry for the noise.
Regards
--- I'm SoCIaL, MayBe
On 3/12/19 09:22, Brian West wrote:
Also, are you using UDP or TCP?
Any TCP protocols will not recover usually.
/b
On Tue, Mar 12, 2019 at 9:15 AM Joel Serrano <joel@textplus.com> wrote:
How is the second node taking over the first node after failure?
On Mon, Mar 11, 2019 at 21:50 Social Boh <social@bohboh.info> wrote:
Hello,
I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work.
I have:
<param name="track-calls" value="true"/>
on internal sip profile and:
<X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/>
on vars.xml
When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash:
fsctl crash
FS goes down and the call drop...
What I'm doing wrong?
Thank you in advance
-- --- I'm SoCIaL, MayBe
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
[image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
_________________________________________________________________________ Professional FreeSWITCH Servicessales@freeswitch.comhttps://freeswitch.com
Official FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://cluecon.c...
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswit...
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
So, the last step is create database connection on sip profile... ?! Regards --- I'm SoCIaL, MayBe On 3/12/19 12:08, Brian West wrote:
works with one too... :)
On Tue, Mar 12, 2019 at 11:23 AM Social Boh <social@bohboh.info <mailto:social@bohboh.info>> wrote:
So recover works only if I use two FreeSWITCH.
I thought it could be used with one.
Sorry for the noise.
Regards
--- I'm SoCIaL, MayBe
On 3/12/19 09:22, Brian West wrote:
Also, are you using UDP or TCP?
Any TCP protocols will not recover usually.
/b
On Tue, Mar 12, 2019 at 9:15 AM Joel Serrano <joel@textplus.com <mailto:joel@textplus.com>> wrote:
How is the second node taking over the first node after failure?
On Mon, Mar 11, 2019 at 21:50 Social Boh <social@bohboh.info <mailto:social@bohboh.info>> wrote:
Hello,
I'm trying to implement HA on FreeSWITCH 1.8.5 but maybe I don't understood clearly how this work.
I have:
<param name="track-calls" value="true"/>
on internal sip profile and:
<X-PRE-PROCESS cmd="set" data="api_on_startup=fsctl recover"/>
on vars.xml
When I make a call between to extension and when the call is established I use this command on the FS console to simulate a crash:
fsctl crash
FS goes down and the call drop...
What I'm doing wrong?
Thank you in advance
-- --- I'm SoCIaL, MayBe
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com <mailto:sales@freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com <mailto:brian@freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
https://www.facebook.com/signalwireinc?src=email <https://www.facebook.com/freeswitch> https://twitter.com/freeswitch <https://twitter.com/freeswitch>
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com <mailto:sales@freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com <mailto:brian@freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
https://www.facebook.com/signalwireinc?src=email <https://www.facebook.com/freeswitch> https://twitter.com/freeswitch <https://twitter.com/freeswitch>
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (6)
-
Brian West
-
December Drift
-
Igor Olhovskiy
-
Joel Serrano
-
Sergey Safarov
-
Social Boh