Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] To do telephony functions from web page


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





PostPosted: Sun Mar 01, 2009 2:23 pm    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

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-tp2405620p2405620.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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Sun Mar 01, 2009 2:59 pm    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

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.
Quote:
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: Re: To do telephony functions from web page
Sent from the freeswitch-users mailing list archive at Nabble.com.
Back to top
sicfslist at gmail.com
Guest





PostPosted: Sun Mar 01, 2009 3:03 pm    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

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
Back to top
rex.alex345 at yahoo.com
Guest





PostPosted: Sun Mar 01, 2009 3:16 pm    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

Hi Shelby Ramsey,

I would like to do the same in php script.

Please post me a sample.

Thanks,
Rex.


Shelby Ramsey wrote:
Quote:

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-tp2405620p2405845.html
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
Back to top
sicfslist at gmail.com
Guest





PostPosted: Sun Mar 01, 2009 3:25 pm    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

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.php?r=12216

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
Back to top
mike at jerris.com
Guest





PostPosted: Sun Mar 01, 2009 7:46 pm    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

There are examples on the wiki for this.

Mike

On Mar 1, 2009, at 3:10 PM, Rex_Alex <rex.alex345@yahoo.com> wrote:

Quote:

Hi Shelby Ramsey,

I would like to do the same in php script.

Please post me a sample.

Thanks,
Rex.


Shelby Ramsey wrote:
Quote:

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-tp2405620p2405845.html
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
Back to top
saigop at gmail.com
Guest





PostPosted: Mon Mar 02, 2009 4:38 am    Post subject: [Freeswitch-users] To do telephony functions from web page Reply with quote

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 Smile

On Mon, Mar 2, 2009 at 6:04 AM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote:
There are examples on the wiki for this.

Mike


On Mar 1, 2009, at 3:10 PM, Rex_Alex <rex.alex345@yahoo.com (rex.alex345@yahoo.com)> wrote:

Quote:

Hi Shelby Ramsey,

I would like to do the same in php script.

Please post me a sample.

Thanks,
Rex.


Shelby Ramsey wrote:
Quote:

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 (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-tp2405620p2405845.html
Sent from the freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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





--
Thank you  with regards,
Gopal,
PeopleTech Systems Private Limited
www.peopletech.co.in
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