Don't forget about XML RPC, it is not as sophisticated as event socket, but good enough for executing any fs commands. http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC Cheers, JK On Tue, Oct 14, 2008 at 12:01 PM, Damon Brown <damon@technicate.com> wrote:
Thanks guys, That worked perfectly, I was even able to create a standard PHP socket. I knew that was what I was reading on the wiki ... I just couldn't wrap my head around it. Now I'm clarified .... THANKS
Damon -----Original Message----- From: "Michael Collins" <mcollins@fcnetwork.com> Sent: Monday, October 13, 2008 11:53pm To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Sending freeswitch a command fromexternal daemon
Yes, using the event socket;
Just another little thought: with the event socket you can connect to FS and send pretty much any FS API command you want. You also can subscribe to events and receive all sorts of cool information about what's going on with FS.
Note: there are blocking and non-blocking versions of the "api" command, so be sure you know which one you want to use! :) (HINT: api vs. bgapi)
Enjoy! -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
_______________________________________________ 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