Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] restart when convenient


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
christian.loeschenkohl...
Guest





PostPosted: Fri Sep 04, 2009 1:07 am    Post subject: [Freeswitch-users] restart when convenient Reply with quote

hello

i'm looking for a possibility to restart freeswitch like it is possible with
asterisk.
for me i tried to created a script that looks for open channels and if no channel
is open it restarts freeswitch with the init script (not the most efficient way).

i think i would be great if we would have a buildin function for this, i think such
command would help with maintenance and not only for me.

br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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
http://www.freeswitch.org
Back to top
jmesquita at freeswitc...
Guest





PostPosted: Fri Sep 04, 2009 1:38 am    Post subject: [Freeswitch-users] restart when convenient Reply with quote

Look at the fsctl api on the wiki. It has what you need.
jmesquita

On 9/4/09, Christian Löschenkohl <christian.loeschenkohl@xpirio.com> wrote:
Quote:
hello

i'm looking for a possibility to restart freeswitch like it is possible with
asterisk.
for me i tried to created a script that looks for open channels and if no
channel
is open it restarts freeswitch with the init script (not the most efficient
way).

i think i would be great if we would have a buildin function for this, i
think such
command would help with maintenance and not only for me.

br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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
http://www.freeswitch.org


--
Sent from my mobile device

_______________________________________________
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
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Sep 04, 2009 2:18 am    Post subject: [Freeswitch-users] restart when convenient Reply with quote

2009/9/3 Christian Löschenkohl <christian.loeschenkohl@xpirio.com (christian.loeschenkohl@xpirio.com)>
Quote:
hello

i'm looking for a possibility to restart freeswitch like it is possible with
asterisk.
for me i tried to created a script that looks for open channels and if no channel
is open it restarts freeswitch with the init script (not the most efficient way).

i think i would be great if we would have a buildin function for this, i think such
command would help with maintenance and not only for me.

br

Like JM said, the fsctl API can help. If you're in Linux you can do a shell script with a command like ths:

fs_cli -x 'fsctl shutdown restart'

-MC
Back to top
anatoliy at kounitskiy...
Guest





PostPosted: Fri Sep 04, 2009 2:39 am    Post subject: [Freeswitch-users] restart when convenient Reply with quote

After some testing (fs_cli -x 'fsctl shutdown restart') I'm seeing
that all active calls are dropped and the freeswitch is restarted



On Fri, Sep 4, 2009 at 10:14 AM, Michael Collins<msc@freeswitch.org> wrote:
Quote:


2009/9/3 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>
Quote:

hello

i'm looking for a possibility to restart freeswitch like it is possible
with
asterisk.
for me i tried to created a script that looks for open channels and if no
channel
is open it restarts freeswitch with the init script (not the most
efficient way).

i think i would be great if we would have a buildin function for this, i
think such
command would help with maintenance and not only for me.

br

Like JM said, the fsctl API can help. If you're in Linux you can do a shell
script with a command like ths:

fs_cli -x 'fsctl shutdown restart'

-MC


_______________________________________________
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
http://www.freeswitch.org





--
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy@kounitskiy.com
Mobile: +359898913540

_______________________________________________
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
http://www.freeswitch.org
Back to top
dujinfang at gmail.com
Guest





PostPosted: Fri Sep 04, 2009 2:51 am    Post subject: [Freeswitch-users] restart when convenient Reply with quote

freeswitch@foosball> fsctl
-USAGE: [send_sighup|hupall|pause|resume|shutdown [cancel|elegant|asap|
restart]|sps|sync_clock|reclaim_mem|max_sessions|max_dtmf_duration
[num]|loglevel [level]]


On Sep 4, 2009, at 3:35 PM, Anatoliy Kounitskiy wrote:
Quote:
After some testing (fs_cli -x 'fsctl shutdown restart') I'm seeing
that all active calls are dropped and the freeswitch is restarted



On Fri, Sep 4, 2009 at 10:14 AM, Michael Collins<msc@freeswitch.org>
wrote:
Quote:


2009/9/3 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>
Quote:

hello

i'm looking for a possibility to restart freeswitch like it is
possible
with
asterisk.
for me i tried to created a script that looks for open channels
and if no
channel
is open it restarts freeswitch with the init script (not the most
efficient way).

i think i would be great if we would have a buildin function for
this, i
think such
command would help with maintenance and not only for me.

br

Like JM said, the fsctl API can help. If you're in Linux you can do
a shell
script with a command like ths:

fs_cli -x 'fsctl shutdown restart'

-MC


_______________________________________________
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
http://www.freeswitch.org





--
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy@kounitskiy.com
Mobile: +359898913540

_______________________________________________
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
http://www.freeswitch.org


_______________________________________________
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
http://www.freeswitch.org
Back to top
anatoliy at kounitskiy...
Guest





PostPosted: Fri Sep 04, 2009 4:12 am    Post subject: [Freeswitch-users] restart when convenient Reply with quote

What you're looking for is :

fs_cli -x 'fsctl shutdown elegant restart'

:)

It will restart the freeswitch after all calls are hanged up.


On Fri, Sep 4, 2009 at 10:46 AM, Seven Du<dujinfang@gmail.com> wrote:
Quote:

freeswitch@foosball> fsctl
-USAGE: [send_sighup|hupall|pause|resume|shutdown [cancel|elegant|asap|
restart]|sps|sync_clock|reclaim_mem|max_sessions|max_dtmf_duration
[num]|loglevel [level]]


On Sep 4, 2009, at 3:35 PM, Anatoliy Kounitskiy wrote:
Quote:
After some testing (fs_cli -x 'fsctl shutdown restart') I'm seeing
that all active calls are dropped and the freeswitch is restarted



On Fri, Sep 4, 2009 at 10:14 AM, Michael Collins<msc@freeswitch.org>
wrote:
Quote:


2009/9/3 Christian Löschenkohl <christian.loeschenkohl@xpirio.com>
Quote:

hello

i'm looking for a possibility to restart freeswitch like it is
possible
with
asterisk.
for me i tried to created a script that looks for open channels
and if no
channel
is open it restarts freeswitch with the init script (not the most
efficient way).

i think i would be great if we would have a buildin function for
this, i
think such
command would help with maintenance and not only for me.

br

Like JM said, the fsctl API can help. If you're in Linux you can do
a shell
script with a command like ths:

fs_cli -x 'fsctl shutdown restart'

-MC


_______________________________________________
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
http://www.freeswitch.org





--
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy@kounitskiy.com
Mobile: +359898913540

_______________________________________________
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
http://www.freeswitch.org


_______________________________________________
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
http://www.freeswitch.org




--
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy@kounitskiy.com
Mobile: +359898913540

_______________________________________________
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
http://www.freeswitch.org
Back to top
larclap at yahoo.com
Guest





PostPosted: Sat Sep 05, 2009 12:19 pm    Post subject: [Freeswitch-users] restart when convenient Reply with quote

Try:

/usr/local/freeswitch/bin/fs_cli -x 'fsctl shutdown elegant restart'

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of
Christian Löschenkohl
Sent: Thursday, September 03, 2009 11:03 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] restart when convenient

hello

i'm looking for a possibility to restart freeswitch like it is possible with
asterisk.
for me i tried to created a script that looks for open channels and if no
channel
is open it restarts freeswitch with the init script (not the most efficient
way).

i think i would be great if we would have a buildin function for this, i
think such
command would help with maintenance and not only for me.

br

--
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T +43 (0) 5 77 11 - 1000
F +43 (0) 5 77 11 - 1002
E christian.loeschenkohl@xpirio.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
http://www.freeswitch.org


_______________________________________________
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
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services