To do telephony functions from web page
Hi All, I am trying to do the telephonic functions(like dial, hangup, conference and etc.) from a webpage (for a customization) rather than doing it from a soft phone. What would be the optimal way of doing it? Please suggest. Thanks, Rex. -- View this message in context: http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p24056... Sent from the freeswitch-users mailing list archive at Nabble.com.
Check out ESL for PHP, Perl etc, or you can use mod_xml_rpc to control things.... Both methods work well K From: Rex_Alex <rex.alex345@yahoo.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Sun, 1 Mar 2009 11:13:34 -0800 (PST) To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] To do telephony functions from web page Hi All, I am trying to do the telephonic functions(like dial, hangup, conference and etc.) from a webpage (for a customization) rather than doing it from a soft phone. What would be the optimal way of doing it? Please suggest. Thanks, Rex. View this message in context: To do telephony functions from web page <http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p2405 620.html> Sent from the freeswitch-users mailing list archive <http://n2.nabble.com/freeswitch-users-f2379917.html> at Nabble.com. _______________________________________________ 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
Hi, Learned how to enable mod_xml_rpc but didn't find any samples. Please post me a sample to send requests(like dial) and receive responses(like uuid) from FreeSWITCH using mod_xml_rpc Please assist. Thanks, Rex. Ken Rice-2 wrote:
Check out ESL for PHP, Perl etc, or you can use mod_xml_rpc to control things.... Both methods work well
K
From: Rex_Alex Reply-To: Date: Sun, 1 Mar 2009 11:13:34 -0800 (PST) To: Subject: [Freeswitch-users] To do telephony functions from web page
Hi All, I am trying to do the telephonic functions(like dial, hangup, conference and etc.) from a webpage (for a customization) rather than doing it from a soft phone. What would be the optimal way of doing it? Please suggest. Thanks, Rex.
View this message in context: To do telephony functions from web page
Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p24057... Sent from the freeswitch-users mailing list archive at Nabble.com.
Rex: The basis for xml_rpc or mod_event is something along the lines of: api $command As an example to originate a call (using xml_rpc or mod_event) you would do: api originate sofia/external/$SOMEANI@$IP:$PORT $EXTENSION xml $context What language are you trying to do this in? SDR
Hi Shelby Ramsey, I would like to do the same in php script. Please post me a sample. Thanks, Rex. Shelby Ramsey wrote:
Rex:
The basis for xml_rpc or mod_event is something along the lines of:
api $command
As an example to originate a call (using xml_rpc or mod_event) you would do:
api originate sofia/external/$SOMEANI@$IP:$PORT $EXTENSION xml $context
What language are you trying to do this in?
SDR
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p24058... Sent from the freeswitch-users mailing list archive at Nabble.com.
Rex, I've never actually used PHP for this type of thing ... but you might want to start by looking here: http://fisheye.freeswitch.org/browse/FreeSWITCH/libs/esl/php/single_command.... or http://wiki.freeswitch.org/wiki/PHP_Event_Socket Good luck. I'm sure some other folks here who use PHP for this type of app will be able to assist more. SDR
There are examples on the wiki for this. Mike On Mar 1, 2009, at 3:10 PM, Rex_Alex <rex.alex345@yahoo.com> wrote:
Hi Shelby Ramsey,
I would like to do the same in php script.
Please post me a sample.
Thanks, Rex.
Shelby Ramsey wrote:
Rex:
The basis for xml_rpc or mod_event is something along the lines of:
api $command
As an example to originate a call (using xml_rpc or mod_event) you would do:
api originate sofia/external/$SOMEANI@$IP:$PORT $EXTENSION xml $context
What language are you trying to do this in?
SDR
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p24058... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Hi Rex, Please find the attached file for the PHP script. This script has been executed in FS 1.0.2. put these two scripts in htdocs directory. access the http://localhost/sample2.php so that two text box will appear. you can able to give the extension number and mobile number to dial. Try this :) On Mon, Mar 2, 2009 at 6:04 AM, Michael Jerris <mike@jerris.com> wrote:
There are examples on the wiki for this.
Mike
On Mar 1, 2009, at 3:10 PM, Rex_Alex <rex.alex345@yahoo.com> wrote:
Hi Shelby Ramsey,
I would like to do the same in php script.
Please post me a sample.
Thanks, Rex.
Shelby Ramsey wrote:
Rex:
The basis for xml_rpc or mod_event is something along the lines of:
api $command
As an example to originate a call (using xml_rpc or mod_event) you would do:
api originate sofia/external/$SOMEANI@$IP:$PORT $EXTENSION xml $context
What language are you trying to do this in?
SDR
_______________________________________________ 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
-- View this message in context: http://n2.nabble.com/To-do-telephony-functions-from-web-page-tp2405620p24058... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
-- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in
participants (5)
-
Gopalakrishnan A.N
-
Ken Rice
-
Michael Jerris
-
Rex_Alex
-
Shelby Ramsey