Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Sending freeswitch a command fromexternal


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mcollins at fcnetwork.com
Guest





PostPosted: Tue Oct 14, 2008 2:09 am    Post subject: [Freeswitch-users] Sending freeswitch a command fromexternal Reply with quote

Quote:
Yes, using the event socket;

http://wiki.freeswitch.org/wiki/Mod_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! Smile (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
Back to top
damon at technicate.com
Guest





PostPosted: Tue Oct 14, 2008 11:16 am    Post subject: [Freeswitch-users] Sending freeswitch a command fromexternal Reply with quote

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

Quote:
Yes, using the event socket;

http://wiki.freeswitch.org/wiki/Mod_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! Smile (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
Back to top
jkr888 at gmail.com
Guest





PostPosted: Tue Oct 14, 2008 11:25 am    Post subject: [Freeswitch-users] Sending freeswitch a command fromexternal Reply with quote

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 (damon@technicate.com)> wrote:
Quote:
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 (mcollins@fcnetwork.com)>
Sent: Monday, October 13, 2008 11:53pm
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Sending freeswitch a command fromexternal daemon

Quote:
Yes, using the event socket;

http://wiki.freeswitch.org/wiki/Mod_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! Smile (HINT: api vs. bgapi)

Enjoy!
-MC

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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