[Freeswitch-users] CLI on TrixSwitch 0.4

Michael Collins mcollins at fcnetwork.com
Tue Jun 3 16:35:23 PDT 2008


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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Simon Shaw
Sent: Tuesday, June 03, 2008 4:04 PM
To: freeswitch-users at 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 at lists.freeswitch.org on behalf of Raymond
Chandler
Sent: Wed 6/4/2008 12:20 AM
To: freeswitch-users at 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 at interwise.com>
<mailto:sshaw at interwise.com>  wrote:
	 
	    

		How can I open the CLI on Trixswitch 0.4?
		 
		Thanks,
		 
		Simon
		      

			_______________________________________________
			        

		Freeswitch-users mailing list
		Freeswitch-users at lists.freeswitch.org
		 
		      

	http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
	    
	
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
	    

		http://www.freeswitch.org <http://www.freeswitch.org/> 
		 
		      

	 
	 
	_______________________________________________
	Freeswitch-users mailing list
	Freeswitch-users at lists.freeswitch.org
	http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
	
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
	http://www.freeswitch.org <http://www.freeswitch.org/> 
	    

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org/> 
  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080603/cb448224/attachment-0002.html 


More information about the FreeSWITCH-users mailing list