Unfortunately there isn’t an equivalent of “show dialplan” in FS.  There is a show channels.  In fact, if you connect to the CLI with the perl script mentioned below then you can just type “show” and you’ll see all sorts of stuff that you can do.  Another fun thing is to enable xml-rpc and then you can do web-based commands.  I don’t know how trixswitch handles the modules.conf.xml file, but you need to allow this line:

<load module="mod_xml_rpc"/>

 

(Remove the <!--  and --> tags)

 

So stop fs, change modules.conf.xml and restart fs.

 

Once you do that then you can browse to the built-in FS webserver!

http://my.freeswitch.box:8080/webapi/show?channels

 

The username and password to log in to the server are “freeswitch” and “works” respectively.

 

 

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Simon Shaw
Sent: Tuesday, June 03, 2008 4:04 PM
To: freeswitch-users@lists.freeswitch.org
Subject: RE: [Freeswitch-users] CLI on TrixSwitch 0.4

 

Maybe this is a newbie thing on my part, but after you built and ran trixswitch 0.4 how did you monitor what was going on inside.  First thing I wanted to do after I installed was to run the "show dialplan" command - have I missed something obvious?

 


From: freeswitch-users-bounces@lists.freeswitch.org on behalf of Raymond Chandler
Sent: Wed 6/4/2008 12:20 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] CLI on TrixSwitch 0.4

whoops, probably have to wait till 0.5 for that one ;-)

Brian West wrote:

scripts/socket/fs.pl  Needs the FreeSWITCH::Client package in that  
directory installed.
 
/b
 
On Jun 3, 2008, at 4:08 PM, andrew wrote:
 
  
That's a good question. I have not figured out how to
open a CLI on FreeSWITCH. With asterisk you can do an
asterisk -r but I have not figured out how to do this
with fs. If anybody knows please post!
 
-Andrew
 
 
 
--- Simon Shaw <sshaw@interwise.com> wrote:
 
    
How can I open the CLI on Trixswitch 0.4?
 
Thanks,
 
Simon
      
_______________________________________________
        
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
    
_______________________________________________
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