Try:

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

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Christian Löschenkohl
Sent: Thursday, September 03, 2009 11:03 PM
To: [email protected]
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  [email protected]

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to